Home
last modified time | relevance | path

Searched refs:of_property_present (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/drivers/net/mdio/
A Dof_mdio.c135 if (!of_property_present(child, "compatible")) in of_mdiobus_child_is_phy()
152 if (!of_property_present(child, "reg")) in __of_mdiobus_parse_phys()
240 if (of_property_present(child, "reg") || in __of_mdiobus_register()
/linux/sound/soc/samsung/
A Dodroid.c224 if (of_property_present(dev->of_node, "samsung,audio-widgets")) { in odroid_audio_probe()
232 if (of_property_present(dev->of_node, "audio-routing")) in odroid_audio_probe()
234 else if (of_property_present(dev->of_node, "samsung,audio-routing")) in odroid_audio_probe()
/linux/drivers/irqchip/
A Dirq-riscv-aplic-main.c163 if (!of_property_present(np, "msi-parent")) { in aplic_setup_priv()
201 msi_mode = of_property_present(to_of_node(dev->fwnode), "msi-parent"); in aplic_probe()
/linux/arch/powerpc/kernel/
A Dlegacy_serial.c174 if (!of_property_present(np, "clock-frequency")) in add_legacy_soc_port()
178 if (of_property_present(np, "reg-offset")) in add_legacy_soc_port()
240 of_property_present(isa_brg, "ranges")) { in add_legacy_isa_port()
271 if (!of_property_present(np, "clock-frequency")) in add_legacy_pci_port()
/linux/drivers/soc/sunxi/
A Dsunxi_mbus.c85 if (of_property_present(dev->of_node, "interconnects")) in sunxi_mbus_notifier()
/linux/drivers/pinctrl/sunxi/
A Dpinctrl-sunxi.c224 return of_property_present(node, "bias-pull-up") || in sunxi_pctrl_has_bias_prop()
225 of_property_present(node, "bias-pull-down") || in sunxi_pctrl_has_bias_prop()
226 of_property_present(node, "bias-disable") || in sunxi_pctrl_has_bias_prop()
227 of_property_present(node, "allwinner,pull"); in sunxi_pctrl_has_bias_prop()
232 return of_property_present(node, "drive-strength") || in sunxi_pctrl_has_drive_prop()
233 of_property_present(node, "allwinner,drive"); in sunxi_pctrl_has_drive_prop()
241 if (of_property_present(node, "bias-pull-up")) in sunxi_pctrl_parse_bias_prop()
244 if (of_property_present(node, "bias-pull-down")) in sunxi_pctrl_parse_bias_prop()
247 if (of_property_present(node, "bias-disable")) in sunxi_pctrl_parse_bias_prop()
1427 if (!of_property_present(node, "input-debounce")) in sunxi_pinctrl_setup_debounce()
/linux/drivers/regulator/
A Dbd71815-regulator.c203 if (of_property_present(np, "rohm,dvs-run-voltage") || in buck12_set_hw_dvs_levels()
204 of_property_present(np, "rohm,dvs-suspend-voltage") || in buck12_set_hw_dvs_levels()
205 of_property_present(np, "rohm,dvs-lpsr-voltage") || in buck12_set_hw_dvs_levels()
206 of_property_present(np, "rohm,dvs-snvs-voltage")) { in buck12_set_hw_dvs_levels()
/linux/drivers/cpuidle/
A Dcpuidle-riscv-sbi.c461 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
510 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
511 of_property_present(np, "power-domain-names")) { in sbi_cpuidle_probe()
/linux/drivers/cpufreq/
A Dcpufreq-dt.c79 if (!cpu && of_property_present(np, "cpu0-supply")) in find_supply_name()
82 if (of_property_present(np, "cpu-supply")) in find_supply_name()
A Dtegra20-cpufreq.c28 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
A Dcpufreq-dt-platdev.c205 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
/linux/drivers/soc/fsl/qbman/
A Ddpaa_sys.c69 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem()
/linux/sound/soc/codecs/
A Dlpass-macro-common.c22 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/linux/drivers/usb/host/
A Dfsl-mph-dr-of.c204 if (of_property_present(np, "port0")) in fsl_usb2_mph_dr_of_probe()
207 if (of_property_present(np, "port1")) in fsl_usb2_mph_dr_of_probe()
/linux/arch/powerpc/platforms/powernv/
A Dopal-lpc.c396 if (!of_property_present(np, "primary")) in opal_lpc_init()
406 if (of_property_present(np, "ranges")) { in opal_lpc_init()
/linux/arch/powerpc/platforms/44x/
A Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/linux/drivers/usb/core/
A Dof.c88 if (of_property_present(child, "reg")) { in usb_of_has_devices_or_graph()
/linux/drivers/mfd/
A Dkhadas-mcu.c115 if (of_property_present(dev->of_node, "#cooling-cells")) in khadas_mcu_probe()
A Dbcm2835-pm.c31 if (of_property_present(pm->dev->of_node, "reg-names")) { in bcm2835_pm_get_pdata()
/linux/drivers/clk/sprd/
A Dcommon.c48 if (of_property_present(node, "sprd,syscon")) { in sprd_clk_regmap_init()
/linux/drivers/soc/xilinx/
A Dzynqmp_power.c346 } else if (of_property_present(pdev->dev.of_node, "mboxes")) { in zynqmp_pm_probe()
368 } else if (of_property_present(pdev->dev.of_node, "interrupts")) { in zynqmp_pm_probe()
/linux/arch/sparc/kernel/
A Dof_device_64.c61 if (!of_property_present(np, "ranges")) in of_bus_pci_match()
81 if (!of_property_present(np, "ranges")) in of_bus_simba_match()
286 if (of_property_present(pp, "ranges")) in use_1to1_mapping()
A Dof_device_32.c32 if (!of_property_present(np, "ranges")) in of_bus_pci_match()
226 if (of_property_present(pp, "ranges")) in use_1to1_mapping()
/linux/drivers/base/
A Dcacheinfo.c239 if (of_property_present(np, "cache-size") || in of_check_cache_nodes()
240 of_property_present(np, "i-cache-size") || in of_check_cache_nodes()
241 of_property_present(np, "d-cache-size") || in of_check_cache_nodes()
242 of_property_present(np, "cache-unified")) in of_check_cache_nodes()
/linux/drivers/pci/hotplug/
A Drpaphp_core.c281 if (of_property_present(dn->parent, "ibm,drc-info")) in rpaphp_check_drc_props()
443 if (of_property_present(dn, "ibm,drc-info")) in rpaphp_add_slot()

Completed in 55 milliseconds

1234567