Searched refs:i2c_smbus_pec (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/char/ipmi/ |
D | ssif_bmc.c | 343 part->pec = i2c_smbus_pec(0, &addr, 1); in calculate_response_part_pec() 345 part->pec = i2c_smbus_pec(part->pec, &part->smbus_cmd, 1); in calculate_response_part_pec() 348 part->pec = i2c_smbus_pec(part->pec, &addr, 1); in calculate_response_part_pec() 349 part->pec = i2c_smbus_pec(part->pec, &part->length, 1); in calculate_response_part_pec() 351 part->pec = i2c_smbus_pec(part->pec, part->payload, part->length); in calculate_response_part_pec() 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()
|
/linux-6.12.1/drivers/i2c/ |
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.12.1/drivers/net/mctp/ |
D | mctp-i3c.c | 145 pec = i2c_smbus_pec(0, &addr, 1); in mctp_i3c_read() 146 pec = i2c_smbus_pec(pec, xfer.data.in, xfer.len - 1); in mctp_i3c_read() 403 pec = i2c_smbus_pec(0, &addr, 1); in mctp_i3c_xmit() 404 pec = i2c_smbus_pec(pec, data, data_len); in mctp_i3c_xmit()
|
D | mctp-i2c.c | 303 calc_pec = i2c_smbus_pec(0, midev->rx_buffer, recvlen); in mctp_i2c_recv() 513 *pecp = i2c_smbus_pec(0, (u8 *)hdr, hdr->byte_count + 3); in mctp_i2c_xmit()
|
/linux-6.12.1/include/linux/ |
D | i2c.h | 151 u8 i2c_smbus_pec(u8 crc, u8 *p, size_t count);
|