| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac_platform.c | 111 axi->axi_kbbe = of_property_read_bool(np, "snps,kbbe"); in stmmac_axi_setup() 112 axi->axi_fb = of_property_read_bool(np, "snps,fb"); in stmmac_axi_setup() 113 axi->axi_mb = of_property_read_bool(np, "snps,mb"); in stmmac_axi_setup() 114 axi->axi_rb = of_property_read_bool(np, "snps,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() 250 } else if (of_property_read_bool(q_node, in stmmac_mtl_setup() 501 of_property_read_bool(np, "snps,force_sf_dma_mode"); in stmmac_probe_config_dt() 562 if (of_property_read_bool(np, "snps,tso")) in stmmac_probe_config_dt() 576 if (of_property_read_bool(np, "snps,tso")) in stmmac_probe_config_dt() [all …]
|
| /linux/drivers/video/backlight/ |
| A D | as3711_bl.c | 289 if (of_property_read_bool(bl, "su2-feedback-voltage")) { in as3711_backlight_parse_dt() 293 if (of_property_read_bool(bl, "su2-feedback-curr1")) { in as3711_backlight_parse_dt() 297 if (of_property_read_bool(bl, "su2-feedback-curr2")) { in as3711_backlight_parse_dt() 301 if (of_property_read_bool(bl, "su2-feedback-curr3")) { in as3711_backlight_parse_dt() 315 if (of_property_read_bool(bl, "su2-fbprot-lx-sd4")) { in as3711_backlight_parse_dt() 319 if (of_property_read_bool(bl, "su2-fbprot-gpio2")) { in as3711_backlight_parse_dt() 323 if (of_property_read_bool(bl, "su2-fbprot-gpio3")) { in as3711_backlight_parse_dt() 327 if (of_property_read_bool(bl, "su2-fbprot-gpio4")) { in as3711_backlight_parse_dt() 337 if (of_property_read_bool(bl, "su2-auto-curr1")) { in as3711_backlight_parse_dt() 341 if (of_property_read_bool(bl, "su2-auto-curr2")) { in as3711_backlight_parse_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 | 111 if (of_property_read_bool(np, "cache-size")) in populate_cache_leaves() 113 if (of_property_read_bool(np, "i-cache-size")) in populate_cache_leaves() 115 if (of_property_read_bool(np, "d-cache-size")) in populate_cache_leaves() 128 if (of_property_read_bool(np, "cache-size")) in populate_cache_leaves() 130 if (of_property_read_bool(np, "i-cache-size")) in populate_cache_leaves() 132 if (of_property_read_bool(np, "d-cache-size")) in populate_cache_leaves()
|
| /linux/drivers/misc/lis3lv02d/ |
| A D | lis3lv02d.c | 996 if (of_property_read_bool(np, "st,irq1-disable")) in lis3lv02d_init_dt() 998 if (of_property_read_bool(np, "st,irq1-ff-wu-1")) in lis3lv02d_init_dt() 1000 if (of_property_read_bool(np, "st,irq1-ff-wu-2")) in lis3lv02d_init_dt() 1004 if (of_property_read_bool(np, "st,irq1-click")) in lis3lv02d_init_dt() 1015 if (of_property_read_bool(np, "st,irq2-click")) in lis3lv02d_init_dt() 1028 if (of_property_read_bool(np, "st,wakeup-x-lo")) in lis3lv02d_init_dt() 1030 if (of_property_read_bool(np, "st,wakeup-x-hi")) in lis3lv02d_init_dt() 1032 if (of_property_read_bool(np, "st,wakeup-y-lo")) in lis3lv02d_init_dt() 1034 if (of_property_read_bool(np, "st,wakeup-y-hi")) in lis3lv02d_init_dt() 1036 if (of_property_read_bool(np, "st,wakeup-z-lo")) in lis3lv02d_init_dt() [all …]
|
| /linux/drivers/net/can/cc770/ |
| A D | cc770_platform.c | 89 if (of_property_read_bool(np, "bosch,divide-memory-clock")) in cc770_get_of_node_data() 91 if (of_property_read_bool(np, "bosch,iso-low-speed-mux")) in cc770_get_of_node_data() 94 if (!of_property_read_bool(np, "bosch,no-comperator-bypass")) in cc770_get_of_node_data() 96 if (of_property_read_bool(np, "bosch,disconnect-rx0-input")) in cc770_get_of_node_data() 98 if (of_property_read_bool(np, "bosch,disconnect-rx1-input")) in cc770_get_of_node_data() 100 if (of_property_read_bool(np, "bosch,disconnect-tx1-output")) in cc770_get_of_node_data() 102 if (of_property_read_bool(np, "bosch,polarity-dominant")) in cc770_get_of_node_data()
|
| /linux/drivers/usb/misc/ |
| A D | usb251xb.c | 427 if (of_property_read_bool(np, "self-powered")) { in usb251xb_get_ofdata() 432 if (of_property_read_bool(np, "ganged-sensing")) in usb251xb_get_ofdata() 436 } else if (of_property_read_bool(np, "bus-powered")) { in usb251xb_get_ofdata() 443 if (of_property_read_bool(np, "disable-hi-speed")) in usb251xb_get_ofdata() 446 if (of_property_read_bool(np, "multi-tt")) in usb251xb_get_ofdata() 448 else if (of_property_read_bool(np, "single-tt")) in usb251xb_get_ofdata() 451 if (of_property_read_bool(np, "disable-eop")) in usb251xb_get_ofdata() 460 if (of_property_read_bool(np, "dynamic-power-switching")) in usb251xb_get_ofdata() 483 if (of_property_read_bool(np, "compound-device")) in usb251xb_get_ofdata() 487 if (of_property_read_bool(np, "port-mapping-mode")) in usb251xb_get_ofdata() [all …]
|
| /linux/drivers/usb/host/ |
| A D | fsl-mph-dr-of.c | 212 pdata->invert_drvvbus = of_property_read_bool(np, "fsl,invert-drvvbus"); in fsl_usb2_mph_dr_of_probe() 213 pdata->invert_pwr_fault = of_property_read_bool(np, "fsl,invert-pwr-fault"); in fsl_usb2_mph_dr_of_probe() 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 | 355 if (of_property_read_bool(np, "marvell,enable-port1")) in ohci_pxa_of_init() 357 if (of_property_read_bool(np, "marvell,enable-port2")) in ohci_pxa_of_init() 359 if (of_property_read_bool(np, "marvell,enable-port3")) in ohci_pxa_of_init() 361 if (of_property_read_bool(np, "marvell,port-sense-low")) in ohci_pxa_of_init() 363 if (of_property_read_bool(np, "marvell,power-control-low")) in ohci_pxa_of_init() 365 if (of_property_read_bool(np, "marvell,no-oc-protection")) in ohci_pxa_of_init() 367 if (of_property_read_bool(np, "marvell,oc-mode-perport")) in ohci_pxa_of_init()
|
| A D | ohci-platform.c | 127 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ohci_platform_probe() 130 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ohci_platform_probe() 133 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ohci_platform_probe() 136 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no")) in ohci_platform_probe() 139 if (of_property_read_bool(dev->dev.of_node, in ohci_platform_probe()
|
| A D | ehci-platform.c | 277 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ehci_platform_probe() 280 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ehci_platform_probe() 283 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ehci_platform_probe() 286 if (of_property_read_bool(dev->dev.of_node, "spurious-oc")) in ehci_platform_probe() 289 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe() 293 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
|
| A D | ehci-ppc-of.c | 154 if (of_property_read_bool(dn, "big-endian")) { in ehci_hcd_ppc_of_probe() 158 if (of_property_read_bool(dn, "big-endian-regs")) in ehci_hcd_ppc_of_probe() 160 if (of_property_read_bool(dn, "big-endian-desc")) in ehci_hcd_ppc_of_probe()
|
| /linux/drivers/bus/ |
| A D | tegra-gmi.c | 114 if (of_property_read_bool(child, "nvidia,snor-data-width-32bit")) in tegra_gmi_parse_dt() 117 if (of_property_read_bool(child, "nvidia,snor-mux-mode")) in tegra_gmi_parse_dt() 120 if (of_property_read_bool(child, "nvidia,snor-rdy-active-before-data")) in tegra_gmi_parse_dt() 123 if (of_property_read_bool(child, "nvidia,snor-rdy-active-high")) in tegra_gmi_parse_dt() 126 if (of_property_read_bool(child, "nvidia,snor-adv-active-high")) in tegra_gmi_parse_dt() 129 if (of_property_read_bool(child, "nvidia,snor-oe-active-high")) in tegra_gmi_parse_dt() 132 if (of_property_read_bool(child, "nvidia,snor-cs-active-high")) in tegra_gmi_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/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() 587 name, of_property_read_bool(np, "ti,timer-alwon") ? in dmtimer_clkevt_init_common() 645 !of_property_read_bool(np->parent, "ti,no-idle")) in dmtimer_percpu_timer_init() [all …]
|
| /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() 134 constraints->system_critical = of_property_read_bool(np, in of_get_regulation_constraints() 137 if (of_property_read_bool(np, "regulator-allow-bypass")) in of_get_regulation_constraints() 140 if (of_property_read_bool(np, "regulator-allow-set-load")) in of_get_regulation_constraints() 185 constraints->soft_start = of_property_read_bool(np, in of_get_regulation_constraints() 253 constraints->over_current_protection = of_property_read_bool(np, in of_get_regulation_constraints() 298 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints() 301 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints() [all …]
|
| A D | max8973-regulator.c | 527 pdata->enable_ext_control = of_property_read_bool(np, in max8973_parse_dt() 534 if (of_property_read_bool(np, "maxim,enable-remote-sense")) in max8973_parse_dt() 537 if (of_property_read_bool(np, "maxim,enable-falling-slew-rate")) in max8973_parse_dt() 541 if (of_property_read_bool(np, "maxim,enable-active-discharge")) in max8973_parse_dt() 545 if (of_property_read_bool(np, "maxim,enable-frequency-shift")) in max8973_parse_dt() 548 if (of_property_read_bool(np, "maxim,enable-bias-control")) in max8973_parse_dt() 551 etr_enable = of_property_read_bool(np, "maxim,enable-etr"); in max8973_parse_dt() 552 etr_sensitivity_high = of_property_read_bool(np, in max8973_parse_dt()
|
| /linux/drivers/leds/ |
| A D | leds-bcm6328.c | 348 if (of_property_read_bool(nc, "active-low")) in bcm6328_led() 425 if (of_property_read_bool(np, "brcm,serial-leds")) in bcm6328_leds_probe() 427 if (of_property_read_bool(np, "brcm,serial-mux")) in bcm6328_leds_probe() 429 if (of_property_read_bool(np, "brcm,serial-clk-low")) in bcm6328_leds_probe() 431 if (!of_property_read_bool(np, "brcm,serial-dat-low")) in bcm6328_leds_probe() 433 if (!of_property_read_bool(np, "brcm,serial-shift-inv")) in bcm6328_leds_probe() 450 if (of_property_read_bool(child, "brcm,hardware-controlled")) in bcm6328_leds_probe()
|
| /linux/sound/soc/codecs/ |
| A D | sta350.c | 1109 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta350_probe_dt() 1113 of_property_read_bool(np, "st,fault-detect-recovery"); in sta350_probe_dt() 1140 of_property_read_bool(np, "st,max-power-use-mpcc"); in sta350_probe_dt() 1142 of_property_read_bool(np, "st,max-power-correction"); in sta350_probe_dt() 1144 of_property_read_bool(np, "st,am-reduction-mode"); in sta350_probe_dt() 1146 of_property_read_bool(np, "st,odd-pwm-speed-mode"); in sta350_probe_dt() 1148 of_property_read_bool(np, "st,distortion-compensation"); in sta350_probe_dt() 1156 of_property_read_bool(np, "st,activate-mute-output"); in sta350_probe_dt() 1158 of_property_read_bool(np, "st,bridge-immediate-off"); in sta350_probe_dt() 1160 of_property_read_bool(np, "st,noise-shape-dc-cut"); in sta350_probe_dt() [all …]
|
| /linux/drivers/mfd/ |
| A D | tps65910.c | 394 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); in tps65910_parse_dt() 397 prop = of_property_read_bool(np, "ti,sleep-enable"); in tps65910_parse_dt() 400 prop = of_property_read_bool(np, "ti,sleep-keep-therm"); in tps65910_parse_dt() 403 prop = of_property_read_bool(np, "ti,sleep-keep-ck32k"); in tps65910_parse_dt() 406 prop = of_property_read_bool(np, "ti,sleep-keep-hsclk"); in tps65910_parse_dt() 411 board_info->pm_off = of_property_read_bool(np, in tps65910_parse_dt()
|
| A D | wm8994-core.c | 281 pdata->lineout1_diff = !of_property_read_bool(np, "wlf,lineout1-se"); in wm8994_set_pdata_from_of() 282 pdata->lineout2_diff = !of_property_read_bool(np, "wlf,lineout2-se"); in wm8994_set_pdata_from_of() 283 pdata->lineout1fb = of_property_read_bool(np, "wlf,lineout1-feedback"); in wm8994_set_pdata_from_of() 284 pdata->lineout2fb = of_property_read_bool(np, "wlf,lineout2-feedback") || in wm8994_set_pdata_from_of() 285 of_property_read_bool(np, "wlf,ldoena-always-driven"); in wm8994_set_pdata_from_of() 287 pdata->spkmode_pu = of_property_read_bool(np, "wlf,spkmode-pu"); in wm8994_set_pdata_from_of() 289 pdata->csnaddr_pd = of_property_read_bool(np, "wlf,csnaddr-pd"); in wm8994_set_pdata_from_of()
|
| /linux/drivers/gpio/ |
| A D | gpiolib-of.c | 307 active_high = of_property_read_bool(np_propname, in of_gpio_set_polarity_by_property() 328 of_property_read_bool(np, "gpio-open-drain")) { in of_gpio_flags_quirks() 340 of_property_read_bool(np, "cs-gpios")) { in of_gpio_flags_quirks() 361 bool active_high = of_property_read_bool(child, in of_gpio_flags_quirks() 373 of_property_read_bool(np, "snps,reset-active-low")) in of_gpio_flags_quirks() 770 if (of_property_read_bool(np, "input")) in of_parse_own_gpio() 772 else if (of_property_read_bool(np, "output-low")) in of_parse_own_gpio() 774 else if (of_property_read_bool(np, "output-high")) in of_parse_own_gpio() 837 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_gpios() 891 if (!of_property_read_bool(rd->dn, "gpio-hog")) in of_gpio_notify()
|
| /linux/arch/powerpc/kernel/ |
| A D | secure_boot.c | 29 enabled = of_property_read_bool(node, "os-secureboot-enforcing"); in is_ppc_secureboot_enabled() 53 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
|
| /linux/drivers/usb/common/ |
| A D | common.c | 329 return of_property_read_bool(np, "tpl-support"); in of_usb_host_tpl_support() 376 if (of_property_read_bool(np, "hnp-disable")) in of_usb_update_otg_caps() 378 if (of_property_read_bool(np, "srp-disable")) in of_usb_update_otg_caps() 380 if (of_property_read_bool(np, "adp-disable") || in of_usb_update_otg_caps()
|
| /linux/sound/soc/fsl/ |
| A D | imx-rpmsg.c | 191 if (of_property_read_bool(np, "fsl,rpmsg-out")) in imx_rpmsg_probe() 194 if (of_property_read_bool(np, "fsl,rpmsg-in")) in imx_rpmsg_probe() 203 if (of_property_read_bool(np, "fsl,enable-lpa")) in imx_rpmsg_probe() 221 if (of_property_read_bool(np, "audio-routing")) { in imx_rpmsg_probe()
|