STRUCT CORESIGHT_CONNECTION(9)
π NAME π
okay so welcome to the Kernel API Manual, bestie β this is the page for struct coresight_connection(9). The name is literally struct coresight_connection β representation of a single connection. That's the whole vibe: one connection, fully represented. no cap. π«Ά
β¨ SYNOPSIS β¨
Here's the struct in all its glory β fields exactly as they are, no editorial remix:
struct coresight_connection {
int src_port;
int dest_port;
struct fwnode_handle *dest_fwnode;
struct coresight_device *dest_dev;
struct coresight_sysfs_link *link;
struct coresight_device *src_dev;
struct fwnode_handle *filter_src_fwnode;
struct coresight_device *filter_src_dev;
int src_refcnt;
int dest_refcnt;
};
π Members π
src_portβ a connection's output port number. iconic little number. β¨dest_portβ the destination's input port number thatsrc_portis connected to. iykyk. π₯dest_fwnodeβ the destination component's fwnode handle. πdest_devβ acoresight_devicerepresentation of the component. slay. πlinkβ representation of the connection as a sysfs link. cute. π¦filter_src_fwnodeβ the filter source component's fwnode handle. πfilter_src_devβ acoresight_devicerepresentation of the component that β and that's where the original line ends, bestie. No cap, it just stops. π
src_dev, src_refcnt, and dest_refcnt are in the struct up top, but this Members section doesn't give them their own one-liners β and I'm not inventing lore. π
πΈ Description πΈ
okay so the full connection structure looks like this, where in_conns store references to same connection as the source device's out_conns. Here's the exact diagram, untouched:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β coresight_device coresight_connection β
β ----------------------------- ----------------------------- β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| | | dest_dev*|<--
|pdata->out_conns[nr_outconns]|<->|src_dev* | | |
| | | | |
ββββββββββββββββββββββββββββββββββββββββββ
β coresight_device β
β ------------------------------ β
β β
ββββββββββββββββββββββββββββββββββββββββββ
| pdata->in_conns[nr_in_conns]|<-- | |
π¦ SEE ALSO π¦
Kernel file: ./include/linux/coresight.h. The whole friend group is:
union coresight_dev_subtype(9)struct coresight_platform_data(9)struct csdev_access(9)struct coresight_desc(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)
source/version: ./include/linux Β· date: October 2026 β mwah, that's the whole page, bestie. ππ
π¦ 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