STRUCT EC_PARAMS_CEC_READ(9)
π¦ 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_getandec_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms