fwnode_find_reference(9)
π¦ fwnode_find_reference(9) π¦
okay so bestie, this is the Kernel API Manual entry for fwnode_find_reference(9) β and yes, it's literally the βfind a named reference to a fwnode_handleβ girlie. π
β¨
πΈ NAME πΈ
fwnode_find_reference β find named reference to a fwnode_handle π
β¨ SYNOPSIS β¨
struct fwnode_handle * fwnode_find_reference (const struct fwnode_handle
*fwnode , const char *name , unsigned int index );
π ARGUMENTS π
fwnodeβ the firmware node where you're looking for the reference, bestie. πnameβ the name of the reference. like, the label you're hunting for. π·οΈindexβ the index of the reference. π’
π DESCRIPTION π
index can be used when the named reference holds a table of references. no cap, that's the whole vibe. π
β οΈ okay important: the caller is responsible for callingfwnode_handle_puton the returnedfwnodepointer. do not forget, bestie β this one is on you. π«Ά
π RETURN π
a pointer to the reference fwnode, when found. otherwise, it returns an error pointer. πβ¨
π SEE ALSO π
the kernel file is ./drivers/base/property.c, and the whole SEE ALSO posse is:
device_property_present(9)fwnode_property_present(9)device_property_read_bool(9)fwnode_property_read_bool(9)device_property_read_u8_array(9)device_property_read_u16_array(9)device_property_read_u32_array(9)device_property_read_u64_array(9)device_property_read_string_array(9)device_property_read_string(9)device_property_match_string(9)fwnode_property_read_u8_array(9)fwnode_property_read_u16_array(9)fwnode_property_read_u32_array(9)fwnode_property_read_u64_array(9)fwnode_property_read_string_array(9)fwnode_property_read_string(9)fwnode_property_match_string(9)fwnode_property_match_property_string(9)fwnode_property_get_reference_args(9)fwnode_get_name(9)fwnode_get_name_prefix(9)fwnode_name_eq(9)fwnode_get_parent(9)fwnode_get_next_parent(9)fwnode_count_parents(9)fwnode_get_nth_parent(9)fwnode_get_next_child_node(9)fwnode_get_next_available_child_node(9)device_get_next_child_node(9)fwnode_get_named_child_node(9)device_get_named_child_node(9)fwnode_handle_get(9)fwnode_device_is_available(9)fwnode_get_child_node_count(9)fwnode_get_named_child_node_count(9)fwnode_get_phy_mode(9)device_get_phy_mode(9)fwnode_iomap(9)fwnode_irq_get(9)fwnode_irq_get_byname(9)fwnode_graph_get_next_endpoint(9)fwnode_graph_get_port_parent(9)fwnode_graph_get_remote_port_parent(9)fwnode_graph_get_remote_port(9)fwnode_graph_get_remote_endpoint(9)fwnode_graph_get_endpoint_by_id(9)fwnode_graph_get_endpoint_count(9)fwnode_graph_parse_endpoint(9)fwnode_connection_find_match(9)fwnode_connection_find_matches(9)
mwah π this lil page is from the ./drivers/base source/version and is dated October 2026. 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