Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_trace.h33 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
34 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
58 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
59 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
Dcros_ec.c24 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
29 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
Dcros_ec_proto_test.c285 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_normal()
401 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_pd_return_error()
466 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_pd_return0()
869 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_mkbp()
957 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_mkbp_return_error()
1045 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_mkbp_return0()
1144 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_host_sleep()
1251 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_no_host_sleep_return0()
1358 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_default_wake_mask_return_error()
1485 EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX) | in cros_ec_proto_test_query_all_default_wake_mask_return0()
[all …]
Dcros_ec_proto.c305 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_get_proto_info()
627 if (msg->command < EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX)) { in cros_ec_cmd_xfer()
/linux-6.1.9/include/linux/platform_data/
Dcros_ec_commands.h6319 #define EC_CMD_PASSTHRU_OFFSET(n) (0x4000 * (n)) macro
6320 #define EC_CMD_PASSTHRU_MAX(n) (EC_CMD_PASSTHRU_OFFSET(n) + 0x3fff)