Searched refs:locs (Results 1 - 25 of 102) sorted by relevance

12345

/src/sys/arch/mips/sibyte/dev/
H A Dsbsmbus.c87 int locs[SMBUSCF_NLOCS]; local in function:smbus_attach
100 locs[SMBUSCF_CHAN] = 0; /* XXX */
101 locs[SMBUSCF_DEV] = smbus_devs[i].sa_device;
105 .locators = locs));
H A Dsbscd.c106 int locs[SBSCDCF_NLOCS]; local in function:sbscd_attach
114 locs[SBSCDCF_OFFSET] = sb1250_sbscd_devs[i].sa_offset;
115 locs[SBSCDCF_INTR + 0] =
117 locs[SBSCDCF_INTR + 1] =
122 .locators = locs));
H A Dsbobio.c206 int locs[SBOBIOCF_NLOCS]; local in function:sbobio_attach
240 locs[SBOBIOCF_OFFSET] = devs[i].sa_offset;
241 locs[SBOBIOCF_INTR + 0] = devs[i].sa_intr[0];
242 locs[SBOBIOCF_INTR + 1] = devs[i].sa_intr[1];
246 .locators = locs));
/src/sys/arch/pmax/ibus/
H A Dibus.c52 int locs[IBUSCF_NLOCS]; local in function:ibusattach
67 locs[IBUSCF_ADDR] = (int32_t)MIPS_KSEG1_TO_PHYS(ia->ia_addr);
71 .locators = locs));
/src/sys/dev/tc/
H A Dioasic_subr.c61 int locs[IOASICCF_NLOCS]; local in function:ioasic_attach_devs
74 locs[IOASICCF_OFFSET] = ioasic_devs[i].iad_offset;
77 .locators = locs));
H A Dtc.c79 int locs[TCCF_NLOCS]; local in function:tcattach
135 locs[TCCF_SLOT] = builtin->tcb_slot;
136 locs[TCCF_OFFSET] = builtin->tcb_offset;
142 .locators = locs));
180 locs[TCCF_SLOT] = i;
181 locs[TCCF_OFFSET] = 0;
187 .locators = locs));
/src/sys/arch/alpha/mcbus/
H A Dmcbus.c125 int locs[MCBUSCF_NLOCS]; local in function:mcbusattach
147 locs[MCBUSCF_MID] = 1;
150 .locators = locs));
165 locs[MCBUSCF_MID] = mid;
169 .locators = locs));
195 locs[MCBUSCF_MID] = mid;
198 .locators = locs));
/src/sys/arch/emips/ebus/
H A Debus.c53 int locs[EBUSCF_NLOCS]; local in function:ebusattach
83 locs[EBUSCF_ADDR] = ia->ia_paddr;
87 .locators = locs)) == NULL) {
/src/sys/arch/alpha/gbus/
H A Dgbus.c117 int locs[GBUSCF_NLOCS]; local in function:gbusattach
128 locs[GBUSCF_OFFSET] = gaa.ga_offset;
131 .locators = locs));
/src/sys/arch/x86/pci/
H A Damdpcib.c81 amdpcib_search(device_t parent, cfdata_t cf, const int *locs, void *aux) argument
86 CFARGS(.locators = locs));
/src/sys/arch/alpha/tlsb/
H A Dtlsb.c130 int locs[TLSBCF_NLOCS]; local in function:tlsbattach
186 locs[TLSBCF_NODE] = node;
190 .locators = locs));
234 locs[TLSBCF_NODE] = node;
238 .locators = locs));
/src/tests/bin/sh/
H A Dt_input.sh111 for locs in '0 225' '0 224' '0 127 223' '0 10 15' '0 48 55' \
117 set -- $locs
153 atf_fail "${locs}: build failure"
/src/sys/arch/powerpc/ibm4xx/dev/
H A Dexb.c74 int locs[EXBCF_NLOCS]; local in function:exb_attach
99 locs[EXBCF_ADDR] = ec->ec_addr;
106 .locators = locs));
/src/sys/arch/alpha/sableio/
H A Dsableio.c142 int locs[SABLEIOCF_NLOCS]; local in function:sableio_attach
170 locs[SABLEIOCF_PORT] = sableio_devs[i].sd_ioaddr;
174 .locators = locs));
/src/sys/dev/mca/
H A Dmca.c137 int locs[MCACF_NLOCS]; local in function:mca_attach
152 locs[MCACF_SLOT] = slot;
158 .locators = locs));
/src/sys/dev/isa/
H A Disa.c147 int locs[ISACF_NLOCS]; local in function:isarescan
154 memcpy(locs, locators, sizeof(locs));
162 if (locs[ISACF_SIZE] == -1)
163 locs[ISACF_SIZE] = ISACF_SIZE_DEFAULT;
164 if (locs[ISACF_IOSIZ] == -1)
165 locs[ISACF_IOSIZ] = ISACF_IOSIZ_DEFAULT;
169 .locators = locs));
/src/sys/dev/fdt/
H A Dfdtbus.c162 fdt_rescan(device_t self, const char *ifattr, const int *locs) argument
359 fdt_scan_submatch(device_t parent, cfdata_t cf, const int *locs, void *aux) argument
361 if (locs[FDTCF_PASS] != FDTCF_PASS_DEFAULT &&
362 locs[FDTCF_PASS] != cf->cf_loc[FDTCF_PASS])
365 return config_stdsubmatch(parent, cf, locs, aux);
380 const int locs[FDTCF_NLOCS] = { local in function:fdt_scan_best
387 .locators = locs));
407 const int locs[FDTCF_NLOCS] = { local in function:fdt_scan
435 CFARGS(.locators = locs,
447 .locators = locs,
[all...]
/src/sys/kern/
H A Dkern_drvctl.c304 int locs[MAXLOCATORS]; local in function:rescanbus
306 locs[i] = -1;
309 locs[i] = locators[i];
327 (*ap)->ci_name, locs);
338 rc = (*device_cfattach(d)->ca_rescan)(d, ifattr, locs);
364 int *locs; local in function:drvctl_ioctl
400 locs = kmem_alloc(locs_sz, KM_SLEEP);
401 res = copyin(d->locators, locs, locs_sz);
403 kmem_free(locs, locs_sz);
407 locs
[all...]
/src/sys/dev/ata/
H A Data_raid.c117 ataraid_rescan(device_t self, const char *ifattr, const int *locs) argument
204 int locs[ATARAIDCF_NLOCS]; local in function:ataraid_attach
215 locs[ATARAIDCF_VENDTYPE] = aai->aai_type;
216 locs[ATARAIDCF_UNIT] = aai->aai_arrayno;
220 .locators = locs));
/src/sbin/drvctl/
H A Ddrvctl.c75 int *locs, i; local in function:main
148 locs = malloc((argc - 1) * sizeof(int));
149 if (!locs)
152 locs[i] = atoi(argv[i + 1]);
154 raa.locators = locs;
/src/sys/arch/arm/ep93xx/
H A Depsoc.c82 int locs[EPSOCCF_NLOCS]; local in function:epsoc_attach
167 locs[EPSOCCF_ADDR] = EP93XX_APB_HWBASE + EP93XX_APB_TIMERS;
170 .locators = locs));
172 locs[EPSOCCF_ADDR] = EP93XX_APB_HWBASE + EP93XX_APB_GPIO;
176 .locators = locs)));
/src/sys/arch/alpha/jensenio/
H A Djensenio.c152 int locs[JENSENIOCF_NLOCS]; local in function:jensenio_attach
186 locs[JENSENIOCF_PORT] = jensenio_devs[i].jd_ioaddr;
190 .locators = locs));
/src/sys/arch/mips/alchemy/
H A Daubus.c150 int locs[AUBUSCF_NLOCS]; local in function:aubus_attach
169 locs[AUBUSCF_ADDR] = ad->addr[0];
173 .locators = locs));
/src/sys/arch/arm/imx/
H A Dimx23_apbh.c118 apbh_search_cb(device_t parent, cfdata_t cf, const int *locs, void *aux) argument
137 apbh_search_crit_cb(device_t parent, cfdata_t cf, const int *locs, void *aux) argument
H A Dimx23_apbx.c118 apbx_search_cb(device_t parent, cfdata_t cf, const int *locs, void *aux) argument
137 apbx_search_crit_cb(device_t parent, cfdata_t cf, const int *locs, void *aux) argument

Completed in 43 milliseconds

12345