rio_get_drvdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rio_get_drvdata β€” like, the Kernel API Manual page for it ✨

okay so bestie, welcome to rio_get_drvdata(9) β€” yes that's the manual page name and yes we're gonna get through this together 🫢


🌸 NAME 🌸

rio_get_drvdata β€” the little function that gets you the RIO driver specific data πŸ’…

✨ SYNOPSIS ✨

void * rio_get_drvdata (struct rio_dev *rdev );

look at her. one function, one arg, returns a void *. she's simple, she's iconic, she ate πŸ”₯

πŸŽ€ ARGUMENTS πŸŽ€

  • rdev β€” the RIO device in question πŸ¦‹ like, the specific one you're asking about. that's it, that's the whole argument.

πŸ’œ DESCRIPTION πŸ’œ

Okay so the whole vibe here: rio_get_drvdata grabs the RIO driver specific data. That's literally the job.

It returns a pointer to that driver specific data. That pointer is what you get back. void *, as promised. no cap, no extra steps, no side quests πŸ’€

ngl this one is short and sweet β€” the function does exactly what the NAME says and nothing else. love that for us πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file this lives in: ./include/linux/rio_drv.h β€” go say hi to her πŸ’–

and then, the whole friend group of related calls, all in (9) section glory:

and yeah β€” rio_set_drvdata(9) is literally her other half, the one who sets what she gets. soulmate behavior fr fr πŸ‘‘ (go read that one too, iykyk)


source: ./include/linux Β· version/date: October 2026 β€” mwah, that's the whole page bestie, ily, go read your docs πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from