STRUCT EC_RESPONSE_GET_CMD_VERSIONS(9)
π¦ struct ec_response_get_cmd_versions(9) π¦
okay bestie, welcome to the Kernel API Manual page for struct ec_response_get_cmd_versions β yes, the struct with the long name, but weβre gonna get through it together, fr fr. This is all about the response you get back from the get command versions situation, and itβs honestly a short one. π
β¨ NAME β¨
struct ec_response_get_cmd_versions β itβs the response to the get command versions. Thatβs it, thatβs the vibe. π
π¦ SYNOPSIS π¦
struct ec_response_get_cmd_versions {
uint32_t version_mask;
};
π§ Members π§
version_maskβ this is the mask of supported versions, bestie. UseEC_VER_MASKto compare it with a desired version. Slay. π
πΈ SEE ALSO πΈ
okay so the SEE ALSO section is lowkey huge, and we are not skipping anybody. Go peek at the Kernel file ./include/linux/platform_data/cros_ec_commands.h, plus all these icon structs:
- Kernel file
./include/linux/platform_data/cros_ec_commands.h struct ec_lpc_host_args(9)struct ec_host_request(9)struct ec_host_response(9)struct ec_response_proto_version(9)struct ec_params_hello(9)struct ec_response_hello(9)struct ec_response_get_version(9)struct ec_params_read_test(9)struct ec_response_read_test(9)struct ec_response_get_chip_info(9)struct ec_response_board_version(9)struct ec_params_read_memmap(9)struct ec_params_get_cmd_versions(9)struct ec_params_get_cmd_versions_v1(9)struct ec_response_get_comms_status(9)struct ec_response_get_protocol_info(9)struct ec_response_flash_info(9)struct ec_response_flash_info_1(9)struct ec_params_flash_read(9)struct ec_params_flash_write(9)struct ec_params_flash_erase(9)struct ec_params_flash_erase_v1(9)struct ec_params_flash_protect(9)struct ec_response_flash_protect(9)struct ec_params_flash_region_info(9)struct ec_params_flash_select(9)struct ec_params_cec_write(9)struct ec_params_cec_write_v1(9)struct ec_params_cec_read(9)struct ec_response_cec_read(9)struct ec_params_cec_set(9)struct ec_params_cec_get(9)struct ec_response_cec_get(9)struct ec_response_cec_port_count(9)struct ec_params_battery_static_info(9)struct ec_response_battery_static_info(9)struct ec_params_battery_dynamic_info(9)struct ec_response_battery_dynamic_info(9)struct ec_params_charger_control(9)
no cap, thatβs the whole SEE ALSO roster β every single one. π
this page lives under ./include/linux/platform_data, and itβs dated October 2026 π thanks for reading, bestie, mwah π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms