/freebsd-10.1-release/sys/arm/s3c2xx0/ |
H A D | uart_dev_s3c2410.h | 83 #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 D | s3c24x0_clk.c | 161 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-10.1-release/sys/dev/ncv/ |
H A D | ncr53c500.c | 157 ncvhw_select_register_0(iot, ioh, hw) 159 bus_space_handle_t ioh; 163 bus_space_write_1(iot, ioh, cr0_cfg4, hw->hw_cfg4); 167 ncvhw_select_register_1(iot, ioh, hw) 169 bus_space_handle_t ioh; 173 bus_space_write_1(iot, ioh, cr1_cfg5, hw->hw_cfg5); 177 ncvhw_fpush(iot, ioh, buf, len) 179 bus_space_handle_t ioh; 186 bus_space_write_1(iot, ioh, cr0_sfifo, buf[ptr]); 190 ncvhw_set_count(iot, ioh, coun 324 bus_space_handle_t ioh = sc->sc_ioh; local 371 bus_space_handle_t ioh = sc->sc_ioh; local 386 bus_space_handle_t ioh = sc->sc_ioh; local 453 bus_space_handle_t ioh = sc->sc_ioh; local 485 bus_space_handle_t ioh = sc->sc_ioh; local 634 bus_space_handle_t ioh = sc->sc_ioh; local 651 bus_space_handle_t ioh = sc->sc_ioh; local 714 bus_space_handle_t ioh = sc->sc_ioh; local 780 bus_space_handle_t ioh = sc->sc_ioh; local 843 bus_space_handle_t ioh = sc->sc_ioh; local 875 bus_space_handle_t ioh = sc->sc_ioh; local 899 bus_space_handle_t ioh = sc->sc_ioh; local 931 bus_space_handle_t ioh = sc->sc_ioh; local 953 bus_space_handle_t ioh = sc->sc_ioh; local [all...] |
H A D | ncr53c500var.h | 83 int ncvprobesubr(bus_space_tag_t, bus_space_handle_t ioh, u_int, int);
|
/freebsd-10.1-release/sys/arm/xscale/ixp425/ |
H A D | ixp425_pci_space.c | 255 _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-10.1-release/sys/dev/snc/ |
H A D | dp83932subr.c | 189 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-10.1-release/sys/dev/stg/ |
H A D | tmc18c30.c | 182 bus_space_handle_t ioh = sc->sc_ioh; local 186 lsb = bus_space_read_1(iot, ioh, tmc_idlsb); 187 msb = bus_space_read_1(iot, ioh, tmc_idmsb); 196 if (bus_space_read_1(iot, ioh, tmc_cfg2) & 0x02) 238 bus_space_handle_t ioh = sc->sc_ioh; local 240 bus_space_write_1(iot, ioh, tmc_ictl, 0); 242 bus_space_write_1(iot, ioh, tmc_fctl, 244 bus_space_write_1(iot, ioh, tmc_fctl, sc->sc_fcRinit); 245 bus_space_write_1(iot, ioh, tmc_ictl, sc->sc_icinit); 247 bus_space_write_1(iot, ioh, tmc_ssct 287 bus_space_handle_t ioh = sc->sc_ioh; local 302 bus_space_handle_t ioh = sc->sc_ioh; local 359 bus_space_handle_t ioh = sc->sc_ioh; local 452 bus_space_handle_t ioh = sc->sc_ioh; local 518 bus_space_handle_t ioh = sc->sc_ioh; local 611 bus_space_handle_t ioh = sc->sc_ioh; local 745 bus_space_handle_t ioh = sc->sc_ioh; local 792 bus_space_handle_t ioh = sc->sc_ioh; local 876 bus_space_handle_t ioh = sc->sc_ioh; local 903 bus_space_handle_t ioh = sc->sc_ioh; local 942 bus_space_handle_t ioh = sc->sc_ioh; local 967 bus_space_handle_t ioh = sc->sc_ioh; local 982 bus_space_handle_t ioh = sc->sc_ioh; local 1308 bus_space_handle_t ioh = sc->sc_ioh; local [all...] |
/freebsd-10.1-release/sys/arm/freescale/imx/ |
H A D | imx51_ipuv3_fbd.c | 86 bus_space_handle_t ioh; member in struct:ipu3sc_softc 203 bus_space_handle_t ioh; local 233 err = bus_space_map(iot, IPU_CM_BASE(base), IPU_CM_SIZE, 0, &ioh); 236 sc->cm_ioh = ioh; 239 err = bus_space_map(iot, IPU_DMFC_BASE(base), IPU_DMFC_SIZE, 0, &ioh); 242 sc->dmfc_ioh = ioh; 245 err = bus_space_map(iot, IPU_DI0_BASE(base), IPU_DI0_SIZE, 0, &ioh); 248 sc->di0_ioh = ioh; 251 err = bus_space_map(iot, IPU_DI1_BASE(base), IPU_DI0_SIZE, 0, &ioh); 254 sc->di1_ioh = ioh; [all...] |
H A D | imx51_ipuv3.c | 83 bus_space_handle_t ioh; member in struct:ipu3sc_softc 279 bus_space_handle_t ioh; local 320 err = bus_space_map(iot, IPU_CM_BASE(base), IPU_CM_SIZE, 0, &ioh); 323 sc->cm_ioh = ioh; 326 err = bus_space_map(iot, IPU_DMFC_BASE(base), IPU_DMFC_SIZE, 0, &ioh); 329 sc->dmfc_ioh = ioh; 332 err = bus_space_map(iot, IPU_DI0_BASE(base), IPU_DI0_SIZE, 0, &ioh); 335 sc->di0_ioh = ioh; 338 err = bus_space_map(iot, IPU_DI1_BASE(base), IPU_DI0_SIZE, 0, &ioh); 341 sc->di1_ioh = ioh; [all...] |
/freebsd-10.1-release/sys/dev/usb/controller/ |
H A D | ehci_fsl.c | 165 enable_usb(device_t dev, bus_space_tag_t iot, bus_space_handle_t ioh) argument 172 tmp = bus_space_read_4(iot, ioh, CONTROL) | USB_EN; 181 bus_space_write_4(iot, ioh, CONTROL, tmp); 185 set_32b_prefetch(bus_space_tag_t iot, bus_space_handle_t ioh) argument 188 bus_space_write_4(iot, ioh, SI_CTRL, FETCH_32); 192 set_snooping(bus_space_tag_t iot, bus_space_handle_t ioh) argument 195 bus_space_write_4(iot, ioh, SNOOP1, SNOOP_RANGE_2GB); 196 bus_space_write_4(iot, ioh, SNOOP2, 0x80000000 | SNOOP_RANGE_2GB); 233 bus_space_handle_t ioh; local 265 ioh [all...] |
H A D | ehci_ixp4xx.c | 75 bus_space_handle_t ioh; member in struct:ixp_ehci_softc
|
/freebsd-10.1-release/sys/dev/tpm/ |
H A D | tpm_isa.c | 59 bus_space_handle_t ioh; local 69 ioh = rman_get_bushandle(mem_res); 71 if ((rv = tpm_tis12_probe(iot, ioh)))
|
H A D | tpmvar.h | 61 int tpm_tis12_probe(bus_space_tag_t iot, bus_space_handle_t ioh);
|
H A D | tpm.c | 1135 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-10.1-release/sys/dev/fdc/ |
H A D | fdc_isa.c | 109 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 D | fdcvar.h | 64 bus_space_handle_t ioh[FDC_MAXREG]; member in struct:fdc_data
|
H A D | fdc_pccard.c | 69 fdc->ioh[i] = rman_get_bushandle(res);
|
H A D | fdc.c | 321 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-10.1-release/sys/netgraph/bluetooth/drivers/bt3c/ |
H A D | ng_bt3c_var.h | 67 bus_space_handle_t ioh; /* I/O handle */ member in struct:bt3c_softc
|
H A D | ng_bt3c_pccard.c | 99 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-10.1-release/sys/dev/exca/ |
H A D | excavar.h | 118 bus_space_tag_t iot, bus_space_handle_t ioh);
|
H A D | exca.c | 504 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-10.1-release/sys/dev/nsp/ |
H A D | nsp.c | 587 nspprobesubr(iot, ioh, dvcfg) 589 bus_space_handle_t ioh; 594 regv = bus_space_read_1(iot, ioh, nsp_fifosr); 1818 bus_space_handle_t ioh = sc->sc_ioh; local 1825 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON); 1833 regv = bus_space_read_1(iot, ioh, nsp_fifosr); 1836 bus_space_write_1(iot, ioh, nsp_irqcr, IRQCR_FIFOCL); 1839 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON); 1856 ph = nsp_cr_read_1(iot, ioh, NSPR_SCBUSMON); 1859 regv = bus_space_read_1(iot, ioh, nsp_fifos [all...] |
/freebsd-10.1-release/sys/i386/bios/ |
H A D | apm.c | 147 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-10.1-release/sys/dev/pccard/ |
H A D | pccardvar.h | 50 bus_space_handle_t ioh; /* mapped space handle */ member in struct:pccard_io_handle
|