Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/i2c/busses/
Di2c-mpc.c98 u32 byte_posn; member
546 if (i2c->byte_posn || !recv_len) { in mpc_i2c_do_action()
548 if (i2c->byte_posn == msg->len - 2) in mpc_i2c_do_action()
551 if (i2c->byte_posn == msg->len - 1) in mpc_i2c_do_action()
559 if (i2c->byte_posn == 0 && recv_len) { in mpc_i2c_do_action()
576 msg->buf[i2c->byte_posn++] = byte; in mpc_i2c_do_action()
581 msg->buf[i2c->byte_posn]); in mpc_i2c_do_action()
582 writeb(msg->buf[i2c->byte_posn++], i2c->base + MPC_I2C_DR); in mpc_i2c_do_action()
595 if (msg && msg->len == i2c->byte_posn) { in mpc_i2c_do_action()
597 i2c->byte_posn = 0; in mpc_i2c_do_action()
[all …]
Di2c-mv64xxx.c133 u32 byte_posn; member
270 && (drv_data->byte_posn != 0))) { in mv64xxx_i2c_fsm()
347 drv_data->byte_posn = 0; in mv64xxx_i2c_send_start()
400 writel(drv_data->msg->buf[drv_data->byte_posn++], in mv64xxx_i2c_do_action()
407 drv_data->msg->buf[drv_data->byte_posn++] = in mv64xxx_i2c_do_action()
414 drv_data->msg->buf[drv_data->byte_posn++] = in mv64xxx_i2c_do_action()