Lines Matching refs:num_msgs
120 int num_msgs; member
351 BUG_ON(drv_data->num_msgs == 0); in mv64xxx_i2c_do_action()
354 drv_data->num_msgs--; in mv64xxx_i2c_do_action()
365 drv_data->send_stop = drv_data->num_msgs == 1; in mv64xxx_i2c_do_action()
467 if (drv_data->num_msgs == 1 && drv_data->msgs[0].flags & I2C_M_RD) { in mv64xxx_i2c_intr_offload()
470 drv_data->num_msgs--; in mv64xxx_i2c_intr_offload()
476 else if (drv_data->num_msgs == 2 && in mv64xxx_i2c_intr_offload()
481 drv_data->num_msgs -= 2; in mv64xxx_i2c_intr_offload()
604 int num = drv_data->num_msgs; in mv64xxx_i2c_offload_xfer()
669 int num = drv_data->num_msgs; in mv64xxx_i2c_can_offload()
718 drv_data->num_msgs = num; in mv64xxx_i2c_xfer()
728 drv_data->num_msgs = 0; in mv64xxx_i2c_xfer()