Searched refs:msg_idx (Results 1 – 4 of 4) sorted by relevance
512 sc->msg_idx = 0; in twsi_transfer()558 debugf(sc, "Got interrupt, current msg=%u\n", sc->msg_idx); in twsi_intr()580 sc->msgs[sc->msg_idx].slave); in twsi_intr()582 if (sc->msgs[sc->msg_idx].flags & IIC_M_RD) in twsi_intr()584 sc->msgs[sc->msg_idx].slave | LSB); in twsi_intr()587 sc->msgs[sc->msg_idx].slave & ~LSB); in twsi_intr()593 if (sc->msgs[sc->msg_idx].len > 0) { in twsi_intr()597 sc->msgs[sc->msg_idx].len, in twsi_intr()598 sc->msgs[sc->msg_idx].buf[0]); in twsi_intr()600 sc->msgs[sc->msg_idx].buf[0]); in twsi_intr()[all …]
56 uint32_t msg_idx; member
231 int msg_idx; member361 if (sc->msg_idx >= sc->msg->len) in tegra_i2c_tx()364 while(sc->msg_idx < sc->msg->len) { in tegra_i2c_tx()368 cnt = min(4, sc->msg->len - sc->msg_idx); in tegra_i2c_tx()371 reg |= sc->msg->buf[sc->msg_idx] << (i * 8); in tegra_i2c_tx()372 sc->msg_idx++; in tegra_i2c_tx()376 if (sc->msg_idx >= sc->msg->len) in tegra_i2c_tx()378 return (sc->msg->len - sc->msg_idx - 1); in tegra_i2c_tx()387 if (sc->msg_idx >= sc->msg->len) in tegra_i2c_rx()390 while(sc->msg_idx < sc->msg->len) { in tegra_i2c_rx()[all …]
100 * @msg_idx: the index of the message115 __le32 msg_idx;177 __le32 msg_idx; global() member