i2c_smbus_msg_pec
partial_pec = i2c_smbus_msg_pec(0, &msg[0]);
msg->buf[msg->len] = i2c_smbus_msg_pec(0, msg);
cpec = i2c_smbus_msg_pec(cpec, msg);