/linux-6.1.9/drivers/of/ |
D | property.c | 866 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/ |
D | coresight-cti-platform.c | 77 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/ |
D | fwnode_mdio.c | 27 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()
|
D | mdio-thunder.c | 66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
|
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 116 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/ |
D | irqdomain.c | 155 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/ |
D | dt_idle_genpd.c | 32 ret = parse_state(to_of_node(states[i].fwnode), &state); in pd_parse_state_nodes()
|
/linux-6.1.9/drivers/staging/media/tegra-video/ |
D | vi.c | 1600 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/ |
D | rcar-core.c | 326 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/ |
D | irq-gic-v2m.c | 273 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()
|
D | irq-mips-cpu.c | 225 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
|
D | irq-gic-v3-mbi.c | 268 np = to_of_node(fwnode); in mbi_init()
|
D | irq-loongson-pch-pic.c | 156 struct device_node *of_node = to_of_node(fwspec->fwnode); in pch_pic_domain_translate()
|
/linux-6.1.9/drivers/pci/controller/ |
D | pcie-apple.c | 379 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/ |
D | leds-pwm.c | 146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
|
D | led-core.c | 472 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
|
/linux-6.1.9/drivers/phy/intel/ |
D | phy-intel-lgm-combo.c | 459 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/ |
D | xilinx-vipp.c | 233 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/ |
D | slave.c | 54 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.c | 857 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/ |
D | xgmac_mdio.c | 360 ret = of_mdiobus_register(bus, to_of_node(fwnode)); in xgmac_mdio_probe()
|
/linux-6.1.9/arch/powerpc/sysdev/xics/ |
D | xics-common.c | 418 return xics_host_xlate(d, to_of_node(fwspec->fwnode), fwspec->param, in xics_host_domain_translate()
|
/linux-6.1.9/drivers/pwm/ |
D | core.c | 914 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/ |
D | irqdomain.h | 229 return to_of_node(d->fwnode); in irq_domain_get_of_node()
|
/linux-6.1.9/arch/x86/kernel/apic/ |
D | vector.c | 661 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()
|