Home
last modified time | relevance | path

Searched refs:dev_of_node (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/irqchip/
A Dirq-ti-sci-intr.c82 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 Dirq-ti-sci-inta.c178 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 Dleds-spi-byte.c90 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 Dleds-syscon.c60 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 Dleds-88pm860x.c121 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 Dleds-mc13783.c124 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 Dleds-is31fl32xx.c370 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 Dleds-pm8058.c112 np = dev_of_node(dev); in pm8058_led_probe()
A Dleds-bcm6358.c149 struct device_node *np = dev_of_node(&pdev->dev); in bcm6358_leds_probe()
/linux/drivers/usb/renesas_usbhs/
A Dcommon.c304 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 Dpruss.c166 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 Dleds-ktd2692.c273 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 Dns-thermal.c59 ns_thermal->pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
/linux/drivers/nvdimm/
A Dof_pmem.c25 np = dev_of_node(&pdev->dev); in of_pmem_region_probe()
/linux/drivers/iio/dac/
A Dltc2632.c365 indio_dev->name = dev_of_node(&spi->dev) ? dev_of_node(&spi->dev)->name in ltc2632_probe()
/linux/net/wireless/
A Dof.c87 np = dev_of_node(dev); in wiphy_read_of_freq_limits()
/linux/drivers/net/ethernet/xilinx/
A Dll_temac_mdio.c66 struct device_node *np = dev_of_node(&pdev->dev); in temac_mdio_setup()
/linux/drivers/fsi/
A Dfsi-master-ast-cf.c1203 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 Dti_k3_r5_remoteproc.c865 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 Drcpm.c134 if (dev_of_node(dev) && (i == 1)) in rcpm_pm_prepare()
/linux/drivers/net/ethernet/hisilicon/
A Dhns_mdio.c355 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 Dclk-stm32mp1.c2266 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 Dclk-bulk.c142 struct device_node *np = dev_of_node(dev); in clk_bulk_get_all()
/linux/drivers/char/hw_random/
A Dbcm2835-rng.c174 if (dev_of_node(dev)) { in bcm2835_rng_probe()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-loongson.c56 np = dev_of_node(&pdev->dev); in loongson_dwmac_probe()

Completed in 65 milliseconds

123