iwl_pcie_get_sgt_tb_phys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iwl_pcie_get_sgt_tb_phys(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and the star of the show is iwl_pcie_get_sgt_tb_phys β€” say that five times fast, i dare you 😭 this one's a kernel function from the iwlwifi driver and she's lowkey iconic.


✨ NAME ✨

iwl_pcie_get_sgt_tb_phys β€” find the TB address in a mapped SG list 🎯


πŸ¦‹ SYNOPSIS πŸ¦‹

dma_addr_t iwl_pcie_get_sgt_tb_phys (struct sg_table *sgt , unsigned int
offset , unsigned int len );

like, look at her go πŸ’… signature's right there, no notes.


πŸŽ€ ARGUMENTS πŸŽ€

  • sgt β€” the scatter gather table, aka the whole vibe of mapped memory we're poking at πŸ—ΊοΈ
  • offset β€” how far into the mapped memory you wanna look (i.e. the SKB payload data, iykyk)
  • len β€” the length of the area, so we know how much of it counts πŸ“

🌸 DESCRIPTION 🌸

so the whole point: this function finds the DMA address that corresponds to the SKB payload data sitting at the position given by offset. that's it, that's the tea β˜• she maps your offset to an address, no cap.


πŸ‘‘ RETURN πŸ‘‘

the address for the TB entry 🫢 literally what you came for.


🌈 SEE ALSO 🌈


bestie reminder: those are the related calls fr fr, go check them out, don't just stop here πŸ™ˆ

and that's the page!! 🧚 source is ./drivers/net/wireless/intel/i... and it's dated October 2026 β€” mwah, bye, slay πŸ’œβ­πŸ“

πŸ“¦ where this page comes from