| /freebsd-10-stable/sys/dev/stg/ |
| D | tmc18c30.c | 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) 314 stat = bus_space_read_1(iot, ioh, tmc_astat); 408 lsb = bus_space_read_1(iot, ioh, tmc_idlsb); 409 msb = bus_space_read_1(iot, ioh, tmc_idmsb); 549 stat = bus_space_read_1(iot, ioh, tmc_bstat); 581 (void) bus_space_read_1(iot, ioh, tmc_rfifo); 589 *sp->scp_data = bus_space_read_1(iot, ioh, tmc_rfifo); 628 stat = bus_space_read_1(iot, ioh, tmc_bstat); [all …]
|
| /freebsd-10-stable/sys/dev/ncv/ |
| D | ncr53c500.c | 208 count = (u_int) bus_space_read_1(iot, ioh, cr0_tclsb); 209 count |= ((u_int) bus_space_read_1(iot, ioh, cr0_tcmsb)) << NBBY; 210 count |= ((u_int) bus_space_read_1(iot, ioh, cr0_tchsb)) << (NBBY * 2); 224 if (bus_space_read_1(iot, ioh, cr0_cmd) != (CMD_NOP | CMD_DMA)) 233 if (bus_space_read_1(iot, ioh, cr0_cmd) != CMD_NOP) 253 bus_space_read_1(iot, ioh, cr0_stat); 254 stat = bus_space_read_1(iot, ioh, cr0_istat); 258 (bus_space_read_1(iot, ioh, cr0_istat) & INTR_SBR)) 415 if ((bus_space_read_1(iot, ioh, cr0_stat) & STAT_INT) != 0) 425 if ((bus_space_read_1(iot, ioh, cr0_stat) & STAT_INT) != 0) [all …]
|
| /freebsd-10-stable/sys/dev/mse/ |
| D | mse_isa.c | 301 sig = bus_space_read_1(sc->sc_iot, sc->sc_ioh, MSE_PORTB) & 0xFF; in mse_probelogi() 345 x = bus_space_read_1(tag, handle, MSE_PORTA); in mse_getlogi() 349 x |= (bus_space_read_1(tag, handle, MSE_PORTA) << 4); in mse_getlogi() 351 y = (bus_space_read_1(tag, handle, MSE_PORTA) & 0xf); in mse_getlogi() 353 y |= (bus_space_read_1(tag, handle, MSE_PORTA) << 4); in mse_getlogi() 372 if (bus_space_read_1(sc->sc_iot, sc->sc_ioh, MSE_PORTC) == 0xde) in mse_probeati() 412 *but = ~bus_space_read_1(tag, handle, MSE_PORTB) & MOUSE_MSC_BUTTONS; in mse_getati() 414 byte = bus_space_read_1(tag, handle, MSE_PORTB); in mse_getati() 417 byte = bus_space_read_1(tag, handle, MSE_PORTB); in mse_getati()
|
| D | mse_cbus.c | 308 x = bus_space_read_1(tag, handle, MSE_PORTA) & 0x0f; in mse_get98m() 311 x |= ((bus_space_read_1(tag, handle, MSE_PORTA) & 0x0f) << 4); in mse_get98m() 315 y = (bus_space_read_1(tag, handle, MSE_PORTA) & 0x0f); in mse_get98m() 318 y |= ((bus_space_read_1(tag, handle, MSE_PORTA) & 0x0f) << 4); in mse_get98m() 320 *but = (bus_space_read_1(tag, handle, MSE_PORTA) >> 5) & 7; in mse_get98m()
|
| /freebsd-10-stable/sys/sparc64/fhc/ |
| D | clkbrd.c | 132 r = bus_space_read_1(sc->sc_bt[CLKBRD_CLK], sc->sc_bh[CLKBRD_CLK], in clkbrd_attach() 143 r = bus_space_read_1(sc->sc_bt[CLKBRD_CLKVER], in clkbrd_attach() 154 sc->sc_clk_ctrl = bus_space_read_1(sc->sc_bt[CLKBRD_CLK], in clkbrd_attach() 176 bus_space_read_1(sc->sc_bt[CLKBRD_CLK], sc->sc_bh[CLKBRD_CLK], in clkbrd_detach() 202 r = bus_space_read_1(sc->sc_bt[CLKBRD_CLK], sc->sc_bh[CLKBRD_CLK], in clkbrd_led_func() 210 bus_space_read_1(sc->sc_bt[CLKBRD_CLK], sc->sc_bh[CLKBRD_CLK], in clkbrd_led_func()
|
| /freebsd-10-stable/sys/dev/ct/ |
| D | ct_machdep.h | 97 regv = bus_space_read_1(chp->ch_iot, chp->ch_ioh, stat_port); in ct_stat_read_1() 127 count = (((u_int) bus_space_read_1(bst, bsh, ctrl_port)) << 16); in cthw_get_count() 129 count += (((u_int) bus_space_read_1(bst, bsh, ctrl_port)) << 8); in cthw_get_count() 131 count += ((u_int) bus_space_read_1(bst, bsh, ctrl_port)); in cthw_get_count() 161 regv = bus_space_read_1(bst, bsh, ctrl_port); in ct_cr_read_1() 183 regv = bus_space_read_1(chp->ch_iot, chp->ch_ioh, cmd_port); in ct_cmdp_read_1()
|
| /freebsd-10-stable/sys/arm/samsung/s3c2xx0/ |
| D | uart_dev_s3c2410.h | 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)
|
| /freebsd-10-stable/sys/dev/amr/ |
| D | amrreg.h | 638 #define AMR_SGET_ISTAT(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SINTR) 641 #define AMR_SGET_MBSTAT(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_BUSY) 644 bus_space_read_1(sc->amr_btag, sc->amr_bhandle, AMR_STOGGLE) | AMR_STOGL_IENABLE) 647 bus_space_read_1(sc->amr_btag, sc->amr_bhandle, AMR_STOGGLE) & ~AMR_STOGL_IENABLE) 652 #define AMR_SGET_INITSTATUS(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE) 653 #define AMR_SGET_FAILDRIVE(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + … 654 #define AMR_SGET_INITCHAN(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + 2) 655 #define AMR_SGET_INITTARG(sc) bus_space_read_1 (sc->amr_btag, sc->amr_bhandle, AMR_SMBOX_ENABLE + 3)
|
| /freebsd-10-stable/sys/dev/tpm/ |
| D | tpm.c | 456 save = bus_space_read_1(bt, bh, TPM_ACCESS); in tpm_tis12_probe() 458 reg = bus_space_read_1(bt, bh, TPM_ACCESS); in tpm_tis12_probe() 523 sc->sc_rev = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_REV); in tpm_tis12_init() 555 if ((bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_ACCESS) & in tpm_request_locality() 565 while ((r = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_ACCESS) & in tpm_request_locality() 602 burst = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_STS + 1); in tpm_getburst() 603 burst |= bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_STS + 2) in tpm_getburst() 625 status = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_STS) & in tpm_status() 962 *p++ = bus_space_read_1(sc->sc_bt, sc->sc_bh, TPM_DATA); in tpm_tis12_read() 1138 return bus_space_read_1(iot, ioh, 1); in tpm_legacy_in() [all …]
|
| /freebsd-10-stable/sys/dev/aic7xxx/ |
| D | ahc_eisa.c | 75 hcntrl = bus_space_read_1(tag, bsh, HCNTRL) & IRQMS; in aic7770_probe() 77 while ((bus_space_read_1(tag, bsh, HCNTRL) & PAUSE) == 0) in aic7770_probe() 81 intdef = bus_space_read_1(tag, bsh, INTDEF); in aic7770_probe()
|
| D | ahc_isa.c | 72 id |= bus_space_read_1(tag, bsh, 0x80 + i) in ahc_isa_find_device() 164 hcntrl = bus_space_read_1(tag, bsh, HCNTRL) & IRQMS; in ahc_isa_probe() 166 while ((bus_space_read_1(tag, bsh, HCNTRL) & PAUSE) == 0) in ahc_isa_probe() 170 intdef = bus_space_read_1(tag, bsh, INTDEF); in ahc_isa_probe()
|
| /freebsd-10-stable/sys/dev/nsp/ |
| D | nsp.c | 192 return bus_space_read_1(bst, bsh, nsp_datar); 219 isrc = bus_space_read_1(bst, bsh, nsp_irqsr); in nsp_expect_signal() 594 regv = bus_space_read_1(iot, ioh, nsp_fifosr); 629 count = bus_space_read_1(bst, bsh, nsp_datar); 630 count += (((u_int) bus_space_read_1(bst, bsh, nsp_datar)) << 8); 631 count += (((u_int) bus_space_read_1(bst, bsh, nsp_datar)) << 16); 644 count = bus_space_read_1(bst, bsh, nsp_datar); 645 count += (((u_int) bus_space_read_1(bst, bsh, nsp_datar)) << 8); 646 count += (((u_int) bus_space_read_1(bst, bsh, nsp_datar)) << 16); 796 (void) bus_space_read_1(bst, bsh, nsp_fifodr); [all …]
|
| /freebsd-10-stable/sys/dev/cm/ |
| D | smc90cx6var.h | 96 bus_space_read_1(rman_get_bustag((sc)->port_res), \ 104 bus_space_read_1(rman_get_bustag((sc)->mem_res), \
|
| /freebsd-10-stable/sys/dev/usb/controller/ |
| D | uss820dci.c | 259 rx_stat = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 285 count = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 287 count |= (bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 307 rx_stat = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 322 temp = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 354 temp = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_setup_rx() 404 rx_flag = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_data_rx() 407 rx_stat = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_data_rx() 452 count = bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_data_rx() 455 count |= (bus_space_read_1(td->io_tag, td->io_hdl, in uss820dci_data_rx() [all …]
|
| /freebsd-10-stable/sys/dev/ed/ |
| D | if_ed_sic.c | 108 sum = bus_space_read_1(sc->mem_bst, sc->mem_bsh, 6); in ed_probe_SIC() 111 bus_space_read_1(sc->mem_bst, sc->mem_bsh, i)); in ed_probe_SIC()
|
| /freebsd-10-stable/sys/arm/samsung/exynos/ |
| D | exynos_uart.c | 200 utrstat = bus_space_read_1(bas->bst, bas->bsh, SSCOM_UTRSTAT); in exynos4210_getc() 202 utrstat = bus_space_read_1(bas->bst, bas->bsh, SSCOM_UTRSTAT); in exynos4210_getc() 206 return (bus_space_read_1(bas->bst, bas->bsh, SSCOM_URXH)); in exynos4210_getc()
|
| D | exynos5_common.h | 38 bus_space_read_1(_sc->bst, _sc->bsh, _reg)
|
| /freebsd-10-stable/sys/dev/snc/ |
| D | dp83932subr.c | 348 ident = bus_space_read_1(iot, ioh, SNEC_CTRLB); in snc_nec16_detectsubr() 753 (void) bus_space_read_1(iot, ioh, SNEC_CTRLB); /* ACK */ in snc_nec16_read_eeprom() 765 if (bus_space_read_1(iot, ioh, SNEC_CTRLB) & SNECR_EEP_DO) in snc_nec16_read_eeprom() 779 if (bus_space_read_1(iot, ioh, SNEC_CTRLB) & SNECR_EEP_DO) in snc_nec16_read_eeprom() 833 val = (u_int16_t) bus_space_read_1(iot, ioh, SNEC_CTRLB); in snc_nec16_dump_reg()
|
| /freebsd-10-stable/sys/dev/nand/ |
| D | nfc_mv.c | 169 data = bus_space_read_1(sc->sc_tag, sc->sc_handle, MV_NAND_DATA); in mv_nand_read_byte() 186 b[i] = bus_space_read_1(sc->sc_tag, sc->sc_handle, in mv_nand_read_buf()
|
| /freebsd-10-stable/sys/boot/usb/ |
| D | bsd_busspace.c | 45 *datap++ = bus_space_read_1(t, h, offset); in bus_space_read_multi_1() 124 bus_space_read_1(bus_space_tag_t t, bus_space_handle_t h, bus_size_t offset) in bus_space_read_1() function
|
| /freebsd-10-stable/sys/dev/sound/pci/ |
| D | als4000.c | 124 return bus_space_read_1(sc->st, sc->sh, ALS_SB_MPU_IRQ); in als_intr_rd() 137 return bus_space_read_1(sc->st, sc->sh, ALS_MIXER_DATA); in als_mix_rd() 154 v = bus_space_read_1(sc->st, sc->sh, ALS_ESP_WR_STATUS); in als_esp_wr() 178 u = bus_space_read_1(sc->st, sc->sh, ALS_ESP_RD_STATUS8); in als_esp_reset() 180 v = bus_space_read_1(sc->st, sc->sh, ALS_ESP_RD_DATA); in als_esp_reset() 197 u_int8_t r = bus_space_read_1(sc->st, sc->sh, addr); in als_ack_read()
|
| /freebsd-10-stable/sys/dev/joy/ |
| D | joy.c | 171 for (; timespeccmp(&t, &end, <) && (bus_space_read_1(bt, port, 0) & 0x0f); nanotime(&t)) in joyread() 182 state = bus_space_read_1 (bt, port, 0); in joyread()
|
| /freebsd-10-stable/sys/arm/freescale/vybrid/ |
| D | vf_dmamux.h | 45 bus_space_read_1(_sc->bst[_mux], _sc->bsh[_mux], _reg)
|
| D | vf_common.h | 38 bus_space_read_1(_sc->bst, _sc->bsh, _reg)
|
| /freebsd-10-stable/sys/dev/rc/ |
| D | rcreg.h | 48 bus_space_read_1((sc)->sc_bt, (sc)->sc_bh, RC_IOMAP(addr))
|