qed_mcp_get_flash_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

qed_mcp_get_flash_size β€” Get the flash size value. Okay so this is from the Kernel API Manual, section 9, and bestie it's giving tiny kernel helper energy β€” literally just getting the flash size value. Obsessed. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int qed_mcp_get_flash_size (struct qed_hwfn *p_hwfn , struct qed_ptt
*p_ptt , u32 *p_flash_size );

🌸 ARGUMENTS 🌸

Okay so here's the cast, no cap:

  • p_hwfn β€” HW device data. The main character hardware info. slay.
  • p_ptt β€” PTT required for register access. You need it, periodt.
  • p_flash_size β€” Flash size in bytes to be filled. This is where the answer goes, bestie. ✨

πŸ’œ RETURN πŸ’œ

Int - 0 - Operation was successul.

So yeah: return type Int, and 0 is the documented success vibe. The spelling is successul exactly like that, and we are not fixing it. πŸ˜­πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file bestie: ./drivers/net/ethernet/qlogic/qed/qed_mcp.h

And the whole QED friend group, all in the same order because we do not skip details, iykyk:


Source/version: ./drivers/net/ethernet/qlogic/qed Β· date: October 2026 Β· page: qed_mcp_get_flash_size(9). Byeee, go get that flash size bestie! πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from