STRUCT EC_PARAMS_CEC_WRITE_V1(9)
β¨ NAME β¨
okay so welcome to the Kernel API Manual page for struct ec_params_cec_write_v1, bestie π
. The NAME situation is literally:
struct ec_params_cec_write_v1 - Message to write to the CEC bus
Thatβs the whole main-character job: itβs the message struct for writing to the CEC bus. No cap.
π SYNOPSIS π
Hereβs her exact shape, character for character, because we do not play with code π«Ά:
struct ec_params_cec_write_v1 {
uint8_t port;
uint8_t msg_len;
uint8_t msg[MAX_CEC_MSG_LEN];
};
Itβs giving tiny struct, big CEC energy π¦.
π Members π
Inside this struct you get three members, and they are literally:
portβ CEC port to write the message on. In the struct itβs declared asuint8_t port;πmsg_lenβ length ofmsgin bytes. In the struct itβs declared asuint8_t msg_len;fr fr.msgβ message content to write to the CEC bus. In the struct itβs declared asuint8_t msg[MAX_CEC_MSG_LEN];π
π¦ SEE ALSO π¦
Go peek at these too, bestie β hereβs the whole roster, and yes, we are listing every single one:
- Kernel file:
./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_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)
source/version: ./include/linux/platform_data Β· date: October 2026 β bye bestie, go write that CEC message ππ«Ά
π¦ 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