/openbsd/sys/arch/sparc64/dev/ |
H A D | fhc_central.c | 72 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 D | cbus.c | 105 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 D | cbusvar.h | 29 u_int32_t *ca_reg; member
|
H A D | centralvar.h | 38 struct central_reg *ca_reg; member
|
H A D | central.c | 101 &ca.ca_nreg, (void **)&ca.ca_reg); in central_attach()
|
/openbsd/sys/arch/macppc/dev/ |
H A D | xlights.c | 116 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 D | macgpio.c | 100 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 D | dfs.c | 79 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 D | mediabay.c | 110 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 D | if_mc.c | 362 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 D | if_wi_obio.c | 112 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 D | awacs.c | 288 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 D | uni_n.c | 153 ca.ca_reg = reg; in memc_attach_children() 177 printf(" offset 0x%x", ca->ca_reg[0]); in memc_print()
|
H A D | if_bm.c | 197 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 D | wdc_obio.c | 169 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 D | adb.c | 1677 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 D | i2s.c | 85 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 D | zs.c | 203 zsd = mapiodev(ca->ca_baseaddr + ca->ca_reg[0], ca->ca_reg[1]); in zs_attach()
|
H A D | kiic.c | 92 ca->ca_reg[0] += ca->ca_baseaddr; in kiic_attach()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | mainbus.c | 115 nca.ca_reg = reg; in mbattach() 125 nca.ca_reg = reg; in mbattach() 148 nca.ca_reg = reg; in mbattach()
|
H A D | cpu.c | 96 int *reg = ca->ca_reg; in cpumatch() 193 int *reg = ca->ca_reg; in cpuattach()
|
/openbsd/sys/arch/macppc/pci/ |
H A D | macobio.c | 181 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 D | kauaiata.c | 176 ca.ca_reg = reg; in kauaiataattach()
|
/openbsd/sys/arch/landisk/include/ |
H A D | autoconf.h | 39 u_int *ca_reg; member
|
/openbsd/sys/arch/macppc/include/ |
H A D | autoconf.h | 43 u_int32_t *ca_reg; member
|