Home
last modified time | relevance | path

Searched refs:readb (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/linux/drivers/char/
A Dapplicom.c136 (readb(loc + CONF_END_TEST + 3) != 0xFF)) in ac_register_board()
160 byte_reset_it = readb(loc + RAM_IT_TO_PC); in ac_register_board()
498 *(to++) = readb(from++); in do_ac_read()
585 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
598 Dummy = readb(apbs[i].RamIO + VERS); in ac_read()
675 Dummy = readb(apbs[i].RamIO + VERS); in ac_interrupt()
736 adgl->conf_end_test[i] = readb(pmem++); in ac_ioctl()
738 adgl->error_code[i] = readb(pmem++); in ac_ioctl()
742 adgl->vers = readb(pmem); in ac_ioctl()
745 adgl->reserv1[i] = readb(pmem++); in ac_ioctl()
[all …]
A Dtoshiba.c353 id = (0x100*(int) readb(bios+0xfffe))+((int) readb(bios+0xfffa)); in tosh_get_machine_id()
416 if (readb(bios+0xe010+i)!=signature[i]) { in tosh_probe()
448 major = readb(bios+0xe009)-'0'; in tosh_probe()
449 minor = ((readb(bios+0xe00b)-'0')*10)+(readb(bios+0xe00c)-'0'); in tosh_probe()
454 day = ((readb(bios+0xfff5)-'0')*10)+(readb(bios+0xfff6)-'0'); in tosh_probe()
455 month = ((readb(bios+0xfff8)-'0')*10)+(readb(bios+0xfff9)-'0'); in tosh_probe()
456 year = ((readb(bios+0xfffb)-'0')*10)+(readb(bios+0xfffc)-'0'); in tosh_probe()
/linux/drivers/tty/serial/jsm/
A Djsm_cls.c54 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
55 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
95 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
96 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_ixon_flow_control()
141 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_no_output_flow_control()
184 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_rts_flow_control()
401 readb(&ch->ch_cls_uart->txrx); in cls_copy_data_from_uart_to_queue()
756 ier = readb(&ch->ch_cls_uart->ier); in cls_param()
881 readb(&ch->ch_cls_uart->txrx); in cls_uart_init()
889 readb(&ch->ch_cls_uart->lsr); in cls_uart_init()
[all …]
A Djsm_neo.c32 readb(bd->re_map_membase + 0x8D); in neo_pci_posting_flush()
38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
69 ier = readb(&ch->ch_neo_uart->ier); in neo_set_rts_flow_control()
70 efr = readb(&ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
109 ier = readb(&ch->ch_neo_uart->ier); in neo_set_ixon_flow_control()
110 efr = readb(&ch->ch_neo_uart->efr); in neo_set_ixon_flow_control()
146 ier = readb(&ch->ch_neo_uart->ier); in neo_set_ixoff_flow_control()
1308 readb(&ch->ch_neo_uart->txrx); in neo_uart_init()
1310 readb(&ch->ch_neo_uart->lsr); in neo_uart_init()
[all …]
/linux/drivers/media/cec/platform/s5p/
A Dexynos_hdmi_cecctrl.c54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx()
63 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_rx_interrupts()
73 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_unmask_rx_interrupts()
83 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_tx_interrupts()
93 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_unmask_tx_interrupts()
106 reg = readb(cec->reg + 0xc4); in s5p_cec_reset()
122 reg = readb(cec->reg + 0xc4); in s5p_cec_rx_reset()
145 reg = readb(cec->reg + S5P_CEC_TX_CTRL); in s5p_cec_copy_packet()
172 status = readb(cec->reg + S5P_CEC_STATUS_0) & 0xf; in s5p_cec_get_status()
174 status |= readb(cec->reg + S5P_CEC_STATUS_1) << 8; in s5p_cec_get_status()
[all …]
/linux/drivers/pci/hotplug/
A Dibmphp_ebda.c251 ebda_sz = readb(io_mem); in ibmphp_access_ebda()
285 format = readb(io_mem + offset); in ibmphp_access_ebda()
304 num_ctlrs = readb(io_mem + sub_addr); in ibmphp_access_ebda()
698 ctlr_id = readb(io_mem + addr); in ebda_rsrc_controller()
700 slot_num = readb(io_mem + addr); in ebda_rsrc_controller()
706 bus_num = readb(io_mem + addr); in ebda_rsrc_controller()
711 temp = readb(io_mem + addr); in ebda_rsrc_controller()
801 hpc_ptr->irq = readb(io_mem + addr + 2); in ebda_rsrc_controller()
817 hpc_ptr->irq = readb(io_mem + addr + 4); in ebda_rsrc_controller()
825 hpc_ptr->irq = readb(io_mem + addr + 5); in ebda_rsrc_controller()
[all …]
/linux/drivers/video/fbdev/matrox/
A Dmatroxfb_misc.c392 unsigned int b0 = readb(pins); in get_pins()
421 *dst++ = readb(pins+i); in get_pins()
430 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
445 h = readb(vbios + 5); in get_bios_version()
455 b = readb(vbios + 0x7FF1); in get_bios_output()
467 if (readb(vbios + 0x1D) != 'I' || in get_bios_tvout()
468 readb(vbios + 0x1E) != 'B' || in get_bios_tvout()
492 if (readb(vbios) != 0x55 || readb(vbios + 1) != 0xAA) { in parse_bios()
523 pins_offset = readb(vbios + 0x7FFC) | (readb(vbios + 0x7FFD) << 8); in parse_bios()
791 unsigned int ven = readb(b+0x64+0) | (readb(b+0x64+1) << 8); in matroxfb_read_pins()
[all …]
/linux/drivers/rtc/
A Drtc-stk17ta8.c78 flags = readb(pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
110 minute = readb(ioaddr + RTC_MINUTES); in stk17ta8_rtc_read_time()
111 hour = readb(ioaddr + RTC_HOURS); in stk17ta8_rtc_read_time()
112 day = readb(ioaddr + RTC_DATE); in stk17ta8_rtc_read_time()
114 month = readb(ioaddr + RTC_MONTH); in stk17ta8_rtc_read_time()
115 year = readb(ioaddr + RTC_YEAR); in stk17ta8_rtc_read_time()
116 century = readb(ioaddr + RTC_CENTURY); in stk17ta8_rtc_read_time()
138 flags = readb(ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm()
241 *buf++ = readb(ioaddr + pos++); in stk17ta8_nvram_read()
284 cal = readb(ioaddr + RTC_CALIBRATION); in stk17ta8_rtc_probe()
[all …]
A Drtc-ds1742.c92 second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; in ds1742_rtc_read_time()
93 minute = readb(ioaddr + RTC_MINUTES); in ds1742_rtc_read_time()
94 hour = readb(ioaddr + RTC_HOURS); in ds1742_rtc_read_time()
95 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time()
96 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1742_rtc_read_time()
97 month = readb(ioaddr + RTC_MONTH); in ds1742_rtc_read_time()
98 year = readb(ioaddr + RTC_YEAR); in ds1742_rtc_read_time()
126 *buf++ = readb(ioaddr + pos++); in ds1742_nvram_read()
174 sec = readb(ioaddr + RTC_SECONDS); in ds1742_rtc_probe()
177 cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; in ds1742_rtc_probe()
[all …]
A Drtc-sh.c114 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_interrupt()
130 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_alarm()
145 tmp = readb(rtc->regbase + RCR2); in __sh_rtc_periodic()
222 tmp = readb(rtc->regbase + RCR1); in sh_rtc_setaie()
239 tmp = readb(rtc->regbase + RCR1); in sh_rtc_proc()
242 tmp = readb(rtc->regbase + RCR2); in sh_rtc_proc()
256 tmp = readb(rtc->regbase + RCR1); in sh_rtc_setcie()
287 tmp = readb(rtc->regbase + RCR1); in sh_rtc_read_time()
345 tmp = readb(rtc->regbase + RCR2); in sh_rtc_set_time()
367 tmp = readb(rtc->regbase + RCR2); in sh_rtc_set_time()
[all …]
A Drtc-ds1553.c108 minute = readb(ioaddr + RTC_MINUTES); in ds1553_rtc_read_time()
109 hour = readb(ioaddr + RTC_HOURS); in ds1553_rtc_read_time()
110 day = readb(ioaddr + RTC_DATE); in ds1553_rtc_read_time()
111 week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; in ds1553_rtc_read_time()
112 month = readb(ioaddr + RTC_MONTH); in ds1553_rtc_read_time()
113 year = readb(ioaddr + RTC_YEAR); in ds1553_rtc_read_time()
190 if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_AF) { in ds1553_rtc_interrupt()
192 if (readb(ioaddr + RTC_SECONDS_ALARM) & 0x80) in ds1553_rtc_interrupt()
233 *buf++ = readb(ioaddr + pos++); in ds1553_nvram_read()
277 sec = readb(ioaddr + RTC_SECONDS); in ds1553_rtc_probe()
[all …]
A Drtc-pic32.c141 rtc_tm->tm_hour = readb(base + PIC32_RTCHOUR); in pic32_rtc_gettime()
142 rtc_tm->tm_min = readb(base + PIC32_RTCMIN); in pic32_rtc_gettime()
143 rtc_tm->tm_mon = readb(base + PIC32_RTCMON); in pic32_rtc_gettime()
144 rtc_tm->tm_mday = readb(base + PIC32_RTCDAY); in pic32_rtc_gettime()
145 rtc_tm->tm_year = readb(base + PIC32_RTCYEAR); in pic32_rtc_gettime()
146 rtc_tm->tm_sec = readb(base + PIC32_RTCSEC); in pic32_rtc_gettime()
198 alm_tm->tm_sec = readb(base + PIC32_ALRMSEC); in pic32_rtc_getalarm()
199 alm_tm->tm_min = readb(base + PIC32_ALRMMIN); in pic32_rtc_getalarm()
201 alm_tm->tm_mon = readb(base + PIC32_ALRMMON); in pic32_rtc_getalarm()
202 alm_tm->tm_mday = readb(base + PIC32_ALRMDAY); in pic32_rtc_getalarm()
[all …]
A Drtc-m48t35.c67 control = readb(&priv->reg->control); in m48t35_read_time()
69 tm->tm_sec = readb(&priv->reg->sec); in m48t35_read_time()
70 tm->tm_min = readb(&priv->reg->min); in m48t35_read_time()
71 tm->tm_hour = readb(&priv->reg->hour); in m48t35_read_time()
72 tm->tm_mday = readb(&priv->reg->date); in m48t35_read_time()
73 tm->tm_mon = readb(&priv->reg->month); in m48t35_read_time()
74 tm->tm_year = readb(&priv->reg->year); in m48t35_read_time()
132 control = readb(&priv->reg->control); in m48t35_set_time()
A Drtc-s3c.c141 tm->tm_min = readb(info->base + S3C2410_RTCMIN); in s3c_rtc_read_time()
142 tm->tm_hour = readb(info->base + S3C2410_RTCHOUR); in s3c_rtc_read_time()
143 tm->tm_mday = readb(info->base + S3C2410_RTCDATE); in s3c_rtc_read_time()
144 tm->tm_mon = readb(info->base + S3C2410_RTCMON); in s3c_rtc_read_time()
145 tm->tm_year = readb(info->base + S3C2410_RTCYEAR); in s3c_rtc_read_time()
146 tm->tm_sec = readb(info->base + S3C2410_RTCSEC); in s3c_rtc_read_time()
236 alm_tm->tm_sec = readb(info->base + S3C2410_ALMSEC); in s3c_rtc_getalarm()
237 alm_tm->tm_min = readb(info->base + S3C2410_ALMMIN); in s3c_rtc_getalarm()
239 alm_tm->tm_mon = readb(info->base + S3C2410_ALMMON); in s3c_rtc_getalarm()
243 alm_en = readb(info->base + S3C2410_RTCALM); in s3c_rtc_getalarm()
[all …]
/linux/drivers/tty/serial/
A Damba-pl010.c65 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_tx()
76 cr = readb(uap->port.membase + UART010_CR); in pl010_start_tx()
87 cr = readb(uap->port.membase + UART010_CR); in pl010_stop_rx()
97 cr = readb(uap->port.membase + UART010_CR); in pl010_disable_ms()
108 cr = readb(uap->port.membase + UART010_CR); in pl010_enable_ms()
117 status = readb(uap->port.membase + UART01x_FR); in pl010_rx_chars()
119 ch = readb(uap->port.membase + UART01x_DR); in pl010_rx_chars()
160 status = readb(uap->port.membase + UART01x_FR); in pl010_rx_chars()
231 status = readb(uap->port.membase + UART010_IIR); in pl010_int()
270 status = readb(uap->port.membase + UART01x_FR); in pl010_get_mctrl()
[all …]
A Dfsl_lpuart.c432 temp = readb(port->membase + UARTCR2); in lpuart_stop_tx()
450 temp = readb(port->membase + UARTCR2); in lpuart_stop_rx()
659 readb(sport->port.membase + UARTDR); in lpuart_poll_init()
685 return readb(port->membase + UARTDR); in lpuart_poll_get_char()
809 temp = readb(port->membase + UARTCR2); in lpuart_start_tx()
1038 readb(sport->port.membase + UARTDR); in lpuart_int()
1138 readb(sport->port.membase + UARTDR); in lpuart_copy_rx_to_tty()
1455 reg = readb(port->membase + UARTCR1); in lpuart_get_mctrl()
1478 reg = readb(port->membase + UARTCR1); in lpuart_set_mctrl()
1547 readb(sport->port.membase + UARTDR); in lpuart_setup_watermark()
[all …]
A Dsunsab.c144 buf[i] = readb(&up->regs->r.rfifo[i]); in receive_chars()
318 status.sreg.isr0 = readb(&up->regs->r.isr0); in sunsab_interrupt()
392 val = readb(&up->regs->r.pvr); in sunsab_get_mctrl()
395 val = readb(&up->regs->r.vstr); in sunsab_get_mctrl()
398 val = readb(&up->regs->r.star); in sunsab_get_mctrl()
426 tmp = readb(&up->regs->rw.ccr2); in sunsab_tx_idle()
549 (void) readb(&up->regs->r.isr0); in sunsab_startup()
550 (void) readb(&up->regs->r.isr1); in sunsab_startup()
568 tmp = readb(&up->regs->rw.ccr0); in sunsab_startup()
627 tmp = readb(&up->regs->rw.ccr0); in sunsab_shutdown()
[all …]
/linux/drivers/gpio/
A Dgpio-pl061.c67 if (readb(pl061->base + GPIODIR) & BIT(offset)) in pl061_get_direction()
80 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_input()
97 gpiodir = readb(pl061->base + GPIODIR); in pl061_direction_output()
115 return !!readb(pl061->base + (BIT(offset + 2))); in pl061_get_value()
150 gpioiev = readb(pl061->base + GPIOIEV); in pl061_irq_type()
151 gpiois = readb(pl061->base + GPIOIS); in pl061_irq_type()
152 gpioibe = readb(pl061->base + GPIOIBE); in pl061_irq_type()
223 pending = readb(pl061->base + GPIOMIS); in pl061_irq_handler()
241 gpioie = readb(pl061->base + GPIOIE) & ~mask; in pl061_irq_mask()
254 gpioie = readb(pl061->base + GPIOIE) | mask; in pl061_irq_unmask()
[all …]
/linux/drivers/mtd/nand/raw/
A Dsharpsl.c70 writeb((readb(sharpsl->io + FLASHCTL) & ~0x17) | bits, sharpsl->io + FLASHCTL); in sharpsl_nand_hwcontrol()
80 return !((readb(sharpsl->io + FLASHCTL) & FLRYBY) == 0); in sharpsl_nand_dev_ready()
93 ecc_code[0] = ~readb(sharpsl->io + ECCLPUB); in sharpsl_nand_calculate_ecc()
94 ecc_code[1] = ~readb(sharpsl->io + ECCLPLB); in sharpsl_nand_calculate_ecc()
95 ecc_code[2] = (~readb(sharpsl->io + ECCCP) << 2) | 0x03; in sharpsl_nand_calculate_ecc()
96 return readb(sharpsl->io + ECCCNTR) != 0; in sharpsl_nand_calculate_ecc()
172 writeb(readb(sharpsl->io + FLASHCTL) | FLWP, sharpsl->io + FLASHCTL); in sharpsl_nand_probe()
/linux/arch/mips/txx9/rbtx4938/
A Dsetup.c202 writeb((readb(rbtx4938_piosel_addr) & 0x03) | 0x04, in rbtx4938_mem_setup()
206 writeb((readb(rbtx4938_piosel_addr) & 0x03) | 0x08, in rbtx4938_mem_setup()
209 writeb(readb(rbtx4938_piosel_addr) & ~(0x08 | 0x04), in rbtx4938_mem_setup()
223 readb(rbtx4938_fpga_rev_addr), in rbtx4938_mem_setup()
224 readb(rbtx4938_dipsw_addr), readb(rbtx4938_bdipsw_addr)); in rbtx4938_mem_setup()
250 val = readb(rbtx4938_spics_addr); in rbtx4938_spi_gpio_set()
307 switch (readb(rbtx4938_bdipsw_addr) & 7) { in rbtx4938_mtd_init()
/linux/drivers/mmc/host/
A Dwmt-sdmmc.c236 tmp_resp = readb(priv->sdmmc_base + SDMMC_RSP); in wmt_mci_read_response()
238 tmp_resp = readb(priv->sdmmc_base + SDMMC_RSP + in wmt_mci_read_response()
250 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command()
268 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command()
281 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command()
381 status0 = readb(priv->sdmmc_base + SDMMC_STS0); in wmt_mci_regular_isr()
382 status1 = readb(priv->sdmmc_base + SDMMC_STS1); in wmt_mci_regular_isr()
383 status2 = readb(priv->sdmmc_base + SDMMC_STS2); in wmt_mci_regular_isr()
470 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_reset_hardware()
474 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_reset_hardware()
[all …]
/linux/drivers/scsi/arm/
A Dcumana_1.c59 status = readb(base + STAT); in cumanascsi_pwrite()
83 status = readb(base + STAT); in cumanascsi_pwrite()
93 status = readb(base + STAT); in cumanascsi_pwrite()
125 status = readb(base + STAT); in cumanascsi_pread()
149 status = readb(base + STAT); in cumanascsi_pread()
154 *addr++ = readb(dma); in cumanascsi_pread()
159 status = readb(base + STAT); in cumanascsi_pread()
164 *addr++ = readb(dma); in cumanascsi_pread()
191 val = readb(base + 0x2100 + (reg << 2)); in cumanascsi_read()
A Darxescsi.c127 if (readb(base + 0x80) & STAT_INT) { in arxescsi_dma_pseudo()
138 if (readb(base + 0x80) & STAT_INT) in arxescsi_dma_pseudo()
141 if (!(readb(base + DMASTAT_OFFSET) & DMASTAT_DRQ)) in arxescsi_dma_pseudo()
159 if (readb(base + 0x80) & STAT_INT) { in arxescsi_dma_pseudo()
164 if (!(readb(base + DMASTAT_OFFSET) & DMASTAT_DRQ)) in arxescsi_dma_pseudo()
177 if (readb(base + 0x80) & STAT_INT) in arxescsi_dma_pseudo()
180 if (!(readb(base + DMASTAT_OFFSET) & DMASTAT_DRQ)) in arxescsi_dma_pseudo()
/linux/drivers/edac/
A Di82975x_edac.c353 drb[row][0] = readb(mch_window + I82975X_DRB + row); in dual_channel_active()
354 drb[row][1] = readb(mch_window + I82975X_DRB + row + 0x80); in dual_channel_active()
384 value = readb(mch_window + I82975X_DRB + index + in i82975x_init_csrows()
497 c0drb[0] = readb(mch_window + I82975X_DRB_CH0R0); in i82975x_probe1()
498 c0drb[1] = readb(mch_window + I82975X_DRB_CH0R1); in i82975x_probe1()
499 c0drb[2] = readb(mch_window + I82975X_DRB_CH0R2); in i82975x_probe1()
500 c0drb[3] = readb(mch_window + I82975X_DRB_CH0R3); in i82975x_probe1()
501 c1drb[0] = readb(mch_window + I82975X_DRB_CH1R0); in i82975x_probe1()
502 c1drb[1] = readb(mch_window + I82975X_DRB_CH1R1); in i82975x_probe1()
503 c1drb[2] = readb(mch_window + I82975X_DRB_CH1R2); in i82975x_probe1()
[all …]
/linux/drivers/net/ethernet/i825xx/
A Dsni_82596.c112 netdevice->dev_addr[0] = readb(eth_addr + 0x0b); in sni_82596_probe()
113 netdevice->dev_addr[1] = readb(eth_addr + 0x0a); in sni_82596_probe()
114 netdevice->dev_addr[2] = readb(eth_addr + 0x09); in sni_82596_probe()
115 netdevice->dev_addr[3] = readb(eth_addr + 0x08); in sni_82596_probe()
116 netdevice->dev_addr[4] = readb(eth_addr + 0x07); in sni_82596_probe()
117 netdevice->dev_addr[5] = readb(eth_addr + 0x06); in sni_82596_probe()

Completed in 56 milliseconds

12345678910>>...19