of_graph_get...ote_endpoint(9)
π of_graph_get...ote_endpoint(9) β like, the Kernel API Manual page, bestie β¨
okay so real talk, the title got cut off mid-word up there (rude), but the actual function is of_graph_get_remote_endpoint and this is its whole moment. welcome to the group chat π«Ά
πΈ NAME πΈ
of_graph_get_remote_endpoint β get remote endpoint node. that's it. that's the whole vibe. it fetches a node for you π
β¨ SYNOPSIS β¨
struct device_node * of_graph_get_remote_endpoint (const struct
device_node *node );
literally the signature, untouched, no cap π
π¦ ARGUMENTS π¦
nodeβ pointer to a local endpointdevice_node. like, the endpoint you already have. you're handing it over so it can go find the remote one for you π§
π RETURN π
it gives you back the remote endpoint node associated with the remote endpoint node linked to node π₯
β οΈ okay this part matters so listen up: call of_node_put on it when you're done. like, actually do it. don't just ghost the reference π
π SEE ALSO π
the kernel file lives at ./drivers/of/property.c β go say hi π and then there's the whole extended friend group:
of_property_read_bool(9)of_graph_is_present(9)of_property_count_elems_of_size(9)of_find_property_value_of_size(9)of_property_read_u8_index(9)of_property_read_u16_index(9)of_property_read_u32_index(9)of_property_read_u64_index(9)of_property_read_variable_u8_array(9)of_property_read_variable_u16_array(9)of_property_read_variable_u32_array(9)of_property_read_u64(9)of_property_read_variable_u64_array(9)of_property_read_string(9)of_property_match_string(9)of_property_read_string_helper(9)of_graph_parse_endpoint(9)of_graph_get_port_by_id(9)of_graph_get_next_port(9)of_graph_get_next_port_endpoint(9)of_graph_get_next_endpoint(9)of_graph_get_endpoint_by_regs(9)of_graph_get_port_parent(9)of_graph_get_remote_port_parent(9)of_graph_get_remote_port(9)of_graph_get_endpoint_count(9)of_graph_get_port_count(9)of_graph_get_remote_node(9)parse_prop_cells(9)parse_suffix_prop_cells(9)struct supplier_bindings(9)of_link_property(9)
all of them. every single one. i counted, you're welcome π
anyway that's the page!! straight from ./drivers/of, dated October 2026, and yes the header still says of_graph_get...ote_endpoint(9) because whoever truncated it was going through something π mwah, go put your node back, ily π«Άπ
π¦ 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