qed_read_regs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– qed_read_regs(9) πŸ’–

okay bestie, welcome to the Kernel API Manual corner β€” this is the whole tea on qed_read_regs(9). It’s giving β€œreads registers into a buffer (using GRC)” and honestly? iconic. πŸ¦‹


✨ NAME ✨

qed_read_regs β€” Reads registers into a buffer (using GRC). No cap, that’s the main character energy right there. πŸ’…


🌸 SYNOPSIS 🌸

void qed_read_regs (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
u32 *buf , u32 addr , u32 len );

πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” HW device data. Like, the hardware device’s data, bestie. 🫢
  • p_ptt β€” Ptt window used for writing the registers. Yes, writing β€” that’s what the page says, don’t come for me. πŸ’€
  • buf β€” Destination buffer. The place your registers are gonna land. πŸ“
  • addr β€” Source GRC address in dwords. Keep that unit, iykyk. ✨
  • len β€” Number of registers to read. Literally how many we’re grabbing. 🌈

πŸ’œ RETURN πŸ’œ

Void. No return value, no drama, periodt. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file to peek at: ./drivers/net/ethernet/qlogic/qed/qed_dbg_hsi.h β€” go bestie, go. πŸ‘‘

No cap, the whole reference squad is:

Cute sign-off time: this page came from ./drivers/net/ethernet/qlogic/qed, October 2026. Slay, bye bestie. πŸŽ€πŸ’–
πŸ“¦ where this page comes from