Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_proto_test_util.c45 memcpy(msg->data, mock->o_data, min(msg->insize, mock->o_data_len)); in cros_kunit_ec_xfer_mock()
83 mock->o_data = kunit_kzalloc(test, size, GFP_KERNEL); in cros_kunit_ec_xfer_mock_addx()
84 if (!mock->o_data) in cros_kunit_ec_xfer_mock_addx()
Dcros_ec_proto_test.c207 data = (struct ec_response_get_protocol_info *)mock->o_data; in cros_ec_proto_test_query_all_normal()
220 data = (struct ec_response_get_protocol_info *)mock->o_data; in cros_ec_proto_test_query_all_normal()
231 data = (struct ec_response_get_cmd_versions *)mock->o_data; in cros_ec_proto_test_query_all_normal()
242 data = (struct ec_response_get_cmd_versions *)mock->o_data; in cros_ec_proto_test_query_all_normal()
253 data = (struct ec_response_host_event_mask *)mock->o_data; in cros_ec_proto_test_query_all_normal()
368 data = (struct ec_response_get_protocol_info *)mock->o_data; in cros_ec_proto_test_query_all_no_pd_return_error()
433 data = (struct ec_response_get_protocol_info *)mock->o_data; in cros_ec_proto_test_query_all_no_pd_return0()
497 data = (struct ec_response_hello *)mock->o_data; in cros_ec_proto_test_query_all_legacy_normal_v3_return_error()
562 data = (struct ec_response_hello *)mock->o_data; in cros_ec_proto_test_query_all_legacy_normal_v3_return0()
723 data = (struct ec_response_hello *)mock->o_data; in cros_ec_proto_test_query_all_legacy_data_error()
[all …]
Dcros_ec_proto_test_util.h22 void *o_data; member