STRUCT EC_PARAMS_GET_CMD_VERSIONS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ec_params_get_cmd_versions πŸ’–

okay so bestie, we're deep in the Kernel API Manual today (yes, that Kernel API Manual, the one and only, she's iconic) and this page is all about one tiny little struct that punches way above its weight. it's giving "small but mighty" energy fr fr. let's get into it 🫢


✨ NAME ✨

struct ec_params_get_cmd_versions β€” the parameters for the get command versions. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

struct ec_params_get_cmd_versions {
    uint8_t cmd;
};

look at her. one member. immaculate. no notes. πŸ’…


πŸ¦‹ Members πŸ¦‹

  • cmd β€” the command you wanna check. that's the whole member, babes, she's a single-field queen πŸ‘‘

🌈 SEE ALSO 🌈

okay so this section is long, like, "not me scrolling for five business days" long, but every single one of these is here for a reason and i'm not about to skip a single one because that's simply not the energy we're bringing today. strap in, bestie, we're going on a journey 🧚

  • 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_v1(9) β€” bestie's sequel, the v1 era πŸ’œ
  • 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)

and the kernel file you literally need to go look at, no cap:

  • ./include/linux/platform_data/cros_ec_commands.h

ok but real talk for a sec πŸ™ˆ every single one of those references is a real page, so if you're lost, just go read them β€” they're all in the same little family and honestly? the lore is deep. iykyk πŸ’€

and that's the whole page, bestie! short, sweet, and absolutely slaying the embedded controller game ⭐ this gem comes to you from ./include/linux/platform_data and it was dated October 2026 β€” so mark your calendars and stan responsibly, mwah πŸ’–πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from