Lines Matching refs:nmsgs
64 * @nmsgs: Number of messages in tx_msg
86 unsigned int nmsgs;
586 if (i2c->nmsgs == 1) {
634 if (!xiic_tx_space(i2c) && i2c->nmsgs == 1) {
662 i2c->nmsgs = 0;
689 dev_dbg(i2c->adap.dev.parent, "%s: SR: 0x%x, msg: %p, nmsgs: %d\n",
691 i2c->tx_msg, i2c->nmsgs);
747 "%s end of message, nmsgs: %d\n",
748 __func__, i2c->nmsgs);
754 if (i2c->nmsgs > 1) {
755 i2c->nmsgs--;
780 "%s end of message sent, nmsgs: %d\n",
781 __func__, i2c->nmsgs);
782 if (i2c->nmsgs > 1) {
783 i2c->nmsgs--;
793 } else if (!xiic_tx_space(i2c) && (i2c->nmsgs == 1))
818 if (i2c->nmsgs == 1 && !i2c->rx_msg &&
919 val = (i2c->nmsgs == 1) ? XIIC_TX_DYN_STOP_MASK : 0;
988 if (i2c->nmsgs == 1)
1018 if (i2c->nmsgs == 1 && msg->len == 0)
1028 ((i2c->nmsgs > 1 || xiic_tx_space(i2c)) ?
1113 i2c->nmsgs = num;
1123 * Scan through nmsgs, use dynamic mode when none of the below three
1131 for (count = 0; count < i2c->nmsgs; count++) {
1177 i2c->nmsgs = 0;