Searched refs:cros_ec_calc_checksum (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_spi.c | 127 csum = cros_ec_calc_checksum(out, 3) in cros_ec_spi_command() 128 + cros_ec_calc_checksum(dout, dout_len); in cros_ec_spi_command() 158 csum = cros_ec_calc_checksum(p, len + 2); in cros_ec_spi_command()
|
H A D | cros_ec_i2c.c | 175 cros_ec_calc_checksum(dev->dout, dout_len + 3); in cros_ec_i2c_command() 203 csum = cros_ec_calc_checksum(in_ptr, 2 + len); in cros_ec_i2c_command()
|
H A D | cros_ec.c | 115 int cros_ec_calc_checksum(const uint8_t *data, int size) in cros_ec_calc_checksum() function 161 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(cdev->dout, out_bytes)); in create_proto3_request() 233 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response()
|
H A D | cros_ec_sandbox.c | 491 -cros_ec_calc_checksum((const uint8_t *)resp_hdr, len); in cros_ec_sandbox_packet()
|
/openbmc/u-boot/include/ |
H A D | cros_ec.h | 255 int cros_ec_calc_checksum(const uint8_t *data, int size);
|