Lines Matching refs:pec_check

852 				      u8 *data, bool read, bool pec_check)  in mlxbf_i2c_smbus_byte_func()  argument
857 request->operation[0].length += pec_check; in mlxbf_i2c_smbus_byte_func()
862 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_byte_func()
869 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_byte_func() argument
876 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_byte_func()
880 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_byte_func()
888 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_word_func() argument
895 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_word_func()
899 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_word_func()
908 bool pec_check) in mlxbf_i2c_smbus_i2c_block_func() argument
915 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_i2c_block_func()
924 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_i2c_block_func()
925 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_i2c_block_func()
943 bool read, bool pec_check) in mlxbf_i2c_smbus_block_func() argument
951 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_block_func()
955 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_block_func()
956 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_block_func()
970 u8 *command, u8 *data, bool pec_check) in mlxbf_i2c_smbus_process_call_func() argument
978 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_process_call_func()
993 bool pec_check) in mlxbf_i2c_smbus_blk_process_call_func() argument
1003 request->operation[0].flags |= (pec_check) ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_blk_process_call_func()
1006 length = (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_blk_process_call_func()
1007 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_blk_process_call_func()
1009 request->operation[1].length = length - pec_check; in mlxbf_i2c_smbus_blk_process_call_func()