STRUCT CORESIGHT_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– STRUCT CORESIGHT_PLATFORM_DATA(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes we're in the kernel section today, put your hair up, we're getting into it. This page is all about struct coresight_platform_data, which is literally the data harvested from the firmware specification. that's it, that's the vibe. it's giving "the firmware told me its whole life story and i wrote it down." πŸŽ€


✨ SYNOPSIS ✨

struct coresight_platform_data {
    int nr_inconns;
    int nr_outconns;
    struct coresight_connection **out_conns;
    struct coresight_connection **in_conns;
 };

look at her. four members. flawless. no notes. πŸ’…


🌸 Members 🌸

  • nr_inconns β€” the number of elements for the input connections. that's how many ins we're talking about, bestie. count them. πŸ”’
  • nr_outconns β€” the number of elements for the output connections. same energy, but for the outs. πŸ“€
  • out_conns β€” an array of nr_outconns pointers to connections from this component. it points outward, like your friend who's always like "omg you have to meet my other friend." πŸ¦‹
  • in_conns β€” a sparse array of pointers to input connections. and why is it sparse? because the source device owns the connection β€” so when it gets unloaded, the connection just leaves an empty slot behind. no cap, it's literally a ghosted slot. πŸ˜­πŸ‘»

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./include/linux/coresight.h and the whole coresight friend group β€” they all hang out together:

  • union coresight_dev_subtype(9)
  • struct csdev_access(9)
  • struct coresight_desc(9)
  • struct coresight_connection(9)
  • struct coresight_sysfs_link(9)
  • struct coresight_device(9)
  • struct coresight_path(9)
  • struct coresight_ops_sink(9)
  • struct coresight_ops_link(9)
  • struct coresight_ops_source(9)
  • struct coresight_ops_helper(9)
  • struct coresight_ops_panic(9)

okay that's the whole page, you ate that 🫢 go forth and be iconic with your connections.

and that's a wrap, bestie! this little gem lives in ./include/linux, dated October 2026, and it signs off exactly the way it came in: struct cores...latform_data(9) β€” iconic from start to finish, periodt. πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from