Home
last modified time | relevance | path

Searched refs:ifattr (Results 1 – 25 of 66) sorted by relevance

123

/netbsd/sys/kern/
H A Dkern_drvctl.c293 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 Di386_mainbus.c252 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 Dauvitek.c311 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 Dauvitek_i2c.c99 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 Dauvitek_dtv.c106 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 Demdtv_dtv.c162 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 Demdtv.c199 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 Dgscpcib.c88 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 Dpcib.c146 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 Dmainbus.c248 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 Dpcib.c226 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 Dtcpcib.c268 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 Dichlpcib.c473 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 Damdnb_misc.c156 amdnb_misc_rescan(device_t self, const char *ifattr, const int *locators) in amdnb_misc_rescan() argument
/netbsd/sys/dev/acpi/
H A Dapple_smc_acpi.c154 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 Dacpi.c362 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 Dvirtio_acpi.c150 virtio_acpi_rescan(device_t self, const char *ifattr, const int *locs) in virtio_acpi_rescan() argument
/netbsd/sys/sys/
H A Ddrvctlio.h63 char ifattr[16]; member
/netbsd/sys/arch/arm/nvidia/
H A Dtegra_hdaudio.c282 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 Ddrvctl.c148 strlcpy(raa.ifattr, attr, sizeof(raa.ifattr)); in main()
/netbsd/sys/dev/pci/
H A Dhdaudio_pci.c211 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 Dichsmb.c445 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 Dvirtio_mainbus.c117 virtio_mainbus_rescan(device_t self, const char *ifattr, const int *locs) in virtio_mainbus_rescan() argument
/netbsd/sys/dev/isa/
H A Dwbsio.c332 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 Dimc.c234 imc_rescan(device_t self, const char *ifattr, const int *locs) in imc_rescan() argument

123