STRUCT EC_PARAMS_FLASH_PROTECT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual, bestie πŸ’… this is the page for struct ec_params_flash_protect(9), and it is literally the parameters for the flash protect command. That’s the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

here’s the struct in all her tiny glory:

struct ec_params_flash_protect {
    uint32_t mask;
    uint32_t flags;
};

🌸 Members 🌸

  • mask β€” the bits in flags to apply. like, which bits are actually getting the treatment πŸ’…
  • flags β€” the new flags to apply. fresh flags, new you ✨

🌈 SEE ALSO 🌈

if you’re going on a cross-reference side quest (iykyk), start with the kernel file, then say hi to all these structs:

  • ./include/linux/platform_data/cros_ec_commands.h β€” the kernel file πŸ’–
  • 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_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)

kiss kiss, bestie 🫢 this page comes from the source/version spot at ./include/linux/platform_data, and its date is October 2026. slay. πŸ’…

πŸ“¦ where this page comes from