Home
last modified time | relevance | path

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

12345

/linux-6.6.21/sound/soc/samsung/
Dodroid.c226 if (of_property_present(dev->of_node, "samsung,audio-widgets")) { in odroid_audio_probe()
234 if (of_property_present(dev->of_node, "audio-routing")) in odroid_audio_probe()
236 else if (of_property_present(dev->of_node, "samsung,audio-routing")) in odroid_audio_probe()
/linux-6.6.21/arch/powerpc/kernel/
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.6.21/drivers/soc/sunxi/
Dsunxi_mbus.c85 if (of_property_present(dev->of_node, "interconnects")) in sunxi_mbus_notifier()
/linux-6.6.21/drivers/pinctrl/sunxi/
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-6.6.21/drivers/regulator/
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.6.21/drivers/cpuidle/
Dcpuidle-riscv-sbi.c500 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
551 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
552 of_property_present(np, "power-domain-names")) { in sbi_cpuidle_probe()
Dcpuidle-psci-domain.c152 if (!of_property_present(node, "#power-domain-cells")) in psci_cpuidle_domain_probe()
/linux-6.6.21/drivers/soc/xilinx/
Dzynqmp_power.c222 } else if (of_property_present(pdev->dev.of_node, "mboxes")) { in zynqmp_pm_probe()
244 } else if (of_property_present(pdev->dev.of_node, "interrupts")) { in zynqmp_pm_probe()
/linux-6.6.21/drivers/soc/fsl/qbman/
Ddpaa_sys.c65 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem()
/linux-6.6.21/sound/soc/codecs/
Dlpass-macro-common.c19 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/linux-6.6.21/drivers/net/mdio/
Dof_mdio.c134 if (!of_property_present(child, "compatible")) in of_mdiobus_child_is_phy()
208 if (of_property_present(child, "reg")) in __of_mdiobus_register()
/linux-6.6.21/drivers/cpufreq/
Dtegra20-cpufreq.c28 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
Dcpufreq-dt-platdev.c193 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
Dimx-cpufreq-dt.c92 if (!of_property_present(cpu_dev->of_node, "cpu-supply")) in imx_cpufreq_dt_probe()
/linux-6.6.21/drivers/usb/host/
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.6.21/drivers/base/
Dcacheinfo.c248 if (of_property_present(np, "cache-size") || in of_check_cache_nodes()
249 of_property_present(np, "i-cache-size") || in of_check_cache_nodes()
250 of_property_present(np, "d-cache-size") || in of_check_cache_nodes()
251 of_property_present(np, "cache-unified")) in of_check_cache_nodes()
/linux-6.6.21/arch/powerpc/platforms/44x/
Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/linux-6.6.21/drivers/mfd/
Dkhadas-mcu.c115 if (of_property_present(dev->of_node, "#cooling-cells")) in khadas_mcu_probe()
Dbcm2835-pm.c31 if (of_property_present(pm->dev->of_node, "reg-names")) { in bcm2835_pm_get_pdata()
/linux-6.6.21/drivers/clk/sprd/
Dcommon.c48 if (of_property_present(node, "sprd,syscon")) { in sprd_clk_regmap_init()
/linux-6.6.21/arch/sparc/kernel/
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()
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-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dof.c132 if (!of_property_present(np, "interrupts")) in brcmf_of_probe()
/linux-6.6.21/drivers/pci/hotplug/
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-6.6.21/drivers/ata/
Dahci_mtk.c110 if (of_property_present(np, "mediatek,phy-mode")) { in mtk_ahci_parse_property()

12345