rio_local_get_device_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rio_local_get_device_id(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the Kernel API Manual page for rio_local_get_device_id(9) and honestly? it's a little cutie. lowkey one job, does it well. let's get into it 🫢


🌸 NAME 🌸

rio_local_get_device_id β€” get the base/extended device id for a port, fr fr that's the whole vibe ✨


πŸŽ€ SYNOPSIS πŸŽ€

u16 rio_local_get_device_id (struct rio_mport *port );

that's it. one arg, one u16 coming back at you. iconic behavior honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • port β€” the RIO master port you're pulling the deviceid from. that's your main character right there πŸ’–

✨ DESCRIPTION ✨

so what does it actually do? it reads the base/extended device id from the local device that's implementing the master port. then it hands you back the 8/16-bit device id. that's the whole quest. no cap, no side plots, just the id πŸŽ€

like it's giving "small function, big confidence" and we respect it πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

bestie there is a whole rapidio friend group and you're about to meet every single one of them. buckle up πŸ’€

the kernel file lives at ./drivers/rapidio/rio.c and here's the full clique:


and that's the whole page bestie, you ate that πŸ’…βœ¨

sign-off time 🫢 this one comes from ./drivers/rapidio and it's dated October 2026 β€” so yes, she's from the future and she's still just returning a device id. queen behavior πŸ‘‘πŸ’–

πŸ“¦ where this page comes from