tsi721_maint_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the tsi721_maint_dma(9) page β€” it lives in the Kernel API Manual and it's literally the little helper that gets your RapidIO maintenance transactions out the door. no cap, it's giving "small function, big job" energy. πŸŽ€

✨ NAME ✨

tsi721_maint_dma β€” the helper function that generates RapidIO maintenance transactions using a designated Tsi721 DMA channel. πŸ¦‹

🌸 SYNOPSIS 🌸

int tsi721_maint_dma (struct tsi721_device *priv , u32 sys_size , u16
destid , u8 hopcount , u32 offset , int len , u32 *data , int do_wr );

πŸ’– ARGUMENTS πŸ’–

like, every single one of these matters, so pay attention bestie:

  • priv β€” pointer to the tsi721 private data. your whole vibe lives here. ✨
  • sys_size β€” the RapdiIO transport system size.
  • destid β€” the Destination ID of the transaction. who are we talking to πŸ‘€
  • hopcount β€” the number of hops to the target device. it's a journey, not a sprint πŸšΆβ€β™€οΈ
  • offset β€” the offset into configuration space.
  • len β€” the length (in bytes) of the maintenance transaction. keep it exact, no vibes-based measuring πŸ“
  • data β€” the location to be read from or written into.
  • do_wr β€” the operation flag, where 1 == MAINT_WR. so 1 means write, and that's the whole mood πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

It generates a RapidIO maintenance transaction β€” Read or Write. That's it, that's the function. iconic behaviour, honestly. πŸ‘‘

⭐ RETURN ⭐

0 on success, and -EINVAL or -EFAULT on failure. so like, always check your return value, bestie β€” it's not decorative 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/rapidio/devices/tsi721.c β€” plus the whole squad, fr fr:


and that's the whole page, bestie 🫢 this one's chilling in ./drivers/rapidio/devices, dated October 2026, and it's still out here signing off as tsi721_maint_dma(9) like the main character it is πŸ’œβœ¨

πŸ“¦ where this page comes from