Searched refs:ioh (Results 1 - 25 of 25) sorted by relevance

/freebsd-9.3-release/sys/arm/s3c2xx0/
H A Duart_dev_s3c2410.h83 #define sscom_rxrdy(iot,ioh) \
84 (bus_space_read_1((iot), (ioh), SSCOM_UTRSTAT) & UTRSTAT_RXREADY)
85 #define sscom_getc(iot,ioh) bus_space_read_1((iot), (ioh), SSCOM_URXH)
86 #define sscom_geterr(iot,ioh) bus_space_read_1((iot), (ioh), SSCOM_UERSTAT)
H A Ds3c24x0_clk.c161 bus_space_handle_t ioh = sc->sc_timer_ioh; local
183 bus_space_write_4(iot, ioh, TIMER_TCON, 0);
192 bus_space_write_4(iot, ioh, TIMER_TCNTB(4),
209 reg = bus_space_read_4(iot, ioh, TIMER_TCFG0);
210 bus_space_write_4(iot, ioh, TIMER_TCFG0,
214 reg = bus_space_read_4(iot, ioh, TIMER_TCFG1);
215 bus_space_write_4(iot, ioh, TIMER_TCFG1,
221 reg = bus_space_read_4(iot, ioh, TIMER_TCON);
225 bus_space_write_4(iot, ioh, TIMER_TCON, reg | TCON_MANUALUPDATE(4));
227 bus_space_write_4(iot, ioh, TIMER_TCO
[all...]
/freebsd-9.3-release/sys/dev/ncv/
H A Dncr53c500.c184 ncvhw_select_register_0(iot, ioh, hw)
186 bus_space_handle_t ioh;
190 bus_space_write_1(iot, ioh, cr0_cfg4, hw->hw_cfg4);
194 ncvhw_select_register_1(iot, ioh, hw)
196 bus_space_handle_t ioh;
200 bus_space_write_1(iot, ioh, cr1_cfg5, hw->hw_cfg5);
204 ncvhw_fpush(iot, ioh, buf, len)
206 bus_space_handle_t ioh;
213 bus_space_write_1(iot, ioh, cr0_sfifo, buf[ptr]);
217 ncvhw_set_count(iot, ioh, coun
351 bus_space_handle_t ioh = sc->sc_ioh; local
398 bus_space_handle_t ioh = sc->sc_ioh; local
413 bus_space_handle_t ioh = sc->sc_ioh; local
480 bus_space_handle_t ioh = sc->sc_ioh; local
513 bus_space_handle_t ioh = sc->sc_ioh; local
673 bus_space_handle_t ioh = sc->sc_ioh; local
690 bus_space_handle_t ioh = sc->sc_ioh; local
753 bus_space_handle_t ioh = sc->sc_ioh; local
819 bus_space_handle_t ioh = sc->sc_ioh; local
882 bus_space_handle_t ioh = sc->sc_ioh; local
914 bus_space_handle_t ioh = sc->sc_ioh; local
938 bus_space_handle_t ioh = sc->sc_ioh; local
970 bus_space_handle_t ioh = sc->sc_ioh; local
992 bus_space_handle_t ioh = sc->sc_ioh; local
[all...]
H A Dncr53c500var.h93 int ncvprobesubr(bus_space_tag_t, bus_space_handle_t ioh, u_int, int);
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dixp425_pci_space.c255 _bs_r(void *v, bus_space_handle_t ioh, bus_size_t off, u_int32_t be) argument
259 CSR_WRITE_4(PCI_NP_AD, (ioh + off) & ~3);
269 _pci_io_bs_r_1(void *v, bus_space_handle_t ioh, bus_size_t off) argument
273 n = (ioh + off) % 4;
275 data = _bs_r(v, ioh, off, be);
281 _pci_io_bs_r_2(void *v, bus_space_handle_t ioh, bus_size_t off) argument
285 n = (ioh + off) % 4;
287 data = _bs_r(v, ioh, off, be);
293 _pci_io_bs_r_4(void *v, bus_space_handle_t ioh, bus_size_t off) argument
297 data = _bs_r(v, ioh, of
303 _pci_io_bs_r_1_s(void *v, bus_space_handle_t ioh, bus_size_t off) argument
315 _pci_io_bs_r_2_s(void *v, bus_space_handle_t ioh, bus_size_t off) argument
327 _pci_io_bs_r_4_s(void *v, bus_space_handle_t ioh, bus_size_t off) argument
337 _bs_w(void *v, bus_space_handle_t ioh, bus_size_t off, u_int32_t be, u_int32_t data) argument
348 _pci_io_bs_w_1(void *v, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument
360 _pci_io_bs_w_2(void *v, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument
372 _pci_io_bs_w_4(void *v, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument
380 _pci_io_bs_w_1_s(void *v, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument
392 _pci_io_bs_w_2_s(void *v, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument
404 _pci_io_bs_w_4_s(void *v, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument
454 _pci_mem_bs_r_1(void *v, bus_space_handle_t ioh, bus_size_t off) argument
460 _pci_mem_bs_r_2(void *v, bus_space_handle_t ioh, bus_size_t off) argument
466 _pci_mem_bs_r_4(void *v, bus_space_handle_t ioh, bus_size_t off) argument
475 _pci_mem_bs_w_1(void *v, bus_space_handle_t ioh, bus_size_t off, u_int8_t val) argument
482 _pci_mem_bs_w_2(void *v, bus_space_handle_t ioh, bus_size_t off, u_int16_t val) argument
489 _pci_mem_bs_w_4(void *v, bus_space_handle_t ioh, bus_size_t off, u_int32_t val) argument
[all...]
/freebsd-9.3-release/sys/dev/snc/
H A Ddp83932subr.c189 bus_space_handle_t ioh = sc->sc_ioh; local
199 bus_space_write_1(iot, ioh, SNEC_ADDR, SNECR_IRQSEL);
201 bus_space_write_1(iot, ioh, SNEC_CTRLB, encoded_irq);
230 bus_space_handle_t ioh = sc->sc_ioh; local
236 bus_space_write_1(iot, ioh, SNEC_ADDR, SNECR_MEMSEL);
238 bus_space_write_1(iot, ioh, SNEC_CTRLB, SNECR_MEMSEL_PHYS2EN(maddr));
244 bus_space_write_1(iot, ioh, SNEC_ADDR, SNECR_MEMBS);
246 bus_space_write_1(iot, ioh, SNEC_CTRLB,
255 snc_nec16_check_memory(bus_space_tag_t iot, bus_space_handle_t ioh, argument
264 bus_space_write_1(iot, ioh, SNEC_ADD
333 snc_nec16_detectsubr(bus_space_tag_t iot, bus_space_handle_t ioh, bus_space_tag_t memt, bus_space_handle_t memh, int irq, int maddr, u_int8_t type) argument
445 snc_nec16_get_enaddr(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t *myea) argument
509 bus_space_handle_t ioh = sc->sc_ioh; local
696 snc_nec16_read_eeprom(bus_space_tag_t iot, bus_space_handle_t ioh, u_int8_t *data) argument
810 snc_nec16_dump_reg(bus_space_tag_t iot, bus_space_handle_t ioh) argument
[all...]
/freebsd-9.3-release/sys/dev/stg/
H A Dtmc18c30.c207 bus_space_handle_t ioh = sc->sc_ioh; local
211 lsb = bus_space_read_1(iot, ioh, tmc_idlsb);
212 msb = bus_space_read_1(iot, ioh, tmc_idmsb);
221 if (bus_space_read_1(iot, ioh, tmc_cfg2) & 0x02)
263 bus_space_handle_t ioh = sc->sc_ioh; local
265 bus_space_write_1(iot, ioh, tmc_ictl, 0);
267 bus_space_write_1(iot, ioh, tmc_fctl,
269 bus_space_write_1(iot, ioh, tmc_fctl, sc->sc_fcRinit);
270 bus_space_write_1(iot, ioh, tmc_ictl, sc->sc_icinit);
272 bus_space_write_1(iot, ioh, tmc_ssct
312 bus_space_handle_t ioh = sc->sc_ioh; local
327 bus_space_handle_t ioh = sc->sc_ioh; local
385 bus_space_handle_t ioh = sc->sc_ioh; local
489 bus_space_handle_t ioh = sc->sc_ioh; local
555 bus_space_handle_t ioh = sc->sc_ioh; local
648 bus_space_handle_t ioh = sc->sc_ioh; local
782 bus_space_handle_t ioh = sc->sc_ioh; local
829 bus_space_handle_t ioh = sc->sc_ioh; local
913 bus_space_handle_t ioh = sc->sc_ioh; local
940 bus_space_handle_t ioh = sc->sc_ioh; local
979 bus_space_handle_t ioh = sc->sc_ioh; local
1004 bus_space_handle_t ioh = sc->sc_ioh; local
1019 bus_space_handle_t ioh = sc->sc_ioh; local
1350 bus_space_handle_t ioh = sc->sc_ioh; local
[all...]
/freebsd-9.3-release/sys/dev/tpm/
H A Dtpm_isa.c59 bus_space_handle_t ioh; local
69 ioh = rman_get_bushandle(mem_res);
71 if ((rv = tpm_tis12_probe(iot, ioh)))
H A Dtpmvar.h61 int tpm_tis12_probe(bus_space_tag_t iot, bus_space_handle_t ioh);
H A Dtpm.c1135 tpm_legacy_in(bus_space_tag_t iot, bus_space_handle_t ioh, int reg) argument
1137 bus_space_write_1(iot, ioh, 0, reg);
1138 return bus_space_read_1(iot, ioh, 1);
1144 tpm_legacy_out(bus_space_tag_t iot, bus_space_handle_t ioh, int reg, u_int8_t v)
1146 bus_space_write_1(iot, ioh, 0, reg);
1147 bus_space_write_1(iot, ioh, 1, v);
1155 bus_space_handle_t ioh; local
1163 if (bus_space_map(iot, iobase, 2, 0, &ioh))
1166 v = bus_space_read_1(iot, ioh, 0);
1168 bus_space_unmap(iot, ioh,
1201 u_int8_t ioh, iol; local
[all...]
/freebsd-9.3-release/sys/dev/fdc/
H A Dfdc_isa.c109 fdc->ioh[i + j] = rman_get_bushandle(res);
127 fdc->ioh[7] = fdc->ioh[2];
132 fdc->ioh[7] = rman_get_bushandle(res);
H A Dfdcvar.h64 bus_space_handle_t ioh[FDC_MAXREG]; member in struct:fdc_data
H A Dfdc_pccard.c69 fdc->ioh[i] = rman_get_bushandle(res);
H A Dfdc.c321 bus_space_write_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg], v);
328 return bus_space_read_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg]);
718 bus_space_read_multi_1(fdc->iot, fdc->ioh[FD_YE_DATAPORT],
721 bus_space_write_multi_1(fdc->iot, fdc->ioh[FD_YE_DATAPORT],
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/bt3c/
H A Dng_bt3c_var.h67 bus_space_handle_t ioh; /* I/O handle */ member in struct:bt3c_softc
H A Dng_bt3c_pccard.c99 bus_space_write_1((sc)->iot, (sc)->ioh, BT3C_ADDR_L, ((address) & 0xff)); \
100 bus_space_write_1((sc)->iot, (sc)->ioh, BT3C_ADDR_H, (((address) >> 8) & 0xff)); \
105 (data) = bus_space_read_1((sc)->iot, (sc)->ioh, BT3C_DATA_L); \
106 (data) |= ((bus_space_read_1((sc)->iot, (sc)->ioh, BT3C_DATA_H) & 0xff) << 8); \
111 bus_space_write_1((sc)->iot, (sc)->ioh, BT3C_DATA_L, ((data) & 0xff)); \
112 bus_space_write_1((sc)->iot, (sc)->ioh, BT3C_DATA_H, (((data) >> 8) & 0xff)); \
117 (data) = bus_space_read_1((sc)->iot, (sc)->ioh, BT3C_CONTROL); \
122 bus_space_write_1((sc)->iot, (sc)->ioh, BT3C_CONTROL, (data)); \
626 sc->ioh = rman_get_bushandle(sc->iobase);
/freebsd-9.3-release/sys/dev/exca/
H A Dexcavar.h118 bus_space_tag_t iot, bus_space_handle_t ioh);
H A Dexca.c504 sc->io[win].ioh = rman_get_bushandle(r);
528 sc->io[window].ioh = 0;
770 bus_space_handle_t ioh)
777 exca_init(&exca[i], dev, iot, ioh, i * EXCA_SOCKET_SIZE);
767 exca_probe_slots(device_t dev, struct exca_softc *exca, bus_space_tag_t iot, bus_space_handle_t ioh) argument
/freebsd-9.3-release/sys/dev/nsp/
H A Dnsp.c613 nspprobesubr(iot, ioh, dvcfg)
615 bus_space_handle_t ioh;
620 regv = bus_space_read_1(iot, ioh, nsp_fifosr);
1858 bus_space_handle_t ioh = sc->sc_ioh; local
1865 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON);
1873 regv = bus_space_read_1(iot, ioh, nsp_fifosr);
1876 bus_space_write_1(iot, ioh, nsp_irqcr, IRQCR_FIFOCL);
1879 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON);
1896 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON);
1899 regv = bus_space_read_1(iot, ioh, nsp_fifos
[all...]
/freebsd-9.3-release/sys/i386/bios/
H A Dapm.c147 bus_space_handle_t ioh = sc->sc_ioh; local
149 bus_space_write_1(iot, ioh, 0,
150 (bus_space_read_1(iot, ioh, 0) | ~apm_necsmm_mask));
158 bus_space_handle_t ioh = sc->sc_ioh; local
160 bus_space_write_1(iot, ioh, 0,
161 (bus_space_read_1(iot, ioh, 0) & apm_necsmm_mask));
/freebsd-9.3-release/sys/dev/pccard/
H A Dpccardvar.h50 bus_space_handle_t ioh; /* mapped space handle */ member in struct:pccard_io_handle
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dehci_ixp4xx.c75 bus_space_handle_t ioh; member in struct:ixp_ehci_softc
/freebsd-9.3-release/sys/dev/mwl/
H A Dmwlhal.h83 bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag);
H A Dmwlhal.c244 bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag)
254 mh->public.mh_ioh = ioh;
243 mwl_hal_attach(device_t dev, uint16_t devid, bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag) argument
/freebsd-9.3-release/sys/dev/malo/
H A Dif_malohal.c96 bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag)
106 mh->mh_ioh = ioh;
95 malo_hal_attach(device_t dev, uint16_t devid, bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag) argument

Completed in 427 milliseconds