Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_platform.c111 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()
498 of_property_read_bool(np, "snps,force_sf_dma_mode"); in stmmac_probe_config_dt()
559 if (of_property_read_bool(np, "snps,tso")) in stmmac_probe_config_dt()
573 if (of_property_read_bool(np, "snps,tso")) in stmmac_probe_config_dt()
[all …]
/linux-6.15/drivers/video/backlight/
H A Das3711_bl.c288 if (of_property_read_bool(bl, "su2-feedback-voltage")) { in as3711_backlight_parse_dt()
292 if (of_property_read_bool(bl, "su2-feedback-curr1")) { in as3711_backlight_parse_dt()
296 if (of_property_read_bool(bl, "su2-feedback-curr2")) { in as3711_backlight_parse_dt()
300 if (of_property_read_bool(bl, "su2-feedback-curr3")) { in as3711_backlight_parse_dt()
314 if (of_property_read_bool(bl, "su2-fbprot-lx-sd4")) { in as3711_backlight_parse_dt()
318 if (of_property_read_bool(bl, "su2-fbprot-gpio2")) { in as3711_backlight_parse_dt()
322 if (of_property_read_bool(bl, "su2-fbprot-gpio3")) { in as3711_backlight_parse_dt()
326 if (of_property_read_bool(bl, "su2-fbprot-gpio4")) { in as3711_backlight_parse_dt()
336 if (of_property_read_bool(bl, "su2-auto-curr1")) { in as3711_backlight_parse_dt()
340 if (of_property_read_bool(bl, "su2-auto-curr2")) { in as3711_backlight_parse_dt()
[all …]
/linux-6.15/arch/nios2/kernel/
H A Dcpuinfo.c41 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-6.15/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c990 if (of_property_read_bool(np, "st,irq1-disable")) in lis3lv02d_init_dt()
992 if (of_property_read_bool(np, "st,irq1-ff-wu-1")) in lis3lv02d_init_dt()
994 if (of_property_read_bool(np, "st,irq1-ff-wu-2")) in lis3lv02d_init_dt()
998 if (of_property_read_bool(np, "st,irq1-click")) in lis3lv02d_init_dt()
1009 if (of_property_read_bool(np, "st,irq2-click")) in lis3lv02d_init_dt()
1022 if (of_property_read_bool(np, "st,wakeup-x-lo")) in lis3lv02d_init_dt()
1024 if (of_property_read_bool(np, "st,wakeup-x-hi")) in lis3lv02d_init_dt()
1026 if (of_property_read_bool(np, "st,wakeup-y-lo")) in lis3lv02d_init_dt()
1028 if (of_property_read_bool(np, "st,wakeup-y-hi")) in lis3lv02d_init_dt()
1030 if (of_property_read_bool(np, "st,wakeup-z-lo")) in lis3lv02d_init_dt()
[all …]
/linux-6.15/drivers/net/can/cc770/
H A Dcc770_platform.c89 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-6.15/drivers/usb/misc/
H A Dusb251xb.c427 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-6.15/drivers/usb/host/
H A Dfsl-mph-dr-of.c212 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()
H A Dohci-pxa27x.c355 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()
H A Dohci-platform.c127 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()
H A Dehci-platform.c277 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()
H A Dehci-ppc-of.c154 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-6.15/drivers/bus/
H A Dtegra-gmi.c114 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-6.15/drivers/memory/
H A Dpl172.c106 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-6.15/drivers/leds/
H A Dleds-bcm6328.c348 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-6.15/drivers/clocksource/
H A Dtimer-ti-dm-systimer.c196 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()
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()
644 if (!of_property_read_bool(np->parent, "ti,no-reset-on-init") || in dmtimer_percpu_timer_init()
645 !of_property_read_bool(np->parent, "ti,no-idle")) in dmtimer_percpu_timer_init()
788 of_property_read_bool(np, "ti,timer-alwon") ? in dmtimer_clocksource_init()
/linux-6.15/drivers/regulator/
H A Dof_regulator.c131 constraints->boot_on = of_property_read_bool(np, "regulator-boot-on"); in of_get_regulation_constraints()
132 constraints->always_on = of_property_read_bool(np, "regulator-always-on"); in of_get_regulation_constraints()
136 constraints->pull_down = of_property_read_bool(np, "regulator-pull-down"); in of_get_regulation_constraints()
137 constraints->system_critical = of_property_read_bool(np, in of_get_regulation_constraints()
140 if (of_property_read_bool(np, "regulator-allow-bypass")) in of_get_regulation_constraints()
143 if (of_property_read_bool(np, "regulator-allow-set-load")) in of_get_regulation_constraints()
188 constraints->soft_start = of_property_read_bool(np, in of_get_regulation_constraints()
256 constraints->over_current_protection = of_property_read_bool(np, in of_get_regulation_constraints()
301 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
304 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
[all …]
H A Dmax8973-regulator.c527 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-6.15/sound/soc/codecs/
H A Dsta350.c1109 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-6.15/drivers/mfd/
H A Dtps65910.c394 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()
H A Dwm8994-core.c281 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-6.15/arch/powerpc/kernel/
H A Dsecure_boot.c30 enabled = of_property_read_bool(node, "os-secureboot-enforcing"); in is_ppc_secureboot_enabled()
54 enabled = of_property_read_bool(node, "trusted-enabled"); in is_ppc_trustedboot_enabled()
/linux-6.15/drivers/usb/common/
H A Dcommon.c343 return of_property_read_bool(np, "tpl-support"); in of_usb_host_tpl_support()
390 if (of_property_read_bool(np, "hnp-disable")) in of_usb_update_otg_caps()
392 if (of_property_read_bool(np, "srp-disable")) in of_usb_update_otg_caps()
394 if (of_property_read_bool(np, "adp-disable") || in of_usb_update_otg_caps()
/linux-6.15/drivers/gpio/
H A Dgpiolib-of.c318 active_high = of_property_read_bool(np_propname, in of_gpio_set_polarity_by_property()
339 of_property_read_bool(np, "gpio-open-drain")) { in of_gpio_flags_quirks()
372 bool active_high = of_property_read_bool(child, in of_gpio_flags_quirks()
384 of_property_read_bool(np, "snps,reset-active-low")) in of_gpio_flags_quirks()
781 if (of_property_read_bool(np, "input")) in of_parse_own_gpio()
783 else if (of_property_read_bool(np, "output-low")) in of_parse_own_gpio()
785 else if (of_property_read_bool(np, "output-high")) in of_parse_own_gpio()
848 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_gpios()
902 if (!of_property_read_bool(rd->dn, "gpio-hog")) in of_gpio_notify()
/linux-6.15/arch/arm/mm/
H A Dcache-l2x0.c1057 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-6.15/drivers/phy/st/
H A Dphy-stm32-usbphyc.c484 if (!of_property_read_bool(np, "st,no-lsfs-fb-cap")) in stm32_usbphyc_phy_tuning()
487 if (of_property_read_bool(np, "st,decrease-hs-slew-rate")) in stm32_usbphyc_phy_tuning()
504 if (of_property_read_bool(np, "st,enable-fs-rftime-tuning")) in stm32_usbphyc_phy_tuning()
507 if (of_property_read_bool(np, "st,enable-hs-rftime-reduction")) in stm32_usbphyc_phy_tuning()
534 if (of_property_read_bool(np, "st,enable-hs-rx-gain-eq")) in stm32_usbphyc_phy_tuning()
545 if (of_property_read_bool(np, "st,no-hs-ftime-ctrl")) in stm32_usbphyc_phy_tuning()
548 if (!of_property_read_bool(np, "st,no-lsfs-sc")) in stm32_usbphyc_phy_tuning()
551 if (of_property_read_bool(np, "st,enable-hs-tx-staggering")) in stm32_usbphyc_phy_tuning()

12345678910>>...27