qed_dmae_to_grc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… qed_dmae_to_grc πŸ’…

okay so welcome to the Kernel API Manual entry for qed_dmae_to_grc(9). she’s an internal function, so not main-character public API, but she’s out here writing from host to wide-bus registers, no cap. and bestie, read the fine print: split registers are not supported yet, so don’t come for her with those πŸ’€

🌸 NAME 🌸

qed_dmae_to_grc β€” Internal function for writing from host to wide-bus registers (split registers are not supported yet).

✨ SYNOPSIS ✨

int qed_dmae_to_grc (struct qed_hwfn *p_hwfn , struct qed_ptt *p_ptt ,
       __le32 *p_data , u32 addr , u32 len_in_dwords );
⚠️ caveat bestie: split registers are not supported yet. that’s a fact, not a vibe check πŸ”₯

πŸŽ€ ARGUMENTS πŸŽ€

  • p_hwfn β€” HW device data. that’s the hwfn, the whole device vibe.
  • p_ptt β€” PTT window used for writing the registers. this is the window you write through, periodt.
  • p_data β€” Pointer to source data. the data you’re copying from β€” the source material, the moment.
  • addr β€” Destination register address. where it’s going, the destination register.
  • len_in_dwords β€” Data length in dwords (u32). count it in dwords, not vibes, and it’s a u32.

πŸ”₯ RETURN πŸ”₯

Length of the written data in dwords (u32) or -1 on invalid input. so if everything’s cute, you get the length back as a u32; if the input is invalid, it’s -1, and that is not a slay 😭

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c β€” go peek if you want the lore πŸ¦‹

mwah πŸ’‹ β€” this page’s source/version is ./drivers/net/ethernet/qlogic/qed, and the date on it is October 2026. go off, bestie 🫢

πŸ“¦ where this page comes from