/drivers/scsi/qla4xxx/ |
D | ql4_dbg.c | 47 readw(&ha->reg->mailbox[i])); in qla4xxx_dump_registers() 52 readw(&ha->reg->flash_address)); in qla4xxx_dump_registers() 55 readw(&ha->reg->flash_data)); in qla4xxx_dump_registers() 58 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers() 63 readw(&ha->reg->u1.isp4010.nvram)); in qla4xxx_dump_registers() 67 readw(&ha->reg->u1.isp4022.intr_mask)); in qla4xxx_dump_registers() 70 readw(&ha->reg->u1.isp4022.nvram)); in qla4xxx_dump_registers() 73 readw(&ha->reg->u1.isp4022.semaphore)); in qla4xxx_dump_registers() 77 readw(&ha->reg->req_q_in)); in qla4xxx_dump_registers() 80 readw(&ha->reg->rsp_q_out)); in qla4xxx_dump_registers() [all …]
|
/drivers/scsi/arm/ |
D | cumana_1.c | 130 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 131 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 132 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 133 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 134 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 135 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 136 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 137 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | altr_tse_pcs.c | 71 val = readw(base + TSE_PCS_CONTROL_REG); in tse_pcs_reset() 76 val = readw(base + TSE_PCS_CONTROL_REG); in tse_pcs_reset() 116 val = readw(tse_pcs_base + TSE_PCS_STATUS_REG); in pcs_link_timer_callback() 137 val = readw(tse_pcs_base + TSE_PCS_STATUS_REG); in auto_nego_timer_callback() 142 val = readw(tse_pcs_base + TSE_PCS_PARTNER_ABILITY_REG); in auto_nego_timer_callback() 181 val = readw(tse_pcs_base + TSE_PCS_CONTROL_REG); in auto_nego_timer_callback() 214 val = readw(tse_pcs_base + TSE_PCS_CONTROL_REG); in tse_pcs_fix_mac_speed() 218 val = readw(tse_pcs_base + TSE_PCS_IF_MODE_REG); in tse_pcs_fix_mac_speed() 222 val = readw(tse_pcs_base + TSE_PCS_CONTROL_REG); in tse_pcs_fix_mac_speed() 232 val = readw(tse_pcs_base + TSE_PCS_CONTROL_REG); in tse_pcs_fix_mac_speed() [all …]
|
/drivers/watchdog/ |
D | coh901327_wdt.c | 90 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable() 114 (void) readw(virtbase + U300_WDOG_CR); in coh901327_enable() 115 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable() 129 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable() 139 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable() 183 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft() 185 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft() 210 val = readw(virtbase + U300_WDOG_IER); in coh901327_interrupt() 270 val = readw(virtbase + U300_WDOG_SR); in coh901327_probe() 285 val = readw(virtbase + U300_WDOG_D2R); in coh901327_probe() [all …]
|
D | menz69_wdt.c | 39 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_start() 51 val = readw(drv->base + MEN_Z069_WTR); in men_z069_wdt_stop() 64 val = readw(drv->base + MEN_Z069_WVR); in men_z069_wdt_ping() 80 reg = readw(drv->base + MEN_Z069_WVR); in men_z069_wdt_set_timeout()
|
/drivers/input/keyboard/ |
D | imx_keypad.c | 93 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 97 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 103 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 112 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 126 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 134 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 258 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 262 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 276 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 280 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() [all …]
|
/drivers/tty/ |
D | moxa.c | 238 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish() 241 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish() 263 ret = readw(ofsAddr + FuncArg); in moxafuncret() 273 rptr = readw(ofsAddr + RXrptr); in moxa_low_water_check() 274 wptr = readw(ofsAddr + RXwptr); in moxa_low_water_check() 275 mask = readw(ofsAddr + RX_mask); in moxa_low_water_check() 474 tmp = readw(baseAddr + C218_key); in moxa_load_bios() 479 tmp = readw(baseAddr + C218_key); in moxa_load_bios() 484 tmp = readw(baseAddr + C320_key); in moxa_load_bios() 487 tmp = readw(baseAddr + C320_status); in moxa_load_bios() [all …]
|
/drivers/i2c/busses/ |
D | i2c-wmt.c | 98 while (!(readw(i2c_dev->base + REG_CSR) & CSR_READY_MASK)) { in wmt_i2c_wait_bus_not_busy() 149 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 153 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 170 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write() 188 val = readw(i2c_dev->base + REG_CSR); in wmt_i2c_write() 228 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read() 232 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read() 237 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read() 243 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read() 260 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read() [all …]
|
/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_i2c.c | 72 reg = readw(&i2c->regs->twi_ctrl0_stat); in netup_i2c_interrupt() 95 tmp = readw(&i2c->regs->rx_fifo.stat_ctrl); in netup_i2c_interrupt() 103 tmp = readw(&i2c->regs->tx_fifo.stat_ctrl); in netup_i2c_interrupt() 135 (readw(&i2c->regs->tx_fifo.stat_ctrl) & 0x3f); in netup_i2c_fifo_tx() 148 writew(readw(&i2c->regs->tx_fifo.stat_ctrl) | FIFO_IRQEN, in netup_i2c_fifo_tx() 156 u32 fifo_size = readw(&i2c->regs->rx_fifo.stat_ctrl) & 0x3f; in netup_i2c_fifo_rx() 172 writew(readw(&i2c->regs->rx_fifo.stat_ctrl) | FIFO_IRQEN, in netup_i2c_fifo_rx() 180 u16 reg = readw(&i2c->regs->twi_ctrl0_stat); in netup_i2c_start_xfer() 188 __func__, readw(&i2c->regs->length), in netup_i2c_start_xfer() 189 readw(&i2c->regs->twi_addr_ctrl1), in netup_i2c_start_xfer() [all …]
|
D | netup_unidvb_ci.c | 60 __func__, readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET)); in netup_unidvb_ci_slot_ts_ctl() 66 __func__, readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET)); in netup_unidvb_ci_slot_ts_ctl() 91 __func__, readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET)); in netup_unidvb_ci_slot_reset() 99 ci_stat = readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET); in netup_unidvb_ci_slot_reset() 123 __func__, readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET)); in netup_unidvb_poll_ci_slot_status() 124 ci_stat = readw(dev->bmmio0 + CAM_CTRLSTAT_READ_SET); in netup_unidvb_poll_ci_slot_status()
|
D | netup_unidvb_spi.c | 78 reg = readw(&spi->regs->control_stat); in netup_spi_interrupt() 86 reg = readw(&spi->regs->control_stat); in netup_spi_interrupt() 136 __func__, readw(&spi->regs->control_stat)); in netup_spi_transfer() 230 reg = readw(&spi->regs->control_stat); in netup_spi_release() 232 reg = readw(&spi->regs->control_stat); in netup_spi_release()
|
/drivers/rtc/ |
D | rtc-mxc.c | 112 day = readw(ioaddr + RTC_DAYR); in get_alarm_or_time() 113 hr_min = readw(ioaddr + RTC_HOURMIN); in get_alarm_or_time() 114 sec = readw(ioaddr + RTC_SECOND); in get_alarm_or_time() 117 day = readw(ioaddr + RTC_DAYALARM); in get_alarm_or_time() 118 hr_min = readw(ioaddr + RTC_ALRM_HM) & 0xffff; in get_alarm_or_time() 119 sec = readw(ioaddr + RTC_ALRM_SEC); in get_alarm_or_time() 177 writew(readw(ioaddr + RTC_RTCISR), ioaddr + RTC_RTCISR); in rtc_update_alarm() 190 reg = readw(ioaddr + RTC_RTCIENR); in mxc_rtc_irq_enable() 212 status = readw(ioaddr + RTC_RTCISR) & readw(ioaddr + RTC_RTCIENR); in mxc_rtc_interrupt() 281 alrm->pending = ((readw(ioaddr + RTC_RTCISR) & RTC_ALM_BIT)) ? 1 : 0; in mxc_rtc_read_alarm() [all …]
|
/drivers/pci/ |
D | rom.c | 94 if (readw(image) != 0xAA55) { in pci_get_rom_size() 96 readw(image)); in pci_get_rom_size() 100 pds = image + readw(image + 24); in pci_get_rom_size() 107 length = readw(pds + 16); in pci_get_rom_size() 113 if (readw(image) != 0xAA55) { in pci_get_rom_size()
|
/drivers/clk/ |
D | clk-u300.c | 464 val = readw(sclk->res_reg); in syscon_block_reset_enable() 480 val = readw(sclk->res_reg); in syscon_block_reset_disable() 549 val = readw(sclk->en_reg); in syscon_clk_is_enabled() 559 val = readw(syscon_vbase + U300_SYSCON_CCR); in syscon_get_perf() 675 val |= readw(syscon_vbase + U300_SYSCON_CCR) & in syscon_clk_set_rate() 961 val = readw(syscon_vbase + U300_SYSCON_MMCR); in mclk_clk_prepare() 968 val = readw(syscon_vbase + U300_SYSCON_MMCR); in mclk_clk_prepare() 1011 u16 val = readw(syscon_vbase + U300_SYSCON_MMF0R) & in mclk_clk_recalc_rate() 1102 reg = readw(syscon_vbase + U300_SYSCON_MMF0R) & in mclk_clk_set_rate() 1186 val = readw(syscon_vbase + U300_SYSCON_CCR); in u300_clk_init() [all …]
|
/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 744 dev->name, readw(ioaddr + MiscStatus) & 1 ? 64 : 32, in hamachi_init_one() 746 readw(ioaddr + ANLinkPartnerAbility)); in hamachi_init_one() 819 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 824 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 826 return readw(ioaddr + MII_Rd_Data); in mdio_read() 837 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 844 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 885 fifo_info = (readw(ioaddr + GPIO) & 0x00C0) >> 6; in hamachi_open() 979 dev->name, readw(ioaddr + RxStatus), readw(ioaddr + TxStatus)); in hamachi_open() 1029 "%4.4x.\n", dev->name, readw(ioaddr + ANStatus), in hamachi_timer() [all …]
|
/drivers/staging/comedi/drivers/ |
D | daqboard2000.c | 312 status = readw(dev->mmio + DB2K_REG_ACQ_STATUS); in db2k_ai_status() 373 data[i] = readw(dev->mmio + DB2K_REG_ACQ_RESULTS_FIFO); in db2k_ai_insn_read() 389 status = readw(dev->mmio + DB2K_REG_DAC_STATUS); in db2k_ao_eoc() 471 cpld = readw(dev->mmio + DB2K_REG_CPLD_STATUS); in db2k_wait_cpld_init() 487 if (readw(dev->mmio + DB2K_REG_CPLD_STATUS) & in db2k_wait_cpld_txready() 508 if (!(readw(dev->mmio + DB2K_REG_CPLD_STATUS) & DB2K_CPLD_STATUS_INIT)) in db2k_write_cpld() 574 new_cpld = (readw(dev->mmio + DB2K_REG_CPLD_STATUS) & in db2k_load_firmware() 631 val = readw(dev->mmio + DB2K_REG_DAC_STATUS); in db2k_activate_reference_dacs() 641 val = readw(dev->mmio + DB2K_REG_DAC_STATUS); in db2k_activate_reference_dacs() 675 return readw(dev->mmio + iobase + port * 2); in db2k_8255_cb()
|
D | me_daq.c | 203 val = readw(mmio_porta); in me_dio_insn_bits() 208 val |= (readw(mmio_portb) << 16); in me_dio_insn_bits() 222 status = readw(dev->mmio + ME_STATUS_REG); in me_ai_eoc() 274 readw(dev->mmio + ME_CTRL1_REG); in me_ai_insn_read() 282 val = readw(dev->mmio + ME_AI_FIFO_REG) & s->maxdata; in me_ai_insn_read() 323 readw(dev->mmio + ME_DAC_CTRL_REG); in me_ao_insn_write() 334 readw(dev->mmio + ME_CTRL2_REG); in me_ao_insn_write() 352 value = readw(dev->mmio + XILINX_DOWNLOAD_RESET); in me2600_xilinx_download()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | headc57d.c | 129 writew(readw(mem - 8), mem + 0); in headc57d_olut_load_8() 130 writew(readw(mem - 6), mem + 2); in headc57d_olut_load_8() 131 writew(readw(mem - 4), mem + 4); in headc57d_olut_load_8() 149 writew(readw(mem - 8), mem + 0); in headc57d_olut_load() 150 writew(readw(mem - 6), mem + 2); in headc57d_olut_load() 151 writew(readw(mem - 4), mem + 4); in headc57d_olut_load()
|
/drivers/dma/ioat/ |
D | dca.c | 147 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_add_requester() 173 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_remove_requester() 228 global_req_table = readw(iobase + dca_offset + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_count_dca_slots() 280 dca_offset = readw(iobase + IOAT_DCAOFFSET_OFFSET); in ioat_dca_init() 299 csi_fsb_control = readw(ioatdca->dca_base + IOAT3_CSI_CONTROL_OFFSET); in ioat_dca_init() 305 pcie_control = readw(ioatdca->dca_base + IOAT3_PCI_CONTROL_OFFSET); in ioat_dca_init()
|
/drivers/pwm/ |
D | pwm-tiecap.c | 78 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config() 100 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_config() 119 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_set_polarity() 147 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_enable() 163 value = readw(pc->mmio_base + ECCTL2); in ecap_pwm_disable() 263 pc->ctx.ecctl2 = readw(pc->mmio_base + ECCTL2); in ecap_pwm_save_context()
|
/drivers/usb/musb/ |
D | sunxi.c | 184 musb->int_tx = readw(musb->mregs + SUNXI_MUSB_INTRTX); in sunxi_musb_interrupt() 188 musb->int_rx = readw(musb->mregs + SUNXI_MUSB_INTRRX); in sunxi_musb_interrupt() 529 return readw(addr + SUNXI_MUSB_INTRTX); in sunxi_musb_readw() 531 return readw(addr + SUNXI_MUSB_INTRRX); in sunxi_musb_readw() 533 return readw(addr + SUNXI_MUSB_INTRTXE); in sunxi_musb_readw() 535 return readw(addr + SUNXI_MUSB_INTRRXE); in sunxi_musb_readw() 537 return readw(addr + SUNXI_MUSB_FRAME); in sunxi_musb_readw() 539 return readw(addr + SUNXI_MUSB_TXFIFOADD); in sunxi_musb_readw() 541 return readw(addr + SUNXI_MUSB_RXFIFOADD); in sunxi_musb_readw() 551 return readw(addr + offset); in sunxi_musb_readw() [all …]
|
/drivers/pci/controller/ |
D | pci-v3-semi.c | 447 status = readw(v3->base + V3_PCI_STAT); in v3_irq() 823 if (readw(v3->base + V3_SYSTEM) & V3_SYSTEM_M_LOCK) in v3_pci_probe() 827 val = readw(v3->base + V3_PCI_CMD); in v3_pci_probe() 832 val = readw(v3->base + V3_SYSTEM); in v3_pci_probe() 837 val = readw(v3->base + V3_PCI_CFG); in v3_pci_probe() 842 val = readw(v3->base + V3_LB_CFG); in v3_pci_probe() 850 val = readw(v3->base + V3_PCI_CMD); in v3_pci_probe() 898 val = readw(v3->base + V3_LB_CFG); in v3_pci_probe() 912 val = readw(v3->base + V3_PCI_CMD); in v3_pci_probe() 923 val = readw(v3->base + V3_SYSTEM); in v3_pci_probe() [all …]
|
/drivers/spi/ |
D | spi-pl022.c | 455 tmp = readw(SSP_CSR(pl022->virtbase)); in internal_cs_control() 529 writew((readw(SSP_CR1(pl022->virtbase)) & in giveback() 545 while (readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) in flush() 546 readw(SSP_DR(pl022->virtbase)); in flush() 547 } while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_BSY) && limit--); in flush() 688 while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) in readwriter() 692 readw(SSP_DR(pl022->virtbase)); in readwriter() 696 readw(SSP_DR(pl022->virtbase)) & 0xFFU; in readwriter() 700 (u16) readw(SSP_DR(pl022->virtbase)); in readwriter() 737 while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) in readwriter() [all …]
|
/drivers/ata/ |
D | sata_vsc.c | 189 tf->device = readw(ioaddr->device_addr); in vsc_sata_tf_read() 190 feature = readw(ioaddr->error_addr); in vsc_sata_tf_read() 191 nsect = readw(ioaddr->nsect_addr); in vsc_sata_tf_read() 192 lbal = readw(ioaddr->lbal_addr); in vsc_sata_tf_read() 193 lbam = readw(ioaddr->lbam_addr); in vsc_sata_tf_read() 194 lbah = readw(ioaddr->lbah_addr); in vsc_sata_tf_read()
|
/drivers/hsi/controllers/ |
D | omap_ssi_core.c | 81 readw(gdd + SSI_GDD_CSDP_REG(lch))); in ssi_gdd_regs_show() 83 readw(gdd + SSI_GDD_CCR_REG(lch))); in ssi_gdd_regs_show() 85 readw(gdd + SSI_GDD_CICR_REG(lch))); in ssi_gdd_regs_show() 87 readw(gdd + SSI_GDD_CSR_REG(lch))); in ssi_gdd_regs_show() 93 readw(gdd + SSI_GDD_CEN_REG(lch))); in ssi_gdd_regs_show() 95 readw(gdd + SSI_GDD_CSAC_REG(lch))); in ssi_gdd_regs_show() 97 readw(gdd + SSI_GDD_CDAC_REG(lch))); in ssi_gdd_regs_show() 99 readw(gdd + SSI_GDD_CLNK_CTRL_REG(lch))); in ssi_gdd_regs_show() 193 csr = readw(omap_ssi->gdd + SSI_GDD_CSR_REG(lch)); in ssi_gdd_complete()
|