Searched refs:cpec (Results 1 – 2 of 2) sorted by relevance
30 unsigned int cpec = error_code & CP_EC; in cp_err_string() local32 if (cpec >= ARRAY_SIZE(cp_err)) in cp_err_string()33 cpec = 0; in cp_err_string()34 return cp_err[cpec]; in cp_err_string()
82 static int i2c_smbus_check_pec(u8 cpec, struct i2c_msg *msg) in i2c_smbus_check_pec() argument85 cpec = i2c_smbus_msg_pec(cpec, msg); in i2c_smbus_check_pec()87 if (rpec != cpec) { in i2c_smbus_check_pec()89 rpec, cpec); in i2c_smbus_check_pec()