/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_dbg.c | 46 readw(&ha->reg->mailbox[i])); in qla4xxx_dump_registers() 51 readw(&ha->reg->flash_address)); in qla4xxx_dump_registers() 54 readw(&ha->reg->flash_data)); in qla4xxx_dump_registers() 57 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers() 62 readw(&ha->reg->u1.isp4010.nvram)); in qla4xxx_dump_registers() 66 readw(&ha->reg->u1.isp4022.intr_mask)); in qla4xxx_dump_registers() 69 readw(&ha->reg->u1.isp4022.nvram)); in qla4xxx_dump_registers() 72 readw(&ha->reg->u1.isp4022.semaphore)); in qla4xxx_dump_registers() 76 readw(&ha->reg->req_q_in)); in qla4xxx_dump_registers() 79 readw(&ha->reg->rsp_q_out)); in qla4xxx_dump_registers() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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() 232 reg = readw(&spi->regs->control_stat); in netup_spi_release() 234 reg = readw(&spi->regs->control_stat); in netup_spi_release()
|
/kernel/linux/linux-5.10/arch/m68k/coldfire/ |
D | m527x.c | 70 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init() 98 par = readw(MCFGPIO_PAR_FECI2C); in m527x_i2c_init() 114 sepmask = readw(MCFGPIO_PAR_UART); in m527x_uarts_init() 132 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init() 138 par = readw(MCFGPIO_PAR_FECI2C); in m527x_fec_init()
|
D | m53xx.c | 191 writew(readw(MCFGPIO_PAR_UART) | 0x0FFF, MCFGPIO_PAR_UART); in m53xx_uarts_init() 557 temp = readw(MCF_CCM_CDR) & MCF_CCM_CDR_SSIDIV(0xF); in clock_limp() 562 writew(readw(MCF_CCM_MISCCR) | MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_limp() 572 writew(readw(MCF_CCM_MISCCR) & ~MCF_CCM_MISCCR_LIMP, MCF_CCM_MISCCR); in clock_exit_limp() 575 while (!(readw(MCF_CCM_MISCCR) & MCF_CCM_MISCCR_PLL_LOCK)) in clock_exit_limp() 588 if (readw(MCF_CCM_MISCCR) & MCF_CCM_MISCCR_LIMP) { in get_sys_clock() 589 divider = readw(MCF_CCM_CDR) & MCF_CCM_CDR_LPDIV(0xF); in get_sys_clock()
|
D | m528x.c | 77 paspar = readw(MCFGPIO_PASPAR); in m528x_i2c_init() 102 v16 = readw(MCFGPIO_PASPAR); in m528x_fec_init() 123 writew(readw(MCFGPIO_PEPAR) & ~(1 << (5 * 2)), MCFGPIO_PEPAR); in wildfiremod_halt()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | io_no.h | 65 #define readw readw macro 66 static inline u16 readw(const volatile void __iomem *addr) in readw() function 102 #define readw __raw_readw macro
|
/kernel/linux/linux-5.10/sound/isa/msnd/ |
D | msnd_midi.c | 74 tail = readw(mpu->dev->MIDQ + JQS_wTail); in snd_msndmidi_input_drop() 111 head = readw(mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read() 112 tail = readw(mpu->dev->MIDQ + JQS_wTail); in snd_msndmidi_input_read() 113 size = readw(mpu->dev->MIDQ + JQS_wSize); in snd_msndmidi_input_read() 117 unsigned char val = readw(pwMIDQData + 2 * head); in snd_msndmidi_input_read()
|
/kernel/linux/linux-5.10/arch/arm/mach-spear/ |
D | time.c | 86 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init() 98 u16 val = readw(gpt_base + CR(CLKEVT)); in timer_shutdown() 119 val = readw(gpt_base + CR(CLKEVT)); in spear_set_oneshot() 138 val = readw(gpt_base + CR(CLKEVT)); in spear_set_periodic() 160 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
D | dca.c | 137 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_add_requester() 163 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_remove_requester() 218 global_req_table = readw(iobase + dca_offset + IOAT3_DCA_GREQID_OFFSET); in ioat_dca_count_dca_slots() 270 dca_offset = readw(iobase + IOAT_DCAOFFSET_OFFSET); in ioat_dca_init() 289 csi_fsb_control = readw(ioatdca->dca_base + IOAT3_CSI_CONTROL_OFFSET); in ioat_dca_init() 295 pcie_control = readw(ioatdca->dca_base + IOAT3_PCI_CONTROL_OFFSET); in ioat_dca_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 746 dev->name, readw(ioaddr + MiscStatus) & 1 ? 64 : 32, in hamachi_init_one() 748 readw(ioaddr + ANLinkPartnerAbility)); in hamachi_init_one() 821 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 826 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 828 return readw(ioaddr + MII_Rd_Data); in mdio_read() 839 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 846 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 887 fifo_info = (readw(ioaddr + GPIO) & 0x00C0) >> 6; in hamachi_open() 981 dev->name, readw(ioaddr + RxStatus), readw(ioaddr + TxStatus)); in hamachi_open() 1031 "%4.4x.\n", dev->name, readw(ioaddr + ANStatus), in hamachi_timer() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | headc57d.c | 147 writew(readw(mem - 8), mem + 0); in headc57d_olut_load_8() 148 writew(readw(mem - 6), mem + 2); in headc57d_olut_load_8() 149 writew(readw(mem - 4), mem + 4); in headc57d_olut_load_8() 167 writew(readw(mem - 8), mem + 0); in headc57d_olut_load() 168 writew(readw(mem - 6), mem + 2); in headc57d_olut_load() 169 writew(readw(mem - 4), mem + 4); in headc57d_olut_load()
|