icc_link_create(9)
π icc_link_create(9) β like, the kernel API manual page, bestie β¨
okay so this is icc_link_create(9) from the Kernel API Manual, and honestly? it's giving connector-core realness π
β¨ NAME β¨
icc_link_create β create a link between two nodes ππ«Ά
πΈ SYNOPSIS πΈ
int icc_link_create (struct icc_node *node , const int dst_id );
π¦ ARGUMENTS π¦
nodeβ the source node id, she's the one doing the linking πdst_idβ the destination node id, the one getting linked to β¨
π DESCRIPTION π
So here's the vibe: you're creating a link between two nodes, periodt.
And like β plot twist β those nodes might belong to different interconnect providers, and the dst_id node might not even exist yet (which happens if the provider driver has not probed yet, no cap π). So the move is: just create the dst_id node, and then when the actual provider driver is probed, the rest of the node data is filled in. iconic behavior honestly π§
β RETURN β
0 on success, or an error code otherwise π (like, she returns an int for a reason bestie)
π₯ SEE ALSO π₯
Kernel file ./drivers/interconnect/core.c β and all these besties:
of_icc_get_from_provider(9)of_icc_get_by_index(9)of_icc_get(9)icc_get(9)icc_set_tag(9)icc_get_name(9)icc_set_bw(9)icc_put(9)icc_node_create_dyn(9)icc_node_create(9)icc_node_destroy(9)icc_node_set_name(9)icc_link_nodes(9)icc_node_add(9)icc_node_del(9)icc_nodes_remove(9)icc_provider_init(9)icc_provider_register(9)icc_provider_deregister(9)
anyway that's the whole page, mwah π β this came from the source/version ./drivers/interconnect and it's dated October 2026, so like, mark your calendars bestie ποΈπ slay!
π¦ 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