/linux-3.4.99/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 …]
|
/linux-3.4.99/drivers/net/tokenring/ |
D | lanstreamer.c | 454 writew(readw(streamer_mmio + BCTL) | BCTL_SOFTRESET, streamer_mmio + BCTL); in streamer_reset() 459 writew(readw(streamer_mmio + BCTL) & ~BCTL_SOFTRESET, in streamer_reset() 463 printk("BCTL: %x\n", readw(streamer_mmio + BCTL)); in streamer_reset() 464 printk("GPR: %x\n", readw(streamer_mmio + GPR)); in streamer_reset() 465 printk("SISRMASK: %x\n", readw(streamer_mmio + SISR_MASK)); in streamer_reset() 467 writew(readw(streamer_mmio + BCTL) | (BCTL_RX_FIFO_8 | BCTL_TX_FIFO_8), streamer_mmio + BCTL ); in streamer_reset() 470 writew(readw(streamer_mmio + GPR) | GPR_AUTOSENSE, in streamer_reset() 507 printk("GPR = %x\n", readw(streamer_mmio + GPR)); in streamer_reset() 512 while (!((readw(streamer_mmio + SISR)) & SISR_SRB_REPLY)) { in streamer_reset() 524 misr = readw(streamer_mmio + MISR_RUM); in streamer_reset() [all …]
|
D | olympic.c | 326 printk("GPR: %x\n",readw(olympic_mmio+GPR)); in olympic_init() 336 writew(readw(olympic_mmio+GPR)|GPR_AUTOSENSE,olympic_mmio+GPR); in olympic_init() 349 writew(readw(olympic_mmio+GPR)|GPR_NEPTUNE_BF,olympic_mmio+GPR); in olympic_init() 352 printk("GPR = %x\n",readw(olympic_mmio + GPR) ) ; in olympic_init() 384 writel(readw(olympic_mmio+LAPWWO),olympic_mmio+LAPA); in olympic_init() 390 init_srb=olympic_priv->olympic_lap + ((readw(olympic_mmio+LAPWWO)) & (~0xf800)); in olympic_init() 401 if(readw(init_srb+6)) { in olympic_init() 402 printk(KERN_INFO "tokenring card initialization failed. errorcode : %x\n",readw(init_srb+6)); in olympic_init() 414 uaa_addr=swab16(readw(init_srb+8)); in olympic_init() 429 olympic_priv->olympic_addr_table_addr = swab16(readw(init_srb + 12)); in olympic_init() [all …]
|
D | 3c359.c | 222 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ; in xl_ee_read() 230 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ; in xl_ee_read() 238 return readw(xl_mmio + MMIO_MACDATA) ; in xl_ee_read() 254 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ; in xl_ee_write() 262 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ; in xl_ee_write() 274 while ( readw(xl_mmio + MMIO_MACDATA) & EEBUSY ) ; in xl_ee_write() 439 while (readw(xl_mmio + MMIO_INTSTATUS) & INTSTAT_CMD_IN_PROGRESS) { in xl_hw_reset() 465 printk(KERN_INFO "Read from PMBAR = %04x\n", readw(xl_mmio + MMIO_MACDATA)); in xl_hw_reset() 468 if ( readw( (xl_mmio + MMIO_MACDATA)) & PMB_CPHOLD ) { in xl_hw_reset() 473 result_16 = readw(xl_mmio + MMIO_MACDATA) ; in xl_hw_reset() [all …]
|
/linux-3.4.99/drivers/scsi/arm/ |
D | cumana_1.c | 140 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 141 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 142 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 143 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 144 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 145 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 146 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread() 147 *laddr++ = readw(dma) | (readw(dma) << 16); in NCR5380_pread()
|
/linux-3.4.99/drivers/watchdog/ |
D | coh901327_wdt.c | 95 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable() 119 (void) readw(virtbase + U300_WDOG_CR); in coh901327_enable() 120 val = readw(virtbase + U300_WDOG_D2R); in coh901327_enable() 136 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable() 146 val = readw(virtbase + U300_WDOG_D2R); in coh901327_disable() 196 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft() 198 val = readw(virtbase + U300_WDOG_CR); in coh901327_gettimeleft() 225 val = readw(virtbase + U300_WDOG_IER); in coh901327_interrupt() 309 val = readw(virtbase + U300_WDOG_SR); in coh901327_probe() 327 val = readw(virtbase + U300_WDOG_D2R); in coh901327_probe() [all …]
|
/linux-3.4.99/drivers/tty/ |
D | moxa.c | 242 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish() 245 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish() 267 ret = readw(ofsAddr + FuncArg); in moxafuncret() 277 rptr = readw(ofsAddr + RXrptr); in moxa_low_water_check() 278 wptr = readw(ofsAddr + RXwptr); in moxa_low_water_check() 279 mask = readw(ofsAddr + RX_mask); in moxa_low_water_check() 486 tmp = readw(baseAddr + C218_key); in moxa_load_bios() 491 tmp = readw(baseAddr + C218_key); in moxa_load_bios() 496 tmp = readw(baseAddr + C320_key); in moxa_load_bios() 499 tmp = readw(baseAddr + C320_status); in moxa_load_bios() [all …]
|
/linux-3.4.99/sound/isa/msnd/ |
D | msnd_midi.c | 89 tail = readw(mpu->dev->MIDQ + JQS_wTail); in snd_msndmidi_input_drop() 125 while (readw(mpu->dev->MIDQ + JQS_wTail) != in snd_msndmidi_input_read() 126 readw(mpu->dev->MIDQ + JQS_wHead)) { in snd_msndmidi_input_read() 128 val = readw(pwMIDQData + 2 * readw(mpu->dev->MIDQ + JQS_wHead)); in snd_msndmidi_input_read() 135 wTmp = readw(mpu->dev->MIDQ + JQS_wHead) + 1; in snd_msndmidi_input_read() 136 if (wTmp > readw(mpu->dev->MIDQ + JQS_wSize)) in snd_msndmidi_input_read()
|
/linux-3.4.99/drivers/mmc/host/ |
D | imxmmc.c | 104 reg = readw(host->base + MMC_REG_STR_STP_CLK); in imxmci_stop_clock() 108 reg = readw(host->base + MMC_REG_STR_STP_CLK); in imxmci_stop_clock() 113 reg = readw(host->base + MMC_REG_STATUS); in imxmci_stop_clock() 116 reg = readw(host->base + MMC_REG_STATUS); in imxmci_stop_clock() 133 reg = readw(host->base + MMC_REG_STR_STP_CLK); in imxmci_start_clock() 143 reg = readw(host->base + MMC_REG_STR_STP_CLK); in imxmci_start_clock() 150 reg = readw(host->base + MMC_REG_STATUS); in imxmci_start_clock() 153 reg = readw(host->base + MMC_REG_STATUS); in imxmci_start_clock() 170 reg = readw(host->base + MMC_REG_STR_STP_CLK); in imxmci_start_clock() 213 *pstat |= readw(host->base + MMC_REG_STATUS); in imxmci_busy_wait_for_status() [all …]
|
D | sdhci-pxav3.c | 64 tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); in pxav3_set_private_registers() 92 tmp = readw(host->ioaddr + SD_CE_ATA_2); in pxav3_gen_init_74_clocks() 97 tmp = readw(host->ioaddr + SD_CFG_FIFO_PARAM); in pxav3_gen_init_74_clocks() 106 if ((readw(host->ioaddr + SD_CE_ATA_2) in pxav3_gen_init_74_clocks() 116 tmp = readw(host->ioaddr + SD_CE_ATA_2); in pxav3_gen_init_74_clocks()
|
/linux-3.4.99/drivers/input/keyboard/ |
D | imx_keypad.c | 99 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 103 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 109 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix() 118 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 132 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 140 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix() 264 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 268 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 282 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() 286 reg_val = readw(keypad->mmio_base + KPSR); in imx_keypad_check_for_events() [all …]
|
/linux-3.4.99/arch/m68k/platform/527x/ |
D | config.c | 36 par = readw(MCFGPIO_PAR_TIMER); in m527x_qspi_init() 56 sepmask = readw(MCF_IPSBAR + MCF_GPIO_PAR_UART); in m527x_uarts_init() 73 par = readw(MCF_IPSBAR + 0x100082); in m527x_fec_init() 79 par = readw(MCF_IPSBAR + 0x100082); in m527x_fec_init()
|
/linux-3.4.99/drivers/rtc/ |
D | rtc-mxc.c | 96 day = readw(ioaddr + RTC_DAYR); in get_alarm_or_time() 97 hr_min = readw(ioaddr + RTC_HOURMIN); in get_alarm_or_time() 98 sec = readw(ioaddr + RTC_SECOND); in get_alarm_or_time() 101 day = readw(ioaddr + RTC_DAYALARM); in get_alarm_or_time() 102 hr_min = readw(ioaddr + RTC_ALRM_HM) & 0xffff; in get_alarm_or_time() 103 sec = readw(ioaddr + RTC_ALRM_SEC); in get_alarm_or_time() 173 writew(readw(ioaddr + RTC_RTCISR), ioaddr + RTC_RTCISR); in rtc_update_alarm() 188 reg = readw(ioaddr + RTC_RTCIENR); in mxc_rtc_irq_enable() 210 status = readw(ioaddr + RTC_RTCISR) & readw(ioaddr + RTC_RTCIENR); in mxc_rtc_interrupt() 312 alrm->pending = ((readw(ioaddr + RTC_RTCISR) & RTC_ALM_BIT)) ? 1 : 0; in mxc_rtc_read_alarm() [all …]
|
D | rtc-s3c.c | 354 ticnt = readw(s3c_rtc_base + S3C2410_RTCCON); in s3c_rtc_proc() 385 tmp = readw(base + S3C2410_RTCCON); in s3c_rtc_enable() 399 if ((readw(base+S3C2410_RTCCON) & S3C2410_RTCCON_RTCEN) == 0) { in s3c_rtc_enable() 402 tmp = readw(base + S3C2410_RTCCON); in s3c_rtc_enable() 407 if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CNTSEL)) { in s3c_rtc_enable() 410 tmp = readw(base + S3C2410_RTCCON); in s3c_rtc_enable() 415 if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CLKRST)) { in s3c_rtc_enable() 418 tmp = readw(base + S3C2410_RTCCON); in s3c_rtc_enable() 530 readw(s3c_rtc_base + S3C2410_RTCCON)); in s3c_rtc_probe() 570 tmp = readw(s3c_rtc_base + S3C2410_RTCCON); in s3c_rtc_probe() [all …]
|
/linux-3.4.99/drivers/net/ethernet/dlink/ |
D | dl2k.c | 242 np->phy_media = (readw(ioaddr + ASICCtrl) & PhyMedia) ? 1 : 0; in rio_probe1() 683 int_status = readw (ioaddr + IntStatus); in rio_interrupt() 782 writew (readw (ioaddr + TxStartThresh) + 0x10, in tx_error() 789 if ((readw (ioaddr + ASICCtrl + 2) & ResetBusy) == 0) in tx_error() 809 if ((readw (ioaddr + ASICCtrl + 2) & ResetBusy) == 0) in tx_error() 824 writel (readw (dev->base_addr + MACCtrl) | TxEnable, ioaddr + MACCtrl); in tx_error() 1005 stat_reg = readw (ioaddr + FramesAbortXSColls); in get_stats() 1009 stat_reg = readw (ioaddr + CarrierSenseErrors); in get_stats() 1015 readw (ioaddr + BcstFramesXmtdOk); in get_stats() 1017 readw (ioaddr + BcstFramesRcvdOk); in get_stats() [all …]
|
/linux-3.4.99/arch/arm/plat-spear/ |
D | time.c | 87 val = readw(gpt_base + CR(CLKSRC)); in spear_clocksource_init() 112 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode() 122 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode() 129 val = readw(gpt_base + CR(CLKEVT)); in clockevent_set_mode() 148 u16 val = readw(gpt_base + CR(CLKEVT)); in clockevent_next_event()
|
/linux-3.4.99/drivers/dma/ioat/ |
D | dca.c | 339 readw(ioatdca->dca_base + IOAT_DCA_GREQID_OFFSET); in ioat2_dca_add_requester() 365 readw(ioatdca->dca_base + IOAT_DCA_GREQID_OFFSET); in ioat2_dca_remove_requester() 400 global_req_table = readw(iobase + dca_offset + IOAT_DCA_GREQID_OFFSET); in ioat2_dca_count_dca_slots() 428 dca_offset = readw(iobase + IOAT_DCAOFFSET_OFFSET); in ioat2_dca_init() 448 csi_fsb_control = readw(ioatdca->dca_base + IOAT_FSB_CAP_ENABLE_OFFSET); in ioat2_dca_init() 454 pcie_control = readw(ioatdca->dca_base + IOAT_PCI_CAP_ENABLE_OFFSET); in ioat2_dca_init() 514 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat3_dca_add_requester() 540 readw(ioatdca->dca_base + IOAT3_DCA_GREQID_OFFSET); in ioat3_dca_remove_requester() 595 global_req_table = readw(iobase + dca_offset + IOAT3_DCA_GREQID_OFFSET); in ioat3_dca_count_dca_slots() 631 dca_offset = readw(iobase + IOAT_DCAOFFSET_OFFSET); in ioat3_dca_init() [all …]
|
/linux-3.4.99/arch/arm/mach-u300/ |
D | clock.c | 126 val = readw(clk->res_reg); in syscon_block_reset_enable() 142 val = readw(clk->res_reg); in syscon_block_reset_disable() 157 val = readw(U300_SYSCON_VBASE + U300_SYSCON_MMCR); in __clk_get() 165 val = readw(U300_SYSCON_VBASE + U300_SYSCON_MMCR); in __clk_get() 213 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in syscon_clk_get_rate() 227 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in enable_i2s0_vcxo() 232 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CEFR); in enable_i2s0_vcxo() 245 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in enable_i2s1_vcxo() 250 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CEFR); in enable_i2s1_vcxo() 263 val = readw(U300_SYSCON_VBASE + U300_SYSCON_CCR); in disable_i2s0_vcxo() [all …]
|
/linux-3.4.99/arch/m32r/include/asm/ |
D | io.h | 149 #define readw(addr) _readw((unsigned long)(addr)) macro 152 #define __raw_readw readw 155 #define readw_relaxed readw 166 #define ioread16 readw
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | icp_multi.c | 285 readw(devpriv->io_addr + ICP_MULTI_ADC_CSR), in icp_multi_insn_read_ai() 298 readw(devpriv->io_addr + ICP_MULTI_ADC_CSR)); in icp_multi_insn_read_ai() 305 readw(devpriv->io_addr + ICP_MULTI_ADC_CSR)); in icp_multi_insn_read_ai() 311 if (!(readw(devpriv->io_addr + in icp_multi_insn_read_ai() 320 readw(devpriv->io_addr + in icp_multi_insn_read_ai() 351 (readw(devpriv->io_addr + ICP_MULTI_AI) >> 4) & 0x0fff; in icp_multi_insn_read_ai() 425 if (!(readw(devpriv->io_addr + in icp_multi_insn_write_ao() 434 readw(devpriv->io_addr + in icp_multi_insn_write_ao() 540 data[1] = readw(devpriv->io_addr + ICP_MULTI_DI); in icp_multi_insn_bits_di() 580 data[1] = readw(devpriv->io_addr + ICP_MULTI_DI); in icp_multi_insn_bits_do() [all …]
|
/linux-3.4.99/drivers/net/ethernet/i825xx/ |
D | ni52.c | 255 if (readw(&((addr)->cmd_status)) & STAT_COMPL) in wait_for_stat_compl() 639 if ((readw(&cfg_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != in init586() 642 dev->name, readw(&cfg_cmd->cmd_status)); in init586() 665 if ((readw(&ias_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != in init586() 667 …printk(KERN_ERR "%s (ni52): individual address setup command failed: %04x\n", dev->name, readw(&ia… in init586() 688 if (!(readw(&tdr_cmd->cmd_status) & STAT_COMPL)) in init586() 693 result = readw(&tdr_cmd->status); in init586() 735 if ((readw(&mc_cmd->cmd_status) & (STAT_COMPL|STAT_OK)) in init586() 960 rbd = make32(readw(&p->rfd_top->rbd_offset)); in ni52_rcv_int() 962 totlen = readw(&rbd->status); in ni52_rcv_int() [all …]
|
D | 3c507.c | 489 readw(shmem + iSCB_STATUS) & 0x8000 ? "IRQ conflict" : in el16_tx_timeout() 563 status = readw(shmem+iSCB_STATUS); in el16_interrupt() 574 unsigned short tx_status = readw(shmem+lp->tx_reap); in el16_interrupt() 750 while (readw(shmem+iSCB_STATUS) == 0) in init_82586_mem() 753 dev->name, readw(shmem+iSCB_STATUS), readw(shmem+iSCB_CMD)); in init_82586_mem() 764 readw(shmem+iSCB_STATUS)); in init_82586_mem() 825 while ((frame_status = readw(shmem+rx_head)) < 0) { /* Command complete */ in el16_rx() 827 ushort rfd_cmd = readw(read_frame+2); in el16_rx() 828 ushort next_rx_frame = readw(read_frame+4); in el16_rx() 829 ushort data_buffer_addr = readw(read_frame+6); in el16_rx() [all …]
|
/linux-3.4.99/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 749 dev->name, readw(ioaddr + MiscStatus) & 1 ? 64 : 32, in hamachi_init_one() 751 readw(ioaddr + ANLinkPartnerAbility)); in hamachi_init_one() 824 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 829 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_read() 831 return readw(ioaddr + MII_Rd_Data); in mdio_read() 842 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 849 if ((readw(ioaddr + MII_Status) & 1) == 0) in mdio_write() 893 fifo_info = (readw(ioaddr + GPIO) & 0x00C0) >> 6; in hamachi_open() 987 dev->name, readw(ioaddr + RxStatus), readw(ioaddr + TxStatus)); in hamachi_open() 1039 "%4.4x.\n", dev->name, readw(ioaddr + ANStatus), in hamachi_timer() [all …]
|
/linux-3.4.99/drivers/tty/serial/ |
D | amba-pl011.c | 188 status = readw(uap->port.membase + UART01x_FR); in pl011_fifo_to_tty() 193 ch = readw(uap->port.membase + UART01x_DR) | in pl011_fifo_to_tty() 621 if (readw(uap->port.membase + UART01x_FR) & UART01x_FR_TXFF) { in pl011_dma_tx_start() 958 while (readw(uap->port.membase + UART01x_FR) & UART01x_FR_BUSY) in pl011_dma_shutdown() 1110 uap->old_status = readw(uap->port.membase + UART01x_FR) & in pl011_lockup_wa() 1222 status = readw(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; in pl011_modem_status() 1251 status = readw(uap->port.membase + UART011_MIS); in pl011_int() 1276 status = readw(uap->port.membase + UART011_MIS); in pl011_int() 1289 unsigned int status = readw(uap->port.membase + UART01x_FR); in pl01x_tx_empty() 1297 unsigned int status = readw(uap->port.membase + UART01x_FR); in pl01x_get_mctrl() [all …]
|
/linux-3.4.99/arch/m68k/platform/523x/ |
D | config.c | 34 par = readw(MCFGPIO_PAR_TIMER); in m523x_qspi_init() 49 par = readw(MCF_IPSBAR + 0x100082); in m523x_fec_init()
|