Home
last modified time | relevance | path

Searched refs:ca_iot (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/sys/arch/hppa/dev/
H A Dsti_sgc.c179 if ((rv = bus_space_map(ca->ca_iot, rom, STI_ROMSIZE, 0, &romh))) { in sti_sgc_probe()
191 devtype = bus_space_read_1(ca->ca_iot, romh, 3); in sti_sgc_probe()
197 id = bus_space_read_4(ca->ca_iot, romh, STI_DEV4_DD_GRID); in sti_sgc_probe()
200 id = (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in sti_sgc_probe()
202 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in sti_sgc_probe()
204 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in sti_sgc_probe()
206 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in sti_sgc_probe()
226 ca->ca_addrs[ca->ca_naddrs].size = sti_rom_size(ca->ca_iot, romh); in sti_sgc_probe()
230 bus_space_unmap(ca->ca_iot, romh, STI_ROMSIZE); in sti_sgc_probe()
259 if ((rv = bus_space_map(ca->ca_iot, rom, romlen, 0, &romh))) { in sti_sgc_attach()
[all …]
H A Dcom_dino.c114 if (comcnattach(ca->ca_iot, iobase, B9600, in com_dino_attach()
129 if (!com_is_console(ca->ca_iot, iobase, &ioh) && in com_dino_attach()
130 bus_space_map(ca->ca_iot, iobase, COM_NPORTS, 0, &ioh) != 0) { in com_dino_attach()
134 com_init_regs(&sc->sc_regs, ca->ca_iot, ioh, iobase); in com_dino_attach()
H A Dasp.c205 if (bus_space_map(ca->ca_iot, ca->ca_hpa + ASP_REG_INT, in aspattach()
215 if (bus_space_map(ca->ca_iot, ca->ca_hpa + ASP_REG_MISC, in aspattach()
225 if (bus_space_map(ca->ca_iot, ca->ca_hpa + ASP_ETHER_ADDR, in aspattach()
230 bus_space_read_region_1(ca->ca_iot, ioh, 0, in aspattach()
232 bus_space_unmap(ca->ca_iot, ioh, sizeof(ga.ga_ether_address)); in aspattach()
H A Dmongoose.c580 if (bus_space_map(ca->ca_iot, ca->ca_hpa + MONGOOSE_MONGOOSE, in mgmatch()
586 bus_space_unmap(ca->ca_iot, ioh, sizeof(struct mongoose_regs)); in mgmatch()
603 sc->sc_bt = ca->ca_iot; in mgattach()
605 if (bus_space_map(ca->ca_iot, ca->ca_hpa + MONGOOSE_MONGOOSE, in mgattach()
612 if (bus_space_map(ca->ca_iot, ca->ca_hpa + MONGOOSE_CTRL, in mgattach()
615 bus_space_unmap(ca->ca_iot, (bus_space_handle_t)sc->sc_regs, in mgattach()
671 memcpy(bt, ca->ca_iot, sizeof(*bt)); in mgattach()
681 memcpy(bt, ca->ca_iot, sizeof(*bt)); in mgattach()
H A Dgecko.c70 sc->sc_iot = ca->ca_iot; in gecko_attach()
76 regs = bus_space_vaddr(ca->ca_iot, sc->sc_ioh); in gecko_attach()
H A Dhyperfb.c278 if (bus_space_map(ca->ca_iot, rom, STI_ROMSIZE, 0, &romh)) { in hyperfb_match()
290 devtype = bus_space_read_1(ca->ca_iot, romh, 3); in hyperfb_match()
295 id = bus_space_read_4(ca->ca_iot, romh, STI_DEV4_DD_GRID); in hyperfb_match()
298 id = (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in hyperfb_match()
300 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in hyperfb_match()
302 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in hyperfb_match()
304 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID in hyperfb_match()
316 ca->ca_addrs[ca->ca_naddrs].size = sti_rom_size(ca->ca_iot, romh); in hyperfb_match()
320 bus_space_unmap(ca->ca_iot, romh, STI_ROMSIZE); in hyperfb_match()
344 sc->sc_iot = ca->ca_iot; in hyperfb_attach()
[all...]
H A Dlasi.c158 if (bus_space_map(ca->ca_iot, ca->ca_hpa + LASI_REG_INT, in lasiattach()
168 if (bus_space_map(ca->ca_iot, ca->ca_hpa + LASI_REG_MISC, in lasiattach()
H A Dlcd.c79 sc->sc_iot = ca->ca_iot; in lcd_attach()
H A Dwax.c131 if (bus_space_map(ca->ca_iot, ca->ca_hpa, sizeof(struct wax_regs), in waxattach()
/netbsd-src/sys/arch/hppa/gsc/
H A Dfdc_gsc.c67 if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) in fdc_gsc_probe()
70 rv = fdcprobe1(ca->ca_iot, ioh | IOMOD_DEVOFFSET); in fdc_gsc_probe()
71 bus_space_unmap(ca->ca_iot, ioh, IOMOD_HPASIZE); in fdc_gsc_probe()
85 if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) { in fdc_gsc_attach()
91 sc->sc_iot = ca->ca_iot; in fdc_gsc_attach()
H A Dgscbusvar.h37 #define ga_iot ga_ca.ca_iot
/netbsd-src/sys/dev/isa/
H A Dcom_multi.c114 if (com_is_console(ca->ca_iot, iobase, 0)) in com_multi_probe()
117 return comprobe1(ca->ca_iot, ca->ca_ioh); in com_multi_probe()
131 com_init_regs(&sc->sc_regs, ca->ca_iot, ca->ca_ioh, ca->ca_iobase); in com_multi_attach()
H A Dcom_multi.h36 bus_space_tag_t ca_iot; member
H A Dmoxa_isa.c169 ca.ca_iot = sc->sc_iot; in moxa_isaattach()
H A Dtcom.c217 ca.ca_iot = sc->sc_iot; in tcomattach()
H A Dast.c176 ca.ca_iot = sc->sc_iot; in astattach()
H A Dioat66.c177 ca.ca_iot = sc->sc_iot; in ioat66attach()
H A Daddcom_isa.c220 ca.ca_iot = sc->sc_iot; in addcomattach()
H A Drtfps.c187 ca.ca_iot = sc->sc_iot; in rtfpsattach()
H A Dboca.c178 ca.ca_iot = sc->sc_iot; in bocaattach()
/netbsd-src/sys/arch/arm/iomd/
H A Diomdvar.h50 bus_space_tag_t ca_iot; /* Bus tag */ member
H A Diomd_clock.c141 sc->sc_iot = ca->ca_iot; in clockattach()
/netbsd-src/sys/arch/hppa/include/
H A Dautoconf.h54 bus_space_tag_t ca_iot; /* io tag */ member
/netbsd-src/sys/arch/hppa/hppa/
H A Dmainbus.c1398 nca.ca_iot = &hppa_bustag; in mbattach()
1407 nca.ca_iot = &hppa_bustag; in mbattach()
1421 nca.ca_iot = &hppa_bustag; in mbattach()
1444 nca.ca_iot = &hppa_bustag; in mbattach()
1458 nca.ca_iot = &hppa_bustag; in mbattach()
/netbsd-src/sys/dev/cardbus/
H A Dsdhc_cardbus.c123 sc->sc_iot = ca->ca_iot; in sdhc_cardbus_attach()

12