Home
last modified time | relevance | path

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

123456789

/linux-6.15/arch/riscv/kernel/
H A Dcacheinfo.c111 if (of_property_present(np, "cache-size")) in populate_cache_leaves()
113 if (of_property_present(np, "i-cache-size")) in populate_cache_leaves()
115 if (of_property_present(np, "d-cache-size")) in populate_cache_leaves()
128 if (of_property_present(np, "cache-size")) in populate_cache_leaves()
130 if (of_property_present(np, "i-cache-size")) in populate_cache_leaves()
132 if (of_property_present(np, "d-cache-size")) in populate_cache_leaves()
/linux-6.15/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-6.15/drivers/base/
H 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()
257 if (of_property_present(np, "cache-size")) in of_count_cache_leaves()
259 if (of_property_present(np, "i-cache-size")) in of_count_cache_leaves()
261 if (of_property_present(np, "d-cache-size")) in of_count_cache_leaves()
/linux-6.15/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-6.15/drivers/net/mdio/
H 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-6.15/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-6.15/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-6.15/drivers/soc/sunxi/
H A Dsunxi_mbus.c85 if (of_property_present(dev->of_node, "interconnects")) in sunxi_mbus_notifier()
/linux-6.15/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()
1443 if (!of_property_present(node, "input-debounce")) in sunxi_pinctrl_setup_debounce()
/linux-6.15/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-6.15/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-6.15/drivers/cpuidle/
H A Dcpuidle-riscv-sbi.c465 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
514 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
515 of_property_present(np, "power-domain-names")) { in sbi_cpuidle_probe()
/linux-6.15/drivers/cpufreq/
H A Dcpufreq-dt.c73 if (!cpu && of_property_present(np, "cpu0-supply")) in find_supply_name()
76 if (of_property_present(np, "cpu-supply")) in find_supply_name()
H A Dtegra20-cpufreq.c28 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
/linux-6.15/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c69 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem()
/linux-6.15/sound/soc/codecs/
H A Dlpass-macro-common.c22 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/linux-6.15/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-6.15/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-6.15/arch/powerpc/platforms/44x/
H A Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/linux-6.15/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()
282 if (of_property_present(pdev->dev.of_node, "mediatek,dai-link")) { in mtk_soundcard_common_probe()
/linux-6.15/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-6.15/drivers/usb/core/
H A Dof.c88 if (of_property_present(child, "reg")) { in usb_of_has_devices_or_graph()
/linux-6.15/drivers/clk/sprd/
H A Dcommon.c48 if (of_property_present(node, "sprd,syscon")) { in sprd_clk_regmap_init()
/linux-6.15/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()

123456789