fwnode_name_eq(9)
π fwnode_name_eq β the fwnode_name_eq(9) glow-up π
okay so bestie, welcome to the Kernel API Manual page for fwnode_name_eq(9) β it's short, it's sweet, it's a little bool-flavored icon and honestly? we're obsessed π«Ά
β¨ NAME β¨
fwnode_name_eq β returns true if a node's name is equal (yes that's literally the whole job, and it does it slayfully π)
πΈ SYNOPSIS πΈ
bool fwnode_name_eq (const struct fwnode_handle *fwnode , const char
*name );
that's the whole signature, no cap β
π ARGUMENTS π
fwnodeβ the firmware node bestie, the one we're inspecting πnameβ the name you wanna compare against that node's name, fr fr
π¦ DESCRIPTION π¦
so what it does: it takes the name you passed in and compares it to the actual name of the node. The comparison stops at either the NUL or the '' character β whichever one shows up first π
little heads up: the page literally renders that second stop-character as '' (empty quotes), so that's exactly how we're quoting it. iykyk π
This function is generally used for comparing node names while ignoring the possible unit address of the node β that's the whole point, gorgeous β¨
π₯ RETURN π₯
true if the node name matches the name you handed it in the name argument, and false otherwise. binary. decisive. main character energy periodt π
π§ SEE ALSO π§
Kernel file ./drivers/base/property.c β and ok this list is long, but we don't skip entries in this house, so buckle up buttercup π
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_find_reference(9)fwnode_get_name(9)fwnode_get_name_prefix(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)
and that's the page bb π
signed off from ./drivers/base, dated October 2026 β go forth and compare those node names, you absolute icon ππ
π¦ 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