STRUCT EC_RESPONSE_HELLO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ec_response_hello(9) β€” Kernel API Manual πŸŽ€

okay so bestie. welcome to the Kernel API Manual, section 9, and today's main character is struct ec_response_hello. it's a whole struct. it has one job. and honestly? it ate. ✨


🌸 NAME 🌸

struct ec_response_hello β€” the response to the hello command. that's it. that's the vibe. it's the kernel saying hi back 🫢


⭐ SYNOPSIS ⭐

struct ec_response_hello {
    uint32_t out_data;
 };

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


πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’œ Members πŸ’œ

  • out_data β€” the output, and it's gonna be in_data + 0x01020304. yes literally. that's the whole math. that's the flex. no cap, this is in_data plus 0x01020304 and that is the entire output of this field πŸ”₯

🌈 SEE ALSO 🌈

so there's kind of a whole friend group here, and they're all in the kernel file ./include/linux/platform_data/cros_ec_commands.h β€” go say hi, iykyk 🧚

  • 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_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 i said. big friend group. all iconic πŸ‘‘


πŸŽ€ and that's the page!! this lil guy lives over in ./include/linux/platform_data and the version/date situation is October 2026, so jot that down bestie πŸ’– bye!! πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from