STRUCT CROS_EC_CEC_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct cros_ec_cec_port(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct cros_ec_cec_port, and it's literally the driver data for a single EC CEC port. one port. just one. she's a one-port girly and she's iconic for it πŸŽ€


πŸ¦‹ NAME

struct cros_ec_cec_port β€” Driver data for a single EC CEC port

like… that's the whole vibe. per-port driver data. no notes πŸ‘‘


✨ SYNOPSIS

struct cros_ec_cec_port {
    int port_num;
    struct cec_adapter *adap;
    struct cec_notifier *notify;
    struct cec_msg rx_msg;
    struct cros_ec_cec *cros_ec_cec;
 };

ok so that's the shape of her πŸ’– five members, that's it, no cap. (and yes, the closing brace is indented by one space in the original β€” we do not gatekeep, we preserve 🫢)


🌸 Members

  • port_num β€” port number. literally just the number of the port. she tells you which port she is πŸ’…
  • adap β€” CEC adapter. the struct cec_adapter * pointer, i.e. the CEC adapter itself πŸ”₯
  • notify β€” CEC notifier pointer. it's the struct cec_notifier *, doing notifier things πŸ¦‹
  • rx_msg β€” storage for a received message. it's a struct cec_msg and it holds a message that got received. yes that's the tea, that's exactly what it says πŸ™ˆ
  • cros_ec_cec β€” pointer to the parent struct. parent energy πŸ‘‘ main character is struct cros_ec_cec, this one is the child, that's the dynamic ✨

🌈 SEE ALSO

  • Kernel file ./drivers/media/cec/platform/cros-ec/cros-ec-cec.c
  • struct cros_ec_cec(9)

go read those, iykyk πŸ’œ


ok that's the whole page bestie, she's short but she ate πŸ“ no bugs documented here, no exit statuses, no environment variables β€” this one's just a struct and her five fields, and we respect her for that ⭐

and that's a wrap! πŸŽ€ this lil cutie comes from the kernel source file ./drivers/media/cec/platform/c... and she's dated October 2026, so like… future slay 🌸 periodt πŸ’…

πŸ“¦ where this page comes from