STRUCT I3C_CCC_SETXTIME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct i3c_ccc_setxtime(9) β€” like, the Kernel API Manual, but make it make sense

okay so bestie, we're in the Kernel API Manual and this is literally struct i3c_ccc_setxtime(9) β€” the little payload that gets passed to the SETXTIME CCC. yes, that CCC. you know the one. πŸŽ€


✨ NAME ✨

struct i3c_ccc_setxtime β€” the payload you pass to the SETXTIME CCC. that's it, that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

here's the shape of it, no cap β€” look at those flexible array member vibes:

struct i3c_ccc_setxtime {
    u8 subcmd;
    u8 data[];
};
bestie the data[] is a flexible array member, meaning it's not sized until somebody decides it is. iconic behaviour honestly.

πŸ¦‹ Members πŸ¦‹

it's giving two fields, both of them main character energy:

  • subcmd β€” one of the sub-commands defined in enum i3c_ccc_setxtime_subcmd. you gotta pick one, okay? it's not a free-for-all. πŸ’…
  • data β€” the sub-command payload. and the amount of data? determined by i3c_ccc_setxtime->subcmd. so like... the subcommand is in charge. the subcommand has main character energy here. periodt. πŸ‘‘

πŸ’œ SEE ALSO πŸ’œ

okay so this struct does NOT exist in a vacuum, bestie β€” here's the whole group chat, and yes you have to look at all of them, i don't make the rules:

  • Kernel file ./include/linux/i3c/ccc.h β€” the 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_getpid(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_getxtime(9), struct i3c_ccc_cmd_payload(9), struct i3c_ccc_cmd_dest(9), and struct i3c_ccc_cmd(9).

like, that is a lot of siblings. family reunion fr fr. 🫢


alright bestie that's the page πŸ’– this one lives in ./include/linux/i3c and the docs are dated October 2026 β€” so jot that down, and go read your CCC headers. slay. πŸŒˆπŸ’…βœ¨

πŸ“¦ where this page comes from