Lines Matching refs:datalen
113 u8 *data, u8 datalen) in mlxcpld_i2c_read_comm() argument
117 switch (datalen) { in mlxcpld_i2c_read_comm()
132 mlxcpld_i2c_lpc_read_buf(data, datalen, addr); in mlxcpld_i2c_read_comm()
138 u8 *data, u8 datalen) in mlxcpld_i2c_write_comm() argument
142 switch (datalen) { in mlxcpld_i2c_write_comm()
157 mlxcpld_i2c_lpc_write_buf(data, datalen, addr); in mlxcpld_i2c_write_comm()
302 u8 datalen, val; in mlxcpld_i2c_wait_for_tc() local
339 &datalen, 1); in mlxcpld_i2c_wait_for_tc()
340 if (unlikely(datalen > (I2C_SMBUS_BLOCK_MAX + 1))) { in mlxcpld_i2c_wait_for_tc()
345 datalen = priv->xfer.data_len; in mlxcpld_i2c_wait_for_tc()
349 priv->xfer.msg[i].buf, datalen); in mlxcpld_i2c_wait_for_tc()
351 return datalen; in mlxcpld_i2c_wait_for_tc()