Searched refs:sc_iot (Results 226 - 250 of 533) sorted by relevance

1234567891011>>

/openbsd-current/sys/arch/i386/isa/
H A Dlms.c51 bus_space_tag_t sc_iot; /* bus i/o space identifier */ member in struct:lms_softc
137 sc->sc_iot = iot;
168 bus_space_write_1(sc->sc_iot, sc->sc_ioh, LMS_CNTRL, 0);
179 bus_space_write_1(sc->sc_iot, sc->sc_ioh, LMS_CNTRL, 0x10);
203 bus_space_tag_t iot = sc->sc_iot;
/openbsd-current/sys/dev/eisa/
H A Duha_eisa.c121 sc->sc_iot = iot;
212 bus_space_tag_t iot = sc->sc_iot;
239 bus_space_tag_t iot = sc->sc_iot;
265 bus_space_tag_t iot = sc->sc_iot;
312 bus_space_tag_t iot = sc->sc_iot;
/openbsd-current/sys/dev/fdt/
H A Dimxpwm.c54 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
56 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
64 bus_space_tag_t sc_iot; member in struct:imxpwm_softc
109 sc->sc_iot = faa->fa_iot;
110 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Dqcpdc.c38 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
40 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
60 bus_space_tag_t sc_iot; member in struct:qcpdc_softc
122 sc->sc_iot = faa->fa_iot;
124 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Dqcipcc.c42 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
44 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
57 bus_space_tag_t sc_iot; member in struct:qcipcc_softc
115 sc->sc_iot = faa->fa_iot;
116 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Damldwusb.c106 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
108 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
116 bus_space_tag_t sc_iot; member in struct:amldwusb_softc
155 sc->sc_iot = faa->fa_iot;
156 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Drkrng.c60 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
62 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
69 bus_space_tag_t sc_iot; member in struct:rkrng_softc
156 sc->sc_iot = faa->fa_iot;
157 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Damlusbphy.c84 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
86 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
94 bus_space_tag_t sc_iot; member in struct:amlusbphy_softc
132 sc->sc_iot = faa->fa_iot;
133 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Dexuart.c51 bus_space_tag_t sc_iot; member in struct:exuart_softc
199 sc->sc_iot = faa->fa_iot;
200 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr, faa->fa_reg[0].size,
225 sc->sc_ucon = bus_space_read_4(sc->sc_iot, sc->sc_ioh,
230 bus_space_write_4(sc->sc_iot, sc->sc_ioh, EXUART_UCON,
232 bus_space_write_4(sc->sc_iot, sc->sc_ioh, EXUART_UTRSTAT,
237 sc->sc_ucon = bus_space_read_4(sc->sc_iot, sc->sc_ioh,
240 bus_space_write_4(sc->sc_iot, sc->sc_ioh, EXUART_UCON,
252 bus_space_write_4(sc->sc_iot, sc->sc_ioh, EXUART_UINTM,
255 bus_space_write_4(sc->sc_iot, s
[all...]
H A Dsxidog.c53 bus_space_tag_t sc_iot; member in struct:sxidog_softc
97 sc->sc_iot = faa->fa_iot;
98 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Ddwiic_fdt.c74 sc->sc_iot = faa->fa_iot;
76 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
90 bus_space_unmap(sc->sc_iot, sc->sc_ioh, faa->fa_reg[0].size);
H A Dmviic.c57 bus_space_tag_t sc_iot; member in struct:mviic_softc
85 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
87 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
121 sc->sc_iot = faa->fa_iot;
124 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
307 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_ios);
H A Dimxanatop.c92 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
94 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
102 bus_space_tag_t sc_iot; member in struct:imxanatop_softc
163 sc->sc_iot = faa->fa_iot;
165 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
171 regmap_register(faa->fa_node, sc->sc_iot, sc->sc_ioh,
H A Dmvspi.c52 bus_space_tag_t sc_iot; member in struct:mvspi_softc
82 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
84 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
116 sc->sc_iot = faa->fa_iot;
119 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
165 bus_space_unmap(sc->sc_iot, sc->sc_ioh, sc->sc_ios);
/openbsd-current/sys/dev/isa/
H A Duha_isa.c119 sc->sc_iot = iot;
235 bus_space_tag_t iot = sc->sc_iot;
266 bus_space_tag_t iot = sc->sc_iot;
291 bus_space_tag_t iot = sc->sc_iot;
339 bus_space_tag_t iot = sc->sc_iot;
H A Disavar.h144 bus_space_write_1(sc->sc_iot, sc->sc_addr_ioh, 0, v)
146 bus_space_write_1(sc->sc_iot, sc->sc_wrdata_ioh, 0, v)
148 bus_space_read_1(sc->sc_iot, sc->sc_read_ioh, 0)
180 bus_space_tag_t sc_iot; /* isa io space tag */ member in struct:isapnp_softc
310 bus_space_tag_t sc_iot; /* isa io space tag */ member in struct:isa_softc
H A Daddcom_isa.c88 bus_space_tag_t sc_iot; member in struct:addcom_softc
196 sc->sc_iot = ia->ia_iot;
235 ca.ca_iot = sc->sc_iot;
/openbsd-current/sys/arch/arm64/dev/
H A Daplspmi.c49 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
51 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
55 bus_space_tag_t sc_iot; member in struct:aplspmi_softc
100 sc->sc_iot = faa->fa_iot;
101 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Daplnco.c43 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
45 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
53 bus_space_tag_t sc_iot; member in struct:aplnco_softc
95 sc->sc_iot = faa->fa_iot;
96 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Daplsart.c49 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
51 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
55 bus_space_tag_t sc_iot; member in struct:aplsart_softc
95 sc->sc_iot = faa->fa_iot;
96 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
H A Daplpmgr.c44 (bus_space_read_4((sc)->sc_iot, (sc)->sc_ioh, (reg)))
46 bus_space_write_4((sc)->sc_iot, (sc)->sc_ioh, (reg), (val))
60 bus_space_tag_t sc_iot; member in struct:aplpmgr_softc
106 sc->sc_iot = faa->fa_iot;
107 if (bus_space_map(sc->sc_iot, faa->fa_reg[0].addr,
/openbsd-current/sys/dev/ic/
H A Dpluart.c172 sc->sc_hwrev = UART_PID2_REV(bus_space_read_4(sc->sc_iot,
213 fr = bus_space_read_4(sc->sc_iot, sc->sc_ioh, UART_FR);
220 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_IFLS,
225 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_IMSC, sc->sc_imsc);
226 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_ICR, 0x7ff);
229 lcr = bus_space_read_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H);
234 bus_space_write_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H, lcr);
241 bus_space_tag_t iot = sc->sc_iot;
355 lcr = bus_space_read_4(sc->sc_iot, sc->sc_ioh, UART_LCR_H);
358 cr = bus_space_read_4(sc->sc_iot, s
[all...]
H A Delink3.c180 bus_space_tag_t iot = sc->sc_iot;
252 bus_space_tag_t iot = sc->sc_iot;
453 bus_space_tag_t iot = sc->sc_iot;
505 bus_space_tag_t iot = sc->sc_iot;
571 bus_space_tag_t iot = sc->sc_iot;
678 bus_space_write_2(sc->sc_iot, sc->sc_ioh, EP_COMMAND, SET_RX_FILTER |
699 bus_space_tag_t iot = sc->sc_iot;
725 bus_space_tag_t iot = sc->sc_iot;
873 bus_space_tag_t iot = sc->sc_iot;
941 bus_space_tag_t iot = sc->sc_iot;
[all...]
/openbsd-current/sys/arch/powerpc64/dev/
H A Dastfb.c41 bus_space_tag_t sc_iot; member in struct:astfb_softc
118 sc->sc_iot = pa->pa_memt;
119 if (bus_space_map(sc->sc_iot, sc->sc_fbaddr, sc->sc_fbsize,
127 ri->ri_bits = bus_space_vaddr(sc->sc_iot, sc->sc_ioh);
241 return (bus_space_mmap(sc->sc_iot, sc->sc_fbaddr,
/openbsd-current/sys/dev/pci/
H A Dcmpci.c176 bus_space_write_1(sc->sc_iot, sc->sc_ioh, CMPCI_REG_SBADDR, no);
178 ret = bus_space_read_1(sc->sc_iot, sc->sc_ioh, CMPCI_REG_SBDATA);
186 bus_space_write_1(sc->sc_iot, sc->sc_ioh, CMPCI_REG_SBADDR, no);
188 bus_space_write_1(sc->sc_iot, sc->sc_ioh, CMPCI_REG_SBDATA, val);
197 bus_space_write_1(sc->sc_iot, sc->sc_ioh, no,
199 (bus_space_read_1(sc->sc_iot, sc->sc_ioh, no) & ~(mask<<shift)));
207 bus_space_write_4(sc->sc_iot, sc->sc_ioh, no,
209 (bus_space_read_4(sc->sc_iot, sc->sc_ioh, no) & ~(mask<<shift)));
217 bus_space_write_1(sc->sc_iot, sc->sc_ioh, no,
218 (bus_space_read_1(sc->sc_iot, s
[all...]

Completed in 400 milliseconds

1234567891011>>