Home
last modified time | relevance | path

Searched refs:writeb (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/drivers/tty/serial/jsm/
Djsm_cls.c62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
70 writeb(isr_fcr, &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
73 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
81 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
84 writeb((UART_FCR_ENABLE_FIFO), &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
86 writeb((UART_FCR_ENABLE_FIFO | UART_16654_FCR_RXTRIGGER_56 | in cls_set_cts_flow_control()
103 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_ixon_flow_control()
111 writeb(isr_fcr, &ch->ch_cls_uart->isr_fcr); in cls_set_ixon_flow_control()
114 writeb(ch->ch_startc, &ch->ch_cls_uart->mcr); in cls_set_ixon_flow_control()
115 writeb(0, &ch->ch_cls_uart->lsr); in cls_set_ixon_flow_control()
[all …]
Djsm_neo.c51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
54 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
57 writeb((UART_17158_FCTR_TRGD | UART_17158_FCTR_RTS_4DELAY), &ch->ch_neo_uart->fctr); in neo_set_cts_flow_control()
60 writeb(8, &ch->ch_neo_uart->tfifo); in neo_set_cts_flow_control()
63 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
83 writeb(0, &ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
86 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_rts_flow_control()
88 writeb((UART_17158_FCTR_TRGD | UART_17158_FCTR_RTS_4DELAY), &ch->ch_neo_uart->fctr); in neo_set_rts_flow_control()
91 writeb(56, &ch->ch_neo_uart->rfifo); in neo_set_rts_flow_control()
94 writeb(ier, &ch->ch_neo_uart->ier); in neo_set_rts_flow_control()
[all …]
/drivers/media/cec/platform/s5p/
Dexynos_hdmi_cecctrl.c44 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_3); in s5p_cec_set_divider()
45 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_2); in s5p_cec_set_divider()
46 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_1); in s5p_cec_set_divider()
47 writeb(div_val, cec->reg + S5P_CEC_DIVISOR_0); in s5p_cec_set_divider()
56 writeb(reg, cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx()
66 writeb(reg, cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_rx_interrupts()
76 writeb(reg, cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_unmask_rx_interrupts()
86 writeb(reg, cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_tx_interrupts()
96 writeb(reg, cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_unmask_tx_interrupts()
103 writeb(S5P_CEC_RX_CTRL_RESET, cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_reset()
[all …]
/drivers/comedi/drivers/
Dni_pcidio.c310 writeb(primary_DMAChannel_bits(devpriv->di_mite_chan->channel) | in ni_pcidio_request_di_mite_channel()
326 writeb(primary_DMAChannel_bits(0) | in ni_pcidio_release_di_mite_channel()
408 writeb(0x00, in nidio_interrupt()
421 writeb(0x00, dev->mmio + in nidio_interrupt()
433 writeb(CLEAR_EXPIRED, dev->mmio + GROUP_1_SECOND_CLEAR); in nidio_interrupt()
436 writeb(0x00, dev->mmio + OP_MODE); in nidio_interrupt()
439 writeb(CLEAR_WAITED, dev->mmio + GROUP_1_FIRST_CLEAR); in nidio_interrupt()
443 writeb(CLEAR_PRIMARY_TC, in nidio_interrupt()
447 writeb(CLEAR_SECONDARY_TC, in nidio_interrupt()
460 writeb(0x03, dev->mmio + MASTER_DMA_AND_INTERRUPT_CONTROL); in nidio_interrupt()
[all …]
Dni_6527.c90 writeb(val & 0xff, dev->mmio + NI6527_FILT_INTERVAL_REG(0)); in ni6527_set_filter_interval()
91 writeb((val >> 8) & 0xff, in ni6527_set_filter_interval()
93 writeb((val >> 16) & 0x0f, in ni6527_set_filter_interval()
96 writeb(NI6527_CLR_INTERVAL, dev->mmio + NI6527_CLR_REG); in ni6527_set_filter_interval()
105 writeb(val & 0xff, dev->mmio + NI6527_FILT_ENA_REG(0)); in ni6527_set_filter_enable()
106 writeb((val >> 8) & 0xff, dev->mmio + NI6527_FILT_ENA_REG(1)); in ni6527_set_filter_enable()
107 writeb((val >> 16) & 0xff, dev->mmio + NI6527_FILT_ENA_REG(2)); in ni6527_set_filter_enable()
173 writeb(val & 0xff, dev->mmio + NI6527_DO_REG(0)); in ni6527_do_insn_bits()
175 writeb((val >> 8) & 0xff, in ni6527_do_insn_bits()
178 writeb((val >> 16) & 0xff, in ni6527_do_insn_bits()
[all …]
Dii_pci20kc.c160 writeb(val & 0xff, iobase + II20K_AO_LSB_REG(chan)); in ii20k_ao_insn_write()
161 writeb((val >> 8) & 0xff, iobase + II20K_AO_MSB_REG(chan)); in ii20k_ao_insn_write()
162 writeb(0x00, iobase + II20K_AO_STRB_REG(chan)); in ii20k_ao_insn_write()
192 writeb(II20K_AI_CONF_ENA, iobase + II20K_AI_CONF_REG); in ii20k_ai_setup()
195 writeb(0, iobase + II20K_AI_STATUS_CMD_REG); in ii20k_ai_setup()
199 writeb(val, iobase + II20K_AI_OPT_REG); in ii20k_ai_setup()
203 writeb(val, iobase + II20K_AI_SET_TIME_REG); in ii20k_ai_setup()
206 writeb(1, iobase + II20K_AI_LAST_CHAN_ADDR_REG); in ii20k_ai_setup()
213 writeb(val, iobase + II20K_AI_CHANLIST_REG); in ii20k_ai_setup()
216 writeb(0, iobase + II20K_AI_COUNT_RESET_REG); in ii20k_ai_setup()
[all …]
/drivers/scsi/
Dmac53c94.c115 writeb(CMD_SCSI_RESET, &regs->command); /* assert RST */ in DEF_SCSI_QCMD()
117 writeb(CMD_RESET, &regs->command); in DEF_SCSI_QCMD()
120 writeb(CMD_NOP, &regs->command); in DEF_SCSI_QCMD()
132 writeb(state->host->this_id | CF1_PAR_ENABLE, &regs->config1); in mac53c94_init()
133 writeb(TIMO_VAL(250), &regs->sel_timeout); /* 250ms */ in mac53c94_init()
134 writeb(CLKF_VAL(state->clk_freq), &regs->clk_factor); in mac53c94_init()
135 writeb(CF2_FEATURE_EN, &regs->config2); in mac53c94_init()
136 writeb(0, &regs->config3); in mac53c94_init()
137 writeb(0, &regs->sync_period); in mac53c94_init()
138 writeb(0, &regs->sync_offset); in mac53c94_init()
[all …]
Dzorro_esp.c174 writeb(val, esp->regs + (reg * 4UL)); in zorro_esp_write8()
253 writeb(0, &dregs->clear_strobe); in fastlane_esp_dma_invalidate()
295 writeb((addr >> 24) & 0xff, &dregs->dma_latch); in zorro_esp_send_blz1230_dma_cmd()
296 writeb((addr >> 24) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
297 writeb((addr >> 16) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
298 writeb((addr >> 8) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
299 writeb(addr & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
341 writeb((addr >> 24) & 0xff, &dregs->dma_latch); in zorro_esp_send_blz1230II_dma_cmd()
342 writeb((addr >> 16) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230II_dma_cmd()
343 writeb((addr >> 8) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230II_dma_cmd()
[all …]
/drivers/tty/serial/
Dmcf.c91 writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP1); in mcf_set_mctrl()
93 writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP0); in mcf_set_mctrl()
104 writeb(MCFUART_UCR_TXENABLE, port->membase + MCFUART_UCR); in mcf_start_tx()
106 writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP1); in mcf_start_tx()
109 writeb(pp->imr, port->membase + MCFUART_UIMR); in mcf_start_tx()
119 writeb(pp->imr, port->membase + MCFUART_UIMR); in mcf_stop_tx()
129 writeb(pp->imr, port->membase + MCFUART_UIMR); in mcf_stop_rx()
140 writeb(MCFUART_UCR_CMDBREAKSTART, port->membase + MCFUART_UCR); in mcf_break_ctl()
142 writeb(MCFUART_UCR_CMDBREAKSTOP, port->membase + MCFUART_UCR); in mcf_break_ctl()
156 writeb(MCFUART_UCR_CMDRESETRX, port->membase + MCFUART_UCR); in mcf_startup()
[all …]
Dsunsab.c135 writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); in receive_chars()
149 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars()
239 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
256 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
261 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
267 writeb(xmit->buf[xmit->tail], in transmit_chars()
277 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars()
411 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_stop_tx()
421 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_tx_idle()
422 writeb(up->cached_pvr, &up->regs->rw.pvr); in sunsab_tx_idle()
[all …]
/drivers/rtc/
Drtc-stk17ta8.c79 writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
81 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in stk17ta8_rtc_set_time()
82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in stk17ta8_rtc_set_time()
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in stk17ta8_rtc_set_time()
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in stk17ta8_rtc_set_time()
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in stk17ta8_rtc_set_time()
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in stk17ta8_rtc_set_time()
87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in stk17ta8_rtc_set_time()
88 writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); in stk17ta8_rtc_set_time()
90 writeb(flags & ~RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
[all …]
Drtc-ds1553.c79 writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); in ds1553_rtc_set_time()
81 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in ds1553_rtc_set_time()
82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1553_rtc_set_time()
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1553_rtc_set_time()
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1553_rtc_set_time()
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1553_rtc_set_time()
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1553_rtc_set_time()
87 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1553_rtc_set_time()
90 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time()
91 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_set_time()
[all …]
Drtc-ds1742.c64 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time()
66 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in ds1742_rtc_set_time()
67 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1742_rtc_set_time()
68 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
69 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time()
70 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1742_rtc_set_time()
71 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1742_rtc_set_time()
72 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time()
75 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()
76 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time()
[all …]
Drtc-m48t35.c68 writeb(control | M48T35_RTC_READ, &priv->reg->control); in m48t35_read_time()
75 writeb(control, &priv->reg->control); in m48t35_read_time()
133 writeb(control | M48T35_RTC_SET, &priv->reg->control); in m48t35_set_time()
134 writeb(yrs, &priv->reg->year); in m48t35_set_time()
135 writeb(mon, &priv->reg->month); in m48t35_set_time()
136 writeb(day, &priv->reg->date); in m48t35_set_time()
137 writeb(hrs, &priv->reg->hour); in m48t35_set_time()
138 writeb(min, &priv->reg->min); in m48t35_set_time()
139 writeb(sec, &priv->reg->sec); in m48t35_set_time()
140 writeb(control, &priv->reg->control); in m48t35_set_time()
Drtc-sh.c117 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_interrupt()
133 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_alarm()
148 writeb(tmp, rtc->regbase + RCR2); in __sh_rtc_periodic()
229 writeb(tmp, rtc->regbase + RCR1); in sh_rtc_setaie()
263 writeb(tmp, rtc->regbase + RCR1); in sh_rtc_setcie()
290 writeb(tmp, rtc->regbase + RCR1); in sh_rtc_read_time()
348 writeb(tmp, rtc->regbase + RCR2); in sh_rtc_set_time()
350 writeb(bin2bcd(tm->tm_sec), rtc->regbase + RSECCNT); in sh_rtc_set_time()
351 writeb(bin2bcd(tm->tm_min), rtc->regbase + RMINCNT); in sh_rtc_set_time()
352 writeb(bin2bcd(tm->tm_hour), rtc->regbase + RHRCNT); in sh_rtc_set_time()
[all …]
/drivers/net/ethernet/8390/
Detherh.c52 #define ei_outb(_v,_p) writeb(_v,(void __iomem *)_p)
54 #define ei_outb_p(_v,_p) writeb(_v,(void __iomem *)_p)
123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
180 writeb((readb(addr) & 0xf8) | 1, addr); in etherh_setif()
183 writeb((readb(addr) & 0xf8), addr); in etherh_setif()
282 writeb(E8390_NODMA+E8390_PAGE0+E8390_STOP, addr); in etherh_reset()
330 writeb (E8390_NODMA | E8390_PAGE0 | E8390_START, addr + E8390_CMD); in etherh_block_output()
332 writeb (0x42, addr + EN0_RCNTLO); in etherh_block_output()
333 writeb (0x00, addr + EN0_RCNTHI); in etherh_block_output()
[all …]
/drivers/sbus/char/
Dbbc_i2c.c158 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_writeb()
160 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
161 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
165 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
170 writeb(val, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
177 writeb(I2C_PCF_STOP, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
188 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_readb()
190 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
191 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
195 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
[all …]
/drivers/tty/serial/8250/
D8250_exar.c280 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup()
281 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup()
282 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup()
283 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup()
292 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
293 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
294 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
298 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
299 writeb(0xc0, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
300 writeb(0xc0, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
[all …]
/drivers/scsi/arm/
Dcumana_1.c53 writeb(0x02, base + CTRL); in cumanascsi_pwrite()
78 writeb(0x12, base + CTRL); in cumanascsi_pwrite()
88 writeb(*addr++, dma); in cumanascsi_pwrite()
98 writeb(*addr++, dma); in cumanascsi_pwrite()
104 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pwrite()
120 writeb(0x00, base + CTRL); in cumanascsi_pread()
144 writeb(0x10, base + CTRL); in cumanascsi_pread()
170 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pread()
189 writeb(0, base + CTRL); in cumanascsi_read()
194 writeb(0x40, base + CTRL); in cumanascsi_read()
[all …]
/drivers/char/
Dapplicom.c240 writeb(0x40, apbs[boardno - 1].RamIO + RAM_IT_FROM_PC); in applicom_init()
459 writeb(1, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
470 writeb(*(from++), to++); in ac_write()
473 writeb(0x20, apbs[IndexCard].RamIO + TIC_OWNER_FROM_PC); in ac_write()
474 writeb(0xff, apbs[IndexCard].RamIO + NUMCARD_OWNER_FROM_PC); in ac_write()
475 writeb(TicCard, apbs[IndexCard].RamIO + TIC_DES_FROM_PC); in ac_write()
476 writeb(NumCard, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); in ac_write()
477 writeb(2, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
478 writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); in ac_write()
503 writeb(1, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); in do_ac_read()
[all …]
/drivers/mmc/host/
Dwmt-sdmmc.c220 writeb(reg_tmp, priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
251 writeb(reg_tmp | CTLR_CMD_START, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command()
263 writeb(command, priv->sdmmc_base + SDMMC_CMD); in wmt_mci_send_command()
265 writeb(rsptype, priv->sdmmc_base + SDMMC_RSPTYPE); in wmt_mci_send_command()
269 writeb(reg_tmp | CTLR_FIFO_RESET, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command()
275 writeb(0xFF, priv->sdmmc_base + SDMMC_STS0); in wmt_mci_send_command()
276 writeb(0xFF, priv->sdmmc_base + SDMMC_STS1); in wmt_mci_send_command()
277 writeb(0xFF, priv->sdmmc_base + SDMMC_STS2); in wmt_mci_send_command()
278 writeb(0xFF, priv->sdmmc_base + SDMMC_STS3); in wmt_mci_send_command()
282 writeb((reg_tmp & 0x0F) | (cmdtype << 4), in wmt_mci_send_command()
[all …]
/drivers/i2c/busses/
Di2c-riic.c116 writeb((readb(riic->base + reg) & ~clear) | set, riic->base + reg); in riic_clear_set_bit()
136 writeb(0, riic->base + RIIC_ICSR2); in riic_xfer()
144 writeb(ICIER_NAKIE | ICIER_TIE, riic->base + RIIC_ICIER); in riic_xfer()
146 writeb(start_bit, riic->base + RIIC_ICCR2); in riic_xfer()
200 writeb(val, riic->base + RIIC_ICDRT); in riic_tdre_isr()
220 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_tend_isr()
247 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_rdrf_isr()
269 writeb(0, riic->base + RIIC_ICSR2); in riic_stop_isr()
271 writeb(0, riic->base + RIIC_ICIER); in riic_stop_isr()
374 writeb(ICCR1_IICRST | ICCR1_SOWP, riic->base + RIIC_ICCR1); in riic_init_hw()
[all …]
/drivers/gpio/
Dgpio-pl061.c82 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_input()
96 writeb(!!value << offset, pl061->base + (BIT(offset + 2))); in pl061_direction_output()
99 writeb(gpiodir, pl061->base + GPIODIR); in pl061_direction_output()
105 writeb(!!value << offset, pl061->base + (BIT(offset + 2))); in pl061_direction_output()
122 writeb(!!value << offset, pl061->base + (BIT(offset + 2))); in pl061_set_value()
204 writeb(gpiois, pl061->base + GPIOIS); in pl061_irq_type()
205 writeb(gpioibe, pl061->base + GPIOIBE); in pl061_irq_type()
206 writeb(gpioiev, pl061->base + GPIOIEV); in pl061_irq_type()
242 writeb(gpioie, pl061->base + GPIOIE); in pl061_irq_mask()
255 writeb(gpioie, pl061->base + GPIOIE); in pl061_irq_unmask()
[all …]
/drivers/net/can/rcar/
Drcar_can.c253 writeb(~RCAR_CAN_ECSR_ADEF, &priv->regs->ecsr); in rcar_can_error()
260 writeb(~RCAR_CAN_ECSR_BE0F, &priv->regs->ecsr); in rcar_can_error()
267 writeb(~RCAR_CAN_ECSR_BE1F, &priv->regs->ecsr); in rcar_can_error()
274 writeb(~RCAR_CAN_ECSR_CEF, &priv->regs->ecsr); in rcar_can_error()
281 writeb(~RCAR_CAN_ECSR_AEF, &priv->regs->ecsr); in rcar_can_error()
290 writeb(~RCAR_CAN_ECSR_FEF, &priv->regs->ecsr); in rcar_can_error()
297 writeb(~RCAR_CAN_ECSR_SEF, &priv->regs->ecsr); in rcar_can_error()
305 writeb(~RCAR_CAN_EIFR_BEIF, &priv->regs->eifr); in rcar_can_error()
312 writeb(~RCAR_CAN_EIFR_EWIF, &priv->regs->eifr); in rcar_can_error()
322 writeb(~RCAR_CAN_EIFR_EPIF, &priv->regs->eifr); in rcar_can_error()
[all …]
/drivers/net/wireless/
Dray_cs.c510 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in ray_init()
554 writeb(CCS_DOWNLOAD_STARTUP_PARAMS, &pccs->cmd); in dl_startup_params()
562 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in dl_startup_params()
694 writeb(CCS_START_NETWORK, &pccs->cmd); in start_net()
695 writeb(0, &pccs->var.start_network.update_param); in start_net()
699 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in start_net()
723 writeb(CCS_JOIN_NETWORK, &pccs->cmd); in join_net()
724 writeb(0, &pccs->var.join_network.update_param); in join_net()
725 writeb(0, &pccs->var.join_network.net_initiated); in join_net()
729 writeb(CCS_BUFFER_FREE, &(pccs++)->buffer_status); in join_net()
[all …]

12345678910>>...15