/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_platform.c | 112 axi->axi_fb = of_property_read_bool(np, "snps,axi_fb"); in stmmac_axi_setup() 113 axi->axi_mb = of_property_read_bool(np, "snps,axi_mb"); in stmmac_axi_setup() 114 axi->axi_rb = of_property_read_bool(np, "snps,axi_rb"); in stmmac_axi_setup() 169 if (of_property_read_bool(rx_node, "snps,rx-sched-sp")) in stmmac_mtl_setup() 202 if (of_property_read_bool(q_node, "snps,route-avcp")) in stmmac_mtl_setup() 228 if (of_property_read_bool(tx_node, "snps,tx-sched-wrr")) in stmmac_mtl_setup() 250 } else if (of_property_read_bool(q_node, in stmmac_mtl_setup() 466 of_property_read_bool(np, "snps,force_sf_dma_mode"); in stmmac_probe_config_dt() 526 plat->tso_en = of_property_read_bool(np, "snps,tso"); in stmmac_probe_config_dt() 539 plat->tso_en = of_property_read_bool(np, "snps,tso"); in stmmac_probe_config_dt() [all …]
|
/linux/arch/nios2/kernel/ |
A D | cpuinfo.c | 41 if (!of_property_read_bool(cpu, "altr,has-initda")) in setup_cpuinfo() 54 cpuinfo.has_div = of_property_read_bool(cpu, "altr,has-div"); in setup_cpuinfo() 55 cpuinfo.has_mul = of_property_read_bool(cpu, "altr,has-mul"); in setup_cpuinfo() 56 cpuinfo.has_mulx = of_property_read_bool(cpu, "altr,has-mulx"); in setup_cpuinfo() 57 cpuinfo.has_bmx = of_property_read_bool(cpu, "altr,has-bmx"); in setup_cpuinfo() 58 cpuinfo.has_cdx = of_property_read_bool(cpu, "altr,has-cdx"); in setup_cpuinfo() 59 cpuinfo.mmu = of_property_read_bool(cpu, "altr,has-mmu"); in setup_cpuinfo()
|
/linux/arch/riscv/kernel/ |
A D | cacheinfo.c | 123 if (of_property_read_bool(np, "cache-size")) in init_cache_level() 125 if (of_property_read_bool(np, "i-cache-size")) in init_cache_level() 127 if (of_property_read_bool(np, "d-cache-size")) in init_cache_level() 142 if (of_property_read_bool(np, "cache-size")) in init_cache_level() 144 if (of_property_read_bool(np, "i-cache-size")) in init_cache_level() 146 if (of_property_read_bool(np, "d-cache-size")) in init_cache_level()
|
/linux/drivers/iio/frequency/ |
A D | adf4350.c | 409 pdata->ref_doubler_en = of_property_read_bool(np, in adf4350_parse_dt() 411 pdata->ref_div2_en = of_property_read_bool(np, in adf4350_parse_dt() 415 pdata->r2_user_settings = of_property_read_bool(np, in adf4350_parse_dt() 418 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() 421 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() 433 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() 439 pdata->r3_user_settings = of_property_read_bool(np, in adf4350_parse_dt() 442 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() 446 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() 449 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt() [all …]
|
/linux/drivers/bus/ |
A D | tegra-gmi.c | 109 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/drivers/regulator/ |
A D | of_regulator.c | 128 constraints->boot_on = of_property_read_bool(np, "regulator-boot-on"); in of_get_regulation_constraints() 129 constraints->always_on = of_property_read_bool(np, "regulator-always-on"); in of_get_regulation_constraints() 133 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints() 135 if (of_property_read_bool(np, "regulator-allow-bypass")) in of_get_regulation_constraints() 138 if (of_property_read_bool(np, "regulator-allow-set-load")) in of_get_regulation_constraints() 176 constraints->soft_start = of_property_read_bool(np, in of_get_regulation_constraints() 244 constraints->over_current_protection = of_property_read_bool(np, in of_get_regulation_constraints() 285 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints() 288 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints() 306 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
|
A D | max8973-regulator.c | 545 pdata->enable_ext_control = of_property_read_bool(np, in max8973_parse_dt() 553 if (of_property_read_bool(np, "maxim,enable-remote-sense")) in max8973_parse_dt() 556 if (of_property_read_bool(np, "maxim,enable-falling-slew-rate")) in max8973_parse_dt() 560 if (of_property_read_bool(np, "maxim,enable-active-discharge")) in max8973_parse_dt() 564 if (of_property_read_bool(np, "maxim,enable-frequency-shift")) in max8973_parse_dt() 567 if (of_property_read_bool(np, "maxim,enable-bias-control")) in max8973_parse_dt() 570 etr_enable = of_property_read_bool(np, "maxim,enable-etr"); in max8973_parse_dt() 571 etr_sensitivity_high = of_property_read_bool(np, in max8973_parse_dt()
|
/linux/drivers/memory/ |
A D | pl172.c | 106 if (of_property_read_bool(np, "mpmc,async-page-mode")) in pl172_setup_static() 109 if (of_property_read_bool(np, "mpmc,cs-active-high")) in pl172_setup_static() 112 if (of_property_read_bool(np, "mpmc,byte-lane-low")) in pl172_setup_static() 115 if (of_property_read_bool(np, "mpmc,extended-wait")) in pl172_setup_static() 119 of_property_read_bool(np, "mpmc,buffer-enable")) in pl172_setup_static() 122 if (of_property_read_bool(np, "mpmc,write-protect")) in pl172_setup_static()
|
/linux/drivers/usb/host/ |
A D | fsl-mph-dr-of.c | 225 of_property_read_bool(np, "fsl,usb-erratum-a007792"); in fsl_usb2_mph_dr_of_probe() 227 of_property_read_bool(np, "fsl,usb-erratum-a005275"); in fsl_usb2_mph_dr_of_probe() 229 of_property_read_bool(np, "fsl,usb_erratum-a005697"); in fsl_usb2_mph_dr_of_probe() 231 of_property_read_bool(np, "fsl,usb_erratum-a006918"); in fsl_usb2_mph_dr_of_probe() 233 of_property_read_bool(np, "fsl,usb_erratum-14"); in fsl_usb2_mph_dr_of_probe() 240 of_property_read_bool(np, "phy-clk-valid"); in fsl_usb2_mph_dr_of_probe()
|
A D | ohci-pxa27x.c | 373 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()
|
A D | ohci-platform.c | 128 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ohci_platform_probe() 131 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ohci_platform_probe() 134 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ohci_platform_probe() 137 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no")) in ohci_platform_probe() 140 if (of_property_read_bool(dev->dev.of_node, in ohci_platform_probe()
|
A D | ehci-platform.c | 280 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ehci_platform_probe() 283 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ehci_platform_probe() 286 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ehci_platform_probe() 289 if (of_property_read_bool(dev->dev.of_node, "spurious-oc")) in ehci_platform_probe() 292 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe() 296 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
|
/linux/drivers/leds/ |
A D | leds-bcm6328.c | 346 if (of_property_read_bool(nc, "active-low")) in bcm6328_led() 427 if (of_property_read_bool(np, "brcm,serial-leds")) in bcm6328_leds_probe() 429 if (of_property_read_bool(np, "brcm,serial-mux")) in bcm6328_leds_probe() 431 if (of_property_read_bool(np, "brcm,serial-clk-low")) in bcm6328_leds_probe() 433 if (!of_property_read_bool(np, "brcm,serial-dat-low")) in bcm6328_leds_probe() 435 if (!of_property_read_bool(np, "brcm,serial-shift-inv")) in bcm6328_leds_probe() 452 if (of_property_read_bool(child, "brcm,hardware-controlled")) in bcm6328_leds_probe()
|
/linux/drivers/clocksource/ |
A D | timer-ti-dm-systimer.c | 196 if (!of_property_read_bool(np->parent, in dmtimer_is_preferred() 200 if (!of_property_read_bool(np->parent, "ti,no-idle")) in dmtimer_is_preferred() 204 if (!of_property_read_bool(np, "ti,timer-secure")) { in dmtimer_is_preferred() 205 if (!of_property_read_bool(np, "assigned-clocks")) in dmtimer_is_preferred() 208 if (!of_property_read_bool(np, "assigned-clock-parents")) in dmtimer_is_preferred() 212 if (of_property_read_bool(np, "ti,timer-dsp")) in dmtimer_is_preferred() 215 if (of_property_read_bool(np, "ti,timer-pwm")) in dmtimer_is_preferred() 258 if (of_property_read_bool(np, "ti,timer-alwon")) { in dmtimer_systimer_assign_alwon() 645 if (!of_property_read_bool(np->parent, "ti,no-reset-on-init") || in dmtimer_percpu_timer_init() 646 !of_property_read_bool(np->parent, "ti,no-idle")) in dmtimer_percpu_timer_init()
|
/linux/drivers/gpio/ |
A D | gpiolib-of.c | 148 bool active_low = !of_property_read_bool(np, in of_gpio_flags_quirks() 169 of_property_read_bool(np, "gpio-open-drain")) { in of_gpio_flags_quirks() 181 of_property_read_bool(np, "cs-gpios")) { in of_gpio_flags_quirks() 203 if (of_property_read_bool(child, "spi-cs-high")) { in of_gpio_flags_quirks() 224 of_property_read_bool(np, "snps,reset-active-low")) in of_gpio_flags_quirks() 625 if (of_property_read_bool(np, "input")) in of_parse_own_gpio() 627 else if (of_property_read_bool(np, "output-low")) in of_parse_own_gpio() 629 else if (of_property_read_bool(np, "output-high")) in of_parse_own_gpio() 690 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_gpios() 749 if (!of_property_read_bool(rd->dn, "gpio-hog")) in of_gpio_notify()
|
/linux/drivers/mfd/ |
A D | tps65910.c | 401 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); in tps65910_parse_dt() 404 prop = of_property_read_bool(np, "ti,sleep-enable"); in tps65910_parse_dt() 407 prop = of_property_read_bool(np, "ti,sleep-keep-therm"); in tps65910_parse_dt() 410 prop = of_property_read_bool(np, "ti,sleep-keep-ck32k"); in tps65910_parse_dt() 413 prop = of_property_read_bool(np, "ti,sleep-keep-hsclk"); in tps65910_parse_dt() 418 board_info->pm_off = of_property_read_bool(np, in tps65910_parse_dt()
|
/linux/drivers/usb/common/ |
A D | common.c | 330 return of_property_read_bool(np, "tpl-support"); in of_usb_host_tpl_support() 377 if (of_property_read_bool(np, "hnp-disable")) in of_usb_update_otg_caps() 379 if (of_property_read_bool(np, "srp-disable")) in of_usb_update_otg_caps() 381 if (of_property_read_bool(np, "adp-disable") || in of_usb_update_otg_caps()
|
/linux/arch/powerpc/kernel/ |
A D | secure_boot.c | 29 enabled = of_property_read_bool(node, "os-secureboot-enforcing"); in is_ppc_secureboot_enabled() 51 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
|
/linux/arch/arm/mm/ |
A D | cache-l2x0.c | 1057 if (of_property_read_bool(np, "arm,parity-enable")) { in l2x0_of_parse() 1064 if (of_property_read_bool(np, "arm,shared-override")) { in l2x0_of_parse() 1181 if (of_property_read_bool(np, "arm,shared-override")) { in l2c310_of_parse() 1186 if (of_property_read_bool(np, "arm,parity-enable")) { in l2c310_of_parse() 1194 if (of_property_read_bool(np, "arm,early-bresp-disable")) in l2c310_of_parse() 1197 if (of_property_read_bool(np, "arm,full-line-zero-disable")) in l2c310_of_parse() 1497 l2_wt_override = of_property_read_bool(np, "wt-override"); in aurora_of_parse() 1504 if (of_property_read_bool(np, "marvell,ecc-enable")) { in aurora_of_parse() 1509 if (of_property_read_bool(np, "arm,parity-enable")) { in aurora_of_parse() 1786 of_property_read_bool(np, "arm,io-coherent")) in l2x0_of_init() [all …]
|
/linux/sound/soc/fsl/ |
A D | imx-rpmsg.c | 90 if (of_property_read_bool(np, "fsl,rpmsg-out")) in imx_rpmsg_probe() 93 if (of_property_read_bool(np, "fsl,rpmsg-in")) in imx_rpmsg_probe() 116 if (of_property_read_bool(np, "audio-routing")) { in imx_rpmsg_probe()
|
/linux/drivers/phy/st/ |
A D | phy-stm32-usbphyc.c | 478 if (!of_property_read_bool(np, "st,no-lsfs-fb-cap")) in stm32_usbphyc_phy_tuning() 481 if (of_property_read_bool(np, "st,decrease-hs-slew-rate")) in stm32_usbphyc_phy_tuning() 498 if (of_property_read_bool(np, "st,enable-fs-rftime-tuning")) in stm32_usbphyc_phy_tuning() 501 if (of_property_read_bool(np, "st,enable-hs-rftime-reduction")) in stm32_usbphyc_phy_tuning() 528 if (of_property_read_bool(np, "st,enable-hs-rx-gain-eq")) in stm32_usbphyc_phy_tuning() 539 if (of_property_read_bool(np, "st,no-hs-ftime-ctrl")) in stm32_usbphyc_phy_tuning() 542 if (!of_property_read_bool(np, "st,no-lsfs-sc")) in stm32_usbphyc_phy_tuning() 545 if (of_property_read_bool(np, "st,enable-hs-tx-staggering")) in stm32_usbphyc_phy_tuning()
|
/linux/drivers/watchdog/ |
A D | aspeed_wdt.c | 307 if (of_property_read_bool(np, "aspeed,external-signal")) in aspeed_wdt_probe() 309 if (of_property_read_bool(np, "aspeed,alt-boot")) in aspeed_wdt_probe() 328 if (of_property_read_bool(np, "aspeed,ext-push-pull")) in aspeed_wdt_probe() 336 if (of_property_read_bool(np, "aspeed,ext-active-high")) in aspeed_wdt_probe()
|
/linux/drivers/usb/isp1760/ |
A D | isp1760-if.c | 229 if (of_property_read_bool(dp, "analog-oc")) in isp1760_plat_probe() 232 if (of_property_read_bool(dp, "dack-polarity")) in isp1760_plat_probe() 235 if (of_property_read_bool(dp, "dreq-polarity")) in isp1760_plat_probe()
|
/linux/drivers/video/ |
A D | of_display_timing.c | 98 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/drivers/misc/ |
A D | atmel-ssc.c | 156 if (!of_property_read_bool(np, "#sound-dai-cells")) in ssc_sound_dai_probe() 179 if (of_property_read_bool(ssc->pdev->dev.of_node, "#sound-dai-cells")) in ssc_sound_dai_probe() 212 of_property_read_bool(np, "atmel,clk-from-rk-pin"); in ssc_probe()
|