Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/irqchip/
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()
Dirq-ti-sci-inta.c181 struct device_node *np = dev_of_node(&inta->pdev->dev); in ti_sci_inta_xlate_irq()
238 parent_node = of_irq_find_parent(dev_of_node(&inta->pdev->dev)); in ti_sci_inta_alloc_parent_irq()
618 struct device_node *node = dev_of_node(dev); in ti_sci_inta_get_unmapped_sources()
659 node = dev_of_node(dev); in ti_sci_inta_irq_domain_probe()
709 domain = irq_domain_add_linear(dev_of_node(dev), in ti_sci_inta_irq_domain_probe()
/kernel/linux/linux-5.10/drivers/leds/
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()
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()
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()
Dleds-lt3593.c71 if (!dev_of_node(dev)) in lt3593_led_probe()
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()
Dleds-is31fl32xx.c369 for_each_available_child_of_node(dev_of_node(dev), child) { in is31fl32xx_parse_dt()
435 count = of_get_available_child_count(dev_of_node(dev)); in is31fl32xx_probe()
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()
Dleds-pm8058.c112 np = dev_of_node(dev); in pm8058_led_probe()
Dleds-bcm6358.c149 struct device_node *np = dev_of_node(&pdev->dev); in bcm6358_leds_probe()
Dleds-tlc591xx.c157 np = dev_of_node(dev); in tlc591xx_probe()
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
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()
/kernel/linux/linux-5.10/drivers/thermal/broadcom/
Dns-thermal.c59 ns_thermal->pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dof_pmem.c25 np = dev_of_node(&pdev->dev); in of_pmem_region_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dll_temac_mdio.c66 struct device_node *np = dev_of_node(&pdev->dev); in temac_mdio_setup()
/kernel/linux/linux-5.10/net/wireless/
Dof.c87 np = dev_of_node(dev); in wiphy_read_of_freq_limits()
/kernel/linux/linux-5.10/drivers/iio/dac/
Dltc2632.c365 indio_dev->name = dev_of_node(&spi->dev) ? dev_of_node(&spi->dev)->name in ltc2632_probe()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dti_k3_r5_remoteproc.c758 struct device_node *np = dev_of_node(dev); in k3_r5_reserved_mem_init()
1111 ret = of_property_read_u32_array(dev_of_node(dev), "ti,sci-proc-ids", in k3_r5_core_of_get_tsp()
1132 struct device_node *np = dev_of_node(dev); in k3_r5_core_of_init()
1275 struct device_node *np = dev_of_node(dev); in k3_r5_cluster_of_init()
1314 struct device_node *np = dev_of_node(dev); in k3_r5_probe()
/kernel/linux/linux-5.10/drivers/fsi/
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()
1341 master->sram_pool = of_gen_pool_get(dev_of_node(&pdev->dev), "aspeed,sram", 0); in fsi_master_acf_probe()
1379 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_acf_probe()
1407 of_node_put(dev_of_node(master->dev)); in fsi_master_acf_probe()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-bulk.c142 struct device_node *np = dev_of_node(dev); in clk_bulk_get_all()
/kernel/linux/linux-5.10/drivers/char/hw_random/
Dbcm2835-rng.c167 if (dev_of_node(dev)) { in bcm2835_rng_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/
Dhns_mdio.c355 if (dev_of_node(bus->parent)) { in hns_mdio_reset()
456 if (dev_of_node(&pdev->dev)) { in hns_mdio_probe()
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-bus.c143 if (dev_of_node(dma_dev)) in fsl_mc_dma_configure()
995 !dev_of_node(&pdev->dev)) { in fsl_mc_bus_probe()
1035 if (dev_of_node(&pdev->dev)) { in fsl_mc_bus_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci_f_sdh30.c131 if (dev_of_node(dev)) { in sdhci_f_sdh30_probe()

123