rd64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rd64(9) β€” read a 64 bit hw register πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this is rd64(9), and no cap it's one of the little glue functions that keeps everything from falling apart. come sit, it's a short one 🫢


✨ NAME ✨

rd64 β€” read a 64 bit hw register πŸ‘‘

literally just: you go get the value out of a 64-bit hardware register. that's the whole vibe check.


🌸 SYNOPSIS 🌸

u64 rd64 (struct irdma_hw *hw , u32 reg );

she takes two things and gives you back a u64. iconic behavior honestly πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” the hardware info, and yes it includes the registers in there. this is your map, your lookup, your whole situation πŸ—ΊοΈ
  • reg β€” the register offset. which register we're peeking at. pick one, bestie 🎯

πŸ¦‹ DESCRIPTION πŸ¦‹

the return value is the register content. that's it. that's the function πŸ’€ like it literally just hands you back what's sitting in that register β€” no plot twist, no hidden lore, just your value, slay ✨

ngl this is the kind of function that's small but every single thing depends on her. main character energy fr fr πŸ‘‘


🌈 SEE ALSO 🌈

okay so this is the part where I need you to stay with me because the list is long bestie 😭 but every single one of these is real and matters, so let's go, no skipping, we don't do that here 🫢

first up, the kernel file this all lives in β€” <pink>./drivers/infiniband/hw/irdma/utils.c</pink> β€” and the whole extended fam:

like I said. LONG list. but we read every name, we respected every name, periodt πŸ’…


fr fr the whole lesson is: give her hw and reg, she gives you the 64-bit register content back. tiny function, huge responsibilities. we stan πŸ“

and that's the page bestie!! 🌸 this one came out of <purple>./drivers/infiniband/hw/irdma</purple> with a date stamp of <cyan>October 2026</cyan>, page rd64(9) β€” see you in the next manpage, mwah πŸ’–πŸ§šβœ¨

πŸ“¦ where this page comes from