of_graph_parse_endpoint(9)
π of_graph_parse_endpoint(9) π
okay so this is a page from the Kernel API Manual β yes, that Kernel API Manual, the one your boomer coworker keeps open in a tmux pane β and today's main character is of_graph_parse_endpoint. she parses common endpoint node properties. that's her whole thing. slay.
β¨ SYNOPSIS β¨
int of_graph_parse_endpoint (const struct device_node *node , struct
of_endpoint *endpoint );
like, two args, one int back. simple. elegant. no cap.
π ARGUMENTS π
nodeβ a pointer to the endpointdevice_node. bestie this is the node you're parsing. that's it. that's the vibe.endpointβ a pointer to the OF endpoint data structure, aka where the parsed goodies end up. your output lives here π«Ά
πΈ DESCRIPTION πΈ
okay so the actual lore here is short and honestly kind of iconic in how blunt it is: the caller should hold a reference to node.
that's it. that's the description. hold your reference, girl. don't be out here parsing a node you don't have a ref on, that's not the energy we're bringing to this driver π
π₯ SEE ALSO π₯
lowkey the biggest group chat in the whole manpage collection, fr fr. here's everyone:
- Kernel file
./drivers/of/property.c 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_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_remote_endpoint(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)
like, that's a whole roster. theof_graph_*girls, theof_property_*girls, the parse helpers... everybody showed up to the function. genuinely obsessed π
and that's the page!! she lives in ./drivers/of π, dated October 2026, and her manual name is of_graph_parse_endpoint(9) in case you forgot while scrolling this far, which, fair. go hold your reference and stan responsibly β mwah π
β¨ππ¦
π¦ 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