STRUCT EC_PARAMS_CEC_GET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ec_params_cec_get(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ β€” yes this is a real page from the kernel docs and yes it's about one (1) lil struct, but honestly? it's giving important. this is the little request packet you send when you want to get a CEC parameter back, iykyk πŸŽ€


🌸 NAME 🌸

struct ec_params_cec_get β€” CEC parameters get. that's it, that's the whole vibe. you're asking for a parameter. you're getting a parameter. slay πŸ’–


✨ SYNOPSIS ✨

she's small, she's bitfield-y, she's exactly this:

struct ec_params_cec_get {
    uint8_t cmd : 4;
    uint8_t port : 4;
 };

not me being obsessed with a 4-bit + 4-bit split 🫢 like yes queen, pack it tight.


πŸ¦‹ MEMBERS πŸ¦‹

  • cmd β€” the parameter type πŸ’… β€” it can be CEC_CMD_ENABLE or CEC_CMD_LOGICAL_ADDRESS. those are the two (2) options, no cap, don't try to freestyle a third one.
  • port β€” which CEC port you're pulling the parameter from πŸŽ€ β€” literally just "the CEC port to get the parameter on."

🌈 SEE ALSO 🌈

bestie, buckle up 😭 this is the friend group and everyone showed up. the kernel file we're living in is ./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_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_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, the whole extended universe fr fr πŸ’€ every single one of them, we listed them all, we did not skip a single one, periodt πŸ‘‘


that's the page babes 🧚 this icon lives in ./include/linux/platform_data and the date on her birth certificate says October 2026 β€” so yeah, future queen behavior πŸ’œ mwah, go get those CEC parameters πŸ“

πŸ“¦ where this page comes from