Searched refs:sc_iot (Results 176 - 200 of 947) sorted by relevance

1234567891011>>

/netbsd-current/sys/arch/arc/jazz/
H A Dasc.c58 bus_space_tag_t sc_iot; /* bus space tag */ member in struct:asc_softc
140 asc->sc_iot = iot = ja->ja_bust;
255 return bus_space_read_1(asc->sc_iot, asc->sc_ioh, reg);
263 bus_space_write_1(asc->sc_iot, asc->sc_ioh, reg, val);
279 bus_space_write_4(asc->sc_iot, asc->sc_dmaioh, R4030_DMA_ENAB, 0);
280 bus_space_write_4(asc->sc_iot, asc->sc_dmaioh, R4030_DMA_MODE, 0);
342 bus_space_write_4(asc->sc_iot, asc->sc_dmaioh, R4030_DMA_COUNT, 0);
343 bus_space_write_4(asc->sc_iot, asc->sc_dmaioh, R4030_DMA_ENAB, 0);
344 bus_space_write_4(asc->sc_iot, asc->sc_dmaioh, R4030_DMA_MODE, 0);
384 bus_space_write_4(asc->sc_iot, as
[all...]
/netbsd-current/sys/arch/arm/nxp/
H A Dimx_ahcisata.c56 bus_space_tag_t sc_iot; member in struct:imx_ahcisata_softc
165 sc->sc_iot = sc->sc.sc_ahcit;
170 if (bus_space_map(sc->sc_iot, addr, size, 0, &sc->sc_gpr_ioh)) {
208 v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYCR);
213 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYCR, v);
216 v = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYSR);
233 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYCR, addr);
250 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYCR, data);
259 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SATA_P0PHYCR,
283 v = bus_space_read_4(sc->sc_iot, s
[all...]
/netbsd-current/sys/dev/pci/
H A Dciss_pci.c186 &sc->sc_iot, &sc->sc_ioh, NULL, &size)) {
200 cfg_bar = bus_space_read_2(sc->sc_iot, sc->sc_ioh, CISS_CFG_BAR);
201 sc->cfgoff = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CISS_CFG_OFF);
207 bus_space_unmap(sc->sc_iot, sc->sc_ioh, size);
217 bus_space_unmap(sc->sc_iot, sc->sc_ioh, size);
219 bus_space_unmap(sc->sc_iot, sc->cfg_ioh, cfgsz);
224 bus_space_read_region_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff,
228 bus_space_write_4(sc->sc_iot, sc->sc_ioh, CISS_IMR,
229 bus_space_read_4(sc->sc_iot, sc->sc_ioh, CISS_IMR) |
253 bus_space_unmap(sc->sc_iot, s
[all...]
H A Dcy_pci.c33 bus_space_tag_t sc_iot; /* PLX runtime i/o tag */ member in struct:cy_pci_softc
111 &psc->sc_iot, &psc->sc_ioh, NULL, NULL) != 0) {
158 bus_space_write_2(psc->sc_iot, psc->sc_ioh, CY_PCI_INTENA_9050,
159 bus_space_read_2(psc->sc_iot, psc->sc_ioh,
166 bus_space_write_2(psc->sc_iot, psc->sc_ioh, CY_PCI_INTENA,
167 bus_space_read_2(psc->sc_iot, psc->sc_ioh,
H A Dfms.c249 if (pci_mapreg_map(pa, 0x10, PCI_MAPREG_TYPE_IO, 0, &sc->sc_iot,
254 if (bus_space_subregion(sc->sc_iot, sc->sc_ioh, 0x30, 2,
257 if (bus_space_subregion(sc->sc_iot, sc->sc_ioh, 0x68, 4,
290 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_CODEC_CTL, 0x0020);
292 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_CODEC_CTL, 0x0000);
296 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_PCM_VOLUME, 0x0808);
297 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_FM_VOLUME, 0x0808);
298 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_I2S_VOLUME, 0x0808);
300 bus_space_write_2(sc->sc_iot, sc->sc_ioh, FM_RECORD_SOURCE, 0x0000);
303 k1 = bus_space_read_2(sc->sc_iot, s
[all...]
/netbsd-current/sys/dev/marvell/
H A Dmvcesa.c68 bus_space_tag_t sc_iot; member in struct:mvcesa_softc
128 sc->sc_iot = mva->mva_iot;
167 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVCESA_IC, 0);
170 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVCESA_IM, 0);
500 cmd = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVCESA_SHA1MD5I_AC);
520 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVCESA_SHA1MD5I_AC,
524 bus_space_write_region_4(sc->sc_iot, sc->sc_ioh,
535 bus_space_write_4(sc->sc_iot,
544 bus_space_write_4(sc->sc_iot,
553 bus_space_write_4(sc->sc_iot,
[all...]
/netbsd-current/sys/arch/arm/marvell/
H A Dmvsocrtc.c55 bus_space_tag_t sc_iot; member in struct:mvsocrtc_softc
89 sc->sc_iot = mva->mva_iot;
120 rtcdate = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVSOCRTC_DATE);
121 rtctime = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVSOCRTC_TIME);
167 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSOCRTC_TIME, reg);
174 bus_space_write_4(sc->sc_iot, sc->sc_ioh, MVSOCRTC_DATE, reg);
/netbsd-current/sys/arch/hpcarm/dev/
H A Dj720kbd.c172 bus_space_write_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_EDR, 1);
207 bus_space_write_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_PCR, 0x2000000);
228 bus_space_write_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_PSR, 0x2000000);
234 bus_space_write_4(ssp->sc_iot, ssp->sc_gpioh, SAGPIO_PSR, 0x2000000);
237 bus_space_write_4(ssp->sc_iot, ssp->sc_ssph, SASSP_CR0, 0x307);
239 bus_space_write_4(ssp->sc_iot, ssp->sc_ssph, SASSP_CR0, 0x387);
/netbsd-current/sys/arch/i386/pnpbios/
H A Dwss_pnpbios.c120 &sc->sc_iot, &sc->sc_ioh)) {
125 &sc->sc_iot, &sc->sc_opl_ioh)) {
147 sc->sc_ad1848.sc_ad1848.sc_iot = sc->sc_iot;
148 bus_space_subregion(sc->sc_iot, sc->sc_ioh, wph->offset_ad1848, 4,
165 bus_space_write_1(sc->sc_iot, sc->sc_ioh, WSS_CONFIG,
/netbsd-current/sys/dev/acpi/
H A Dwss_acpi.c131 sc->sc_iot = aa->aa_iot;
139 if (bus_space_map(sc->sc_iot, dspio->ar_base, dspio->ar_length,
144 if (bus_space_map(sc->sc_iot, oplio->ar_base, oplio->ar_length,
172 sc->sc_ad1848.sc_ad1848.sc_iot = sc->sc_iot;
173 bus_space_subregion(sc->sc_iot, sc->sc_ioh, wah->offset_ad1848, 4,
/netbsd-current/sys/dev/isa/
H A Dfdc_isa.c193 bus_space_unmap(fdc->sc_iot, fdc->sc_fdctlioh, 1);
195 bus_space_unmap(fdc->sc_iot, isc->sc_baseioh, 6 /* FDC_NPORT */);
211 fdc->sc_iot = ia->ia_iot;
215 if (bus_space_map(fdc->sc_iot, ia->ia_io[0].ir_addr,
221 if (bus_space_subregion(fdc->sc_iot, isc->sc_baseioh, 2, 4,
228 if (bus_space_map(fdc->sc_iot, ia->ia_io[0].ir_addr + fdctl + 2, 1, 0,
/netbsd-current/sys/arch/sgimips/dev/
H A Dcrmfb.c137 bus_space_tag_t sc_iot; member in struct:crmfb_softc
265 sc->sc_iot = normal_memt;
270 rv = bus_space_map(sc->sc_iot, ma->ma_addr, 0 /* XXX */,
274 rv = bus_space_map(sc->sc_iot, 0x15000000, 0x6000, 0, &sc->sc_reh);
279 d = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CRMFB_VT_HCMAP);
281 d = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CRMFB_VT_VCMAP);
283 d = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CRMFB_FRM_TILESIZE);
299 bus_space_unmap(sc->sc_iot, sc->sc_ioh, 0 /* XXX */);
591 return bus_space_mmap(sc->sc_iot, 0x15004000, 0, prot, 0);
594 return bus_space_mmap(sc->sc_iot, offse
[all...]
/netbsd-current/sys/arch/evbarm/ixm1200/
H A Dnappi_nr.c58 bus_space_tag_t sc_iot; member in struct:nappinr_softc
82 sc->sc_iot = sa->sa_iot;
113 bus_space_write_4(sc->sc_iot, sc->sc_ioh, 0, v);
/netbsd-current/sys/dev/xmi/
H A Dxmi.c94 xa.xa_iot = sc->sc_iot;
107 if (bus_space_map(sc->sc_iot, sc->sc_addr + XMI_NODE(nodenr),
114 bus_space_unmap(sc->sc_iot, xa.xa_ioh, PAGE_SIZE);
/netbsd-current/sys/arch/arm/xscale/
H A Dixp425_sip.c69 sc->sc_iot = &ixp425_bs_tag;
75 if (bus_space_map(sc->sc_iot, IXP425_EXP_HWBASE, IXP425_EXP_SIZE,
95 sa.sa_iot = sc->sc_iot;
/netbsd-current/sys/arch/hppa/dev/
H A Dgecko.c35 bus_space_tag_t sc_iot; member in struct:gecko_softc
70 sc->sc_iot = ca->ca_iot;
71 if (bus_space_map(sc->sc_iot, ca->ca_hpa, IOMOD_HPASIZE, 0,
H A Delroyvar.h43 struct hppa_bus_space_tag sc_iot; member in struct:elroy_softc
/netbsd-current/sys/arch/amiga/dev/
H A Dzz9k_usb.c59 bus_space_tag_t sc_iot; member in struct:zzusb_softc
93 sc->sc_iot = &sc->sc_bst;
104 bus_space_vaddr(sc->sc_iot, sc->sc_regh));
/netbsd-current/sys/arch/arm/broadcom/
H A Dbcm2835_spi.c52 bus_space_tag_t sc_iot; member in struct:bcmspi_softc
104 sc->sc_iot = faa->faa_bst;
116 if (bus_space_map(sc->sc_iot, addr, size, 0, &sc->sc_ioh) != 0) {
180 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SPI_CS, cs);
188 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SPI_CLK, clk);
228 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SPI_CS, cs);
254 cs = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SPI_CS);
262 bus_space_write_4(sc->sc_iot, sc->sc_ioh, SPI_FIFO, fd);
278 cs = bus_space_read_4(sc->sc_iot, sc->sc_ioh, SPI_CS);
281 fd = bus_space_read_4(sc->sc_iot, s
[all...]
/netbsd-current/sys/arch/atari/vme/
H A Dif_levar.h54 bus_space_tag_t sc_iot; /* glue to bus code */ member in struct:le_softc
/netbsd-current/sys/arch/evbppc/virtex/dev/
H A Dtftvar.h41 bus_space_tag_t sc_iot; member in struct:tft_softc
/netbsd-current/sys/arch/hpcmips/vr/
H A Dflashvar.h42 bus_space_tag_t sc_iot; member in struct:flash_softc
H A Dvrc4172pwmvar.h43 bus_space_tag_t sc_iot; member in struct:vrc4172pwm_softc
H A Dvripvar.h49 bus_space_tag_t sc_iot; member in struct:vrip_softc
H A Dvrpiuvar.h44 bus_space_tag_t sc_iot; member in struct:vrpiu_softc

Completed in 343 milliseconds

1234567891011>>