Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/of/
Dproperty.c866 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get()
871 of_node_put(to_of_node(fwnode)); in of_fwnode_put()
876 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available()
887 if (of_dma_is_coherent(to_of_node(fwnode))) in of_fwnode_device_get_dma_attr()
896 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present()
904 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array()
929 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array()
938 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name()
944 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix()
953 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/mdio/
Dfwnode_mdio.c27 np = to_of_node(fwnode); in fwnode_find_pse_control()
47 err = of_parse_phandle_with_fixed_args(to_of_node(fwnode), in fwnode_find_mii_timestamper()
Dmdio-thunder.c66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c116 err = of_property_read_u32(to_of_node(child), "reg", &id); in dpaa2_mac_get_node()
373 serdes_phy = of_phy_get(to_of_node(dpmac_node), NULL); in dpaa2_mac_connect()
388 if (of_phy_is_fixed_link(to_of_node(dpmac_node)) && in dpaa2_mac_connect()
490 net_dev->dev.of_node = to_of_node(mac->fw_node); in dpaa2_mac_open()
/linux-6.1.9/kernel/irq/
Dirqdomain.c155 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_add()
341 of_node_to_nid(to_of_node(fwnode))); in irq_domain_create_simple()
423 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
738 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
778 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
820 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
/linux-6.1.9/drivers/cpuidle/
Ddt_idle_genpd.c32 ret = parse_state(to_of_node(states[i].fwnode), &state); in pd_parse_state_nodes()
/linux-6.1.9/drivers/staging/media/tegra-video/
Dvi.c1600 to_of_node(ep), ret); in tegra_vi_graph_build()
1606 link.local_port, to_of_node(link.local_node)); in tegra_vi_graph_build()
1628 to_of_node(link.local_node), link.local_port); in tegra_vi_graph_build()
1637 to_of_node(link.remote_node)); in tegra_vi_graph_build()
1647 to_of_node(link.remote_node)); in tegra_vi_graph_build()
1774 to_of_node(entity->asd.match.fwnode)); in tegra_vi_graph_notify_bound()
1800 dev_dbg(vi->dev, "parsing node %pOF\n", to_of_node(fwnode)); in tegra_vi_graph_parse_one()
1803 for_each_endpoint_of_node(to_of_node(fwnode), node) { in tegra_vi_graph_parse_one()
/linux-6.1.9/drivers/media/platform/renesas/rcar-vin/
Drcar-core.c326 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_group_parse_of()
341 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of()
671 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of()
700 vin_dbg(vin, "Add parallel OF device %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of()
727 to_of_node(vin->parallel.asd->match.fwnode)); in rvin_parallel_init()
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v2m.c273 of_node_put(to_of_node(v2m->fwnode)); in gicv2m_teardown()
416 struct device_node *node = to_of_node(parent_handle); in gicv2m_of_init()
Dirq-mips-cpu.c225 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
Dirq-gic-v3-mbi.c268 np = to_of_node(fwnode); in mbi_init()
Dirq-loongson-pch-pic.c156 struct device_node *of_node = to_of_node(fwspec->fwnode); in pch_pic_domain_translate()
/linux-6.1.9/drivers/pci/controller/
Dpcie-apple.c379 irq = irq_of_parse_and_map(to_of_node(dev_fwnode(port->pcie->dev)), in apple_pcie_port_setup_irq()
606 ret = of_parse_phandle_with_args(to_of_node(fwnode), "msi-ranges", in apple_msi_init()
611 ret = of_property_read_u32_index(to_of_node(fwnode), "msi-ranges", in apple_msi_init()
/linux-6.1.9/drivers/leds/
Dleds-pwm.c146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
Dled-core.c472 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
/linux-6.1.9/drivers/phy/intel/
Dphy-intel-lgm-combo.c459 cbphy->syscfg = device_node_to_regmap(to_of_node(ref.fwnode)); in intel_cbphy_fwnode_parse()
468 cbphy->hsiocfg = device_node_to_regmap(to_of_node(ref.fwnode)); in intel_cbphy_fwnode_parse()
/linux-6.1.9/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()
/linux-6.1.9/drivers/soundwire/
Dslave.c54 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dxgmac_mdio.c360 ret = of_mdiobus_register(bus, to_of_node(fwnode)); in xgmac_mdio_probe()
/linux-6.1.9/arch/powerpc/sysdev/xics/
Dxics-common.c418 return xics_host_xlate(d, to_of_node(fwspec->fwnode), fwspec->param, in xics_host_domain_translate()
/linux-6.1.9/drivers/pwm/
Dcore.c914 return of_pwm_get(dev, to_of_node(fwnode), con_id); in pwm_get()
1092 pwm = of_pwm_get(dev, to_of_node(fwnode), con_id); in devm_fwnode_pwm_get()
/linux-6.1.9/include/linux/
Dirqdomain.h229 return to_of_node(d->fwnode); in irq_domain_get_of_node()
/linux-6.1.9/arch/x86/kernel/apic/
Dvector.c661 return to_of_node(fwspec->fwnode) && in x86_fwspec_is_ioapic()
662 of_device_is_compatible(to_of_node(fwspec->fwnode), in x86_fwspec_is_ioapic()

123