Searched refs:cpec (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/kernel/ |
H A D | cet.c | 30 unsigned int cpec = error_code & CP_EC; in cp_err_string() local 32 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()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ssif_bmc.c | 499 u8 cpec; in validate_request_part() local 518 cpec = i2c_smbus_pec(0, &addr, 1); in validate_request_part() 519 cpec = i2c_smbus_pec(cpec, &part->smbus_cmd, 1); in validate_request_part() 520 cpec = i2c_smbus_pec(cpec, &part->length, 1); in validate_request_part() 531 cpec = i2c_smbus_pec(cpec, part->payload, part->length); in validate_request_part() 533 if (cpec != part->pec) in validate_request_part()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-smbus.c | 82 static int i2c_smbus_check_pec(u8 cpec, struct i2c_msg *msg) in i2c_smbus_check_pec() argument 85 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()
|