Home
last modified time | relevance | path

Searched refs:to_of_node (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/of/
Dproperty.c843 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
848 of_node_put(to_of_node(fwnode)); in of_fwnode_put()
853 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available()
859 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present()
867 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array()
892 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array()
901 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name()
907 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix()
916 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
923 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node()
[all …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-cti-platform.c77 return of_cti_get_cpu_at_node(to_of_node(fwnode)); in cti_plat_get_cpu_at_node()
84 return of_node_full_name(to_of_node(fwnode)); in cti_plat_get_node_name()
110 return of_node_name_eq(to_of_node(fwnode), name); in cti_plat_node_name_eq()
227 return of_device_is_compatible(to_of_node(fwnode), in cti_plat_check_v8_arch_compatible()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dvi.c1340 to_of_node(ep), ret); in tegra_vi_graph_build()
1346 link.local_port, to_of_node(link.local_node)); in tegra_vi_graph_build()
1368 to_of_node(link.local_node), link.local_port); in tegra_vi_graph_build()
1377 to_of_node(link.remote_node)); in tegra_vi_graph_build()
1387 to_of_node(link.remote_node)); in tegra_vi_graph_build()
1511 to_of_node(entity->asd.match.fwnode)); in tegra_vi_graph_notify_bound()
1537 dev_dbg(vi->dev, "parsing node %pOF\n", to_of_node(fwnode)); in tegra_vi_graph_parse_one()
1540 for_each_endpoint_of_node(to_of_node(fwnode), node) { in tegra_vi_graph_parse_one()
/kernel/linux/linux-5.10/drivers/net/mdio/
Dmdio-thunder.c66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
/kernel/linux/linux-5.10/kernel/irq/
Dirqdomain.c141 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_add()
391 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
728 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
768 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
810 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-pwm.c111 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
Dled-core.c478 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
Dled-class.c376 led_cdev->dev->of_node = to_of_node(init_data->fwnode); in led_classdev_register_ext()
Dleds-pca955x.c402 name = to_of_node(child)->name; in pca955x_get_pdata()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v2m.c274 of_node_put(to_of_node(v2m->fwnode)); in gicv2m_teardown()
420 struct device_node *node = to_of_node(parent_handle); in gicv2m_of_init()
Dirq-mips-cpu.c223 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
Dirq-gic-v3-mbi.c269 np = to_of_node(fwnode); in mbi_init()
Dirq-mips-gic.c642 return (!node || to_of_node(d->fwnode) == node) && is_ipi; in gic_ipi_domain_match()
/kernel/linux/linux-5.10/drivers/soundwire/
Dslave.c53 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-vipp.c233 to_of_node(link.remote_node)); in xvip_graph_build_dma()
242 to_of_node(link.remote_node)); in xvip_graph_build_dma()
/kernel/linux/linux-5.10/drivers/phy/intel/
Dphy-intel-lgm-combo.c474 cbphy->syscfg = device_node_to_regmap(to_of_node(ref.fwnode)); in intel_cbphy_fwnode_parse()
483 cbphy->hsiocfg = device_node_to_regmap(to_of_node(ref.fwnode)); in intel_cbphy_fwnode_parse()
/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle-psci-domain.c57 ret = psci_dt_parse_state_node(to_of_node(states[i].fwnode), in psci_pd_parse_state_nodes()
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
Drcar-core.c654 to_of_node(vin->parallel->asd.match.fwnode)); in rvin_parallel_init()
804 if (!of_device_is_available(to_of_node(asd->match.fwnode))) { in rvin_mc_parse_of_endpoint()
806 to_of_node(asd->match.fwnode)); in rvin_mc_parse_of_endpoint()
814 to_of_node(asd->match.fwnode)); in rvin_mc_parse_of_endpoint()
822 to_of_node(asd->match.fwnode), vep->base.id); in rvin_mc_parse_of_endpoint()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c857 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info()
870 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info()
899 to_of_node(mac_cb->fw_port), "cpld-syscon", 1, 0, in hns_mac_get_info()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0013_linux_drivers_base.patch92 + dev->of_node = to_of_node(fwnode);
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-dwapb.c508 port->gc.of_node = to_of_node(pp->fwnode); in dwapb_gpio_add_port()
538 np = to_of_node(fwnode); in dwapb_get_irq()
/kernel/linux/linux-5.10/include/linux/
Dirqdomain.h227 return to_of_node(d->fwnode); in irq_domain_get_of_node()
Dof.h160 #define to_of_node(__fwnode) \ macro
574 static inline struct device_node *to_of_node(const struct fwnode_handle *fwnode) in to_of_node() function
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-irq.c806 d->domain = irq_domain_add_legacy(to_of_node(fwnode), in regmap_add_irq_chip_fwnode()
810 d->domain = irq_domain_add_linear(to_of_node(fwnode), in regmap_add_irq_chip_fwnode()
/kernel/linux/linux-5.10/drivers/base/
Dproperty.c954 struct device_node *of_node = to_of_node(fwnode); in fwnode_irq_get()

12