Lines Matching refs:nmsgs
74 unsigned int nmsgs; member
342 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) { in xiic_fill_tx_fifo()
355 i2c->nmsgs = 0; in xiic_wakeup()
378 i2c->tx_msg, i2c->nmsgs); in xiic_process()
428 __func__, i2c->nmsgs); in xiic_process()
434 if (i2c->nmsgs > 1) { in xiic_process()
435 i2c->nmsgs--; in xiic_process()
453 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process()
477 __func__, i2c->nmsgs); in xiic_process()
478 if (i2c->nmsgs > 1) { in xiic_process()
479 i2c->nmsgs--; in xiic_process()
489 } else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1)) in xiic_process()
562 msg->len | ((i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0)); in xiic_start_recv()
563 if (i2c->nmsgs == 1) in xiic_start_recv()
587 if ((i2c->nmsgs == 1) && msg->len == 0) in xiic_start_send()
632 while ((fifo_space >= 2) && (first || (i2c->nmsgs > 1))) { in __xiic_start_xfer()
634 i2c->nmsgs--; in __xiic_start_xfer()
658 if (i2c->nmsgs > 1 || xiic_tx_space(i2c)) in __xiic_start_xfer()
690 i2c->nmsgs = num; in xiic_xfer()
700 i2c->nmsgs = 0; in xiic_xfer()