/linux/drivers/of/ |
A D | property.c | 867 of_node_put(to_of_node(fwnode)); in of_fwnode_put() 872 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available() 886 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array() 911 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array() 920 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name() 926 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix() 943 to_of_node(child))); in of_fwnode_get_next_child_node() 995 to_of_node(prev))); in of_fwnode_graph_get_next_endpoint() 1002 of_graph_get_remote_endpoint(to_of_node(fwnode))); in of_fwnode_graph_get_remote_endpoint() 1011 np = of_get_parent(to_of_node(fwnode)); in of_fwnode_graph_get_port_parent() [all …]
|
/linux/drivers/hwtracing/coresight/ |
A 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/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-mac.c | 63 err = of_property_read_u32(to_of_node(child), "reg", &id); in dpaa2_mac_get_node() 323 if (of_phy_is_fixed_link(to_of_node(dpmac_node)) && in dpaa2_mac_connect() 404 net_dev->dev.of_node = to_of_node(mac->fw_node); in dpaa2_mac_open()
|
/linux/kernel/irq/ |
A D | irqdomain.c | 154 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/drivers/staging/media/tegra-video/ |
A D | vi.c | 1594 to_of_node(ep), ret); in tegra_vi_graph_build() 1600 link.local_port, to_of_node(link.local_node)); in tegra_vi_graph_build() 1622 to_of_node(link.local_node), link.local_port); in tegra_vi_graph_build() 1631 to_of_node(link.remote_node)); in tegra_vi_graph_build() 1641 to_of_node(link.remote_node)); in tegra_vi_graph_build() 1768 to_of_node(entity->asd.match.fwnode)); in tegra_vi_graph_notify_bound() 1794 dev_dbg(vi->dev, "parsing node %pOF\n", to_of_node(fwnode)); in tegra_vi_graph_parse_one() 1797 for_each_endpoint_of_node(to_of_node(fwnode), node) { in tegra_vi_graph_parse_one()
|
/linux/drivers/net/mdio/ |
A D | fwnode_mdio.c | 26 err = of_parse_phandle_with_fixed_args(to_of_node(fwnode), in fwnode_find_mii_timestamper()
|
A D | mdio-thunder.c | 66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
|
/linux/drivers/pci/controller/ |
A D | pcie-apple.c | 378 irq = irq_of_parse_and_map(to_of_node(dev_fwnode(port->pcie->dev)), in apple_pcie_port_setup_irq() 602 ret = of_parse_phandle_with_args(to_of_node(fwnode), "msi-ranges", in apple_msi_init() 607 ret = of_property_read_u32_index(to_of_node(fwnode), "msi-ranges", in apple_msi_init()
|
/linux/drivers/irqchip/ |
A D | irq-gic-v2m.c | 274 of_node_put(to_of_node(v2m->fwnode)); in gicv2m_teardown() 417 struct device_node *node = to_of_node(parent_handle); in gicv2m_of_init()
|
A D | irq-mips-cpu.c | 225 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
|
A D | irq-gic-v3-mbi.c | 269 np = to_of_node(fwnode); in mbi_init()
|
/linux/drivers/leds/ |
A D | leds-pwm.c | 146 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
|
A D | led-class.c | 380 led_cdev->dev->of_node = to_of_node(init_data->fwnode); in led_classdev_register_ext()
|
A D | led-core.c | 472 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
|
/linux/drivers/media/platform/xilinx/ |
A 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/drivers/phy/intel/ |
A D | phy-intel-lgm-combo.c | 474 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()
|
/linux/drivers/soundwire/ |
A D | slave.c | 53 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
|
/linux/drivers/cpuidle/ |
A D | cpuidle-psci-domain.c | 57 ret = psci_dt_parse_state_node(to_of_node(states[i].fwnode), in psci_pd_parse_state_nodes()
|
/linux/drivers/base/ |
A D | property.c | 884 if (of_dma_is_coherent(to_of_node(fwnode))) in device_get_dma_attr() 951 return of_irq_get(to_of_node(fwnode), index); in fwnode_irq_get()
|
/linux/drivers/media/platform/rcar-vin/ |
A D | rcar-core.c | 328 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_group_parse_of() 343 to_of_node(fwnode), vep.base.id); in rvin_group_parse_of() 675 vin_err(vin, "Failed to parse %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of() 704 vin_dbg(vin, "Add parallel OF device %pOF\n", to_of_node(fwnode)); in rvin_parallel_parse_of() 731 to_of_node(vin->parallel.asd->match.fwnode)); in rvin_parallel_init()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A 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/drivers/net/ethernet/freescale/ |
A D | xgmac_mdio.c | 295 ret = of_mdiobus_register(bus, to_of_node(fwnode)); in xgmac_mdio_probe()
|
/linux/drivers/gpio/ |
A D | gpio-regmap.c | 254 chip->of_node = to_of_node(config->fwnode); in gpio_regmap_register()
|
/linux/arch/powerpc/sysdev/xics/ |
A D | xics-common.c | 418 return xics_host_xlate(d, to_of_node(fwspec->fwnode), fwspec->param, in xics_host_domain_translate()
|
/linux/drivers/pwm/ |
A D | core.c | 950 return of_pwm_get(dev, to_of_node(fwnode), con_id); in pwm_get() 1158 pwm = of_pwm_get(dev, to_of_node(fwnode), con_id); in devm_fwnode_pwm_get()
|