STRUCT EC_PARAMS_FLASH_ERASE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ec_params_flash_erase β€” Kernel API Manual ✨

okay so bestie, welcome to the struct ec_params_flash_erase(9) page πŸ’… this is the kernel API manual, and we're talking about the parameters for the flash erase command, v0 β€” yes, the older icon, the blueprint, the main character before the glow-up πŸŽ€


🌸 NAME 🌸

struct ec_params_flash_erase β€” literally the parameters for the flash erase command, v0. no cap, that's the whole job 🫢


✨ SYNOPSIS ✨

struct ec_params_flash_erase {
    uint32_t offset;
    uint32_t size;
 };

look at her. two fields. tiny struct, huge responsibility πŸ˜­πŸ’–


πŸ’– Members πŸ’–

  • offset β€” the byte offset to erase. like, where the erasing starts, bestie πŸ“
  • size β€” the size to erase, in bytes. how much gets wiped, measured in bytes 🧚

πŸ”₯ SEE ALSO πŸ”₯

okay this is the whole group chat, everybody's here, no one got left on read πŸ‘‘ and yeah, the kernel file is ./include/linux/platform_data/cros_ec_commands.h β€” go say hi to the source:

  • 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_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, the entire extended universe fr fr πŸŒˆπŸ’€


and that's the page, bestie πŸ¦‹ this lil cutie lives in ./include/linux/platform_data, dated October 2026, and the page herself is struct ec_pa..._flash_erase(9) β€” name got abbreviated for the fit but she's iconic either way πŸ‘‘βœ¨ mwah πŸ’–

πŸ“¦ where this page comes from