Home
last modified time | relevance | path

Searched refs:iobase (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/linux-6.1.9/drivers/comedi/drivers/
Dni_atmio16d.c152 outw(0xFFC2, dev->iobase + AM9513A_COM_REG); in reset_counters()
153 outw(0xFF02, dev->iobase + AM9513A_COM_REG); in reset_counters()
154 outw(0x4, dev->iobase + AM9513A_DATA_REG); in reset_counters()
155 outw(0xFF0A, dev->iobase + AM9513A_COM_REG); in reset_counters()
156 outw(0x3, dev->iobase + AM9513A_DATA_REG); in reset_counters()
157 outw(0xFF42, dev->iobase + AM9513A_COM_REG); in reset_counters()
158 outw(0xFF42, dev->iobase + AM9513A_COM_REG); in reset_counters()
160 outw(0xFFC4, dev->iobase + AM9513A_COM_REG); in reset_counters()
161 outw(0xFF03, dev->iobase + AM9513A_COM_REG); in reset_counters()
162 outw(0x4, dev->iobase + AM9513A_DATA_REG); in reset_counters()
[all …]
Dadv_pci_dio.c246 unsigned short val = inw(dev->iobase + reg); in process_irq()
273 irqflags = inb(dev->iobase + PCI173X_INT_FLAG_REG); in pci_dio_interrupt()
280 outb(irqflags, dev->iobase + PCI173X_INT_CLR_REG); in pci_dio_interrupt()
356 outb(dev_private->int_rf, dev->iobase + PCI173X_INT_RF_REG); in pci_dio_asy_cmd()
358 outb(dev_private->int_ctrl, dev->iobase + PCI173X_INT_EN_REG); in pci_dio_asy_cmd()
385 outb(dev_private->int_ctrl, dev->iobase + PCI173X_INT_EN_REG); in pci_dio_asy_cancel()
399 unsigned long iobase = dev->iobase + reg; in pci_dio_insn_bits_dirq_b() local
401 data[1] = inb(iobase); in pci_dio_insn_bits_dirq_b()
412 unsigned long iobase = dev->iobase + reg; in pci_dio_insn_bits_di_b() local
414 data[1] = inb(iobase); in pci_dio_insn_bits_di_b()
[all …]
Daddi_apci_1564.c175 outl(0x0, dev->iobase + APCI1564_DI_IRQ_REG); in apci1564_reset()
176 inl(dev->iobase + APCI1564_DI_INT_STATUS_REG); in apci1564_reset()
177 outl(0x0, dev->iobase + APCI1564_DI_INT_MODE1_REG); in apci1564_reset()
178 outl(0x0, dev->iobase + APCI1564_DI_INT_MODE2_REG); in apci1564_reset()
181 outl(0x0, dev->iobase + APCI1564_DO_REG); in apci1564_reset()
182 outl(0x0, dev->iobase + APCI1564_DO_INT_CTRL_REG); in apci1564_reset()
185 addi_watchdog_reset(dev->iobase + APCI1564_WDOG_IOBASE); in apci1564_reset()
192 unsigned long iobase = devpriv->counters + ADDI_TCW_CTRL_REG; in apci1564_reset() local
195 outl(0x0, iobase + APCI1564_COUNTER(0)); in apci1564_reset()
196 outl(0x0, iobase + APCI1564_COUNTER(1)); in apci1564_reset()
[all …]
Dni_daq_700.c84 outb(s->state & 0xff, dev->iobase + DIO_W); in daq700_dio_insn_bits()
88 val |= inb(dev->iobase + DIO_R) << 8; in daq700_dio_insn_bits()
119 status = inb(dev->iobase + STA_R2); in daq700_ai_eoc()
122 status = inb(dev->iobase + STA_R1); in daq700_ai_eoc()
148 outb(r3_bits | (range & 0x03), dev->iobase + CMD_R3); in daq700_ai_rinsn()
152 outb(chan | 0x80, dev->iobase + CMD_R1); in daq700_ai_rinsn()
159 outb(0x00, dev->iobase + CMD_R2); /* enable ADC conversions */ in daq700_ai_rinsn()
160 outb(0x30, dev->iobase + CMO_R); /* mode 0 out0 L, from H */ in daq700_ai_rinsn()
161 outb(0x00, dev->iobase + ADCLEAR_R); /* clear the ADC FIFO */ in daq700_ai_rinsn()
163 inw(dev->iobase + ADFIFO_R); in daq700_ai_rinsn()
[all …]
Ddmm32at.c166 outb(DMM32AT_FIFO_CTRL_FIFORST, dev->iobase + DMM32AT_FIFO_CTRL_REG); in dmm32at_ai_set_chanspec()
170 dev->iobase + DMM32AT_FIFO_CTRL_REG); in dmm32at_ai_set_chanspec()
172 outb(chan, dev->iobase + DMM32AT_AI_LO_CHAN_REG); in dmm32at_ai_set_chanspec()
173 outb(last_chan, dev->iobase + DMM32AT_AI_HI_CHAN_REG); in dmm32at_ai_set_chanspec()
174 outb(dmm32at_rangebits[range], dev->iobase + DMM32AT_AI_CFG_REG); in dmm32at_ai_set_chanspec()
182 val = inb(dev->iobase + DMM32AT_AI_LSB_REG); in dmm32at_ai_get_sample()
183 val |= (inb(dev->iobase + DMM32AT_AI_MSB_REG) << 8); in dmm32at_ai_get_sample()
196 status = inb(dev->iobase + context); in dmm32at_ai_status()
219 outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG); in dmm32at_ai_insn_read()
343 outb(0, dev->iobase + DMM32AT_CTRDIO_CFG_REG); in dmm32at_setaitimer()
[all …]
Daddi_apci_3501.c100 status = inl(dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_wait_for_dac()
124 outl(0, dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
128 dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
147 dev->iobase + APCI3501_AO_DATA_REG); in apci3501_ao_insn_write()
160 data[1] = inl(dev->iobase + APCI3501_DI_REG) & 0x3; in apci3501_di_insn_bits()
170 s->state = inl(dev->iobase + APCI3501_DO_REG); in apci3501_do_insn_bits()
173 outl(s->state, dev->iobase + APCI3501_DO_REG); in apci3501_do_insn_bits()
180 static void apci3501_eeprom_wait(unsigned long iobase) in apci3501_eeprom_wait() argument
185 val = inb(iobase + AMCC_OP_REG_MCSR_NVCMD); in apci3501_eeprom_wait()
189 static unsigned short apci3501_eeprom_readw(unsigned long iobase, in apci3501_eeprom_readw() argument
[all …]
Dpcmmio.c188 unsigned long iobase = dev->iobase; in pcmmio_dio_write() local
194 outb(val & 0xff, iobase + PCMMIO_PORT_REG(port + 0)); in pcmmio_dio_write()
195 outb((val >> 8) & 0xff, iobase + PCMMIO_PORT_REG(port + 1)); in pcmmio_dio_write()
196 outb((val >> 16) & 0xff, iobase + PCMMIO_PORT_REG(port + 2)); in pcmmio_dio_write()
198 outb(PCMMIO_PAGE(page), iobase + PCMMIO_PAGE_LOCK_REG); in pcmmio_dio_write()
199 outb(val & 0xff, iobase + PCMMIO_PAGE_REG(0)); in pcmmio_dio_write()
200 outb((val >> 8) & 0xff, iobase + PCMMIO_PAGE_REG(1)); in pcmmio_dio_write()
201 outb((val >> 16) & 0xff, iobase + PCMMIO_PAGE_REG(2)); in pcmmio_dio_write()
210 unsigned long iobase = dev->iobase; in pcmmio_dio_read() local
217 val = inb(iobase + PCMMIO_PORT_REG(port + 0)); in pcmmio_dio_read()
[all …]
Ddt2817.c65 outb(oe, dev->iobase + DT2817_CR); in dt2817_dio_insn_config()
75 unsigned long iobase = dev->iobase + DT2817_DATA; in dt2817_dio_insn_bits() local
82 outb(s->state & 0xff, iobase + 0); in dt2817_dio_insn_bits()
84 outb((s->state >> 8) & 0xff, iobase + 1); in dt2817_dio_insn_bits()
86 outb((s->state >> 16) & 0xff, iobase + 2); in dt2817_dio_insn_bits()
88 outb((s->state >> 24) & 0xff, iobase + 3); in dt2817_dio_insn_bits()
91 val = inb(iobase + 0); in dt2817_dio_insn_bits()
92 val |= (inb(iobase + 1) << 8); in dt2817_dio_insn_bits()
93 val |= (inb(iobase + 2) << 16); in dt2817_dio_insn_bits()
94 val |= (inb(iobase + 3) << 24); in dt2817_dio_insn_bits()
[all …]
Daddi_watchdog.c18 unsigned long iobase; member
44 outl(reload, spriv->iobase + ADDI_TCW_RELOAD_REG); in addi_watchdog_insn_config()
57 outl(spriv->wdog_ctrl, spriv->iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_insn_config()
71 data[i] = inl(spriv->iobase + ADDI_TCW_STATUS_REG); in addi_watchdog_insn_read()
92 spriv->iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_insn_write()
98 void addi_watchdog_reset(unsigned long iobase) in addi_watchdog_reset() argument
100 outl(0x0, iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_reset()
101 outl(0x0, iobase + ADDI_TCW_RELOAD_REG); in addi_watchdog_reset()
105 int addi_watchdog_init(struct comedi_subdevice *s, unsigned long iobase) in addi_watchdog_init() argument
113 spriv->iobase = iobase; in addi_watchdog_init()
Dquatech_daqp_cs.c169 status = inb(dev->iobase + DAQP_STATUS_REG); in daqp_clear_events()
189 outb(DAQP_CMD_STOP, dev->iobase + DAQP_CMD_REG); in daqp_ai_cancel()
190 outb(0, dev->iobase + DAQP_CTRL_REG); in daqp_ai_cancel()
191 inb(dev->iobase + DAQP_STATUS_REG); in daqp_ai_cancel()
205 val = inb(dev->iobase + DAQP_AI_FIFO_REG); in daqp_ai_get_sample()
206 val |= inb(dev->iobase + DAQP_AI_FIFO_REG) << 8; in daqp_ai_get_sample()
221 status = inb(dev->iobase + DAQP_STATUS_REG); in daqp_interrupt()
246 status = inb(dev->iobase + DAQP_STATUS_REG); in daqp_interrupt()
277 outb(val & 0xff, dev->iobase + DAQP_SCANLIST_REG); in daqp_ai_set_one_scanlist_entry()
278 outb((val >> 8) & 0xff, dev->iobase + DAQP_SCANLIST_REG); in daqp_ai_set_one_scanlist_entry()
[all …]
Dmultiq3.c77 dev->iobase + MULTIQ3_CTRL_REG); in multiq3_set_ctrl()
87 status = inw(dev->iobase + MULTIQ3_STATUS_REG); in multiq3_ai_status()
111 outw(0, dev->iobase + MULTIQ3_AI_CONV_REG); in multiq3_ai_insn_read()
119 val = inb(dev->iobase + MULTIQ3_AI_REG) << 8; in multiq3_ai_insn_read()
120 val |= inb(dev->iobase + MULTIQ3_AI_REG); in multiq3_ai_insn_read()
143 outw(val, dev->iobase + MULTIQ3_AO_REG); in multiq3_ao_insn_write()
155 data[1] = inw(dev->iobase + MULTIQ3_DI_REG); in multiq3_di_insn_bits()
166 outw(s->state, dev->iobase + MULTIQ3_DO_REG); in multiq3_do_insn_bits()
188 outb(MULTIQ3_BP_RESET, dev->iobase + MULTIQ3_ENC_CTRL_REG); in multiq3_encoder_insn_read()
191 outb(MULTIQ3_TRSFRCNTR_OL, dev->iobase + MULTIQ3_ENC_CTRL_REG); in multiq3_encoder_insn_read()
[all …]
Dke_counter.c53 outb((val >> 24) & 0xff, dev->iobase + KE_SIGN_REG(chan)); in ke_counter_insn_write()
54 outb((val >> 16) & 0xff, dev->iobase + KE_MSB_REG(chan)); in ke_counter_insn_write()
55 outb((val >> 8) & 0xff, dev->iobase + KE_MID_REG(chan)); in ke_counter_insn_write()
56 outb((val >> 0) & 0xff, dev->iobase + KE_LSB_REG(chan)); in ke_counter_insn_write()
73 inb(dev->iobase + KE_LATCH_REG(chan)); in ke_counter_insn_read()
75 val = inb(dev->iobase + KE_LSB_REG(chan)); in ke_counter_insn_read()
76 val |= (inb(dev->iobase + KE_MID_REG(chan)) << 8); in ke_counter_insn_read()
77 val |= (inb(dev->iobase + KE_MSB_REG(chan)) << 16); in ke_counter_insn_read()
78 val |= (inb(dev->iobase + KE_SIGN_REG(chan)) << 24); in ke_counter_insn_read()
91 outb(0, dev->iobase + KE_RESET_REG(chan)); in ke_counter_reset()
[all …]
Ddas08.c161 status = inb(dev->iobase + DAS08_STATUS_REG); in das08_ai_eoc()
183 inb(dev->iobase + DAS08_AI_LSB_REG); in das08_ai_insn_read()
184 inb(dev->iobase + DAS08_AI_MSB_REG); in das08_ai_insn_read()
191 outb(devpriv->do_mux_bits, dev->iobase + DAS08_CONTROL_REG); in das08_ai_insn_read()
198 dev->iobase + DAS08_GAIN_REG); in das08_ai_insn_read()
204 if (inb(dev->iobase + DAS08_AI_MSB_REG) & 0x80) in das08_ai_insn_read()
208 outb_p(0, dev->iobase + DAS08_AI_TRIG_REG); in das08_ai_insn_read()
214 msb = inb(dev->iobase + DAS08_AI_MSB_REG); in das08_ai_insn_read()
215 lsb = inb(dev->iobase + DAS08_AI_LSB_REG); in das08_ai_insn_read()
255 data[1] = DAS08_STATUS_DI(inb(dev->iobase + DAS08_STATUS_REG)); in das08_di_insn_bits()
[all …]
/linux-6.1.9/drivers/rtc/
Drtc-asm9260.c108 void __iomem *iobase; member
120 isr = ioread32(priv->iobase + HW_CIIR); in asm9260_rtc_irq()
126 iowrite32(0, priv->iobase + HW_CIIR); in asm9260_rtc_irq()
141 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()
142 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()
143 ctime2 = ioread32(priv->iobase + HW_CTIME2); in asm9260_rtc_read_time()
145 if (ctime1 != ioread32(priv->iobase + HW_CTIME1)) { in asm9260_rtc_read_time()
150 ctime0 = ioread32(priv->iobase + HW_CTIME0); in asm9260_rtc_read_time()
151 ctime1 = ioread32(priv->iobase + HW_CTIME1); in asm9260_rtc_read_time()
152 ctime2 = ioread32(priv->iobase + HW_CTIME2); in asm9260_rtc_read_time()
[all …]
/linux-6.1.9/drivers/irqchip/
Dirq-sa11x0.c28 static void __iomem *iobase; variable
38 reg = readl_relaxed(iobase + ICMR); in sa1100_mask_irq()
40 writel_relaxed(reg, iobase + ICMR); in sa1100_mask_irq()
47 reg = readl_relaxed(iobase + ICMR); in sa1100_unmask_irq()
49 writel_relaxed(reg, iobase + ICMR); in sa1100_unmask_irq()
93 st->icmr = readl_relaxed(iobase + ICMR); in sa1100irq_suspend()
94 st->iclr = readl_relaxed(iobase + ICLR); in sa1100irq_suspend()
95 st->iccr = readl_relaxed(iobase + ICCR); in sa1100irq_suspend()
100 writel_relaxed(st->icmr & 0xfffff000, iobase + ICMR); in sa1100irq_suspend()
110 writel_relaxed(st->iccr, iobase + ICCR); in sa1100irq_resume()
[all …]
/linux-6.1.9/drivers/bluetooth/
Dbt3c_cs.c116 static inline void bt3c_address(unsigned int iobase, unsigned short addr) in bt3c_address() argument
118 outb(addr & 0xff, iobase + ADDR_L); in bt3c_address()
119 outb((addr >> 8) & 0xff, iobase + ADDR_H); in bt3c_address()
123 static inline void bt3c_put(unsigned int iobase, unsigned short value) in bt3c_put() argument
125 outb(value & 0xff, iobase + DATA_L); in bt3c_put()
126 outb((value >> 8) & 0xff, iobase + DATA_H); in bt3c_put()
130 static inline void bt3c_io_write(unsigned int iobase, unsigned short addr, unsigned short value) in bt3c_io_write() argument
132 bt3c_address(iobase, addr); in bt3c_io_write()
133 bt3c_put(iobase, value); in bt3c_io_write()
137 static inline unsigned short bt3c_get(unsigned int iobase) in bt3c_get() argument
[all …]
Dbluecard_cs.c162 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_activity_led_timeout() local
171 outb(0x08 | 0x20, iobase + 0x30); in bluecard_activity_led_timeout()
177 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_enable_activity_led() local
187 outb(0x18 | 0x60, iobase + 0x30); in bluecard_enable_activity_led()
190 outb(0x00, iobase + 0x30); in bluecard_enable_activity_led()
202 static int bluecard_write(unsigned int iobase, unsigned int offset, __u8 *buf, int len) in bluecard_write() argument
208 outb_p(actual, iobase + offset); in bluecard_write()
211 outb_p(buf[i], iobase + offset + i + 1); in bluecard_write()
233 unsigned int iobase = info->p_dev->resource[0]->start; in bluecard_write_wakeup() local
266 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
[all …]
/linux-6.1.9/drivers/staging/vt6655/
Dsrom.c59 unsigned char SROMbyReadEmbedded(void __iomem *iobase, in SROMbyReadEmbedded() argument
68 byOrg = ioread8(iobase + MAC_REG_I2MCFG); in SROMbyReadEmbedded()
70 iowrite8(byOrg & (~I2MCFG_NORETRY), iobase + MAC_REG_I2MCFG); in SROMbyReadEmbedded()
72 iowrite8(EEP_I2C_DEV_ID, iobase + MAC_REG_I2MTGID); in SROMbyReadEmbedded()
73 iowrite8(byContntOffset, iobase + MAC_REG_I2MTGAD); in SROMbyReadEmbedded()
76 iowrite8(I2MCSR_EEMR, iobase + MAC_REG_I2MCSR); in SROMbyReadEmbedded()
79 byWait = ioread8(iobase + MAC_REG_I2MCSR); in SROMbyReadEmbedded()
89 byData = ioread8(iobase + MAC_REG_I2MDIPT); in SROMbyReadEmbedded()
90 iowrite8(byOrg, iobase + MAC_REG_I2MCFG); in SROMbyReadEmbedded()
106 void SROMvReadAllContents(void __iomem *iobase, unsigned char *pbyEepromRegs) in SROMvReadAllContents() argument
[all …]
/linux-6.1.9/drivers/net/hamradio/
Dbaycom_ser_fdx.c92 #define RBR(iobase) (iobase+0) argument
93 #define THR(iobase) (iobase+0) argument
94 #define IER(iobase) (iobase+1) argument
95 #define IIR(iobase) (iobase+2) argument
96 #define FCR(iobase) (iobase+2) argument
97 #define LCR(iobase) (iobase+3) argument
98 #define MCR(iobase) (iobase+4) argument
99 #define LSR(iobase) (iobase+5) argument
100 #define MSR(iobase) (iobase+6) argument
101 #define SCR(iobase) (iobase+7) argument
[all …]
Dbaycom_ser_hdx.c78 #define RBR(iobase) (iobase+0) argument
79 #define THR(iobase) (iobase+0) argument
80 #define IER(iobase) (iobase+1) argument
81 #define IIR(iobase) (iobase+2) argument
82 #define FCR(iobase) (iobase+2) argument
83 #define LCR(iobase) (iobase+3) argument
84 #define MCR(iobase) (iobase+4) argument
85 #define LSR(iobase) (iobase+5) argument
86 #define MSR(iobase) (iobase+6) argument
87 #define SCR(iobase) (iobase+7) argument
[all …]
Dyam.c100 int iobase; member
149 #define RBR(iobase) (iobase+0) argument
150 #define THR(iobase) (iobase+0) argument
151 #define IER(iobase) (iobase+1) argument
152 #define IIR(iobase) (iobase+2) argument
153 #define FCR(iobase) (iobase+2) argument
154 #define LCR(iobase) (iobase+3) argument
155 #define MCR(iobase) (iobase+4) argument
156 #define LSR(iobase) (iobase+5) argument
157 #define MSR(iobase) (iobase+6) argument
[all …]
/linux-6.1.9/drivers/char/tpm/
Dtpm_tis_synquacer.c29 void __iomem *iobase; member
45 *result++ = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes()
48 result[1] = ioread8(phy->iobase + addr + 1); in tpm_tis_synquacer_read_bytes()
49 result[0] = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes()
52 result[3] = ioread8(phy->iobase + addr + 3); in tpm_tis_synquacer_read_bytes()
53 result[2] = ioread8(phy->iobase + addr + 2); in tpm_tis_synquacer_read_bytes()
54 result[1] = ioread8(phy->iobase + addr + 1); in tpm_tis_synquacer_read_bytes()
55 result[0] = ioread8(phy->iobase + addr); in tpm_tis_synquacer_read_bytes()
70 iowrite8(*value++, phy->iobase + addr); in tpm_tis_synquacer_write_bytes()
79 iowrite8(value[3], phy->iobase + addr + 3); in tpm_tis_synquacer_write_bytes()
[all …]
Dtpm_atmel.c46 status = ioread8(priv->iobase + 1); in tpm_atml_recv()
51 *buf++ = ioread8(priv->iobase); in tpm_atml_recv()
62 status = ioread8(priv->iobase + 1); in tpm_atml_recv()
73 status = ioread8(priv->iobase + 1); in tpm_atml_recv()
78 *buf++ = ioread8(priv->iobase); in tpm_atml_recv()
82 status = ioread8(priv->iobase + 1); in tpm_atml_recv()
100 iowrite8(buf[i], priv->iobase); in tpm_atml_send()
110 iowrite8(ATML_STATUS_ABORT, priv->iobase + 1); in tpm_atml_cancel()
117 return ioread8(priv->iobase + 1); in tpm_atml_status()
145 atmel_put_base_addr(priv->iobase); in atml_plat_remove()
[all …]
/linux-6.1.9/drivers/char/pcmcia/
Dcm4000_cs.c303 static unsigned short io_read_num_rec_bytes(unsigned int iobase, in io_read_num_rec_bytes() argument
311 tmp = inb(REG_NUM_BYTES(iobase)) | in io_read_num_rec_bytes()
312 (inb(REG_FLAGS0(iobase)) & 4 ? 0x100 : 0); in io_read_num_rec_bytes()
422 unsigned int iobase = dev->p_dev->resource[0]->start; in set_cardparameter() local
428 xoutb(dev->flags1, REG_FLAGS1(iobase)); in set_cardparameter()
432 xoutb((unsigned char)((dev->baudv - 1) & 0xFF), REG_BAUDRATE(iobase)); in set_cardparameter()
443 xoutb(stopbits, REG_STOPBITS(iobase)); in set_cardparameter()
455 unsigned int iobase = dev->p_dev->resource[0]->start; in set_protocol() local
491 xoutb(0x80, REG_FLAGS0(iobase)); in set_protocol()
498 xoutb(dev->flags1, REG_FLAGS1(iobase)); in set_protocol()
[all …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-hisi.c89 void __iomem *iobase; member
112 writel_relaxed(mask, ctlr->iobase + HISI_I2C_INT_MASK); in hisi_i2c_enable_int()
117 writel_relaxed((~mask) & HISI_I2C_INT_ALL, ctlr->iobase + HISI_I2C_INT_MASK); in hisi_i2c_disable_int()
122 writel_relaxed(mask, ctlr->iobase + HISI_I2C_INT_CLR); in hisi_i2c_clear_int()
130 reg = readl(ctlr->iobase + HISI_I2C_FIFO_STATE); in hisi_i2c_handle_errors()
151 reg = readl(ctlr->iobase + HISI_I2C_FRAME_CTRL); in hisi_i2c_start_xfer()
155 writel(reg, ctlr->iobase + HISI_I2C_FRAME_CTRL); in hisi_i2c_start_xfer()
157 reg = readl(ctlr->iobase + HISI_I2C_SLV_ADDR); in hisi_i2c_start_xfer()
160 writel(reg, ctlr->iobase + HISI_I2C_SLV_ADDR); in hisi_i2c_start_xfer()
162 reg = readl(ctlr->iobase + HISI_I2C_FIFO_CTRL); in hisi_i2c_start_xfer()
[all …]

12345678910>>...12