STRUCT I3C_CCC_GETPID(9)
π struct i3c_ccc_getpid(9) β from the Kernel API Manual, bestie β¨
okay so picture this: it's a kernel API manual page, it's giving very serious low-level energy, and it's literally all about one lil struct. no cap. let's get into it π«Ά
πΈ NAME πΈ
struct i3c_ccc_getpid β the payload you pass to the GETPID CCC π (yes that's the whole vibe, it's a payload struct, that's her job, she's iconic for it)
β¨ SYNOPSIS β¨
struct i3c_ccc_getpid {
u8 pid[6];
};
that's it. that's the whole struct. six bytes of pure main character energy π
π¦ Members π¦
pidβ the 48-bit PID, stored in big endian (so like... most significant byte first, periodt π ). 48 bits = 6 bytes, which is exactly why the array ispid[6], the math is mathing and we love to see it β¨
π₯ SEE ALSO π₯
everything below lives in the kernel file ./include/linux/i3c/ccc.h β go read the whole family, they're all linked up like a little friend group π:
struct i3c_ccc_events(9)struct i3c_ccc_mwl(9)struct i3c_ccc_mrl(9)struct i3c_ccc_dev_desc(9)struct i3c_ccc_defslvs(9)enum i3c_ccc_test_mode(9)struct i3c_ccc_enttm(9)struct i3c_ccc_setda(9)struct i3c_ccc_getbcr(9)struct i3c_ccc_getdcr(9)struct i3c_ccc_getstatus(9)struct i3c_ccc_getaccmst(9)struct i3c_ccc_bridged_slave_desc(9)struct i3c_ccc_setbrgtgt(9)enum i3c_sdr_max_data_rate(9)enum i3c_tsco(9)struct i3c_ccc_getmxds(9)struct i3c_ccc_gethdrcap(9)enum i3c_ccc_setxtime_subcmd(9)struct i3c_ccc_setxtime(9)struct i3c_ccc_getxtime(9)struct i3c_ccc_cmd_payload(9)struct i3c_ccc_cmd_dest(9)struct i3c_ccc_cmd(9)
no gatekeeping here, they're all one big happy header file π
bestie moment:pid[6]isu8, so like don't go thinking it's some fancy wide type, it's just six lil bytes. big endian though. respect the byte order or else π€
okay that's the entire page, we ate and left no crumbs π stay hydrated, go read your CCC headers, and remember β this whole thing came from ./include/linux/i3c, dated October 2026, so shoutout to that source and that month fr fr ππ mwah, love u, bye! π§
π¦ 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