/linux/drivers/irqchip/ |
A D | irq-ti-sci-intr.c | 82 struct device_node *np = dev_of_node(intr->dev); in ti_sci_intr_xlate_irq() 151 parent_node = of_irq_find_parent(dev_of_node(intr->dev)); in ti_sci_intr_alloc_parent_irq() 232 parent_node = of_irq_find_parent(dev_of_node(dev)); in ti_sci_intr_irq_domain_probe() 249 ret = of_property_read_u32(dev_of_node(dev), "ti,intr-trigger-type", in ti_sci_intr_irq_domain_probe() 261 ret = of_property_read_u32(dev_of_node(dev), "ti,sci-dev-id", in ti_sci_intr_irq_domain_probe() 276 domain = irq_domain_add_hierarchy(parent_domain, 0, 0, dev_of_node(dev), in ti_sci_intr_irq_domain_probe()
|
A D | irq-ti-sci-inta.c | 178 struct device_node *np = dev_of_node(&inta->pdev->dev); in ti_sci_inta_xlate_irq() 235 parent_node = of_irq_find_parent(dev_of_node(&inta->pdev->dev)); in ti_sci_inta_alloc_parent_irq() 615 struct device_node *node = dev_of_node(dev); in ti_sci_inta_get_unmapped_sources() 655 node = dev_of_node(dev); in ti_sci_inta_irq_domain_probe() 704 domain = irq_domain_add_linear(dev_of_node(dev), in ti_sci_inta_irq_domain_probe()
|
/linux/drivers/leds/ |
A D | leds-spi-byte.c | 90 if (of_get_available_child_count(dev_of_node(dev)) != 1) { in spi_byte_probe() 94 child = of_get_next_available_child(dev_of_node(dev), NULL); in spi_byte_probe()
|
A D | leds-syscon.c | 60 struct device_node *np = dev_of_node(dev); in syscon_led_probe() 72 map = syscon_node_to_regmap(dev_of_node(parent)); in syscon_led_probe()
|
A D | leds-88pm860x.c | 121 if (!dev_of_node(pdev->dev.parent)) in pm860x_led_dt_init() 123 nproot = of_get_child_by_name(dev_of_node(pdev->dev.parent), "leds"); in pm860x_led_dt_init()
|
A D | leds-mc13783.c | 124 parent = of_get_child_by_name(dev_of_node(dev->parent), "leds"); in mc13xxx_led_probe_dt() 195 if (dev_of_node(dev->parent)) { in mc13xxx_led_probe()
|
A D | leds-is31fl32xx.c | 370 for_each_available_child_of_node(dev_of_node(dev), child) { in is31fl32xx_parse_dt() 436 count = of_get_available_child_count(dev_of_node(dev)); in is31fl32xx_probe()
|
A D | leds-pm8058.c | 112 np = dev_of_node(dev); in pm8058_led_probe()
|
A D | leds-bcm6358.c | 149 struct device_node *np = dev_of_node(&pdev->dev); in bcm6358_leds_probe()
|
/linux/drivers/usb/renesas_usbhs/ |
A D | common.c | 304 priv->clks[0] = of_clk_get(dev_of_node(dev), 0); in usbhsc_clk_get() 312 priv->clks[1] = of_clk_get(dev_of_node(dev), 1); in usbhsc_clk_get() 599 if (dev_of_node(dev)) in usbhs_probe() 626 if (of_property_read_bool(dev_of_node(dev), "extcon")) { in usbhs_probe() 658 if (!of_property_read_u32(dev_of_node(dev), "renesas,buswait", &tmp)) in usbhs_probe()
|
/linux/drivers/soc/ti/ |
A D | pruss.c | 166 struct device_node *np = dev_of_node(dev); in pruss_cfg_of_init() 214 struct device_node *np = dev_of_node(dev); in pruss_probe()
|
/linux/drivers/leds/flash/ |
A D | leds-ktd2692.c | 273 struct device_node *np = dev_of_node(dev); in ktd2692_parse_dt() 277 if (!dev_of_node(dev)) in ktd2692_parse_dt()
|
/linux/drivers/thermal/broadcom/ |
A D | ns-thermal.c | 59 ns_thermal->pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
|
/linux/drivers/nvdimm/ |
A D | of_pmem.c | 25 np = dev_of_node(&pdev->dev); in of_pmem_region_probe()
|
/linux/drivers/iio/dac/ |
A D | ltc2632.c | 365 indio_dev->name = dev_of_node(&spi->dev) ? dev_of_node(&spi->dev)->name in ltc2632_probe()
|
/linux/net/wireless/ |
A D | of.c | 87 np = dev_of_node(dev); in wiphy_read_of_freq_limits()
|
/linux/drivers/net/ethernet/xilinx/ |
A D | ll_temac_mdio.c | 66 struct device_node *np = dev_of_node(&pdev->dev); in temac_mdio_setup()
|
/linux/drivers/fsi/ |
A D | fsi-master-ast-cf.c | 1203 of_node_put(dev_of_node(master->dev)); in fsi_master_acf_release() 1215 struct device_node *np, *mnode = dev_of_node(&pdev->dev); in fsi_master_acf_probe() 1340 master->sram_pool = of_gen_pool_get(dev_of_node(&pdev->dev), "aspeed,sram", 0); in fsi_master_acf_probe() 1378 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_acf_probe() 1406 of_node_put(dev_of_node(master->dev)); in fsi_master_acf_probe()
|
/linux/drivers/remoteproc/ |
A D | ti_k3_r5_remoteproc.c | 865 struct device_node *np = dev_of_node(dev); in k3_r5_reserved_mem_init() 1258 ret = of_property_read_u32_array(dev_of_node(dev), "ti,sci-proc-ids", in k3_r5_core_of_get_tsp() 1279 struct device_node *np = dev_of_node(dev); in k3_r5_core_of_init() 1422 struct device_node *np = dev_of_node(dev); in k3_r5_cluster_of_init() 1459 struct device_node *np = dev_of_node(dev); in k3_r5_probe()
|
/linux/drivers/soc/fsl/ |
A D | rcpm.c | 134 if (dev_of_node(dev) && (i == 1)) in rcpm_pm_prepare()
|
/linux/drivers/net/ethernet/hisilicon/ |
A D | hns_mdio.c | 355 if (dev_of_node(bus->parent)) { in hns_mdio_reset() 456 if (dev_of_node(&pdev->dev)) { in hns_mdio_probe()
|
/linux/drivers/clk/ |
A D | clk-stm32mp1.c | 2266 reset_data->rcdev.of_node = dev_of_node(dev); in stm32_rcc_reset_init() 2309 return of_clk_add_hw_provider(dev_of_node(dev), of_clk_hw_onecell_get, clk_data); in stm32_rcc_clock_init() 2318 match = of_match_node(match_data, dev_of_node(dev)); in stm32_rcc_init() 2346 base = of_iomap(dev_of_node(dev), 0); in stm32mp1_rcc_init() 2348 pr_err("%pOFn: unable to map resource", dev_of_node(dev)); in stm32mp1_rcc_init() 2360 of_node_put(dev_of_node(dev)); in stm32mp1_rcc_init() 2380 struct clk *clk = of_clk_get_by_name(dev_of_node(dev), in get_clock_deps() 2410 struct device_node *child, *np = dev_of_node(dev); in stm32mp1_rcc_clocks_remove()
|
A D | clk-bulk.c | 142 struct device_node *np = dev_of_node(dev); in clk_bulk_get_all()
|
/linux/drivers/char/hw_random/ |
A D | bcm2835-rng.c | 174 if (dev_of_node(dev)) { in bcm2835_rng_probe()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-loongson.c | 56 np = dev_of_node(&pdev->dev); in loongson_dwmac_probe()
|