Searched refs:i2c_smbus_pec (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/char/ipmi/ |
A D | ssif_bmc.c | 341 part->pec = i2c_smbus_pec(0, &addr, 1); in calculate_response_part_pec() 343 part->pec = i2c_smbus_pec(part->pec, &part->smbus_cmd, 1); in calculate_response_part_pec() 346 part->pec = i2c_smbus_pec(part->pec, &addr, 1); in calculate_response_part_pec() 347 part->pec = i2c_smbus_pec(part->pec, &part->length, 1); in calculate_response_part_pec() 349 part->pec = i2c_smbus_pec(part->pec, part->payload, part->length); in calculate_response_part_pec() 516 cpec = i2c_smbus_pec(0, &addr, 1); in validate_request_part() 517 cpec = i2c_smbus_pec(cpec, &part->smbus_cmd, 1); in validate_request_part() 518 cpec = i2c_smbus_pec(cpec, &part->length, 1); in validate_request_part() 529 cpec = i2c_smbus_pec(cpec, part->payload, part->length); in validate_request_part()
|
/linux-6.3-rc2/drivers/i2c/ |
A D | i2c-core-smbus.c | 49 u8 i2c_smbus_pec(u8 crc, u8 *p, size_t count) in i2c_smbus_pec() function 57 EXPORT_SYMBOL(i2c_smbus_pec); 64 pec = i2c_smbus_pec(pec, &addr, 1); in i2c_smbus_msg_pec() 67 return i2c_smbus_pec(pec, msg->buf, msg->len); in i2c_smbus_msg_pec()
|
/linux-6.3-rc2/drivers/net/mctp/ |
A D | mctp-i2c.c | 303 calc_pec = i2c_smbus_pec(0, midev->rx_buffer, recvlen); in mctp_i2c_recv() 477 *pecp = i2c_smbus_pec(0, (u8 *)hdr, hdr->byte_count + 3); in mctp_i2c_xmit()
|
/linux-6.3-rc2/include/linux/ |
A D | i2c.h | 152 u8 i2c_smbus_pec(u8 crc, u8 *p, size_t count);
|
Completed in 11 milliseconds