Lines Matching refs:pec_check

877 				      u8 *data, bool read, bool pec_check)  in mlxbf_i2c_smbus_byte_func()  argument
882 request->operation[0].length += pec_check; in mlxbf_i2c_smbus_byte_func()
887 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_byte_func()
894 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_byte_func() argument
901 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_byte_func()
905 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_byte_func()
913 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_word_func() argument
920 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_word_func()
924 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_word_func()
933 bool pec_check) in mlxbf_i2c_smbus_i2c_block_func() argument
940 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_i2c_block_func()
949 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_i2c_block_func()
950 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_i2c_block_func()
968 bool read, bool pec_check) in mlxbf_i2c_smbus_block_func() argument
976 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_block_func()
980 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_block_func()
981 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_block_func()
995 u8 *command, u8 *data, bool pec_check) in mlxbf_i2c_smbus_process_call_func() argument
1003 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_process_call_func()
1018 bool pec_check) in mlxbf_i2c_smbus_blk_process_call_func() argument
1028 request->operation[0].flags |= (pec_check) ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_blk_process_call_func()
1031 length = (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_blk_process_call_func()
1032 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_blk_process_call_func()
1034 request->operation[1].length = length - pec_check; in mlxbf_i2c_smbus_blk_process_call_func()