Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_trace.h33 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(1);
34 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(1);
58 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(1);
59 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(1);
Dcros_ec.c27 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
32 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
Dcros_ec_proto.c280 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_host_command_proto_query()
604 if (msg->command < EC_CMD_PASSTHRU_OFFSET(1)) { in cros_ec_cmd_xfer()
/linux-5.19.10/include/linux/platform_data/
Dcros_ec_commands.h6299 #define EC_CMD_PASSTHRU_OFFSET(n) (0x4000 * (n)) macro
6300 #define EC_CMD_PASSTHRU_MAX(n) (EC_CMD_PASSTHRU_OFFSET(n) + 0x3fff)