Home
last modified time | relevance | path

Searched refs:ca_reg (Results 1 – 25 of 26) sorted by relevance

12

/openbsd/sys/arch/sparc64/dev/
H A Dfhc_central.c72 if (central_bus_map(sc->sc_bt, ca->ca_reg[0].cbr_slot, in fhc_central_attach()
73 ca->ca_reg[0].cbr_offset, ca->ca_reg[0].cbr_size, 0, in fhc_central_attach()
79 if (central_bus_map(sc->sc_bt, ca->ca_reg[1].cbr_slot, in fhc_central_attach()
80 ca->ca_reg[1].cbr_offset, ca->ca_reg[1].cbr_size, 0, in fhc_central_attach()
86 if (central_bus_map(sc->sc_bt, ca->ca_reg[2].cbr_slot, in fhc_central_attach()
87 ca->ca_reg[2].cbr_offset, ca->ca_reg[2].cbr_size, in fhc_central_attach()
93 if (central_bus_map(sc->sc_bt, ca->ca_reg[3].cbr_slot, in fhc_central_attach()
94 ca->ca_reg[3].cbr_offset, ca->ca_reg[3].cbr_size, in fhc_central_attach()
100 if (central_bus_map(sc->sc_bt, ca->ca_reg[4].cbr_slot, in fhc_central_attach()
101 ca->ca_reg[4].cbr_offset, ca->ca_reg[4].cbr_size, in fhc_central_attach()
[all …]
H A Dcbus.c105 getprop(node, "reg", sizeof(*ca.ca_reg), in cbus_attach()
106 &ca.ca_nreg, (void **)&ca.ca_reg); in cbus_attach()
246 idx = mdesc_find_child(sc->sc_idx, ca->ca_name, ca->ca_reg[0]); in cbus_get_channel_endpoint()
H A Dcbusvar.h29 u_int32_t *ca_reg; member
H A Dcentralvar.h38 struct central_reg *ca_reg; member
H A Dcentral.c101 &ca.ca_nreg, (void **)&ca.ca_reg); in central_attach()
/openbsd/sys/arch/macppc/dev/
H A Dxlights.c116 ca->ca_reg[0] += ca->ca_baseaddr; in xlights_attach()
117 ca->ca_reg[2] += ca->ca_baseaddr; in xlights_attach()
119 if ((sc->sc_reg = mapiodev(ca->ca_reg[0], ca->ca_reg[1])) == NULL) { in xlights_attach()
125 if ((sc->sc_dma = mapiodev(ca->ca_reg[2], ca->ca_reg[3])) == NULL) { in xlights_attach()
204 unmapiodev((void *)sc->sc_dma, ca->ca_reg[3]); in xlights_attach()
206 unmapiodev(sc->sc_reg, ca->ca_reg[1]); in xlights_attach()
H A Dmacgpio.c100 sc->sc_port = mapiodev(ca->ca_baseaddr + ca->ca_reg[0], ca->ca_reg[1]); in macgpio_attach()
121 ca2.ca_reg = reg; in macgpio_attach()
136 printf(" offset 0x%x", ca->ca_reg[0]); in macgpio_print()
H A Ddfs.c79 if (reg > ca->ca_reg[0]) in dfs_attach()
80 sc->sc_voltage = reg + ca->ca_reg[0]; in dfs_attach()
82 sc->sc_voltage = ca->ca_reg[0]; in dfs_attach()
H A Dmediabay.c110 ca->ca_reg[0] += ca->ca_baseaddr; in mediabay_attach()
112 sc->sc_addr = mapiodev(ca->ca_reg[0], PAGE_SIZE); in mediabay_attach()
175 ca.ca_reg = reg; in mediabay_attach_content()
197 printf(" offset 0x%x", ca->ca_reg[0]); in mediabay_print()
H A Dif_mc.c362 ca->ca_reg[0] += ca->ca_baseaddr; in mc_attach()
363 ca->ca_reg[2] += ca->ca_baseaddr; in mc_attach()
364 ca->ca_reg[4] += ca->ca_baseaddr; in mc_attach()
366 if ((sc->sc_reg = mapiodev(ca->ca_reg[0], ca->ca_reg[1])) == NULL) { in mc_attach()
374 if ((sc->sc_txdma = mapiodev(ca->ca_reg[2], ca->ca_reg[3])) == NULL) { in mc_attach()
378 if ((sc->sc_rxdma = mapiodev(ca->ca_reg[4], ca->ca_reg[5])) == NULL) { in mc_attach()
476 unmapiodev((void *)sc->sc_rxdma, ca->ca_reg[5]); in mc_attach()
478 unmapiodev((void *)sc->sc_txdma, ca->ca_reg[3]); in mc_attach()
480 unmapiodev(sc->sc_reg, ca->ca_reg[1]); in mc_attach()
H A Dif_wi_obio.c112 ca->ca_reg[0] += ca->ca_baseaddr; in wi_obio_attach()
113 if (bus_space_map(sc->wi_btag, ca->ca_reg[0], ca->ca_reg[1], 0, &sc->wi_bhandle)) { in wi_obio_attach()
H A Dawacs.c288 ca->ca_reg[0] += ca->ca_baseaddr; in awacs_attach()
289 ca->ca_reg[2] += ca->ca_baseaddr; in awacs_attach()
290 ca->ca_reg[4] += ca->ca_baseaddr; in awacs_attach()
292 sc->sc_reg = mapiodev(ca->ca_reg[0], ca->ca_reg[1]); in awacs_attach()
295 sc->sc_odma = mapiodev(ca->ca_reg[2], ca->ca_reg[3]); /* out */ in awacs_attach()
296 sc->sc_idma = mapiodev(ca->ca_reg[4], ca->ca_reg[5]); /* in */ in awacs_attach()
H A Duni_n.c153 ca.ca_reg = reg; in memc_attach_children()
177 printf(" offset 0x%x", ca->ca_reg[0]); in memc_print()
H A Dif_bm.c197 ca->ca_reg[0] += ca->ca_baseaddr; in bmac_attach()
198 ca->ca_reg[2] += ca->ca_baseaddr; in bmac_attach()
199 ca->ca_reg[4] += ca->ca_baseaddr; in bmac_attach()
201 sc->sc_regs = (vaddr_t)mapiodev(ca->ca_reg[0], NBPG); in bmac_attach()
213 sc->sc_txdma = mapiodev(ca->ca_reg[2], 0x100); in bmac_attach()
214 sc->sc_rxdma = mapiodev(ca->ca_reg[4], 0x100); in bmac_attach()
H A Dwdc_obio.c169 cmdbase = ca->ca_reg[0]; in wdc_obio_attach()
170 sc->sc_cmdsize = ca->ca_reg[1]; in wdc_obio_attach()
190 sc->sc_dmareg = mapiodev(ca->ca_baseaddr + ca->ca_reg[2], in wdc_obio_attach()
191 sc->sc_dmasize = ca->ca_reg[3]); in wdc_obio_attach()
H A Dadb.c1677 ca->ca_reg[0] += ca->ca_baseaddr; in adbattach()
1679 sc->sc_regbase = mapiodev(ca->ca_reg[0], ca->ca_reg[1]); in adbattach()
H A Di2s.c85 reg[0] += ca->ca_reg[0]; in i2s_attach()
86 reg[2] += ca->ca_reg[2]; in i2s_attach()
87 reg[4] += ca->ca_reg[2]; in i2s_attach()
H A Dzs.c203 zsd = mapiodev(ca->ca_baseaddr + ca->ca_reg[0], ca->ca_reg[1]); in zs_attach()
H A Dkiic.c92 ca->ca_reg[0] += ca->ca_baseaddr; in kiic_attach()
/openbsd/sys/arch/macppc/macppc/
H A Dmainbus.c115 nca.ca_reg = reg; in mbattach()
125 nca.ca_reg = reg; in mbattach()
148 nca.ca_reg = reg; in mbattach()
H A Dcpu.c96 int *reg = ca->ca_reg; in cpumatch()
193 int *reg = ca->ca_reg; in cpuattach()
/openbsd/sys/arch/macppc/pci/
H A Dmacobio.c181 ca.ca_reg = NULL; in macobio_attach()
205 ca.ca_reg = reg; in macobio_attach()
221 printf(" offset 0x%x", ca->ca_reg[0]); in macobio_print()
H A Dkauaiata.c176 ca.ca_reg = reg; in kauaiataattach()
/openbsd/sys/arch/landisk/include/
H A Dautoconf.h39 u_int *ca_reg; member
/openbsd/sys/arch/macppc/include/
H A Dautoconf.h43 u_int32_t *ca_reg; member

12