STRUCT EC_PARAMS_GET_CMD_VERSIONS_V1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ec_params_get_cmd_versions_v1(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the glow-up era of the kernel API manual ✨ this one's a tiny little struct from struct ec_pa..._versions_v1(9) and honestly she's short but she's iconic πŸ’–


🌸 NAME 🌸

struct ec_params_get_cmd_versions_v1 β€” the parameters for the get command versions (v1), no cap 🫢


✨ SYNOPSIS ✨

like, here's literally the whole vibe:

struct ec_params_get_cmd_versions_v1 {
    uint16_t cmd;
 };

look at her. one member. main character energy πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • cmd β€” the command to check πŸ” that's it, that's the whole job, and she ate πŸ’…

🌈 SEE ALSO 🌈

okay this is the part where the friend group shows up, and it's a big friend group, so buckle in πŸŽ€ all of these live in the 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_response_get_cmd_versions(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)

like I said. huge friend group. they all said hi tho 🫢✨


ngl bestie, the whole struct is literally just uint16_t cmd β€” don't overthink her, she's doing her best and her best is enough πŸ’€πŸ’–

and that's the page!! mwah πŸ’‹ one last lil sign-off: this cutie comes from ./include/linux/platform_data, dated October 2026, and she answers to struct ec_pa..._versions_v1(9) (yes the name is truncated in the footer, she's mysterious like that πŸ™ˆ). periodt. 🌟

πŸ“¦ where this page comes from