Home
last modified time | relevance | path

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

12345

/linux/drivers/power/sequencing/
H A Dpwrseq-pcie-m2.c87 if (remote && (remote == dev_of_node(dev))) in pwrseq_pcie_m2_match()
112 ctx->of_node = dev_of_node(dev); in pwrseq_pcie_m2_probe()
123 ret = of_regulator_bulk_get_all(dev, dev_of_node(dev), &ctx->regs); in pwrseq_pcie_m2_probe()
/linux/drivers/misc/
H A Dlan966x_pci.c131 return of_overlay_fdt_apply(dtbo_start, dtbo_size, &data->ovcs_id, dev_of_node(data->dev)); in lan966x_pci_load_overlay()
152 if (!dev_of_node(dev)) in lan966x_pci_probe()
179 ret = of_platform_default_populate(dev_of_node(dev), NULL, dev); in lan966x_pci_probe()
/linux/drivers/pci/pwrctrl/
H A Dslot.c79 if (of_graph_is_present(dev_of_node(dev))) { in slot_pwrctrl_probe()
88 ret = of_regulator_bulk_get_all(dev, dev_of_node(dev), in slot_pwrctrl_probe()
/linux/drivers/leds/
H A Dleds-syscon.c59 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()
H 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()
H A Dleds-is31fl32xx.c425 of_property_read_bool(dev_of_node(dev), "issi,22khz-pwm")) { in is31fl32xx_parse_dt()
436 for_each_available_child_of_node_scoped(dev_of_node(dev), child) { in is31fl32xx_parse_dt()
579 count = of_get_available_child_count(dev_of_node(dev)); in is31fl32xx_probe()
H A Dleds-mc13783.c126 of_get_child_by_name(dev_of_node(dev->parent), "leds"); in mc13xxx_led_probe_dt()
193 if (dev_of_node(dev->parent)) { in mc13xxx_led_probe()
H A Dleds-pm8058.c111 np = dev_of_node(dev); in pm8058_led_probe()
/linux/drivers/regulator/
H A Drt4803.c192 cfg.of_node = dev_of_node(dev); in rt4803_probe()
193 cfg.init_data = of_get_regulator_init_data(dev, dev_of_node(dev), desc); in rt4803_probe()
H A Drt5739.c294 cfg.of_node = dev_of_node(dev); in rt5739_probe()
295 cfg.init_data = of_get_regulator_init_data(dev, dev_of_node(dev), desc); in rt5739_probe()
/linux/drivers/irqchip/
H 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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson.c418 struct device_node *np = dev_of_node(&pdev->dev); in loongson_dwmac_dt_config()
557 if (dev_of_node(&pdev->dev)) in loongson_dwmac_probe()
575 if (dev_of_node(&pdev->dev)) in loongson_dwmac_probe()
593 if (dev_of_node(&pdev->dev)) in loongson_dwmac_remove()
/linux/drivers/usb/renesas_usbhs/
H 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()
641 if (of_property_present(dev_of_node(dev), "extcon")) { in usbhs_probe()
673 if (!of_property_read_u32(dev_of_node(dev), "renesas,buswait", &tmp)) in usbhs_probe()
/linux/drivers/thermal/broadcom/
H A Dns-thermal.c51 pvtmon = of_iomap(dev_of_node(dev), 0); in ns_thermal_probe()
/linux/drivers/pci/controller/dwc/
H A Dpcie-spacemit-k1.c263 root_port = of_get_next_available_child(dev_of_node(dev), NULL); in k1_pcie_parse_port()
289 k1->pmu = syscon_regmap_lookup_by_phandle_args(dev_of_node(dev), in k1_pcie_probe()
/linux/drivers/cpufreq/
H A Dscmi-cpufreq.c400 struct device_node *scmi_np = dev_of_node(scmi_dev); in scmi_dev_used_by_cpus()
413 cpu_np = dev_of_node(cpu_dev); in scmi_dev_used_by_cpus()
/linux/drivers/net/ethernet/xilinx/
H A Dll_temac_mdio.c67 struct device_node *np = dev_of_node(&pdev->dev); in temac_mdio_setup()
/linux/net/wireless/
H A Dof.c87 np = dev_of_node(dev); in wiphy_read_of_freq_limits()
/linux/drivers/nvdimm/
H A Dof_pmem.c25 np = dev_of_node(&pdev->dev); in of_pmem_region_probe()
/linux/drivers/fsi/
H 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()
1335 master->sram_pool = of_gen_pool_get(dev_of_node(&pdev->dev), "aspeed,sram", 0); in fsi_master_acf_probe()
1373 master->master.dev.of_node = of_node_get(dev_of_node(master->dev)); in fsi_master_acf_probe()
1401 of_node_put(dev_of_node(master->dev)); in fsi_master_acf_probe()
/linux/drivers/remoteproc/
H A Dti_sci_proc.h39 ret = of_property_read_u32_array(dev_of_node(dev), "ti,sci-proc-ids", in ti_sci_proc_of_get_tsp()
/linux/drivers/soc/fsl/
H A Drcpm.c135 if (dev_of_node(dev) && (i == 1)) in rcpm_pm_prepare()
/linux/drivers/clk/stm32/
H A Dreset-stm32.c142 reset_data->rcdev.of_node = dev_of_node(dev); in stm32_rcc_reset_init()
/linux/drivers/soc/ti/
H A Dpruss.c410 struct device_node *np = dev_of_node(dev); in pruss_of_setup_memories()
466 struct device_node *np = dev_of_node(dev); in pruss_cfg_of_init()
/linux/net/rfkill/
H A Drfkill-gpio.c110 if (dev_of_node(&pdev->dev)) { in rfkill_gpio_probe()

12345