Searched refs:EC_CMD_PASSTHRU_OFFSET (Results 1 – 4 of 4) sorted by relevance
33 __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);
27 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),32 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
280 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()
6299 #define EC_CMD_PASSTHRU_OFFSET(n) (0x4000 * (n)) macro6300 #define EC_CMD_PASSTHRU_MAX(n) (EC_CMD_PASSTHRU_OFFSET(n) + 0x3fff)