STRUCT CORESIGHT_PLATFORM_DATA(9)
π 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 ofnr_outconnspointers 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
- 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