tsi721_cwrite_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tsi721_cwrite_dma ✨

okay so bestie, welcome to the tsi721_cwrite_dma(9) page πŸ’– this one lives in the Kernel API Manual and it's literally all about generating a RapidIO maintenance write transaction using the Tsi721 BDMA engine. no cap, that's the whole vibe.


✨ SYNOPSIS ✨

int tsi721_cwrite_dma (struct rio_mport *mport , int index , u16 destid
, u8 hopcount , u32 offset , int len , u32 data );

like, that's the whole signature 🫢 she's a little long but she ate.


πŸŽ€ ARGUMENTS πŸŽ€

  • mport β€” the RapidIO master port control structure, aka the main character of this story πŸ‘‘
  • index β€” ID of RapdiIO interface (yes, the original page spells it "RapdiIO", and honestly? iconic typo behavior, we keep it πŸ’€)
  • destid β€” Destination ID of the transaction, like the address of where it's going πŸ¦‹
  • hopcount β€” how many hops to the target device 🧚 literally the travel itinerary
  • offset β€” offset into configuration space, the exact spot we're poking at 🎯
  • len β€” length (in bytes) of the maintenance transaction, so we know how much we're moving πŸ“
  • data β€” the value to be written, the actual payload, the moment πŸ’–

🌸 DESCRIPTION 🌸

okay so what does she do? Generates a RapidIO maintenance write transaction. periodt. that's it, that's the whole job πŸ”₯


⭐ RETURN ⭐

  • 0 on success πŸŽ‰ slay
  • -EINVAL or -EFAULT on failure 😭 (not every day is a good day, bestie)

πŸ’œ SEE ALSO πŸ’œ

okay so this is the part where we shout out the whole friend group, and there are a LOT of them, so buckle up πŸŽ€ the kernel file lives at ./drivers/rapidio/devices/tsi721.c and here's everybody:

ngl that's a whole group chat and they all have main character energy πŸ’…


and that's the page, bestie!! 🫢 this one ships from ./drivers/rapidio/devices and it's dated October 2026 ⭐ go forth and write your maintenance transactions, iykyk πŸ’–βœ¨

πŸ“¦ where this page comes from