Home
last modified time | relevance | path

Searched refs:cros_ec_calc_checksum (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/misc/
H A Dcros_ec_spi.c127 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 Dcros_ec_i2c.c175 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 Dcros_ec.c115 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 Dcros_ec_sandbox.c491 -cros_ec_calc_checksum((const uint8_t *)resp_hdr, len); in cros_ec_sandbox_packet()
/openbmc/u-boot/include/
H A Dcros_ec.h255 int cros_ec_calc_checksum(const uint8_t *data, int size);