ntb_spad_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ntb_spad_read(9) β€” Kernel API Manual πŸ’–

okay so bestie, welcome to the ntb_spad_read page, part of the Kernel API Manual ✨ This one's short and sweet and honestly kind of a vibe β€” it's the "just go look at it" of the NTB world πŸŽ€


✨ NAME ✨

ntb_spad_read β€” read the local scratchpad register πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 ntb_spad_read (struct ntb_dev *ntb , int sidx );

like. that's the whole thing. that's the function. she's compact πŸ‘‘


🌸 ARGUMENTS 🌸

  • ntb β€” the NTB device context. your whole situation, basically 🫢
  • sidx β€” the scratchpad index. which scratchpad you're peeking at, iykyk 🌈

πŸ’œ DESCRIPTION πŸ’œ

Read the local scratchpad register. And then return the value. That's it, that's the entire plot 😭✨ lowkey iconic in how little it asks of you.

it's local, bestie β€” note that, because there's a whole other ntb_peer_spad_read(9) for the peer side and you do NOT wanna mix those up πŸ™ˆ


⭐ RETURN ⭐

The value of the local scratchpad register. that's the return value. it's giving "what it says on the tin" πŸ’€πŸ’–


🧚 SEE ALSO 🧚

Kernel file ./include/linux/ntb.h fr fr, plus the whole friend group πŸ‘‘:


okay that's the whole page, go read your scratchpad bestie πŸ“βœ¨

huge mwah to ./include/linux β€” this one's from October 2026 πŸŽ€πŸ’– slay.

πŸ“¦ where this page comes from