Home
last modified time | relevance | path

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

12345

/openbmc/linux/sound/soc/samsung/
H A 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()
/openbmc/linux/drivers/soc/sunxi/
H A Dsunxi_mbus.c85 if (of_property_present(dev->of_node, "interconnects")) in sunxi_mbus_notifier()
/openbmc/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()
/openbmc/linux/drivers/pinctrl/sunxi/
H 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()
/openbmc/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()
/openbmc/linux/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c65 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem()
/openbmc/linux/drivers/soc/xilinx/
H A Dzynqmp_power.c224 } else if (of_property_present(pdev->dev.of_node, "mboxes")) { in zynqmp_pm_probe()
246 } else if (of_property_present(pdev->dev.of_node, "interrupts")) { in zynqmp_pm_probe()
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-riscv-sbi.c493 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
544 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
545 of_property_present(np, "power-domain-names")) { in sbi_cpuidle_probe()
H A Dcpuidle-psci-domain.c152 if (!of_property_present(node, "#power-domain-cells")) in psci_cpuidle_domain_probe()
/openbmc/linux/sound/soc/codecs/
H A Dlpass-macro-common.c19 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/openbmc/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.c193 if (of_property_present(np, "operating-points-v2")) in cpu0_node_has_opp_v2_prop()
H A Dimx-cpufreq-dt.c92 if (!of_property_present(cpu_dev->of_node, "cpu-supply")) in imx_cpufreq_dt_probe()
/openbmc/linux/drivers/net/mdio/
H A 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()
/openbmc/linux/arch/powerpc/platforms/44x/
H A Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/base/
H A 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()
/openbmc/linux/drivers/clk/sprd/
H A Dcommon.c48 if (of_property_present(node, "sprd,syscon")) { in sprd_clk_regmap_init()
/openbmc/linux/arch/sparc/kernel/
H 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()
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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dof.c132 if (!of_property_present(np, "interrupts")) in brcmf_of_probe()
/openbmc/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()
/openbmc/linux/drivers/w1/masters/
H A Dw1-gpio.c90 if (of_property_present(np, "linux,open-drain")) in w1_gpio_probe()

12345