/netbsd/sys/kern/ |
H A D | kern_drvctl.c | 293 rescanbus(const char *busname, const char *ifattr, in rescanbus() argument 323 if (!ifattr) { in rescanbus() 334 if (!strcmp((*ap)->ci_name, ifattr)) in rescanbus() 338 rc = (*device_cfattach(d)->ca_rescan)(d, ifattr, locs); in rescanbus() 363 char *ifattr; in drvctl_ioctl() local 388 if (d->ifattr[0]) { in drvctl_ioctl() 389 d->ifattr[sizeof(d->ifattr) - 1] = '\0'; in drvctl_ioctl() 390 ifattr = d->ifattr; in drvctl_ioctl() 392 ifattr = 0; in drvctl_ioctl() 408 res = rescanbus(d->busname, ifattr, d->numlocators, locs); in drvctl_ioctl()
|
/netbsd/sys/arch/i386/i386/ |
H A D | i386_mainbus.c | 252 i386_mainbus_rescan(device_t self, const char *ifattr, const int *locators) in i386_mainbus_rescan() argument 259 if (ifattr_match(ifattr, "acpibus") && sc->sc_acpi == NULL && in i386_mainbus_rescan() 286 if (ifattr_match(ifattr, "pnpbiosbus") && sc->sc_pnpbios == NULL) { in i386_mainbus_rescan() 299 if (ifattr_match(ifattr, "ipmibus") && sc->sc_ipmi == NULL) { in i386_mainbus_rescan() 318 if (pci_mode_detect() != 0 && ifattr_match(ifattr, "pcibus")) { in i386_mainbus_rescan() 360 if (ifattr_match(ifattr, "mcabus") && sc->sc_mca == NULL) { in i386_mainbus_rescan()
|
/netbsd/sys/dev/usb/ |
H A D | auvitek.c | 311 auvitek_rescan(device_t self, const char *ifattr, const int *locs) in auvitek_rescan() argument 315 auvitek_video_rescan(sc, ifattr, locs); in auvitek_rescan() 316 auvitek_dtv_rescan(sc, ifattr, locs); in auvitek_rescan() 317 auvitek_i2c_rescan(sc, ifattr, locs); in auvitek_rescan()
|
H A D | auvitek_i2c.c | 99 auvitek_i2c_rescan(struct auvitek_softc *sc, const char *ifattr, in auvitek_i2c_rescan() argument 105 if (ifattr_match(ifattr, "i2cbus") && sc->sc_i2cdev == NULL) { in auvitek_i2c_rescan()
|
H A D | auvitek_dtv.c | 106 auvitek_dtv_rescan(struct auvitek_softc *sc, const char *ifattr, in auvitek_dtv_rescan() argument 114 if (ifattr_match(ifattr, "dtvbus") && sc->sc_dtvdev == NULL) in auvitek_dtv_rescan()
|
H A D | emdtv_dtv.c | 162 emdtv_dtv_rescan(struct emdtv_softc *sc, const char *ifattr, const int *locs) in emdtv_dtv_rescan() argument 169 if (ifattr_match(ifattr, "dtvbus") && sc->sc_dtvdev == NULL) in emdtv_dtv_rescan()
|
H A D | emdtv.c | 199 emdtv_rescan(device_t self, const char *ifattr, const int *locs) in emdtv_rescan() argument 203 emdtv_dtv_rescan(sc, ifattr, locs); in emdtv_rescan()
|
/netbsd/sys/arch/i386/pci/ |
H A D | gscpcib.c | 88 gscpcib_rescan(device_t self, const char *ifattr, const int *loc) in gscpcib_rescan() argument 94 if (sc->sc_gpio_present && ifattr_match(ifattr, "gpiobus") && in gscpcib_rescan() 108 return pcibrescan(self, ifattr, loc); in gscpcib_rescan()
|
/netbsd/sys/arch/evbmips/loongson/dev/ |
H A D | pcib.c | 146 pcibrescan(device_t self, const char *ifattr, const int *loc) in pcibrescan() argument 155 if (ifattr_match(ifattr, "isabus") && sc->sc_isabus == NULL) { in pcibrescan()
|
/netbsd/sys/arch/x86/x86/ |
H A D | mainbus.c | 248 mainbus_rescan(device_t self, const char *ifattr, const int *locators) in mainbus_rescan() argument 251 return i386_mainbus_rescan(self, ifattr, locators); in mainbus_rescan()
|
/netbsd/sys/arch/x86/pci/ |
H A D | pcib.c | 226 pcibrescan(device_t self, const char *ifattr, const int *loc) in pcibrescan() argument 236 if (ifattr_match(ifattr, "isabus") && sc->sc_isabus == NULL) { in pcibrescan()
|
H A D | tcpcib.c | 268 tcpcib_rescan(device_t self, const char *ifattr, const int *locators) in tcpcib_rescan() argument 272 if (ifattr_match(ifattr, "hpetichbus") && sc->sc_hpetbus == NULL) { in tcpcib_rescan() 281 return pcibrescan(self, ifattr, locators); in tcpcib_rescan()
|
H A D | ichlpcib.c | 473 lpcibrescan(device_t self, const char *ifattr, const int *locators) in lpcibrescan() argument 477 if (ifattr_match(ifattr, "tcoichbus") && sc->sc_tco == NULL) in lpcibrescan() 481 if (ifattr_match(ifattr, "fwhichbus") && sc->sc_fwhbus == NULL) in lpcibrescan() 485 if (ifattr_match(ifattr, "hpetichbus") && sc->sc_hpetbus == NULL) in lpcibrescan() 489 if (ifattr_match(ifattr, "gpiobus") && sc->sc_gpiobus == NULL) in lpcibrescan() 493 return pcibrescan(self, ifattr, locators); in lpcibrescan()
|
H A D | amdnb_misc.c | 156 amdnb_misc_rescan(device_t self, const char *ifattr, const int *locators) in amdnb_misc_rescan() argument
|
/netbsd/sys/dev/acpi/ |
H A D | apple_smc_acpi.c | 154 apple_smc_acpi_rescan(device_t self, const char *ifattr, const int *locs) in apple_smc_acpi_rescan() argument 158 return apple_smc_rescan(&sc->sc_smc, ifattr, locs); in apple_smc_acpi_rescan()
|
H A D | acpi.c | 362 acpi_check(device_t parent, const char *ifattr) in acpi_check() argument 366 .iattr = ifattr)) != NULL; in acpi_check() 890 acpi_rescan(device_t self, const char *ifattr, const int *locators) in acpi_rescan() argument 900 if (ifattr_match(ifattr, "acpihpetbus") && sc->sc_hpet == NULL) { in acpi_rescan() 908 if (ifattr_match(ifattr, "acpinodebus")) { in acpi_rescan() 916 if (ifattr_match(ifattr, "acpiapmbus") && sc->sc_apmbus == NULL) { in acpi_rescan() 921 if (ifattr_match(ifattr, "acpiwdrtbus") && sc->sc_wdrt == NULL) { in acpi_rescan()
|
H A D | virtio_acpi.c | 150 virtio_acpi_rescan(device_t self, const char *ifattr, const int *locs) in virtio_acpi_rescan() argument
|
/netbsd/sys/sys/ |
H A D | drvctlio.h | 63 char ifattr[16]; member
|
/netbsd/sys/arch/arm/nvidia/ |
H A D | tegra_hdaudio.c | 282 tegra_hdaudio_rescan(device_t self, const char *ifattr, const int *locs) in tegra_hdaudio_rescan() argument 286 return hdaudio_rescan(&sc->sc, ifattr, locs); in tegra_hdaudio_rescan()
|
/netbsd/sbin/drvctl/ |
H A D | drvctl.c | 148 strlcpy(raa.ifattr, attr, sizeof(raa.ifattr)); in main()
|
/netbsd/sys/dev/pci/ |
H A D | hdaudio_pci.c | 211 hdaudio_pci_rescan(device_t self, const char *ifattr, const int *locs) in hdaudio_pci_rescan() argument 215 return hdaudio_rescan(&sc->sc_hdaudio, ifattr, locs); in hdaudio_pci_rescan()
|
H A D | ichsmb.c | 445 ichsmb_rescan(device_t self, const char *ifattr, const int *locators) in ichsmb_rescan() argument 449 if (ifattr_match(ifattr, "i2cbus") && sc->sc_i2c_device == NULL) { in ichsmb_rescan() 458 ifattr_match(ifattr, "tcoichbus") && in ichsmb_rescan()
|
/netbsd/sys/arch/evbmips/mipssim/ |
H A D | virtio_mainbus.c | 117 virtio_mainbus_rescan(device_t self, const char *ifattr, const int *locs) in virtio_mainbus_rescan() argument
|
/netbsd/sys/dev/isa/ |
H A D | wbsio.c | 332 wbsio_rescan(device_t self, const char *ifattr, const int *locators) in wbsio_rescan() argument 336 if (ifattr_match(ifattr, "gpiobus")) { in wbsio_rescan() 339 .iattr = ifattr, in wbsio_rescan() 346 .iattr = ifattr, in wbsio_rescan()
|
/netbsd/sys/arch/x86/pci/imcsmb/ |
H A D | imc.c | 234 imc_rescan(device_t self, const char *ifattr, const int *locs) in imc_rescan() argument
|