STRUCT EC_PARAMS_CEC_READ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct ec_params_cec_read(9) β€” Kernel API Manual πŸ¦‹

okay so bestie, welcome to the kernel API manual, and today's main character is struct ec_params_cec_read(9). she's small, she's cute, she has exactly one member, and she's here to help you read a message off the CEC bus. no cap. πŸ’…


✨ NAME ✨

struct ec_params_cec_read β€” literally just: Read a message from the CEC bus. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole entire struct, bestie, look how tiny she is:

struct ec_params_cec_read {
    uint8_t port;
 };

yes that's it. that's the girl. ✨


πŸ‘‘ Members πŸ‘‘

  • port β€” the CEC port you're reading a message on. that's the one (1) thing this struct asks you for. pick your port, bestie, and go read that message. 🫢

🌈 SEE ALSO 🌈

okay this list is LONG, she has a lot of friends, she's very social, iykyk. all of these live in the Kernel file ./include/linux/platform_data/cros_ec_commands.h β€” go say hi:

  • 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_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)

πŸ’€ real talk for one sec: if you came here looking for the other CEC structs, they're all up there in that list β€” ec_params_cec_write, ec_params_cec_write_v1, ec_response_cec_read, ec_params_cec_set, ec_params_cec_get, ec_response_cec_get and ec_response_cec_port_count. the whole cec friend group is accounted for. 🧚

and that's the page!! πŸ’– stay slay, read your CEC messages responsibly, and remember: one uint8_t port, infinite possibilities. πŸ¦‹

✿ from the ./include/linux/platform_data crew, dated October 2026 β€” mwah, bye bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from