hfi1_addr_from_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hfi1_addr_from_offset(9) πŸ’– β€” a Kernel API Manual moment ✨

okay bestie, gather round the group chat: this is the page for hfi1_addr_from_offset(9), and it is literally giving tiny helper, big readq/writeq energy 🫢

🌸 NAME 🌸

hfi1_addr_from_offset β€” return addr for readq/writeq πŸ’…

✨ SYNOPSIS ✨

void __iomem * hfi1_addr_from_offset (const struct hfi1_devdata *dd ,
       u32 offset );

πŸŽ€ ARGUMENTS πŸŽ€

  • dd β€” the dd device. that's the whole vibe πŸ’–
  • offset β€” the offset of the CSR within bar0. iconic little coordinate ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

This routine is the base-address picker: it selects the appropriate base address based on the indicated offset πŸ’« no cap, that is the whole job.

🌈 SEE ALSO 🌈

Kernel file ./drivers/infiniband/hw/hfi1/chip.c β€” and here is the whole linked-up squad, in order, no skips πŸ‘‘


πŸ’Œ cute sign-off: this page is from the source ./drivers/infiniband/hw/hfi1, dated October 2026, and it is part of the Kernel API Manual for hfi1_addr_from_offset(9). mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from