STRUCT PDS_CORE_FW_DOWNLOAD_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pds_core_fw_download_cmd(9) β€” like, the Firmware Download Command ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ and today's main character is struct pds_core_fw_download_cmd β€” literally the firmware download command, no cap. she's giving "here's where the firmware bytes go" energy and honestly? we're obsessed πŸ’…


🌸 NAME 🌸

struct pds_core_fw_download_cmd β€” the Firmware download command πŸ’– (yes that's the whole name, she's a struct, she contains multitudes)


✨ SYNOPSIS ✨

okay so here's the whole glow-up, copied exactly because we do not fumble the code πŸ”₯

struct pds_core_fw_download_cmd {
    u8 opcode;
    u8 rsvd[3];
    __le32 offset;
    __le64 addr;
    __le32 length;
 };

look at her. five fields. immaculate vibes. let's get into it 🫢


πŸ¦‹ Members πŸ¦‹

  • opcode β€” the opcode, bestie. that's it, that's the field πŸ’œ she tells everyone what kind of command this is.
  • rsvd β€” Word boundary padding 🌸 literally just there to keep things lined up all pretty. filler queen, but a necessary filler queen.
  • offset β€” the offset of the firmware buffer within the full image ⭐ so like, where this chunk sits in the big picture. iykyk.
  • addr β€” the DMA address of the firmware buffer πŸ’« the actual address, direct memory access style.
  • length β€” the number of valid bytes in the firmware buffer ✨ how much of this buffer is actually, you know, real. the rest is giving decoration.
fr fr, don't sleep on rsvd β€” it's padding and it matters, it keeps the word boundaries correct. respect her πŸŽ€

🌈 SEE ALSO 🌈

like, the whole extended friend group πŸ’– everything below is from the Kernel file ./include/linux/pds/pds_core_if.h struct and honestly the squad is large:

  • pds_core_drv_identity(9)
  • enum pds_core_dev_capability(9)
  • struct pds_core_dev_identity(9)
  • struct pds_core_dev_identify_cmd(9)
  • struct pds_core_dev_identify_comp(9)
  • struct pds_core_dev_reset_cmd(9)
  • struct pds_core_dev_reset_comp(9)
  • struct pds_core_dev_init_cmd(9)
  • struct pds_core_dev_init_comp(9)
  • struct pds_core_fw_download_comp(9)
  • enum pds_core_fw_control_oper(9)
  • enum pds_core_fw_slot(9)
  • struct pds_core_fw_control_cmd(9)
  • struct pds_core_fw_control_comp(9)
  • enum pds_core_vf_link_status(9)
  • struct pds_core_vf_setattr_cmd(9)
  • struct pds_core_vf_getattr_cmd(9)
  • struct pds_core_vf_ctrl_cmd(9)
  • struct pds_core_vf_ctrl_comp(9)
  • struct pds_core_send_pkg_data_cmd(9)
  • struct pds_core_send_pkg_data_comp(9)
  • struct pds_core_component_tbl(9)
  • struct pds_core_send_component_tbl_cmd(9)
  • struct pds_core_send_component_tbl_comp(9)
  • enum pds_core_send_component_op(9)
  • struct pds_core_flash_component(9)
  • struct pds_core_send_component_cmd(9)
  • struct pds_core_send_component_comp(9)
  • enum pds_core_fw_component_type(9)
  • enum pds_core_component_info_flags(9)
  • struct pds_core_fw_component_info(9)
  • struct pds_core_component_list_info(9)
  • struct pds_core_get_component_info_cmd(9)
  • struct pds_core_get_component_info_comp(9)
  • struct pds_core_finalize_update_cmd(9)
  • struct pds_core_finalize_update_comp(9)
  • struct pds_core_match_record_desc_cmd(9)
  • struct pds_core_match_record_desc_comp(9)
  • enum pds_core_host_mem_oper(9)
  • struct pds_core_host_mem_cmd(9)
  • struct pds_core_host_mem_comp(9)
  • struct pds_core_dev_hwstamp_regs(9)
  • struct pds_core_dev_info_regs(9)
  • struct pds_core_dev_cmd_regs(9)
  • struct pds_core_dev_regs(9)

that's the whole page bestie, you ate that πŸ’…

🧚 cute little sign-off: this came from ./include/linux/pds, dated October 2026, and it's all about struct pds_...download_cmd(9) β€” go forth and download that firmware, queen πŸ‘‘πŸ’–
πŸ“¦ where this page comes from