Home
last modified time | relevance | path

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

1234567

/linux/sound/soc/qcom/
H A Dcommon.c47 if (of_property_present(dev->of_node, "widgets")) { in qcom_snd_parse_of()
54 if (of_property_present(dev->of_node, "audio-routing")) { in qcom_snd_parse_of()
60 if (of_property_present(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of()
/linux/drivers/base/
H A Dcacheinfo.c289 if (of_property_present(np, "cache-size") || in of_check_cache_nodes()
290 of_property_present(np, "i-cache-size") || in of_check_cache_nodes()
291 of_property_present(np, "d-cache-size") || in of_check_cache_nodes()
292 of_property_present(np, "cache-unified")) in of_check_cache_nodes()
307 if (of_property_present(np, "cache-size")) in of_count_cache_leaves()
309 if (of_property_present(np, "i-cache-size")) in of_count_cache_leaves()
311 if (of_property_present(np, "d-cache-size")) in of_count_cache_leaves()
/linux/sound/soc/samsung/
H A Dodroid.c223 if (of_property_present(dev->of_node, "samsung,audio-widgets")) { in odroid_audio_probe()
231 if (of_property_present(dev->of_node, "audio-routing")) in odroid_audio_probe()
233 else if (of_property_present(dev->of_node, "samsung,audio-routing")) in odroid_audio_probe()
/linux/drivers/irqchip/
H 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/
H 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/
H A Dsunxi_mbus.c85 if (of_property_present(dev->of_node, "interconnects")) in sunxi_mbus_notifier()
/linux/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c237 return of_property_present(node, "bias-pull-up") || in sunxi_pctrl_has_bias_prop()
238 of_property_present(node, "bias-pull-down") || in sunxi_pctrl_has_bias_prop()
239 of_property_present(node, "bias-disable") || in sunxi_pctrl_has_bias_prop()
240 of_property_present(node, "allwinner,pull"); in sunxi_pctrl_has_bias_prop()
245 return of_property_present(node, "drive-strength") || in sunxi_pctrl_has_drive_prop()
246 of_property_present(node, "allwinner,drive"); in sunxi_pctrl_has_drive_prop()
254 if (of_property_present(node, "bias-pull-up")) in sunxi_pctrl_parse_bias_prop()
257 if (of_property_present(node, "bias-pull-down")) in sunxi_pctrl_parse_bias_prop()
260 if (of_property_present(node, "bias-disable")) in sunxi_pctrl_parse_bias_prop()
1450 if (!of_property_present(nod in sunxi_pinctrl_setup_debounce()
[all...]
/linux/drivers/misc/
H A Datmel-ssc.c156 if (!of_property_present(np, "#sound-dai-cells")) in ssc_sound_dai_probe()
179 if (of_property_present(ssc->pdev->dev.of_node, "#sound-dai-cells")) in ssc_sound_dai_probe()
/linux/drivers/regulator/
H 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/
H A Dcpuidle-riscv-sbi.c452 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
501 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
502 of_property_present(np, "power-domain-names")) { in sbi_cpuidle_probe()
H A Dcpuidle-psci-domain.c144 if (!of_property_present(node, "#power-domain-cells")) in psci_cpuidle_domain_probe()
/linux/drivers/cpufreq/
H A Dtegra20-cpufreq.c28 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
H A Dcpufreq-dt-platdev.c210 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
/linux/sound/soc/codecs/
H A Dlpass-macro-common.c22 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/linux/drivers/usb/host/
H 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/
H 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/
H A Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/linux/sound/soc/mediatek/common/
H A Dmtk-soundcard-driver.c227 needs_legacy_probe = !of_property_present(pdev->dev.of_node, "audio-routing"); in mtk_soundcard_common_probe()
286 if (of_property_present(pdev->dev.of_node, "mediatek,dai-link")) { in mtk_soundcard_common_probe()
/linux/drivers/mfd/
H A Dkhadas-mcu.c115 if (of_property_present(dev->of_node, "#cooling-cells")) in khadas_mcu_probe()
H A Dbcm2835-pm.c31 if (of_property_present(pm->dev->of_node, "reg-names")) { in bcm2835_pm_get_pdata()
/linux/drivers/usb/core/
H A Dof.c88 if (of_property_present(child, "reg")) { in usb_of_has_devices_or_graph()
/linux/drivers/soc/xilinx/
H 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/
H 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/pci/hotplug/
H 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()
/linux/drivers/devfreq/
H A Dimx-bus.c62 if (!of_property_present(dev->of_node, "#interconnect-cells")) in imx_bus_init_icc()

1234567