Lines Matching refs:pec_check
822 u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_byte_func() argument
827 request->operation[0].length += pec_check; in mlxbf_i2c_smbus_byte_func()
832 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_byte_func()
839 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_byte_func() argument
846 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_byte_func()
850 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_byte_func()
858 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_word_func() argument
865 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_word_func()
869 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_word_func()
878 bool pec_check) in mlxbf_i2c_smbus_i2c_block_func() argument
885 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_i2c_block_func()
894 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_i2c_block_func()
895 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_i2c_block_func()
913 bool read, bool pec_check) in mlxbf_i2c_smbus_block_func() argument
921 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_block_func()
925 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_block_func()
926 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_block_func()
940 u8 *command, u8 *data, bool pec_check) in mlxbf_i2c_smbus_process_call_func() argument
948 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_process_call_func()
963 bool pec_check) in mlxbf_i2c_smbus_blk_process_call_func() argument
973 request->operation[0].flags |= (pec_check) ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_blk_process_call_func()
976 length = (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_blk_process_call_func()
977 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_blk_process_call_func()
979 request->operation[1].length = length - pec_check; in mlxbf_i2c_smbus_blk_process_call_func()