fwnode_irq_get(9)
π fwnode_irq_get(9) β Kernel API Manual
okay so bestie, we're diving into fwnode_irq_get, straight out of the Kernel API Manual β¨ and honestly? it's giving "small function, big job" energy and I'm obsessed π
πΈ NAME πΈ
fwnode_irq_get β literally just: get the IRQ directly from a fwnode π no middleman, no cap.
β¨ SYNOPSIS β¨
int fwnode_irq_get (const struct fwnode_handle *fwnode , unsigned int
index );
that's the whole vibe check right there π¦
π ARGUMENTS π
fwnodeβ a pointer to the firmware node π« that's your main character right thereindexβ the zero-based index of the IRQ π so like, zero counts as the first one, don't come at me
π RETURN π
Linux IRQ number on success π₯³π β and a negative errno on failure ππ (yes, negative, keep that in mind when you check it, ngl).
π¦ SEE ALSO π¦
first up, the kernel file to go peek at: ./drivers/base/property.c β that's the source of truth, bestie π«Ά
and now the extended friend group π β every single one of these:
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_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_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)
like I said. the whole group chat ππ
anyway that's the page!! mwah π this one's filed under ./drivers/base and dated October 2026 β so you know exactly where it lives and when it was serving looks π byeee π§ββοΈπ
π¦ 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