STRUCT EC_PARAMS_HELLO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ec_params_hello(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the little baby struct that starts every conversation with the EC πŸ’– this page lives in the Kernel API Manual, and it's genuinely the shortest glow-up on the block β€” one struct, one member, no cap.


🌸 NAME 🌸

struct ec_params_hello β€” Parameters to the hello command.

yep, that's it. it's giving "first day of school, only brought a pencil" energy πŸŽ€ but honestly? iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ec_params_hello {
    uint32_t in_data;
 };

look at her. one field. flawless. no notes πŸ’…


πŸ‘‘ Members πŸ‘‘

  • in_data β€” Pass anything here. fr fr, anything. it's the "you up?" of kernel structs, no expectations, no rules, just vibes ✨

🧚 SEE ALSO 🧚

okay this is where it gets unhinged β€” the whole extended friend group is gonna roll up 😭 the kernel file ./include/linux/platform_data/cros_ec_commands.h is the group chat, and everybody in it is tagged:

  • struct ec_lpc_host_args(9)
  • struct ec_host_request(9)
  • struct ec_host_response(9)
  • struct ec_response_proto_version(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_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)

like, forty structs. FORTY. she brought the whole squad to the function 😭🫢 go read them, iykyk.


mwah πŸ’œ that's the whole page, bestie β€” brought to you from ./include/linux/platform_data, stamped October 2026, and signed off with love πŸŽ€βœ¨

πŸ“¦ where this page comes from