tsi721_cread_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tsi721_cread_dma(9) ✨

okay bestie, welcome to the kernel API manual for tsi721_cread_dma πŸ’… this little icon lives in section 9 of the Kernel API Manual, and honestly? she's serving "one job, does it well" energy. let's get into it πŸŽ€


🌸 NAME 🌸

tsi721_cread_dma β€” Generate a RapidIO maintenance read transaction using Tsi721 BDMA engine.

like, that's literally her whole personality. a maintenance read, but she's using the BDMA engine to do it. main character behavior fr πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

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

seven arguments, zero chill. she ate πŸ’–


πŸ’œ ARGUMENTS πŸ’œ

  • mport β€” the RapidIO master port control structure. this is the boss of the operation, show some respect πŸ‘‘
  • index β€” ID of RapdiIO interface. yes. it says "RapdiIO". i don't make the rules, i just report them 😭 (it's the interface ID, that's the tea πŸ“)
  • destid β€” Destination ID of transaction. where we're going, bestie πŸ—ΊοΈ
  • hopcount β€” Number of hops to target device. count 'em. every single one 🐰
  • offset β€” Offset into configuration space. where in the config space we're poking around πŸ”
  • len β€” Length (in bytes) of the maintenance transaction. she comes in bytes, no cap πŸ“
  • data β€” Location to be read into. this is the bucket the read data lands in πŸͺ£

🌈 DESCRIPTION 🌈

Generates a RapidIO maintenance read transaction. that's it, that's the whole vibe. iconic, unbothered, moisturized ✨


⭐ RETURN ⭐

0 on success and -EINVAL or -EFAULT on failure.

so like β€” zero, slay, we love to see it 🫢. anything else and you're getting -EINVAL or -EFAULT thrown back at you, and that's the vibe check failing πŸ’€


πŸŽ€ SEE ALSO πŸŽ€

kernel file ./drivers/rapidio/devices/tsi721.c and the whole friend group:

thirty-four besties. a whole group chat. iykyk πŸ’œ


ngl, if you're deep in the Tsi721 driver, this is your girl. go read the whole squad above if you want the full lore 🌸

okay that's the page!! who wrote it: source ./drivers/rapidio/devices, version date October 2026, and it's tsi721_cread_dma(9) forever and always πŸ’…βœ¨

πŸ“¦ where this page comes from