Home
last modified time | relevance | path

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

12345

/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/cpuidle/
H A Dcpuidle-riscv-sbi.c453 if (!of_property_present(node, "#power-domain-cells")) in sbi_genpd_probe()
502 of_property_present(np, "power-domains") && in sbi_cpuidle_probe()
503 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/sound/soc/qcom/
H A Dcommon.c198 if (of_property_present(dev->of_node, "widgets")) { in qcom_snd_parse_of()
205 if (of_property_present(dev->of_node, "audio-routing")) { in qcom_snd_parse_of()
211 if (of_property_present(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of()
/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/pinctrl/sunxi/
H A Dpinctrl-sunxi.c266 return of_property_present(node, "bias-pull-up") || in sunxi_pctrl_has_bias_prop()
267 of_property_present(node, "bias-pull-down") || in sunxi_pctrl_has_bias_prop()
268 of_property_present(node, "bias-disable") || in sunxi_pctrl_has_bias_prop()
269 of_property_present(node, "allwinner,pull"); in sunxi_pctrl_has_bias_prop()
274 return of_property_present(node, "drive-strength") || in sunxi_pctrl_has_drive_prop()
275 of_property_present(node, "allwinner,drive"); in sunxi_pctrl_has_drive_prop()
283 if (of_property_present(node, "bias-pull-up")) in sunxi_pctrl_parse_bias_prop()
286 if (of_property_present(node, "bias-pull-down")) in sunxi_pctrl_parse_bias_prop()
289 if (of_property_present(node, "bias-disable")) in sunxi_pctrl_parse_bias_prop()
1547 if (!of_property_present(node, "input-debounce")) in sunxi_pinctrl_setup_debounce()
/linux/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/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c69 if (!of_property_present(mem_node, "reg")) { in qbman_init_private_mem()
/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/sound/soc/codecs/
H A Dlpass-macro-common.c23 if (!of_property_present(dev->of_node, "power-domains")) in lpass_macro_pds_init()
/linux/arch/powerpc/platforms/44x/
H A Diss4xx.c55 if (!of_property_present(np, "interrupts")) in iss4xx_init_irq()
/linux/sound/soc/fsl/
H A Dfsl-asoc-card.c1003 if (of_property_present(np, "hp-det-gpios") || in fsl_asoc_card_probe()
1004 of_property_present(np, "hp-det-gpio") /* deprecated */) { in fsl_asoc_card_probe()
1013 if (of_property_present(np, "mic-det-gpios") || in fsl_asoc_card_probe()
1014 of_property_present(np, "mic-det-gpio") /* deprecated */) { in fsl_asoc_card_probe()
1281 if (of_property_present(np, "audio-routing")) {
H A Dmpc5200_psc_i2s.c194 if (!of_property_present(op->dev.of_node, "codec-handle")) in psc_i2s_of_probe()
/linux/arch/sparc/kernel/
H A Dof_device_64.c60 if (!of_property_present(np, "ranges")) in of_bus_pci_match()
80 if (!of_property_present(np, "ranges")) in of_bus_simba_match()
285 if (of_property_present(pp, "ranges")) in use_1to1_mapping()
H A Dof_device_32.c31 if (!of_property_present(np, "ranges")) in of_bus_pci_match()
225 if (of_property_present(pp, "ranges")) in use_1to1_mapping()
H A Dof_device_common.c164 if (of_property_present(dp, "ranges")) in of_bus_sbus_match()
/linux/drivers/mfd/
H A Dkhadas-mcu.c115 if (of_property_present(dev->of_node, "#cooling-cells")) in khadas_mcu_probe()
/linux/drivers/clk/sprd/
H A Dcommon.c48 if (of_property_present(node, "sprd,syscon")) { in sprd_clk_regmap_init()
/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/irqchip/
H A Dirq-riscv-aplic-main.c339 if (!of_property_present(np, "msi-parent")) { in aplic_setup_priv()
377 msi_mode = of_property_present(to_of_node(dev->fwnode), "msi-parent"); in aplic_probe()
/linux/drivers/gpio/
H A Dgpiolib-of.c368 of_property_present(np, "cs-gpios")) { in of_gpio_flags_quirks()
929 has_group_names = of_property_present(np, group_names_propname); in of_gpiochip_add_pin_range()
1085 if (of_property_present(child, "gpio-hog")) in of_gpiochip_remove()
/linux/drivers/devfreq/
H A Dimx-bus.c62 if (!of_property_present(dev->of_node, "#interconnect-cells")) in imx_bus_init_icc()
/linux/drivers/clk/versatile/
H A Dclk-sp810.c113 deprecated = !of_property_present(node, "assigned-clock-parents"); in clk_sp810_of_setup()
/linux/drivers/nvmem/
H A Dlayouts.c134 if (!of_property_present(layout_dn, "compatible")) { in nvmem_layout_bus_populate()

12345