Lines Matching refs:byte_posn
96 u32 byte_posn; member
541 if (i2c->byte_posn || !recv_len) { in mpc_i2c_do_action()
543 if (i2c->byte_posn == msg->len - 2) in mpc_i2c_do_action()
546 if (i2c->byte_posn == msg->len - 1) in mpc_i2c_do_action()
554 if (i2c->byte_posn == 0 && recv_len) { in mpc_i2c_do_action()
571 msg->buf[i2c->byte_posn++] = byte; in mpc_i2c_do_action()
576 msg->buf[i2c->byte_posn]); in mpc_i2c_do_action()
577 writeb(msg->buf[i2c->byte_posn++], i2c->base + MPC_I2C_DR); in mpc_i2c_do_action()
590 if (msg && msg->len == i2c->byte_posn) { in mpc_i2c_do_action()
592 i2c->byte_posn = 0; in mpc_i2c_do_action()
676 i2c->byte_posn = 0; in mpc_i2c_execute_msg()