Home
last modified time | relevance | path

Searched refs:of_property_read_bool (Results 1 – 25 of 424) sorted by relevance

12345678910>>...17

/Linux-v4.19/arch/riscv/kernel/
Dcacheinfo.c40 if (of_property_read_bool(np, "cache-size")) in __init_cache_level()
42 if (of_property_read_bool(np, "i-cache-size")) in __init_cache_level()
44 if (of_property_read_bool(np, "d-cache-size")) in __init_cache_level()
56 if (of_property_read_bool(np, "cache-size")) in __init_cache_level()
58 if (of_property_read_bool(np, "i-cache-size")) in __init_cache_level()
60 if (of_property_read_bool(np, "d-cache-size")) in __init_cache_level()
77 if (of_property_read_bool(np, "cache-size")) in __populate_cache_leaves()
79 if (of_property_read_bool(np, "i-cache-size")) in __populate_cache_leaves()
81 if (of_property_read_bool(np, "d-cache-size")) in __populate_cache_leaves()
91 if (of_property_read_bool(np, "cache-size")) in __populate_cache_leaves()
[all …]
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c115 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup()
116 axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm"); in stmmac_axi_setup()
117 axi->axi_kbbe = of_property_read_bool(np, "snps,axi_kbbe"); in stmmac_axi_setup()
118 axi->axi_fb = of_property_read_bool(np, "snps,axi_fb"); in stmmac_axi_setup()
119 axi->axi_mb = of_property_read_bool(np, "snps,axi_mb"); in stmmac_axi_setup()
120 axi->axi_rb = of_property_read_bool(np, "snps,axi_rb"); in stmmac_axi_setup()
174 if (of_property_read_bool(rx_node, "snps,rx-sched-sp")) in stmmac_mtl_setup()
176 else if (of_property_read_bool(rx_node, "snps,rx-sched-wsp")) in stmmac_mtl_setup()
186 if (of_property_read_bool(q_node, "snps,dcb-algorithm")) in stmmac_mtl_setup()
188 else if (of_property_read_bool(q_node, "snps,avb-algorithm")) in stmmac_mtl_setup()
[all …]
/Linux-v4.19/arch/nios2/kernel/
Dcpuinfo.c54 if (!of_property_read_bool(cpu, "altr,has-initda")) in setup_cpuinfo()
67 cpuinfo.has_div = of_property_read_bool(cpu, "altr,has-div"); in setup_cpuinfo()
68 cpuinfo.has_mul = of_property_read_bool(cpu, "altr,has-mul"); in setup_cpuinfo()
69 cpuinfo.has_mulx = of_property_read_bool(cpu, "altr,has-mulx"); in setup_cpuinfo()
70 cpuinfo.has_bmx = of_property_read_bool(cpu, "altr,has-bmx"); in setup_cpuinfo()
71 cpuinfo.has_cdx = of_property_read_bool(cpu, "altr,has-cdx"); in setup_cpuinfo()
72 cpuinfo.mmu = of_property_read_bool(cpu, "altr,has-mmu"); in setup_cpuinfo()
/Linux-v4.19/drivers/bus/
Dtegra-gmi.c109 if (of_property_read_bool(child, "nvidia,snor-data-width-32bit")) in tegra_gmi_parse_dt()
112 if (of_property_read_bool(child, "nvidia,snor-mux-mode")) in tegra_gmi_parse_dt()
115 if (of_property_read_bool(child, "nvidia,snor-rdy-active-before-data")) in tegra_gmi_parse_dt()
118 if (of_property_read_bool(child, "nvidia,snor-rdy-active-high")) in tegra_gmi_parse_dt()
121 if (of_property_read_bool(child, "nvidia,snor-adv-active-high")) in tegra_gmi_parse_dt()
124 if (of_property_read_bool(child, "nvidia,snor-oe-active-high")) in tegra_gmi_parse_dt()
127 if (of_property_read_bool(child, "nvidia,snor-cs-active-high")) in tegra_gmi_parse_dt()
/Linux-v4.19/drivers/iio/frequency/
Dadf4350.c411 pdata->ref_doubler_en = of_property_read_bool(np, in adf4350_parse_dt()
413 pdata->ref_div2_en = of_property_read_bool(np, in adf4350_parse_dt()
417 pdata->r2_user_settings = of_property_read_bool(np, in adf4350_parse_dt()
420 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
423 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
435 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
441 pdata->r3_user_settings = of_property_read_bool(np, in adf4350_parse_dt()
444 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
448 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
451 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
[all …]
/Linux-v4.19/drivers/regulator/
Dof_regulator.c69 constraints->boot_on = of_property_read_bool(np, "regulator-boot-on"); in of_get_regulation_constraints()
70 constraints->always_on = of_property_read_bool(np, "regulator-always-on"); in of_get_regulation_constraints()
74 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
76 if (of_property_read_bool(np, "regulator-allow-bypass")) in of_get_regulation_constraints()
79 if (of_property_read_bool(np, "regulator-allow-set-load")) in of_get_regulation_constraints()
117 constraints->soft_start = of_property_read_bool(np, in of_get_regulation_constraints()
173 constraints->over_current_protection = of_property_read_bool(np, in of_get_regulation_constraints()
210 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
213 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
231 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
Dmax8973-regulator.c568 pdata->enable_ext_control = of_property_read_bool(np, in max8973_parse_dt()
576 if (of_property_read_bool(np, "maxim,enable-remote-sense")) in max8973_parse_dt()
579 if (of_property_read_bool(np, "maxim,enable-falling-slew-rate")) in max8973_parse_dt()
583 if (of_property_read_bool(np, "maxim,enable-active-discharge")) in max8973_parse_dt()
587 if (of_property_read_bool(np, "maxim,enable-frequency-shift")) in max8973_parse_dt()
590 if (of_property_read_bool(np, "maxim,enable-bias-control")) in max8973_parse_dt()
593 etr_enable = of_property_read_bool(np, "maxim,enable-etr"); in max8973_parse_dt()
594 etr_sensitivity_high = of_property_read_bool(np, in max8973_parse_dt()
/Linux-v4.19/drivers/memory/
Dpl172.c109 if (of_property_read_bool(np, "mpmc,async-page-mode")) in pl172_setup_static()
112 if (of_property_read_bool(np, "mpmc,cs-active-high")) in pl172_setup_static()
115 if (of_property_read_bool(np, "mpmc,byte-lane-low")) in pl172_setup_static()
118 if (of_property_read_bool(np, "mpmc,extended-wait")) in pl172_setup_static()
122 of_property_read_bool(np, "mpmc,buffer-enable")) in pl172_setup_static()
125 if (of_property_read_bool(np, "mpmc,write-protect")) in pl172_setup_static()
/Linux-v4.19/drivers/usb/common/
Dcommon.c190 return of_property_read_bool(np, "tpl-support"); in of_usb_host_tpl_support()
237 if (of_property_read_bool(np, "hnp-disable")) in of_usb_update_otg_caps()
239 if (of_property_read_bool(np, "srp-disable")) in of_usb_update_otg_caps()
241 if (of_property_read_bool(np, "adp-disable") || in of_usb_update_otg_caps()
/Linux-v4.19/drivers/leds/
Dleds-bcm6328.c298 if (of_property_read_bool(nc, "active-low")) in bcm6328_led()
386 if (of_property_read_bool(np, "brcm,serial-leds")) in bcm6328_leds_probe()
388 if (of_property_read_bool(np, "brcm,serial-mux")) in bcm6328_leds_probe()
390 if (of_property_read_bool(np, "brcm,serial-clk-low")) in bcm6328_leds_probe()
392 if (!of_property_read_bool(np, "brcm,serial-dat-low")) in bcm6328_leds_probe()
394 if (!of_property_read_bool(np, "brcm,serial-shift-inv")) in bcm6328_leds_probe()
411 if (of_property_read_bool(child, "brcm,hardware-controlled")) in bcm6328_leds_probe()
/Linux-v4.19/drivers/net/phy/
Ddp83867.c174 if (of_property_read_bool(of_node, "ti,max-output-impedance")) in dp83867_of_init()
176 else if (of_property_read_bool(of_node, "ti,min-output-impedance")) in dp83867_of_init()
179 dp83867->rxctrl_strap_quirk = of_property_read_bool(of_node, in dp83867_of_init()
196 if (of_property_read_bool(of_node, "enet-phy-lane-swap")) in dp83867_of_init()
199 if (of_property_read_bool(of_node, "enet-phy-lane-no-swap")) in dp83867_of_init()
/Linux-v4.19/drivers/mfd/
Dtps65910.c409 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); in tps65910_parse_dt()
412 prop = of_property_read_bool(np, "ti,sleep-enable"); in tps65910_parse_dt()
415 prop = of_property_read_bool(np, "ti,sleep-keep-therm"); in tps65910_parse_dt()
418 prop = of_property_read_bool(np, "ti,sleep-keep-ck32k"); in tps65910_parse_dt()
421 prop = of_property_read_bool(np, "ti,sleep-keep-hsclk"); in tps65910_parse_dt()
426 board_info->pm_off = of_property_read_bool(np, in tps65910_parse_dt()
Dsyscon.c75 if (of_property_read_bool(np, "big-endian")) in of_syscon_register()
77 else if (of_property_read_bool(np, "little-endian")) in of_syscon_register()
79 else if (of_property_read_bool(np, "native-endian")) in of_syscon_register()
/Linux-v4.19/drivers/usb/isp1760/
Disp1760-if.c218 if (of_property_read_bool(dp, "port1-otg")) in isp1760_plat_probe()
221 if (of_property_read_bool(dp, "analog-oc")) in isp1760_plat_probe()
224 if (of_property_read_bool(dp, "dack-polarity")) in isp1760_plat_probe()
227 if (of_property_read_bool(dp, "dreq-polarity")) in isp1760_plat_probe()
/Linux-v4.19/drivers/usb/host/
Dohci-pxa27x.c373 if (of_property_read_bool(np, "marvell,enable-port1")) in ohci_pxa_of_init()
375 if (of_property_read_bool(np, "marvell,enable-port2")) in ohci_pxa_of_init()
377 if (of_property_read_bool(np, "marvell,enable-port3")) in ohci_pxa_of_init()
379 if (of_property_read_bool(np, "marvell,port-sense-low")) in ohci_pxa_of_init()
381 if (of_property_read_bool(np, "marvell,power-control-low")) in ohci_pxa_of_init()
383 if (of_property_read_bool(np, "marvell,no-oc-protection")) in ohci_pxa_of_init()
385 if (of_property_read_bool(np, "marvell,oc-mode-perport")) in ohci_pxa_of_init()
Dehci-platform.c164 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ehci_platform_probe()
167 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ehci_platform_probe()
170 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ehci_platform_probe()
173 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
177 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
Dohci-platform.c130 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ohci_platform_probe()
133 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ohci_platform_probe()
136 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ohci_platform_probe()
139 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no")) in ohci_platform_probe()
142 if (of_property_read_bool(dev->dev.of_node, in ohci_platform_probe()
Dfsl-mph-dr-of.c222 of_property_read_bool(np, "fsl,usb-erratum-a007792"); in fsl_usb2_mph_dr_of_probe()
224 of_property_read_bool(np, "fsl,usb-erratum-a005275"); in fsl_usb2_mph_dr_of_probe()
226 of_property_read_bool(np, "fsl,usb_erratum-a005697"); in fsl_usb2_mph_dr_of_probe()
233 of_property_read_bool(np, "phy-clk-valid"); in fsl_usb2_mph_dr_of_probe()
/Linux-v4.19/drivers/gpio/
Dgpiolib-of.c82 if (!of_property_read_bool(np, "enable-active-high")) in of_gpio_flags_quirks()
90 of_property_read_bool(np, "gpio-open-drain")) { in of_gpio_flags_quirks()
345 if (of_property_read_bool(np, "input")) in of_parse_own_gpio()
347 else if (of_property_read_bool(np, "output-low")) in of_parse_own_gpio()
349 else if (of_property_read_bool(np, "output-high")) in of_parse_own_gpio()
382 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_gpios()
/Linux-v4.19/drivers/watchdog/
Daspeed_wdt.c251 if (of_property_read_bool(np, "aspeed,external-signal")) in aspeed_wdt_probe()
253 if (of_property_read_bool(np, "aspeed,alt-boot")) in aspeed_wdt_probe()
271 if (of_property_read_bool(np, "aspeed,ext-push-pull")) in aspeed_wdt_probe()
279 if (of_property_read_bool(np, "aspeed,ext-active-high")) in aspeed_wdt_probe()
/Linux-v4.19/drivers/video/
Dof_display_timing.c98 if (of_property_read_bool(np, "interlaced")) in of_parse_display_timing()
100 if (of_property_read_bool(np, "doublescan")) in of_parse_display_timing()
102 if (of_property_read_bool(np, "doubleclk")) in of_parse_display_timing()
/Linux-v4.19/sound/soc/fsl/
Dimx-spdif.c49 if (of_property_read_bool(np, "spdif-out")) in imx_spdif_audio_probe()
52 if (of_property_read_bool(np, "spdif-in")) in imx_spdif_audio_probe()
/Linux-v4.19/drivers/misc/
Datmel-ssc.c159 if (!of_property_read_bool(np, "#sound-dai-cells")) in ssc_sound_dai_probe()
182 if (of_property_read_bool(ssc->pdev->dev.of_node, "#sound-dai-cells")) in ssc_sound_dai_probe()
215 of_property_read_bool(np, "atmel,clk-from-rk-pin"); in ssc_probe()
/Linux-v4.19/drivers/of/
Dof_mdio.c77 if (of_property_read_bool(child, "broken-turn-around")) in of_mdiobus_register_phy()
478 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
485 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link()
486 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
/Linux-v4.19/drivers/pci/controller/
Dpcie-iproc-platform.c74 if (of_property_read_bool(np, "brcm,pcie-ob")) { in iproc_pcie_pltfm_probe()
93 pcie->need_ib_cfg = of_property_read_bool(np, "dma-ranges"); in iproc_pcie_pltfm_probe()

12345678910>>...17