Searched refs:EC_PROTO2_MAX_PARAM_SIZE (Results 1 – 9 of 9) sorted by relevance
/openbmc/u-boot/include/ |
H A D | cros_ec_message.h | 25 MSG_BYTES = EC_PROTO2_MAX_PARAM_SIZE + MSG_PROTO_BYTES,
|
H A D | ec_commands.h | 729 #define EC_PROTO2_MAX_PARAM_SIZE 0xfc macro 733 EC_PROTO2_MAX_PARAM_SIZE) 735 EC_PROTO2_MAX_PARAM_SIZE) 4595 #define EC_HOST_PARAM_SIZE EC_PROTO2_MAX_PARAM_SIZE
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_lpc.c | 90 if (dout_len > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_lpc_command() 195 for (i = 0; i < EC_PROTO2_MAX_PARAM_SIZE && (byte == 0xff); i++) in cros_ec_lpc_init()
|
H A D | cros_ec.c | 460 (uint8_t **)strp, EC_PROTO2_MAX_PARAM_SIZE) < 0) in cros_ec_read_build_info() 1214 uint8_t outbuf[EC_PROTO2_MAX_PARAM_SIZE]; in cros_ec_i2c_tunnel() 1218 uint8_t inbuf[EC_PROTO2_MAX_PARAM_SIZE]; in cros_ec_i2c_tunnel()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_proto.h | 62 EC_PROTO2_MSG_BYTES = EC_PROTO2_MAX_PARAM_SIZE +
|
H A D | cros_ec_commands.h | 725 #define EC_PROTO2_MAX_PARAM_SIZE 0xfc macro 729 EC_PROTO2_MAX_PARAM_SIZE) 731 EC_PROTO2_MAX_PARAM_SIZE) 6391 #define EC_HOST_PARAM_SIZE EC_PROTO2_MAX_PARAM_SIZE
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_proto_test.c | 37 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal() 45 KUNIT_EXPECT_EQ(test, ret, EC_MSG_TX_PROTO_BYTES + EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_proto_test_prepare_tx_legacy_normal() 48 KUNIT_EXPECT_EQ(test, ec_dev->dout[2], EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_proto_test_prepare_tx_legacy_normal() 54 for (i = 4; i < EC_PROTO2_MAX_PARAM_SIZE; ++i) in cros_ec_proto_test_prepare_tx_legacy_normal() 59 csum += EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal() 65 ec_dev->dout[EC_MSG_TX_HEADER_BYTES + EC_PROTO2_MAX_PARAM_SIZE], in cros_ec_proto_test_prepare_tx_legacy_normal() 78 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE + 1; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() 533 KUNIT_EXPECT_EQ(test, ec_dev->max_request, EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error() 534 KUNIT_EXPECT_EQ(test, ec_dev->max_response, EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error() 598 KUNIT_EXPECT_EQ(test, ec_dev->max_request, EC_PROTO2_MAX_PARAM_SIZE); in cros_ec_proto_test_query_all_legacy_normal_v3_return0() [all …]
|
H A D | cros_ec_lpc.c | 215 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE || in cros_ec_cmd_xfer_lpc() 216 msg->insize > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_cmd_xfer_lpc()
|
H A D | cros_ec_proto.c | 95 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE) in prepare_tx_legacy() 416 ec_dev->max_request = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_get_proto_info_legacy() 417 ec_dev->max_response = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_get_proto_info_legacy()
|