STRUCT EC_PARAMS_CEC_WRITE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct ec_params_cec_write(9) β€” Kernel API Manual, but make it cute

okay so bestie, welcome to the kernel API manual ✨ this one's all about struct ec_params_cec_write, and it's literally the little messenger that carries your bytes over to the CEC bus. no cap, that's the whole vibe. πŸŽ€


🌸 NAME 🌸

struct ec_params_cec_write β€” the message you send when you wanna write stuff to the CEC bus πŸ’Œ


✨ SYNOPSIS ✨

like, here's the whole struct, and yes it's exactly this and nothing more, she's lowkey minimalist:

struct ec_params_cec_write {
    uint8_t msg[MAX_CEC_MSG_LEN];
 };

🫢 Members 🫢

  • msg β€” the actual message content you're writing to the CEC bus. that's the payload. that's the whole assignment. she's holding your bytes and she's slaying πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

bestie there are SO many siblings in this family, and every single one of them is a struct with a (9) after it. iykyk. here's the full roll call, no skips, no cuts πŸ¦‹:

  • 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_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)
oh and don't forget the kernel file itself lives at ./include/linux/platform_data/cros_ec_commands.h β€” that's the source of truth, go read her πŸ’€πŸ“–

and that's the whole page bestie!! this iconic little struct comes to you straight from ./include/linux/platform_data, dated October 2026 β€” like, so futuristic of her honestly πŸ§šπŸ’œ mwah, go write to that CEC bus, you got this πŸ“πŸ”₯

πŸ“¦ where this page comes from