Lines Matching refs:pec_check
816 u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_byte_func() argument
821 request->operation[0].length += pec_check; in mlxbf_i2c_smbus_byte_func()
826 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_byte_func()
833 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_byte_func() argument
840 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_byte_func()
844 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_byte_func()
852 u8 *command, u8 *data, bool read, bool pec_check) in mlxbf_i2c_smbus_data_word_func() argument
859 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_data_word_func()
863 request->operation[1].length += pec_check; in mlxbf_i2c_smbus_data_word_func()
872 bool pec_check) in mlxbf_i2c_smbus_i2c_block_func() argument
879 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_i2c_block_func()
888 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_i2c_block_func()
889 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_i2c_block_func()
907 bool read, bool pec_check) in mlxbf_i2c_smbus_block_func() argument
915 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_block_func()
919 (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_block_func()
920 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_block_func()
934 u8 *command, u8 *data, bool pec_check) in mlxbf_i2c_smbus_process_call_func() argument
942 request->operation[0].flags |= pec_check ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_process_call_func()
957 bool pec_check) in mlxbf_i2c_smbus_blk_process_call_func() argument
967 request->operation[0].flags |= (pec_check) ? MLXBF_I2C_F_SMBUS_PEC : 0; in mlxbf_i2c_smbus_blk_process_call_func()
970 length = (*data_len + pec_check > I2C_SMBUS_BLOCK_MAX) ? in mlxbf_i2c_smbus_blk_process_call_func()
971 I2C_SMBUS_BLOCK_MAX : *data_len + pec_check; in mlxbf_i2c_smbus_blk_process_call_func()
973 request->operation[1].length = length - pec_check; in mlxbf_i2c_smbus_blk_process_call_func()