| /netbsd-src/usr.bin/config/ |
| H A D | pack.c | 61 * Second, we pack locators. Given something like 71 * locators whose value is 0 and three whose value is -1. Rather than 74 * When packing locators, we would like to find sequences such as 130 locators.vec = ecalloc((size_t)locspace, sizeof(*locators.vec)); in pack() 131 locators.used = 0; in pack() 221 * the same locators. 253 samelocs, locators.used); in packlocs() 290 * Comparison function for locators. 297 for (p = &locators in samelocs() [all...] |
| H A D | mkioconf.c | 330 if (locators.used != 0) { in emitloc() 332 "static int loc[%d] = {", locators.used); in emitloc() 333 for (i = 0; i < locators.used; i++) in emitloc() 334 fprintf(fp, "%s%s,", SEP(i, 8), locators.vec[i]); in emitloc()
|
| /netbsd-src/share/mk/ |
| H A D | bsd.ioconf.mk | 26 touch ioconf.c ioconf.h locators.h 36 locators.h: ioconf.c 39 CLEANFILES+= ioconf.c ioconf.h locators.h 40 DPSRCS+= ioconf.c ioconf.h locators.h
|
| /netbsd-src/sys/arch/alpha/mcbus/ |
| H A D | mcbus.c | 150 .locators = locs)); in mcbusattach() 169 .locators = locs)); in mcbusattach() 198 .locators = locs)); in mcbusattach()
|
| /netbsd-src/sys/arch/sparc64/dev/ |
| H A D | pci_machdep.c | 247 sparc64_pci_enumerate_bus1(struct pci_softc *sc, const int *locators, in sparc64_pci_enumerate_bus1() argument 325 if ((locators[PCICF_DEV] != PCICF_DEV_DEFAULT) && in sparc64_pci_enumerate_bus1() 326 (locators[PCICF_DEV] != d)) in sparc64_pci_enumerate_bus1() 328 if ((locators[PCICF_FUNCTION] != PCICF_FUNCTION_DEFAULT) && in sparc64_pci_enumerate_bus1() 329 (locators[PCICF_FUNCTION] != f)) in sparc64_pci_enumerate_bus1()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | pci.c | 103 pcirescan(device_t self, const char *ifattr, const int *locators) in pcirescan() argument 108 KASSERT(locators); in pcirescan() 110 pci_enumerate_bus(sc, locators, NULL, NULL); in pcirescan() 490 .locators = locs, in pci_probe_device1() 726 pci_enumerate_bus(struct pci_softc *sc, const int *locators, in pci_enumerate_bus() argument 732 ? pci_enumerate_bus1(sc, locators, NULL, NULL, pap) in pci_enumerate_bus() 733 : pci_enumerate_bus1(sc, locators, &pci_match_cookieless, cookie, in pci_enumerate_bus() 743 pci_enumerate_bus1(struct pci_softc *sc, const int *locators, argument 793 if ((locators[PCICF_DEV] != PCICF_DEV_DEFAULT) && 794 (locators[PCICF_DEV] != device)) [all …]
|
| /netbsd-src/sys/dev/ |
| H A D | spkr_audio.c | 122 spkr_audio_rescan(device_t self, const char *iattr, const int *locators) in spkr_audio_rescan() argument 125 return spkr_rescan(self, iattr, locators); in spkr_audio_rescan()
|
| /netbsd-src/sys/dev/isa/ |
| H A D | spkr_pcppi.c | 129 spkr_pcppi_rescan(device_t self, const char *iattr, const int *locators) in spkr_pcppi_rescan() argument 132 return spkr_rescan(self, iattr, locators); in spkr_pcppi_rescan()
|
| H A D | isa.c | 167 isarescan(device_t self, const char *ifattr, const int *locators) in isarescan() argument 180 memcpy(locs, locators, sizeof(locs)); in isarescan() 195 .locators = locs)); in isarescan() 486 CFARGS(.locators = flocs)); in isasearch()
|
| /netbsd-src/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-src/sys/dev/ic/ |
| H A D | apple_smc.c | 107 const int *locators) in apple_smc_rescan() argument 117 apple_smc_search(device_t parent, cfdata_t cf, const int *locators, void *aux) in apple_smc_search() argument 153 CFARGS(.locators = locators)); in apple_smc_search()
|
| /netbsd-src/sys/arch/alpha/tlsb/ |
| H A D | tlsb.c | 190 .locators = locs)); in tlsbattach() 238 .locators = locs)); in tlsbattach()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | usb_subr.c | 1160 .locators = dlocs)); in usbd_attachwholedevice() 1175 int port, const int *locators) in usbd_attachinterfaces() argument 1228 if (locators != NULL) { in usbd_attachinterfaces() 1229 loc = locators[USBIFIFCF_CONFIGURATION]; in usbd_attachinterfaces() 1233 loc = locators[USBIFIFCF_INTERFACE]; in usbd_attachinterfaces() 1242 .locators = ilocs)); in usbd_attachinterfaces() 1339 int port, const int *locators) in usbd_reattach_device() argument 1349 if (locators != NULL) { in usbd_reattach_device() 1350 loc = locators[USBIFIFCF_PORT]; in usbd_reattach_device() 1353 loc = locators[USBIFIFCF_VENDOR]; in usbd_reattach_device() [all …]
|
| /netbsd-src/tests/usr.bin/config/ |
| H A D | t_config.sh | 236 test -e locators.h && 272 test -e locators.h &&
|
| H A D | d_pseudo_parent | 7 # define locators (see pseudodev definition).
|
| /netbsd-src/sys/arch/x86/pci/ |
| H A D | amdsmn.c | 157 CFARGS(.locators = locs)); 188 amdsmn_rescan(device_t self, const char *ifattr, const int *locators) in amdsmn_rescan() 183 amdsmn_rescan(device_t self,const char * ifattr,const int * locators) amdsmn_rescan() argument
|
| /netbsd-src/sys/arch/arm/ep93xx/ |
| H A D | epsoc.c | 170 .locators = locs)); in epsoc_attach() 176 .locators = locs))); in epsoc_attach()
|
| /netbsd-src/sys/dev/i2c/ |
| H A D | i2c.c | 84 #include "locators.h" 404 iic_rescan(device_t self, const char *ifattr, const int *locators) in iic_rescan() argument 408 .locators = locators)); in iic_rescan() 524 CFARGS(.locators = loc, in iic_attach()
|
| /netbsd-src/sys/dev/scsipi/ |
| H A D | scsiconf.c | 73 #include "locators.h" 509 scsibusrescan(device_t sc, const char *ifattr, const int *locators) 513 KASSERT(locators); in scsibusrescan() 516 locators[SCSIBUSCF_TARGET], locators[SCSIBUSCF_LUN])); in scsibusrescan() 1097 .locators = locs))) != NULL) { in scsi_probe_device() 1116 CFARGS(.locators = locs)); in scsi_probe_device() 510 scsibusrescan(device_t sc,const char * ifattr,const int * locators) scsibusrescan() argument
|
| /netbsd-src/sys/sys/ |
| H A D | drvctlio.h | 65 int *locators; member
|
| /netbsd-src/sys/dev/tc/ |
| H A D | tc.c | 142 .locators = locs)); in tcattach() 187 .locators = locs)); in tcattach()
|
| H A D | ioasic_subr.c | 77 .locators = locs)); in ioasic_attach_devs()
|
| /netbsd-src/sys/arch/pmax/ibus/ |
| H A D | ibus.c | 71 .locators = locs)); in ibusattach()
|
| /netbsd-src/sys/dev/fdt/ |
| H A D | fdtbus.c | 383 .locators = locs)); in fdt_scan_best() 431 CFARGS(.locators = locs, in fdt_scan() 443 .locators = locs, in fdt_scan()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_drvctl.c | 294 int numlocators, const int *locators) in rescanbus() argument 309 locs[i] = locators[i]; in rescanbus() 401 res = copyin(d->locators, locs, locs_sz); in drvctl_ioctl()
|