Home
last modified time | relevance | path

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

12345678910>>...16

/linux/drivers/media/cec/platform/s5p/
H A 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/arch/mips/sni/
H A 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/drivers/comedi/drivers/
H A Dni_pcidio.c309 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 …]
H A Dni_6527.c89 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 …]
H A 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/drivers/tty/serial/
H A 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 …]
H A Dsunsab.c136 writeb(SAB82532_CMDR_RFRD, &up->regs->w.cmdr); in receive_chars()
150 writeb(SAB82532_CMDR_RMC, &up->regs->w.cmdr); in receive_chars()
240 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
257 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
262 writeb(up->interrupt_mask1, &up->regs->w.imr1); in transmit_chars()
273 writeb(ch, &up->regs->w.xfifo[i]); in transmit_chars()
278 writeb(SAB82532_CMDR_XF, &up->regs->w.cmdr); in transmit_chars()
412 writeb(up->interrupt_mask1, &up->regs->w.imr1); in sunsab_stop_tx()
422 writeb(up->cached_mode, &up->regs->rw.mode); in sunsab_tx_idle()
423 writeb(up->cached_pvr, &up->regs->rw.pvr); in sunsab_tx_idle()
[all …]
/linux/drivers/scsi/
H A Dmac53c94.c113 writeb(CMD_SCSI_RESET, &regs->command); /* assert RST */ in DEF_SCSI_QCMD()
115 writeb(CMD_RESET, &regs->command); in DEF_SCSI_QCMD()
118 writeb(CMD_NOP, &regs->command); in DEF_SCSI_QCMD()
129 writeb(state->host->this_id | CF1_PAR_ENABLE, &regs->config1); in mac53c94_init()
130 writeb(TIMO_VAL(250), &regs->sel_timeout); /* 250ms */ in mac53c94_init()
131 writeb(CLKF_VAL(state->clk_freq), &regs->clk_factor); in mac53c94_init()
132 writeb(CF2_FEATURE_EN, &regs->config2); in mac53c94_init()
133 writeb(0, &regs->config3); in mac53c94_init()
134 writeb(0, &regs->sync_period); in mac53c94_init()
135 writeb(0, &regs->sync_offset); in mac53c94_init()
[all …]
H A 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 …]
/linux/drivers/rtc/
H A 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 …]
H A 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 …]
H A Drtc-ds1742.c63 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time()
65 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in ds1742_rtc_set_time()
66 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1742_rtc_set_time()
67 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
68 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time()
69 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1742_rtc_set_time()
70 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1742_rtc_set_time()
71 writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); in ds1742_rtc_set_time()
74 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time()
75 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time()
[all …]
H A 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()
H A Drtc-renesas-rtca3.c143 writeb(tmp, priv->base + off); in rtca3_byte_update_bits()
152 writeb(val & ~pending, priv->base + RTCA3_RSR); in rtca3_alarm_handler_helper()
183 writeb(val & ~pending, priv->base + RTCA3_RSR); in rtca3_periodic_handler()
294 writeb(rcr2 & ~RTCA3_RCR2_START, priv->base + RTCA3_RCR2); in rtca3_set_time()
302 writeb(bin2bcd(tm->tm_sec), priv->base + RTCA3_RSECCNT); in rtca3_set_time()
303 writeb(bin2bcd(tm->tm_min), priv->base + RTCA3_RMINCNT); in rtca3_set_time()
304 writeb(bin2bcd(tm->tm_hour), priv->base + RTCA3_RHRCNT); in rtca3_set_time()
305 writeb(bin2bcd(tm->tm_wday), priv->base + RTCA3_RWKCNT); in rtca3_set_time()
306 writeb(bin2bcd(tm->tm_mday), priv->base + RTCA3_RDAYCNT); in rtca3_set_time()
307 writeb(bin2bcd(tm->tm_mon + 1), priv->base + RTCA3_RMONCNT); in rtca3_set_time()
[all …]
H A 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 …]
/linux/drivers/sbus/char/
H A Dbbc_i2c.c159 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_writeb()
161 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
162 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
166 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
171 writeb(val, bp->i2c_control_regs + 0x1); in bbc_i2c_writeb()
178 writeb(I2C_PCF_STOP, bp->i2c_control_regs + 0x0); in bbc_i2c_writeb()
189 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_readb()
191 writeb(address, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
192 writeb(I2C_PCF_START, bp->i2c_control_regs + 0x0); in bbc_i2c_readb()
196 writeb(off, bp->i2c_control_regs + 0x1); in bbc_i2c_readb()
[all …]
/linux/drivers/net/ethernet/8390/
H A 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/drivers/tty/serial/8250/
H A D8250_exar.c263 writeb(value, priv->virt + reg); in exar_write_reg()
408 writeb(value, p + UART_EXAR_FCTR); in generic_rs485_config()
411 writeb(UART_EXAR_RS485_DLY(4), p + UART_MSR); in generic_rs485_config()
552 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup()
553 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup()
554 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup()
555 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup()
567 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
568 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
569 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
[all …]
/linux/arch/m68k/coldfire/
H A Dm528x.c82 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/drivers/scsi/arm/
H A 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/drivers/i2c/busses/
H A Di2c-mchp-pci1xxxx.c382 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 …]
H A Di2c-synquacer.c183 writeb(0, i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_stop()
203 writeb(0, i2c->base + SYNQUACER_I2C_REG_ADR); in synquacer_i2c_hw_init()
206 writeb(SYNQUACER_I2C_BUS_CLK_FR(i2c->pclkrate), in synquacer_i2c_hw_init()
220 writeb(ccr_cs | SYNQUACER_I2C_CCR_FM | in synquacer_i2c_hw_init()
223 writeb(csr_cs, i2c->base + SYNQUACER_I2C_REG_CSR); in synquacer_i2c_hw_init()
235 writeb(ccr_cs | SYNQUACER_I2C_CCR_EN, in synquacer_i2c_hw_init()
237 writeb(csr_cs, i2c->base + SYNQUACER_I2C_REG_CSR); in synquacer_i2c_hw_init()
244 writeb(0, i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_hw_init()
245 writeb(0, i2c->base + SYNQUACER_I2C_REG_BC2R); in synquacer_i2c_hw_init()
251 writeb(0, i2c->base + SYNQUACER_I2C_REG_CCR); in synquacer_i2c_hw_reset()
[all …]
/linux/drivers/char/
H A Dapplicom.c239 writeb(0x40, apbs[boardno - 1].RamIO + RAM_IT_FROM_PC); in applicom_init()
458 writeb(1, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
469 writeb(*(from++), to++); in ac_write()
472 writeb(0x20, apbs[IndexCard].RamIO + TIC_OWNER_FROM_PC); in ac_write()
473 writeb(0xff, apbs[IndexCard].RamIO + NUMCARD_OWNER_FROM_PC); in ac_write()
474 writeb(TicCard, apbs[IndexCard].RamIO + TIC_DES_FROM_PC); in ac_write()
475 writeb(NumCard, apbs[IndexCard].RamIO + NUMCARD_DES_FROM_PC); in ac_write()
476 writeb(2, apbs[IndexCard].RamIO + DATA_FROM_PC_READY); in ac_write()
477 writeb(1, apbs[IndexCard].RamIO + RAM_IT_FROM_PC); in ac_write()
502 writeb(1, apbs[IndexCard].RamIO + ACK_FROM_PC_READY); in do_ac_read()
[all …]
/linux/arch/mips/txx9/rbtx4927/
H A 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/drivers/net/can/rcar/
H A Drcar_can.c251 writeb(~RCAR_CAN_ECSR_ADEF, &priv->regs->ecsr); in rcar_can_error()
258 writeb(~RCAR_CAN_ECSR_BE0F, &priv->regs->ecsr); in rcar_can_error()
265 writeb(~RCAR_CAN_ECSR_BE1F, &priv->regs->ecsr); in rcar_can_error()
272 writeb(~RCAR_CAN_ECSR_CEF, &priv->regs->ecsr); in rcar_can_error()
279 writeb(~RCAR_CAN_ECSR_AEF, &priv->regs->ecsr); in rcar_can_error()
288 writeb(~RCAR_CAN_ECSR_FEF, &priv->regs->ecsr); in rcar_can_error()
295 writeb(~RCAR_CAN_ECSR_SEF, &priv->regs->ecsr); in rcar_can_error()
303 writeb(~RCAR_CAN_EIFR_BEIF, &priv->regs->eifr); in rcar_can_error()
310 writeb(~RCAR_CAN_EIFR_EWIF, &priv->regs->eifr); in rcar_can_error()
320 writeb(~RCAR_CAN_EIFR_EPIF, &priv->regs->eifr); in rcar_can_error()
[all …]

12345678910>>...16