STRUCT EC_PARAMS_FLASH_READ(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ec_params_flash_read β€” the Kernel API Manual, bestie edition ✨

Okay so this is a man page for the Linux kernel API manual, section 9, and it's literally just a lil struct that carries the params for the flash read command. Tiny icon πŸ’… but crucial. Buckle up πŸŽ€


πŸ¦‹ NAME πŸ¦‹

struct ec_params_flash_read β€” the parameters for the flash read command. That's it, that's the whole vibe. It's giving "small but mighty" ✨


🌸 SYNOPSIS 🌸

Here's the whole thing, no notes, copy it exactly:

struct ec_params_flash_read {
    uint32_t offset;
    uint32_t size;
 };

Two fields. Two. That's the whole struct. Lowkey obsessed with how minimal this is 🫢


πŸ’– MEMBERS πŸ’–

  • offset β€” the byte offset to read. Like, where do you wanna start reading from, bestie? That's this one. πŸ“
  • size β€” the size to read, and it's in bytes. How much are we grabbing? Tell size fr fr. πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

So there's a lot of friends in this group chat β€” the whole Cros EC command family, no cap. All of these live in the kernel file ./include/linux/platform_data/cros_ec_commands.h:

  • 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_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, that's the whole extended universe right there 🌈 go read them, iykyk πŸ’œ


ngl if you're here for the flash read params specifically, you're a real one. main character energy fr πŸ”₯

And that's the tea β˜• this beauty came out of ./include/linux/platform_data, it's the October 2026 edition of the Kernel API Manual, section 9 β€” struct ec_params_flash_read(9). Slay, go read your flash bytes responsibly πŸ’…πŸ’–

πŸ“¦ where this page comes from