ntb_peer_spad_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ntb_peer_spad_write(9) β€” Kernel API Manual πŸ’…

🌸 NAME 🌸

ntb_peer_spad_write β€” write the peer scratchpad register πŸ’–

✨ SYNOPSIS ✨

int ntb_peer_spad_write (struct ntb_dev *ntb , int pidx , int sidx , u32
val );

πŸŽ€ ARGUMENTS πŸŽ€

  • ntb β€” the NTB device context, aka the main character's backstage pass 🎟️
  • pidx β€” port index of the peer device, iykyk 🫢
  • sidx β€” scratchpad index πŸ“‡
  • val β€” the scratchpad value you're putting in there ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is literally the move where you write the value to the peer scratchpad register. That's the whole vibe: val goes in, peer scratchpad register gets written, periodt πŸ’…

πŸ’« RETURN πŸ’«

Zero on success β€” slay πŸ‘‘ Otherwise, you get an error number. Not the cute kind of surprise, but that's the rule 😭

🌈 SEE ALSO 🌈

Kernel file: ./include/linux/ntb.h β€” here's the whole NTB extended universe, bestie 🧚✨


Source/version: ./include/linux Β· Date: October 2026 Β· mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from