Lines Matching refs:device_node
45 bool of_property_read_bool(const struct device_node *np, const char *propname) in of_property_read_bool()
68 bool of_graph_is_present(const struct device_node *node) in of_graph_is_present()
70 struct device_node *ports __free(device_node) = of_get_child_by_name(node, "ports"); in of_graph_is_present()
75 struct device_node *port __free(device_node) = of_get_child_by_name(node, "port"); in of_graph_is_present()
95 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
131 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
168 int of_property_read_u8_index(const struct device_node *np, in of_property_read_u8_index()
201 int of_property_read_u16_index(const struct device_node *np, in of_property_read_u16_index()
234 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
268 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
308 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
358 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
405 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array()
446 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
483 int of_property_read_variable_u64_array(const struct device_node *np, in of_property_read_variable_u64_array()
530 int of_property_read_string(const struct device_node *np, const char *propname, in of_property_read_string()
560 int of_property_match_string(const struct device_node *np, const char *propname, in of_property_match_string()
599 int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper()
674 int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint()
677 struct device_node *port_node __free(device_node) = in of_graph_parse_endpoint()
705 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) in of_graph_get_port_by_id()
707 struct device_node *node __free(device_node) = of_get_child_by_name(parent, "ports"); in of_graph_get_port_by_id()
737 struct device_node *of_graph_get_next_port(const struct device_node *parent, in of_graph_get_next_port()
738 struct device_node *prev) in of_graph_get_next_port()
744 struct device_node *node __free(device_node) = in of_graph_get_next_port()
772 struct device_node *of_graph_get_next_port_endpoint(const struct device_node *port, in of_graph_get_next_port_endpoint()
773 struct device_node *prev) in of_graph_get_next_port_endpoint()
798 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, in of_graph_get_next_endpoint()
799 struct device_node *prev) in of_graph_get_next_endpoint()
801 struct device_node *endpoint; in of_graph_get_next_endpoint()
802 struct device_node *port; in of_graph_get_next_endpoint()
857 struct device_node *of_graph_get_endpoint_by_regs( in of_graph_get_endpoint_by_regs()
858 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs()
861 struct device_node *node = NULL; in of_graph_get_endpoint_by_regs()
881 struct device_node *of_graph_get_remote_endpoint(const struct device_node *node) in of_graph_get_remote_endpoint()
895 struct device_node *of_graph_get_port_parent(struct device_node *node) in of_graph_get_port_parent()
927 struct device_node *of_graph_get_remote_port_parent( in of_graph_get_remote_port_parent()
928 const struct device_node *node) in of_graph_get_remote_port_parent()
931 struct device_node *np __free(device_node) = in of_graph_get_remote_port_parent()
945 struct device_node *of_graph_get_remote_port(const struct device_node *node) in of_graph_get_remote_port()
947 struct device_node *np; in of_graph_get_remote_port()
963 unsigned int of_graph_get_endpoint_count(const struct device_node *np) in of_graph_get_endpoint_count()
965 struct device_node *endpoint; in of_graph_get_endpoint_count()
981 unsigned int of_graph_get_port_count(struct device_node *np) in of_graph_get_port_count()
1001 struct device_node *of_graph_get_remote_node(const struct device_node *node, in of_graph_get_remote_node()
1004 struct device_node *endpoint_node, *remote; in of_graph_get_remote_node()
1076 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array()
1101 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array()
1140 const struct device_node *node = to_of_node(fwnode); in of_fwnode_get_named_child_node()
1141 struct device_node *child; in of_fwnode_get_named_child_node()
1200 struct device_node *np; in of_fwnode_graph_get_port_parent()
1217 const struct device_node *node = to_of_node(fwnode); in of_fwnode_graph_parse_endpoint()
1218 struct device_node *port_node __free(device_node) = of_get_parent(node); in of_fwnode_graph_parse_endpoint()
1235 static void of_link_to_phandle(struct device_node *con_np, in of_link_to_phandle()
1236 struct device_node *sup_np, in of_link_to_phandle()
1239 struct device_node *tmp_np __free(device_node) = of_node_get(sup_np); in of_link_to_phandle()
1274 static struct device_node *parse_prop_cells(struct device_node *np, in parse_prop_cells()
1292 static struct device_node *parse_##fname(struct device_node *np, \
1317 static struct device_node *parse_suffix_prop_cells(struct device_node *np, in parse_suffix_prop_cells()
1335 static struct device_node *parse_##fname(struct device_node *np, \
1364 struct device_node *(*parse_prop)(struct device_node *np,
1366 struct device_node *(*get_con_dev)(struct device_node *np);
1398 static struct device_node *parse_pinctrl_n(struct device_node *np, in parse_pinctrl_n()
1410 static struct device_node *parse_gpios(struct device_node *np, in parse_gpios()
1420 static struct device_node *parse_iommu_maps(struct device_node *np, in parse_iommu_maps()
1429 static struct device_node *parse_gpio_compat(struct device_node *np, in parse_gpio_compat()
1451 static struct device_node *parse_interrupts(struct device_node *np, in parse_interrupts()
1466 static struct device_node *parse_interrupt_map(struct device_node *np, in parse_interrupt_map()
1507 static struct device_node *parse_remote_endpoint(struct device_node *np, in parse_remote_endpoint()
1580 static int of_link_property(struct device_node *con_np, const char *prop_name) in of_link_property()
1582 struct device_node *phandle; in of_link_property()
1595 struct device_node *con_dev_np __free(device_node) = in of_link_property()
1626 struct device_node *con_np = to_of_node(fwnode); in of_fwnode_add_links()