STRUCT CGBC_DEVICE_DATA(9)
hey bestie, you're reading struct cgbc_device_data(9) from the Kernel API Manual β and yes, the manual name is folded in right up top like a lil name tag π. This page is about the kernel's own internal rep of the Board Controller device, and we're gonna make it make sense, fr fr.
π NAME π
struct cgbc_device_data β Internal representation of the Board Controller device. That's the whole gig: it's the kernel-side struct that reps the Board Controller. No cap, she's iconic π
β¨ SYNOPSIS β¨
struct cgbc_device_data {
void __iomem *io_session;
void __iomem *io_cmd;
u8 session;
struct device *dev;
struct cgbc_version version;
struct mutex lock;
};
okay so that's the struct in all its glory β every field is literally right there, spaced exactly like the original because we do not mess with code π
π«Ά Members π«Ά
io_sessionβ Pointer to the session IO memory. Session IO memory goes here.io_cmdβ Pointer to the command IO memory. Command IO memory goes here.sessionβ Session id returned by the Board Controller. It's the Board Controller's session id.devβ Pointer to kernel device structure. Kernel device pointer, slay.versionβ Board Controller version structure. Version struct for the Board Controller.lockβ Board Controller mutex. The Board Controller mutex, periodt.
π SEE ALSO π
- Kernel file
./include/linux/mfd/cgbc.h struct cgbc_version(9)
xoxo, source/version ./include/linux/mfd, dated October 2026 β this was struct cgbc_device_data(9), signing off with a π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms