Lines Matching refs:nmsgs
69 unsigned int nmsgs; member
333 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) { in xiic_fill_tx_fifo()
346 i2c->nmsgs = 0; in xiic_wakeup()
371 i2c->tx_msg, i2c->nmsgs); in xiic_process()
418 __func__, i2c->nmsgs); in xiic_process()
424 if (i2c->nmsgs > 1) { in xiic_process()
425 i2c->nmsgs--; in xiic_process()
444 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process()
468 __func__, i2c->nmsgs); in xiic_process()
469 if (i2c->nmsgs > 1) { in xiic_process()
470 i2c->nmsgs--; in xiic_process()
480 } else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1)) in xiic_process()
551 msg->len | ((i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0)); in xiic_start_recv()
554 if (i2c->nmsgs == 1) in xiic_start_recv()
578 if ((i2c->nmsgs == 1) && msg->len == 0) in xiic_start_send()
625 while ((fifo_space >= 2) && (first || (i2c->nmsgs > 1))) { in __xiic_start_xfer()
627 i2c->nmsgs--; in __xiic_start_xfer()
651 if (i2c->nmsgs > 1 || xiic_tx_space(i2c)) in __xiic_start_xfer()
681 i2c->nmsgs = num; in xiic_xfer()
692 i2c->nmsgs = 0; in xiic_xfer()