/freebsd-9.3-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-9.3-release/sys/dev/ncv/ |
H A D | ncr53c500.c | 184 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 D | ncr53c500var.h | 93 int ncvprobesubr(bus_space_tag_t, bus_space_handle_t ioh, u_int, int);
|
/freebsd-9.3-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-9.3-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-9.3-release/sys/dev/stg/ |
H A D | tmc18c30.c | 207 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 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-9.3-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-9.3-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-9.3-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-9.3-release/sys/dev/nsp/ |
H A D | nsp.c | 613 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 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-9.3-release/sys/dev/pccard/ |
H A D | pccardvar.h | 50 bus_space_handle_t ioh; /* mapped space handle */ member in struct:pccard_io_handle
|
/freebsd-9.3-release/sys/dev/usb/controller/ |
H A D | ehci_ixp4xx.c | 75 bus_space_handle_t ioh; member in struct:ixp_ehci_softc
|
/freebsd-9.3-release/sys/dev/mwl/ |
H A D | mwlhal.h | 83 bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag);
|
H A D | mwlhal.c | 244 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 D | if_malohal.c | 96 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
|