| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | property.c | 844 return of_fwnode_handle(of_node_get(to_of_node(fwnode))); in of_fwnode_get() 849 of_node_put(to_of_node(fwnode)); in of_fwnode_put() 854 return of_device_is_available(to_of_node(fwnode)); in of_fwnode_device_is_available() 860 return of_property_read_bool(to_of_node(fwnode), propname); in of_fwnode_property_present() 868 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_int_array() 893 const struct device_node *node = to_of_node(fwnode); in of_fwnode_property_read_string_array() 902 return kbasename(to_of_node(fwnode)->full_name); in of_fwnode_get_name() 908 if (!to_of_node(fwnode)->parent) in of_fwnode_get_name_prefix() 917 return of_fwnode_handle(of_get_parent(to_of_node(fwnode))); in of_fwnode_get_parent() 924 return of_fwnode_handle(of_get_next_available_child(to_of_node(fwnode), in of_fwnode_get_next_child_node() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/tegra-video/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/mdio/ |
| H A D | mdio-thunder.c | 66 node = to_of_node(fwn); in thunder_mdiobus_pci_probe()
|
| /OK3568_Linux_fs/kernel/kernel/irq/ |
| H A D | irqdomain.c | 141 GFP_KERNEL, of_node_to_nid(to_of_node(fwnode))); in __irq_domain_add() 393 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec() 730 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate() 770 of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping() 812 hwirq, of_node_full_name(to_of_node(fwspec->fwnode))); in irq_create_fwspec_mapping()
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A 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()
|
| H A D | irq-mips-cpu.c | 223 return (!node || (to_of_node(d->fwnode) == node)) && is_ipi; in mips_cpu_ipi_match()
|
| H A D | irq-gic-v3-mbi.c | 269 np = to_of_node(fwnode); in mbi_init()
|
| H A D | irq-mips-gic.c | 648 return (!node || to_of_node(d->fwnode) == node) && is_ipi; in gic_ipi_domain_match()
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-pwm.c | 111 led.name = to_of_node(fwnode)->name; in led_pwm_create_fwnode()
|
| H A D | led-core.c | 478 strscpy(led_classdev_name, to_of_node(fwnode)->name, in led_compose_name()
|
| H A D | led-class.c | 376 led_cdev->dev->of_node = to_of_node(init_data->fwnode); in led_classdev_register_ext()
|
| H A D | leds-pca955x.c | 402 name = to_of_node(child)->name; in pca955x_get_pdata()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/xilinx/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/phy/intel/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rcar-vin/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/soundwire/ |
| H A D | slave.c | 53 slave->dev.of_node = of_node_get(to_of_node(fwnode)); in sdw_slave_add()
|
| /OK3568_Linux_fs/kernel/drivers/cpuidle/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A D | gpio-detection.c | 299 node = to_of_node(child); in gpio_det_parse_dt()
|
| /OK3568_Linux_fs/kernel/drivers/base/regmap/ |
| H A D | regmap-irq.c | 799 d->domain = irq_domain_add_legacy(to_of_node(fwnode), in regmap_add_irq_chip_fwnode() 803 d->domain = irq_domain_add_linear(to_of_node(fwnode), in regmap_add_irq_chip_fwnode()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | irqdomain.h | 233 return to_of_node(d->fwnode); in irq_domain_get_of_node()
|
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | property.c | 1006 struct device_node *of_node = to_of_node(fwnode); in fwnode_irq_get()
|