Lines Matching refs:recv_bytes
1862 static int mlxbf_smbus_irq_send(struct mlxbf_i2c_priv *priv, u8 recv_bytes) in mlxbf_smbus_irq_send() argument
1883 if (recv_bytes > 0) { in mlxbf_smbus_irq_send()
1888 switch (recv_bytes) { in mlxbf_smbus_irq_send()
1907 if (recv_bytes > 1) { in mlxbf_smbus_irq_send()
1967 static int mlxbf_smbus_irq_recv(struct mlxbf_i2c_priv *priv, u8 recv_bytes) in mlxbf_smbus_irq_recv() argument
1978 mlxbf_i2c_smbus_read_data(priv, data_desc, recv_bytes, in mlxbf_smbus_irq_recv()
1994 for (byte = 1; byte < recv_bytes; byte++) { in mlxbf_smbus_irq_recv()
2018 u8 recv_bytes; in mlxbf_smbus_irq() local
2045 recv_bytes = (rw_bytes_reg >> 8) & GENMASK(7, 0); in mlxbf_smbus_irq()
2057 recv_bytes = recv_bytes > MLXBF_I2C_SLAVE_DATA_DESC_SIZE ? in mlxbf_smbus_irq()
2058 MLXBF_I2C_SLAVE_DATA_DESC_SIZE : recv_bytes; in mlxbf_smbus_irq()
2061 mlxbf_smbus_irq_send(priv, recv_bytes); in mlxbf_smbus_irq()
2063 mlxbf_smbus_irq_recv(priv, recv_bytes); in mlxbf_smbus_irq()