Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_exar.c269 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup()
270 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup()
271 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup()
272 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup()
281 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
282 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
283 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
287 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
288 writeb(0xc0, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
289 writeb(0xc0, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]

12345678910>>...20