STRUCT I3C_CCC_GETPID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 is pid[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] is u8, 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