/kernel/linux/linux-5.10/drivers/of/ |
D | property.c | 843 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/ |
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()
|
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/ |
D | vi.c | 1340 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/ |
D | mdio-thunder.c | 66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
|
/kernel/linux/linux-5.10/kernel/irq/ |
D | irqdomain.c | 141 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/ |
D | leds-pwm.c | 111 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
|
D | led-core.c | 478 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
|
D | led-class.c | 376 led_cdev->dev->of_node = to_of_node(init_data->fwnode); in led_classdev_register_ext()
|
D | leds-pca955x.c | 402 name = to_of_node(child)->name; in pca955x_get_pdata()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-gic-v2m.c | 274 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()
|
D | irq-mips-cpu.c | 223 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
|
D | irq-gic-v3-mbi.c | 269 np = to_of_node(fwnode); in mbi_init()
|
D | irq-mips-gic.c | 642 return (!node || to_of_node(d->fwnode) == node) && is_ipi; in gic_ipi_domain_match()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
D | slave.c | 53 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/phy/intel/ |
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()
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
D | cpuidle-psci-domain.c | 57 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/ |
D | rcar-core.c | 654 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/ |
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()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0013_linux_drivers_base.patch | 92 + dev->of_node = to_of_node(fwnode);
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-dwapb.c | 508 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/ |
D | irqdomain.h | 227 return to_of_node(d->fwnode); in irq_domain_get_of_node()
|
D | of.h | 160 #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/ |
D | regmap-irq.c | 806 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/ |
D | property.c | 954 struct device_node *of_node = to_of_node(fwnode); in fwnode_irq_get()
|