158a2109fSRaul E Rangel // SPDX-License-Identifier: GPL-2.0
258a2109fSRaul E Rangel // Trace events for the ChromeOS Embedded Controller
358a2109fSRaul E Rangel //
458a2109fSRaul E Rangel // Copyright 2019 Google LLC.
558a2109fSRaul E Rangel 
658a2109fSRaul E Rangel #define TRACE_SYMBOL(a) {a, #a}
758a2109fSRaul E Rangel 
858a2109fSRaul E Rangel // Generate the list using the following script:
9840d9f13SEnric Balletbo i Serra // sed -n 's/^#define \(EC_CMD_[[:alnum:]_]*\)\s.*/\tTRACE_SYMBOL(\1), \\/p' include/linux/platform_data/cros_ec_commands.h
1058a2109fSRaul E Rangel #define EC_CMDS \
11086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ACPI_READ), \
12086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ACPI_WRITE), \
13086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ACPI_BURST_ENABLE), \
14086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ACPI_BURST_DISABLE), \
15086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ACPI_QUERY_EVENT), \
1658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PROTO_VERSION), \
1758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HELLO), \
1858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_VERSION), \
1958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_READ_TEST), \
2058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_BUILD_INFO), \
2158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_CHIP_INFO), \
2258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_BOARD_VERSION), \
2358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_READ_MEMMAP), \
2458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_CMD_VERSIONS), \
2558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_COMMS_STATUS), \
2658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_TEST_PROTOCOL), \
2758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_PROTOCOL_INFO), \
2858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GSV_PAUSE_IN_S5), \
2958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_FEATURES), \
30086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_GET_SKU_ID), \
31086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_SET_SKU_ID), \
3258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_INFO), \
3358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_READ), \
3458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_WRITE), \
3558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_ERASE), \
3658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_PROTECT), \
3758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_FLASH_REGION_INFO), \
3858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_VBNV_CONTEXT), \
39086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FLASH_SPI_INFO), \
40086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FLASH_SELECT), \
4158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_GET_FAN_TARGET_RPM), \
4258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_SET_FAN_TARGET_RPM), \
4358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_GET_KEYBOARD_BACKLIGHT), \
4458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_SET_KEYBOARD_BACKLIGHT), \
4558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_SET_FAN_DUTY), \
4658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_SET_DUTY), \
4758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PWM_GET_DUTY), \
4858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_LIGHTBAR_CMD), \
4958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_LED_CONTROL), \
5058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_VBOOT_HASH), \
5158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MOTION_SENSE_CMD), \
52086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FORCE_LID_OPEN), \
53086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CONFIG_POWER_BUTTON), \
5458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_CHARGE_SET_MODE), \
5558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PSTORE_INFO), \
5658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PSTORE_READ), \
5758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PSTORE_WRITE), \
5858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_RTC_GET_VALUE), \
5958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_RTC_GET_ALARM), \
6058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_RTC_SET_VALUE), \
6158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_RTC_SET_ALARM), \
6258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PORT80_LAST_BOOT), \
6358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PORT80_READ), \
64086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_VSTORE_INFO), \
65086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_VSTORE_READ), \
66086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_VSTORE_WRITE), \
6758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_THERMAL_SET_THRESHOLD), \
6858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_THERMAL_GET_THRESHOLD), \
6958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_THERMAL_AUTO_FAN_CTRL), \
7058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_TMP006_GET_CALIBRATION), \
7158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_TMP006_SET_CALIBRATION), \
7258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_TMP006_GET_RAW), \
7358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MKBP_STATE), \
7458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MKBP_INFO), \
7558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MKBP_SIMULATE_KEY), \
76086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_GET_KEYBOARD_ID), \
7758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MKBP_SET_CONFIG), \
7858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_MKBP_GET_CONFIG), \
7958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_KEYSCAN_SEQ_CTRL), \
8058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_NEXT_EVENT), \
81086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_KEYBOARD_FACTORY_TEST), \
8258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_TEMP_SENSOR_GET_INFO), \
8358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_GET_B), \
8458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_GET_SMI_MASK), \
8558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_GET_SCI_MASK), \
8658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_GET_WAKE_MASK), \
8758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_SET_SMI_MASK), \
8858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_SET_SCI_MASK), \
8958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_CLEAR), \
9058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_SET_WAKE_MASK), \
9158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_EVENT_CLEAR_B), \
92086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_HOST_EVENT), \
9358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SWITCH_ENABLE_BKLIGHT), \
9458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SWITCH_ENABLE_WIRELESS), \
9558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GPIO_SET), \
9658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GPIO_GET), \
9758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_I2C_READ), \
9858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_I2C_WRITE), \
9958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CHARGE_CONTROL), \
10058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CONSOLE_SNAPSHOT), \
10158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CONSOLE_READ), \
10258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_BATTERY_CUT_OFF), \
10358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_MUX), \
10458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_LDO_SET), \
10558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_LDO_GET), \
10658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_POWER_INFO), \
10758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_I2C_PASSTHRU), \
10858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HANG_DETECT), \
10958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CHARGE_STATE), \
11058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CHARGE_CURRENT_LIMIT), \
11158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_EXTERNAL_POWER_LIMIT), \
112086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_OVERRIDE_DEDICATED_CHARGER_LIMIT), \
113086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_HIBERNATION_DELAY), \
11458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_HOST_SLEEP_EVENT), \
115086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_DEVICE_EVENT), \
11658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SB_READ_WORD), \
11758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SB_WRITE_WORD), \
11858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SB_READ_BLOCK), \
11958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_SB_WRITE_BLOCK), \
12058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_BATTERY_VENDOR_PARAM), \
121086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_SB_FW_UPDATE), \
122086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ENTERING_MODE), \
123086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_I2C_PASSTHRU_PROTECT), \
124086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CEC_WRITE_MSG), \
125086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CEC_SET), \
126086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CEC_GET), \
127104c6f8fSTzung-Bi Shih 	TRACE_SYMBOL(EC_CMD_EC_CODEC), \
1288f731d4cSTzung-Bi Shih 	TRACE_SYMBOL(EC_CMD_EC_CODEC_DMIC), \
129727f1c71STzung-Bi Shih 	TRACE_SYMBOL(EC_CMD_EC_CODEC_I2S_RX), \
130b6bc07d4STzung-Bi Shih 	TRACE_SYMBOL(EC_CMD_EC_CODEC_WOV), \
13158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_REBOOT_EC), \
13258a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_GET_PANIC_INFO), \
13358a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_REBOOT), \
13458a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_RESEND_RESPONSE), \
13558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_VERSION0), \
13658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PD_EXCHANGE_STATUS), \
137086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_PD_HOST_EVENT_STATUS), \
13858a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_PD_CONTROL), \
13958a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_PD_PORTS), \
14058a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_PD_POWER_INFO), \
14158a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_CHARGE_PORT_COUNT), \
142086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_FW_UPDATE), \
143086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_RW_HASH_ENTRY), \
144086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_DEV_INFO), \
14558a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_USB_PD_DISCOVERY), \
14658a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PD_CHARGE_PORT_OVERRIDE), \
14758a2109fSRaul E Rangel 	TRACE_SYMBOL(EC_CMD_PD_GET_LOG_ENTRY), \
148086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_GET_AMODE), \
149086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_SET_AMODE), \
150086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_PD_WRITE_LOG_ENTRY), \
151086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_PD_CONTROL), \
152086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_USB_PD_MUX_INFO), \
153086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_PD_CHIP_INFO), \
154086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_RWSIG_CHECK_STATUS), \
155086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_RWSIG_ACTION), \
156086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_EFS_VERIFY), \
157086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_GET_CROS_BOARD_INFO), \
158086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_SET_CROS_BOARD_INFO), \
159086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_GET_UPTIME_INFO), \
160086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ADD_ENTROPY), \
161086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ADC_READ), \
162086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_ROLLBACK_INFO), \
163086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_AP_RESET), \
164dff08cafSPi-Hsun Shih 	TRACE_SYMBOL(EC_CMD_REGULATOR_GET_INFO), \
165dff08cafSPi-Hsun Shih 	TRACE_SYMBOL(EC_CMD_REGULATOR_ENABLE), \
166dff08cafSPi-Hsun Shih 	TRACE_SYMBOL(EC_CMD_REGULATOR_IS_ENABLED), \
167dff08cafSPi-Hsun Shih 	TRACE_SYMBOL(EC_CMD_REGULATOR_SET_VOLTAGE), \
168dff08cafSPi-Hsun Shih 	TRACE_SYMBOL(EC_CMD_REGULATOR_GET_VOLTAGE), \
169086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CR51_BASE), \
170086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CR51_LAST), \
171086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_PASSTHRU), \
172086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_MODE), \
173086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_INFO), \
174086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_FRAME), \
175086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_TEMPLATE), \
176086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_CONTEXT), \
177086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_STATS), \
178086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_SEED), \
179086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_FP_ENC_STATUS), \
180086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_TP_SELF_TEST), \
181086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_TP_FRAME_INFO), \
182086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_TP_FRAME_SNAPSHOT), \
183086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_TP_FRAME_GET), \
184086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_BATTERY_GET_STATIC), \
185086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_BATTERY_GET_DYNAMIC), \
186086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_CHARGER_CONTROL), \
187086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_BOARD_SPECIFIC_BASE), \
188086338dfSEnric Balletbo i Serra 	TRACE_SYMBOL(EC_CMD_BOARD_SPECIFIC_LAST)
18958a2109fSRaul E Rangel 
190205c9326SRaul E Rangel /* See the enum ec_status in include/linux/platform_data/cros_ec_commands.h */
191205c9326SRaul E Rangel #define EC_RESULT \
192205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_SUCCESS), \
193205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_COMMAND), \
194205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_ERROR), \
195205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_PARAM), \
196205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_ACCESS_DENIED), \
197205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_RESPONSE), \
198205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_VERSION), \
199205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_CHECKSUM), \
200205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_IN_PROGRESS), \
201205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_UNAVAILABLE), \
202205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_TIMEOUT), \
203205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_OVERFLOW), \
204205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_HEADER), \
205205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_REQUEST_TRUNCATED), \
206205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_RESPONSE_TOO_BIG), \
207205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_BUS_ERROR), \
208205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_BUSY), \
209205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_HEADER_VERSION), \
210205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_HEADER_CRC), \
211205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_INVALID_DATA_CRC), \
212205c9326SRaul E Rangel 	TRACE_SYMBOL(EC_RES_DUP_UNAVAILABLE)
213205c9326SRaul E Rangel 
21458a2109fSRaul E Rangel #define CREATE_TRACE_POINTS
21558a2109fSRaul E Rangel #include "cros_ec_trace.h"
216