Lines Matching refs:nmsgs
56 * @nmsgs: Number of messages in tx_msg
72 unsigned int nmsgs;
355 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) {
368 i2c->nmsgs = 0;
394 dev_dbg(i2c->adap.dev.parent, "%s: SR: 0x%x, msg: %p, nmsgs: %d\n",
396 i2c->tx_msg, i2c->nmsgs);
448 "%s end of message, nmsgs: %d\n",
449 __func__, i2c->nmsgs);
455 if (i2c->nmsgs > 1) {
456 i2c->nmsgs--;
476 if (i2c->nmsgs == 1 && !i2c->rx_msg &&
499 "%s end of message sent, nmsgs: %d\n",
500 __func__, i2c->nmsgs);
501 if (i2c->nmsgs > 1) {
502 i2c->nmsgs--;
512 } else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1))
599 msg->len | ((i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0));
602 if (i2c->nmsgs == 1)
626 if ((i2c->nmsgs == 1) && msg->len == 0)
673 while ((fifo_space >= 2) && (first || (i2c->nmsgs > 1))) {
675 i2c->nmsgs--;
699 if (i2c->nmsgs > 1 || xiic_tx_space(i2c))
735 i2c->nmsgs = num;
750 i2c->nmsgs = 0;