Lines Matching refs:nmsgs
72 unsigned int nmsgs; member
355 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) { in xiic_fill_tx_fifo()
368 i2c->nmsgs = 0; in xiic_wakeup()
393 i2c->tx_msg, i2c->nmsgs); in xiic_process()
440 __func__, i2c->nmsgs); in xiic_process()
446 if (i2c->nmsgs > 1) { in xiic_process()
447 i2c->nmsgs--; in xiic_process()
466 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process()
490 __func__, i2c->nmsgs); in xiic_process()
491 if (i2c->nmsgs > 1) { in xiic_process()
492 i2c->nmsgs--; in xiic_process()
502 } else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1)) in xiic_process()
582 msg->len | ((i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0)); in xiic_start_recv()
585 if (i2c->nmsgs == 1) in xiic_start_recv()
609 if ((i2c->nmsgs == 1) && msg->len == 0) in xiic_start_send()
656 while ((fifo_space >= 2) && (first || (i2c->nmsgs > 1))) { in __xiic_start_xfer()
658 i2c->nmsgs--; in __xiic_start_xfer()
682 if (i2c->nmsgs > 1 || xiic_tx_space(i2c)) in __xiic_start_xfer()
718 i2c->nmsgs = num; in xiic_xfer()
733 i2c->nmsgs = 0; in xiic_xfer()