Home
last modified time | relevance | path

Searched refs:riic (Results 1 – 3 of 3) sorted by relevance

/drivers/i2c/busses/
Di2c-riic.c108 static inline void riic_clear_set_bit(struct riic_dev *riic, u8 clear, u8 set, u8 reg) in riic_clear_set_bit() argument
110 writeb((readb(riic->base + reg) & ~clear) | set, riic->base + reg); in riic_clear_set_bit()
115 struct riic_dev *riic = i2c_get_adapdata(adap); in riic_xfer() local
122 if (readb(riic->base + RIIC_ICCR2) & ICCR2_BBSY) { in riic_xfer()
123 riic->err = -EBUSY; in riic_xfer()
127 reinit_completion(&riic->msg_done); in riic_xfer()
128 riic->err = 0; in riic_xfer()
130 writeb(0, riic->base + RIIC_ICSR2); in riic_xfer()
133 riic->bytes_left = RIIC_INIT_MSG; in riic_xfer()
134 riic->buf = msgs[i].buf; in riic_xfer()
[all …]
DMakefile102 obj-$(CONFIG_I2C_RIIC) += i2c-riic.o
DKconfig1012 will be called i2c-riic.