/linux-6.6.21/drivers/of/ |
D | property.c | 868 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get() 873 of_node_put(to_of_node(fwnode)); in of_fwnode_put() 878 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available() 889 if (of_dma_is_coherent(to_of_node(fwnode))) in of_fwnode_device_get_dma_attr() 898 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present() 906 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array() 931 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array() 940 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name() 946 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix() 955 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent() [all …]
|
/linux-6.6.21/drivers/media/platform/renesas/rzg2l-cru/ |
D | rzg2l-core.c | 152 dev_err(cru->dev, "Failed to parse %pOF\n", to_of_node(fwnode)); in rzg2l_cru_mc_parse_of() 157 if (!of_device_is_available(to_of_node(fwnode))) { in rzg2l_cru_mc_parse_of() 159 to_of_node(fwnode)); in rzg2l_cru_mc_parse_of() 174 to_of_node(fwnode), vep.base.id); in rzg2l_cru_mc_parse_of()
|
/linux-6.6.21/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.6.21/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.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-mac.c | 122 err = of_property_read_u32(to_of_node(child), "reg", &id); in dpaa2_mac_get_node() 386 serdes_phy = of_phy_get(to_of_node(dpmac_node), NULL); in dpaa2_mac_connect() 401 if (of_phy_is_fixed_link(to_of_node(dpmac_node)) && in dpaa2_mac_connect() 505 net_dev->dev.of_node = to_of_node(mac->fw_node); in dpaa2_mac_open()
|
/linux-6.6.21/drivers/staging/media/tegra-video/ |
D | vi.c | 1502 to_of_node(ep), ret); in tegra_vi_graph_build() 1508 link.local_port, to_of_node(link.local_node)); in tegra_vi_graph_build() 1530 to_of_node(link.local_node), link.local_port); in tegra_vi_graph_build() 1540 to_of_node(link.remote_node)); in tegra_vi_graph_build() 1550 to_of_node(link.remote_node)); in tegra_vi_graph_build() 1678 to_of_node(entity->asd.match.fwnode)); in tegra_vi_graph_notify_bound() 1704 dev_dbg(vi->dev, "parsing node %pOF\n", to_of_node(fwnode)); in tegra_vi_graph_parse_one() 1707 for_each_endpoint_of_node(to_of_node(fwnode), node) { in tegra_vi_graph_parse_one()
|
/linux-6.6.21/kernel/irq/ |
D | irqdomain.c | 147 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_create() 372 of_node_to_nid(to_of_node(fwnode))); in irq_domain_create_simple() 454 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec() 769 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate() 809 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping() 855 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
|
/linux-6.6.21/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-core.c | 324 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_group_parse_of() 339 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of() 669 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of() 698 vin_dbg(vin, "Add parallel OF device %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of() 725 to_of_node(vin->parallel.asc->match.fwnode)); in rvin_parallel_init()
|
/linux-6.6.21/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.6.21/drivers/irqchip/ |
D | irq-gic-v2m.c | 274 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 | 267 np = to_of_node(fwnode); in mbi_init()
|
D | irq-loongson-pch-pic.c | 161 struct device_node *of_node = to_of_node(fwspec->fwnode); in pch_pic_domain_translate()
|
/linux-6.6.21/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.6.21/drivers/leds/ |
D | leds-pwm.c | 146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
|
D | leds-gpio.c | 133 to_of_node(fwnode), ret); in create_gpio_led()
|
/linux-6.6.21/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 240 to_of_node(link.remote_node)); in xvip_graph_build_dma() 249 to_of_node(link.remote_node)); in xvip_graph_build_dma()
|
/linux-6.6.21/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.6.21/drivers/soundwire/ |
D | slave.c | 54 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.c | 886 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info() 899 np = of_parse_phandle(to_of_node(mac_cb->fw_port), in hns_mac_get_info() 928 to_of_node(mac_cb->fw_port), "cpld-syscon", 1, 0, in hns_mac_get_info()
|
/linux-6.6.21/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.6.21/drivers/pwm/ |
D | core.c | 863 return of_pwm_get(dev, to_of_node(fwnode), con_id); in pwm_get() 1041 pwm = of_pwm_get(dev, to_of_node(fwnode), con_id); in devm_fwnode_pwm_get()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
D | xgmac_mdio.c | 427 ret = of_mdiobus_register(bus, to_of_node(fwnode)); in xgmac_mdio_probe()
|
/linux-6.6.21/include/linux/ |
D | irqdomain.h | 221 return to_of_node(d->fwnode); in irq_domain_get_of_node()
|