Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/chrome/
Dcros_ec.c26 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
31 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
Dcros_ec_proto.c212 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_host_command_proto_query()
477 if (msg->command < EC_CMD_PASSTHRU_OFFSET(1)) { in cros_ec_cmd_xfer()
/Linux-v5.4/include/linux/platform_data/
Dcros_ec_commands.h5709 #define EC_CMD_PASSTHRU_OFFSET(n) (0x4000 * (n)) macro
5710 #define EC_CMD_PASSTHRU_MAX(n) (EC_CMD_PASSTHRU_OFFSET(n) + 0x3fff)