Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.4/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 …]
/Linux-v5.4/drivers/media/platform/s5p-cec/
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 …]
/Linux-v5.4/arch/mips/sni/
Drm200.c167 writeb(cached_slave_mask, rm200_pic_slave + PIC_IMR); in sni_rm200_disable_8259A_irq()
169 writeb(cached_master_mask, rm200_pic_master + PIC_IMR); in sni_rm200_disable_8259A_irq()
182 writeb(cached_slave_mask, rm200_pic_slave + PIC_IMR); in sni_rm200_enable_8259A_irq()
184 writeb(cached_master_mask, rm200_pic_master + PIC_IMR); in sni_rm200_enable_8259A_irq()
194 writeb(0x0B, rm200_pic_master + PIC_CMD); in sni_rm200_i8259A_irq_real()
196 writeb(0x0A, rm200_pic_master + PIC_CMD); in sni_rm200_i8259A_irq_real()
199 writeb(0x0B, rm200_pic_slave + PIC_CMD); /* ISR register */ in sni_rm200_i8259A_irq_real()
201 writeb(0x0A, rm200_pic_slave + PIC_CMD); in sni_rm200_i8259A_irq_real()
240 writeb(cached_slave_mask, rm200_pic_slave + PIC_IMR); in sni_rm200_mask_and_ack_8259A()
241 writeb(0x60+(irq & 7), rm200_pic_slave + PIC_CMD); in sni_rm200_mask_and_ack_8259A()
[all …]
/Linux-v5.4/drivers/staging/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 …]
/Linux-v5.4/drivers/tty/serial/8250/
D8250_exar.c242 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup()
243 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup()
244 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup()
245 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup()
254 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
255 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
256 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
260 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
261 writeb(0xc0, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
262 writeb(0xc0, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
[all …]
/Linux-v5.4/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()
246 writeb(0, &dregs->clear_strobe); in fastlane_esp_dma_invalidate()
288 writeb((addr >> 24) & 0xff, &dregs->dma_latch); in zorro_esp_send_blz1230_dma_cmd()
289 writeb((addr >> 24) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
290 writeb((addr >> 16) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
291 writeb((addr >> 8) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
292 writeb(addr & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230_dma_cmd()
334 writeb((addr >> 24) & 0xff, &dregs->dma_latch); in zorro_esp_send_blz1230II_dma_cmd()
335 writeb((addr >> 16) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230II_dma_cmd()
336 writeb((addr >> 8) & 0xff, &dregs->dma_addr); in zorro_esp_send_blz1230II_dma_cmd()
[all …]
/Linux-v5.4/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.c139 writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); in receive_chars()
153 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars()
243 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
260 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
265 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
271 writeb(xmit->buf[xmit->tail], in transmit_chars()
281 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars()
415 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_stop_tx()
425 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_tx_idle()
426 writeb(up->cached_pvr, &up->regs->rw.pvr); in sunsab_tx_idle()
[all …]
/Linux-v5.4/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-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-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-m48t35.c57 writeb(control | M48T35_RTC_READ, &priv->reg->control); in m48t35_read_time()
64 writeb(control, &priv->reg->control); in m48t35_read_time()
122 writeb(control | M48T35_RTC_SET, &priv->reg->control); in m48t35_set_time()
123 writeb(yrs, &priv->reg->year); in m48t35_set_time()
124 writeb(mon, &priv->reg->month); in m48t35_set_time()
125 writeb(day, &priv->reg->date); in m48t35_set_time()
126 writeb(hrs, &priv->reg->hour); in m48t35_set_time()
127 writeb(min, &priv->reg->min); in m48t35_set_time()
128 writeb(sec, &priv->reg->sec); in m48t35_set_time()
129 writeb(control, &priv->reg->control); in m48t35_set_time()
/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/arch/m68k/coldfire/
Dm528x.c92 writeb(port, MCFGPIO_PUAPAR); in m528x_uarts_init()
104 writeb(0xc0, MCFGPIO_PEHLPAR); in m528x_fec_init()
112 writeb(0, 0x30000007); in wildfire_halt()
113 writeb(0x2, 0x30000007); in wildfire_halt()
126 writeb(readb(MCFGPIO_PDDR_E) | (1 << 5), MCFGPIO_PDDR_E); in wildfiremod_halt()
129 writeb(readb(MCFGPIO_PODR_E) & ~(1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt()
130 writeb(readb(MCFGPIO_PODR_E) | (1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt()
/Linux-v5.4/arch/mips/txx9/rbtx4938/
Dsetup.c33 writeb(1, rbtx4938_softresetlock_addr); in rbtx4938_machine_restart()
34 writeb(1, rbtx4938_sfvol_addr); in rbtx4938_machine_restart()
35 writeb(1, rbtx4938_softreset_addr); in rbtx4938_machine_restart()
54 writeb(0, rbtx4938_pcireset_addr); in rbtx4938_pci_setup()
63 writeb(1, rbtx4938_pcireset_addr); in rbtx4938_pci_setup()
72 writeb(0, rbtx4938_pcireset_addr); in rbtx4938_pci_setup()
79 writeb(1, rbtx4938_pcireset_addr); in rbtx4938_pci_setup()
202 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()
[all …]
/Linux-v5.4/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 …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-riic.c109 writeb((readb(riic->base + reg) & ~clear) | set, riic->base + reg); in riic_clear_set_bit()
129 writeb(0, riic->base + RIIC_ICSR2); in riic_xfer()
137 writeb(ICIER_NAKIE | ICIER_TIE, riic->base + RIIC_ICIER); in riic_xfer()
139 writeb(start_bit, riic->base + RIIC_ICCR2); in riic_xfer()
193 writeb(val, riic->base + RIIC_ICDRT); in riic_tdre_isr()
213 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_tend_isr()
240 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_rdrf_isr()
262 writeb(0, riic->base + RIIC_ICSR2); in riic_stop_isr()
264 writeb(0, riic->base + RIIC_ICIER); in riic_stop_isr()
367 writeb(ICCR1_IICRST | ICCR1_SOWP, riic->base + RIIC_ICCR1); in riic_init_hw()
[all …]
/Linux-v5.4/arch/mips/txx9/rbtx4927/
Dsetup.c75 writeb(1, rbtx4927_pcireset_addr); in tx4927_pci_setup()
84 writeb(0, rbtx4927_pcireset_addr); in tx4927_pci_setup()
93 writeb(1, rbtx4927_pcireset_addr); in tx4927_pci_setup()
100 writeb(0, rbtx4927_pcireset_addr); in tx4927_pci_setup()
122 writeb(1, rbtx4927_pcireset_addr); in tx4937_pci_setup()
131 writeb(0, rbtx4927_pcireset_addr); in tx4937_pci_setup()
140 writeb(1, rbtx4927_pcireset_addr); in tx4937_pci_setup()
147 writeb(0, rbtx4927_pcireset_addr); in tx4937_pci_setup()
190 writeb(1, rbtx4927_softresetlock_addr); in toshiba_rbtx4927_restart()
197 writeb(1, rbtx4927_softreset_addr); in toshiba_rbtx4927_restart()
/Linux-v5.4/drivers/mtd/spi-nor/
Dmtk-quadspi.c119 writeb(nor->read_opcode, mtk_nor->base + in mtk_nor_set_read_mode()
121 writeb(MTK_NOR_FAST_READ, mtk_nor->base + in mtk_nor_set_read_mode()
125 writeb(nor->read_opcode, mtk_nor->base + in mtk_nor_set_read_mode()
127 writeb(MTK_NOR_DUAL_READ_EN, mtk_nor->base + in mtk_nor_set_read_mode()
131 writeb(nor->read_opcode, mtk_nor->base + in mtk_nor_set_read_mode()
133 writeb(MTK_NOR_QUAD_READ_EN, mtk_nor->base + in mtk_nor_set_read_mode()
137 writeb(MTK_NOR_DUAL_DISABLE, mtk_nor->base + in mtk_nor_set_read_mode()
148 writeb(cmdval, mtk_nor->base + MTK_NOR_CMD_REG); in mtk_nor_execute_cmd()
162 writeb(len * 8, mtk_nor->base + MTK_NOR_CNT_REG); in mtk_nor_do_tx_rx()
168 writeb(op, mtk_nor->base + MTK_NOR_PRG_REG(idx)); in mtk_nor_do_tx_rx()
[all …]
/Linux-v5.4/drivers/char/
Dapplicom.c241 writeb(0x40, apbs[boardno - 1].RamIO + RAM_IT_FROM_PC); in applicom_init()
460 writeb(1, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
471 writeb(*(from++), to++); in ac_write()
474 writeb(0x20, apbs[IndexCard].RamIO + TIC_OWNER_FROM_PC); in ac_write()
475 writeb(0xff, apbs[IndexCard].RamIO + NUMCARD_OWNER_FROM_PC); in ac_write()
476 writeb(TicCard, apbs[IndexCard].RamIO + TIC_DES_FROM_PC); in ac_write()
477 writeb(NumCard, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); in ac_write()
478 writeb(2, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
479 writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); in ac_write()
504 writeb(1, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); in do_ac_read()
[all …]

12345678910>>...20