Home
last modified time | relevance | path

Searched refs:EC_PROTO2_MAX_PARAM_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c37 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 Dcros_ec_proto.c98 if (msg->outsize > EC_PROTO2_MAX_PARAM_SIZE) in prepare_tx_legacy()
465 ec_dev->max_request = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_get_proto_info_legacy()
466 ec_dev->max_response = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_get_proto_info_legacy()
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h725 #define EC_PROTO2_MAX_PARAM_SIZE 0xfc macro
729 EC_PROTO2_MAX_PARAM_SIZE)
731 EC_PROTO2_MAX_PARAM_SIZE)
6605 #define EC_HOST_PARAM_SIZE EC_PROTO2_MAX_PARAM_SIZE