dev_to_i3cdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dev_to_i3cdev

okay so bestie, welcome to the Kernel API Manual page for dev_to_i3cdev β€” yes it's a kernel function, yes it's short, and yes it's still iconic. this is the one that hands you back the I3C device that's wrapped around a struct device. lowkey a container_of situation but make it fashion ✨


🌸 NAME 🌸

dev_to_i3cdev β€” returns the I3C device containing @dev

like, you give it a device, it gives you the I3C device it lives inside. that's the whole vibe. no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

dev_to_i3cdev (__dev );

that's it. that's the call. she's simple, she's neat, she slays πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • __dev β€” device object. literally just hand her the device and she'll do the rest πŸ“

⭐ RETURN ⭐

a pointer to an I3C device object. that's the whole payoff, bestie β€” you put in a device, you get back the I3C device, main character energy all around πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

so there's a lot of family here, and we're gonna list every single one because nobody gets left out of the group chat πŸ’–

kernel file ./include/linux/i3c/device.h, plus:

iykyk, the whole I3C crew is here and they all ate 🌈


ngl this one's a tiny page, but tiny β‰  unimportant. go read the rest of the I3C squad when you're done here 🧚

and that's a wrap, bestie! this absolute gem lives in ./include/linux/i3c, and the manual was dated October 2026 β€” so yes, dev_to_i3cdev(9), still serving looks into the future πŸ’œβœ¨

πŸ“¦ where this page comes from