Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/i2c/busses/
Di2c-sh_mobile.c185 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) in iic_wr() function
201 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr); in iic_set_clr()
314 iic_wr(pd, ICCR, ICCR_ICE | ICCR_TRS | ICCR_BBSY); in i2c_op()
317 iic_wr(pd, ICIC, ICIC_WAITE | ICIC_ALE | ICIC_TACKE); in i2c_op()
318 iic_wr(pd, ICDR, i2c_8bit_addr_from_msg(pd->msg)); in i2c_op()
321 iic_wr(pd, ICDR, pd->msg->buf[pd->pos]); in i2c_op()
324 iic_wr(pd, ICCR, pd->send_stop ? ICCR_ICE | ICCR_TRS in i2c_op()
328 iic_wr(pd, ICCR, ICCR_ICE | ICCR_SCP); in i2c_op()
335 iic_wr(pd, ICIC, in i2c_op()
337 iic_wr(pd, ICCR, ICCR_ICE | ICCR_RACK); in i2c_op()
[all …]