/linux-6.1.9/drivers/tty/serial/jsm/ |
D | jsm_cls.c | 62 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 …]
|
D | jsm_neo.c | 51 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-6.1.9/drivers/media/cec/platform/s5p/ |
D | exynos_hdmi_cecctrl.c | 44 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-6.1.9/arch/mips/sni/ |
D | rm200.c | 167 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-6.1.9/drivers/comedi/drivers/ |
D | ni_pcidio.c | 309 writeb(primary_DMAChannel_bits(devpriv->di_mite_chan->channel) | in ni_pcidio_request_di_mite_channel() 325 writeb(primary_DMAChannel_bits(0) | in ni_pcidio_release_di_mite_channel() 407 writeb(0x00, in nidio_interrupt() 420 writeb(0x00, dev->mmio + in nidio_interrupt() 432 writeb(CLEAR_EXPIRED, dev->mmio + GROUP_1_SECOND_CLEAR); in nidio_interrupt() 435 writeb(0x00, dev->mmio + OP_MODE); in nidio_interrupt() 438 writeb(CLEAR_WAITED, dev->mmio + GROUP_1_FIRST_CLEAR); in nidio_interrupt() 442 writeb(CLEAR_PRIMARY_TC, in nidio_interrupt() 446 writeb(CLEAR_SECONDARY_TC, in nidio_interrupt() 459 writeb(0x03, dev->mmio + MASTER_DMA_AND_INTERRUPT_CONTROL); in nidio_interrupt() [all …]
|
D | ni_6527.c | 89 writeb(val & 0xff, dev->mmio + NI6527_FILT_INTERVAL_REG(0)); in ni6527_set_filter_interval() 90 writeb((val >> 8) & 0xff, in ni6527_set_filter_interval() 92 writeb((val >> 16) & 0x0f, in ni6527_set_filter_interval() 95 writeb(NI6527_CLR_INTERVAL, dev->mmio + NI6527_CLR_REG); in ni6527_set_filter_interval() 104 writeb(val & 0xff, dev->mmio + NI6527_FILT_ENA_REG(0)); in ni6527_set_filter_enable() 105 writeb((val >> 8) & 0xff, dev->mmio + NI6527_FILT_ENA_REG(1)); in ni6527_set_filter_enable() 106 writeb((val >> 16) & 0xff, dev->mmio + NI6527_FILT_ENA_REG(2)); in ni6527_set_filter_enable() 172 writeb(val & 0xff, dev->mmio + NI6527_DO_REG(0)); in ni6527_do_insn_bits() 174 writeb((val >> 8) & 0xff, in ni6527_do_insn_bits() 177 writeb((val >> 16) & 0xff, in ni6527_do_insn_bits() [all …]
|
D | ii_pci20kc.c | 160 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-6.1.9/drivers/scsi/ |
D | mac53c94.c | 113 writeb(CMD_SCSI_RESET, ®s->command); /* assert RST */ in DEF_SCSI_QCMD() 115 writeb(CMD_RESET, ®s->command); in DEF_SCSI_QCMD() 118 writeb(CMD_NOP, ®s->command); in DEF_SCSI_QCMD() 129 writeb(state->host->this_id | CF1_PAR_ENABLE, ®s->config1); in mac53c94_init() 130 writeb(TIMO_VAL(250), ®s->sel_timeout); /* 250ms */ in mac53c94_init() 131 writeb(CLKF_VAL(state->clk_freq), ®s->clk_factor); in mac53c94_init() 132 writeb(CF2_FEATURE_EN, ®s->config2); in mac53c94_init() 133 writeb(0, ®s->config3); in mac53c94_init() 134 writeb(0, ®s->sync_period); in mac53c94_init() 135 writeb(0, ®s->sync_offset); in mac53c94_init() [all …]
|
D | zorro_esp.c | 174 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 …]
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-stk17ta8.c | 79 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 …]
|
D | rtc-ds1553.c | 79 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 …]
|
D | rtc-ds1742.c | 64 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 …]
|
D | rtc-m48t35.c | 68 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()
|
/linux-6.1.9/drivers/tty/serial/ |
D | mcf.c | 91 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 …]
|
D | sunsab.c | 135 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 …]
|
/linux-6.1.9/drivers/sbus/char/ |
D | bbc_i2c.c | 158 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-6.1.9/drivers/net/ethernet/8390/ |
D | etherh.c | 52 #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-6.1.9/drivers/tty/serial/8250/ |
D | 8250_exar.c | 278 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup() 279 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup() 280 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup() 281 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup() 290 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup() 291 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup() 292 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup() 296 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup() 297 writeb(0xc0, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup() 298 writeb(0xc0, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup() [all …]
|
/linux-6.1.9/arch/m68k/coldfire/ |
D | m528x.c | 82 writeb(port, MCFGPIO_PUAPAR); in m528x_uarts_init() 94 writeb(0xc0, MCFGPIO_PEHLPAR); in m528x_fec_init() 102 writeb(0, 0x30000007); in wildfire_halt() 103 writeb(0x2, 0x30000007); in wildfire_halt() 116 writeb(readb(MCFGPIO_PDDR_E) | (1 << 5), MCFGPIO_PDDR_E); in wildfiremod_halt() 119 writeb(readb(MCFGPIO_PODR_E) & ~(1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt() 120 writeb(readb(MCFGPIO_PODR_E) | (1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt()
|
/linux-6.1.9/drivers/scsi/arm/ |
D | cumana_1.c | 53 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-6.1.9/arch/mips/txx9/rbtx4927/ |
D | setup.c | 75 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-6.1.9/drivers/i2c/busses/ |
D | i2c-mchp-pci1xxxx.c | 382 writeb(regval, p); in pci1xxxx_i2c_configure_smbalert_pin() 397 writeb(regval, p); in pci1xxxx_i2c_send_start_stop() 414 writeb(regval, i2c->i2c_base + SMB_CORE_CTRL_REG_OFF); in pci1xxxx_i2c_set_clear_FW_ACK() 423 writeb(slaveaddr, p++); in pci1xxxx_i2c_buffer_write() 436 writeb(SMB_CORE_CTRL_ESO, i2c->i2c_base + SMB_CORE_CTRL_REG_OFF); in pci1xxxx_i2c_enable_ESO() 446 writeb(regval, p); in pci1xxxx_i2c_reset_counters() 460 writeb(regval, p); in pci1xxxx_i2c_set_transfer_dir() 465 writeb(count, i2c->i2c_base + SMBUS_MCU_COUNTER_REG_OFF); in pci1xxxx_i2c_set_mcu_count() 470 writeb(readcount, i2c->i2c_base + SMB_CORE_CMD_REG_OFF3); in pci1xxxx_i2c_set_read_count() 475 writeb(writecount, i2c->i2c_base + SMB_CORE_CMD_REG_OFF2); in pci1xxxx_i2c_set_write_count() [all …]
|
D | i2c-riic.c | 111 writeb((readb(riic->base + reg) & ~clear) | set, riic->base + reg); in riic_clear_set_bit() 131 writeb(0, riic->base + RIIC_ICSR2); in riic_xfer() 139 writeb(ICIER_NAKIE | ICIER_TIE, riic->base + RIIC_ICIER); in riic_xfer() 141 writeb(start_bit, riic->base + RIIC_ICCR2); in riic_xfer() 195 writeb(val, riic->base + RIIC_ICDRT); in riic_tdre_isr() 215 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_tend_isr() 242 writeb(ICCR2_SP, riic->base + RIIC_ICCR2); in riic_rdrf_isr() 264 writeb(0, riic->base + RIIC_ICSR2); in riic_stop_isr() 266 writeb(0, riic->base + RIIC_ICIER); in riic_stop_isr() 369 writeb(ICCR1_IICRST | ICCR1_SOWP, riic->base + RIIC_ICCR1); in riic_init_hw() [all …]
|
/linux-6.1.9/drivers/char/ |
D | applicom.c | 237 writeb(0x40, apbs[boardno - 1].RamIO + RAM_IT_FROM_PC); in applicom_init() 456 writeb(1, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write() 467 writeb(*(from++), to++); in ac_write() 470 writeb(0x20, apbs[IndexCard].RamIO + TIC_OWNER_FROM_PC); in ac_write() 471 writeb(0xff, apbs[IndexCard].RamIO + NUMCARD_OWNER_FROM_PC); in ac_write() 472 writeb(TicCard, apbs[IndexCard].RamIO + TIC_DES_FROM_PC); in ac_write() 473 writeb(NumCard, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); in ac_write() 474 writeb(2, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write() 475 writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); in ac_write() 500 writeb(1, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); in do_ac_read() [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | wmt-sdmmc.c | 220 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 …]
|