Searched refs:rxmsg_len (Results 1 – 1 of 1) sorted by relevance
490 u8 rxmsg_len, rfd_set = 0; in xiic_smbus_block_read_setup() local502 rxmsg_len = xiic_getreg8(i2c, XIIC_DRR_REG_OFFSET); in xiic_smbus_block_read_setup()504 i2c->rx_msg->buf[i2c->rx_pos++] = rxmsg_len; in xiic_smbus_block_read_setup()507 if (rxmsg_len <= I2C_SMBUS_BLOCK_MAX) { in xiic_smbus_block_read_setup()509 if (rxmsg_len > IIC_RX_FIFO_DEPTH) { in xiic_smbus_block_read_setup()515 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()516 } else if ((rxmsg_len == 1) || in xiic_smbus_block_read_setup()517 (rxmsg_len == 0)) { in xiic_smbus_block_read_setup()530 rfd_set = rxmsg_len - 2; in xiic_smbus_block_read_setup()531 i2c->rx_msg->len = rxmsg_len + 1; in xiic_smbus_block_read_setup()