STRUCT EC_RESPONSE_CEC_READ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct ec_response_cec_read β€” the lil struct that carries a message that got read off the CEC bus πŸŽ€ (manual name is struct ec_response_cec_read(9), bestie, don't forget it)


✨ SYNOPSIS ✨

okay so here's literally the whole shape of it, no cap:

struct ec_response_cec_read {
    uint8_t msg_len;
    uint8_t msg[MAX_CEC_MSG_LEN];
 };

🌸 Members 🌸

  • msg_len β€” the length of msg, in bytes. that's it, that's the whole vibe πŸ’…
  • msg β€” the actual message content that got read from the CEC bus πŸ“¨βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group lives in the kernel file ./include/linux/platform_data/cros_ec_commands.h, and honestly the roster is iconic πŸ‘‘:

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


that's the whole page, bestie, you ate that 🫢 anyway this cutie came straight out of ./include/linux/platform_data and it's dated October 2026 β€” so like, future vibes only β­πŸ’œ stay hydrated, go read some CEC messages πŸ’…πŸ˜­

πŸ“¦ where this page comes from