Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c109 axi->axi_lpi_en = of_property_read_bool(np, "snps,lpi_en"); in stmmac_axi_setup()
110 axi->axi_xit_frm = of_property_read_bool(np, "snps,xit_frm"); in stmmac_axi_setup()
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()
171 else if (of_property_read_bool(rx_node, "snps,rx-sched-wsp")) in stmmac_mtl_setup()
181 if (of_property_read_bool(q_node, "snps,dcb-algorithm")) in stmmac_mtl_setup()
183 else if (of_property_read_bool(q_node, "snps,avb-algorithm")) in stmmac_mtl_setup()
[all …]
/linux-6.6.21/arch/riscv/kernel/
Dcacheinfo.c82 if (of_property_read_bool(np, "cache-size")) in populate_cache_leaves()
84 if (of_property_read_bool(np, "i-cache-size")) in populate_cache_leaves()
86 if (of_property_read_bool(np, "d-cache-size")) in populate_cache_leaves()
99 if (of_property_read_bool(np, "cache-size")) in populate_cache_leaves()
101 if (of_property_read_bool(np, "i-cache-size")) in populate_cache_leaves()
103 if (of_property_read_bool(np, "d-cache-size")) in populate_cache_leaves()
/linux-6.6.21/drivers/video/backlight/
Das3711_bl.c289 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()
305 if (of_property_read_bool(bl, "su2-feedback-curr-auto")) { 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()
[all …]
/linux-6.6.21/arch/nios2/kernel/
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.6.21/drivers/misc/lis3lv02d/
Dlis3lv02d.c968 if (of_property_read_bool(np, "st,click-single-x")) in lis3lv02d_init_dt()
970 if (of_property_read_bool(np, "st,click-double-x")) in lis3lv02d_init_dt()
973 if (of_property_read_bool(np, "st,click-single-y")) in lis3lv02d_init_dt()
975 if (of_property_read_bool(np, "st,click-double-y")) in lis3lv02d_init_dt()
978 if (of_property_read_bool(np, "st,click-single-z")) in lis3lv02d_init_dt()
980 if (of_property_read_bool(np, "st,click-double-z")) in lis3lv02d_init_dt()
997 if (of_property_read_bool(np, "st,irq1-disable")) in lis3lv02d_init_dt()
999 if (of_property_read_bool(np, "st,irq1-ff-wu-1")) in lis3lv02d_init_dt()
1001 if (of_property_read_bool(np, "st,irq1-ff-wu-2")) in lis3lv02d_init_dt()
1003 if (of_property_read_bool(np, "st,irq1-data-ready")) in lis3lv02d_init_dt()
[all …]
/linux-6.6.21/drivers/usb/misc/
Dusb251xb.c412 hub->skip_config = of_property_read_bool(np, "skip-config"); in usb251xb_get_ofdata()
429 if (of_property_read_bool(np, "self-powered")) { in usb251xb_get_ofdata()
434 if (of_property_read_bool(np, "ganged-sensing")) in usb251xb_get_ofdata()
436 else if (of_property_read_bool(np, "individual-sensing")) in usb251xb_get_ofdata()
438 } else if (of_property_read_bool(np, "bus-powered")) { in usb251xb_get_ofdata()
445 if (of_property_read_bool(np, "disable-hi-speed")) in usb251xb_get_ofdata()
448 if (of_property_read_bool(np, "multi-tt")) in usb251xb_get_ofdata()
450 else if (of_property_read_bool(np, "single-tt")) in usb251xb_get_ofdata()
453 if (of_property_read_bool(np, "disable-eop")) in usb251xb_get_ofdata()
456 if (of_property_read_bool(np, "individual-port-switching")) in usb251xb_get_ofdata()
[all …]
/linux-6.6.21/drivers/usb/host/
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()
Dohci-pxa27x.c356 if (of_property_read_bool(np, "marvell,enable-port1")) in ohci_pxa_of_init()
358 if (of_property_read_bool(np, "marvell,enable-port2")) in ohci_pxa_of_init()
360 if (of_property_read_bool(np, "marvell,enable-port3")) in ohci_pxa_of_init()
362 if (of_property_read_bool(np, "marvell,port-sense-low")) in ohci_pxa_of_init()
364 if (of_property_read_bool(np, "marvell,power-control-low")) in ohci_pxa_of_init()
366 if (of_property_read_bool(np, "marvell,no-oc-protection")) in ohci_pxa_of_init()
368 if (of_property_read_bool(np, "marvell,oc-mode-perport")) in ohci_pxa_of_init()
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()
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()
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.6.21/drivers/net/can/cc770/
Dcc770_platform.c96 if (of_property_read_bool(np, "bosch,divide-memory-clock")) in cc770_get_of_node_data()
98 if (of_property_read_bool(np, "bosch,iso-low-speed-mux")) in cc770_get_of_node_data()
103 if (of_property_read_bool(np, "bosch,disconnect-rx0-input")) in cc770_get_of_node_data()
105 if (of_property_read_bool(np, "bosch,disconnect-rx1-input")) in cc770_get_of_node_data()
107 if (of_property_read_bool(np, "bosch,disconnect-tx1-output")) in cc770_get_of_node_data()
109 if (of_property_read_bool(np, "bosch,polarity-dominant")) in cc770_get_of_node_data()
/linux-6.6.21/drivers/bus/
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.6.21/drivers/clocksource/
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()
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()
644 if (!of_property_read_bool(np->parent, "ti,no-reset-on-init") || in dmtimer_percpu_timer_init()
[all …]
/linux-6.6.21/drivers/memory/
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.6.21/drivers/regulator/
Dof_regulator.c128 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()
289 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
292 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
310 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
/linux-6.6.21/drivers/leds/
Dleds-bcm6328.c348 if (of_property_read_bool(nc, "active-low")) in bcm6328_led()
426 if (of_property_read_bool(np, "brcm,serial-leds")) in bcm6328_leds_probe()
428 if (of_property_read_bool(np, "brcm,serial-mux")) in bcm6328_leds_probe()
430 if (of_property_read_bool(np, "brcm,serial-clk-low")) in bcm6328_leds_probe()
432 if (!of_property_read_bool(np, "brcm,serial-dat-low")) in bcm6328_leds_probe()
434 if (!of_property_read_bool(np, "brcm,serial-shift-inv")) in bcm6328_leds_probe()
451 if (of_property_read_bool(child, "brcm,hardware-controlled")) in bcm6328_leds_probe()
/linux-6.6.21/sound/soc/codecs/
Dsta350.c1110 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta350_probe_dt()
1112 of_property_read_bool(np, "st,thermal-warning-adjustment"); in sta350_probe_dt()
1114 of_property_read_bool(np, "st,fault-detect-recovery"); in sta350_probe_dt()
1137 of_property_read_bool(np, "st,overcurrent-warning-adjustment"); in sta350_probe_dt()
1141 of_property_read_bool(np, "st,max-power-use-mpcc"); in sta350_probe_dt()
1143 of_property_read_bool(np, "st,max-power-correction"); in sta350_probe_dt()
1145 of_property_read_bool(np, "st,am-reduction-mode"); in sta350_probe_dt()
1147 of_property_read_bool(np, "st,odd-pwm-speed-mode"); in sta350_probe_dt()
1149 of_property_read_bool(np, "st,distortion-compensation"); in sta350_probe_dt()
1153 of_property_read_bool(np, "st,invalid-input-detect-mute"); in sta350_probe_dt()
[all …]
/linux-6.6.21/drivers/mfd/
Dtps65910.c401 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()
Dwm8994-core.c282 pdata->lineout1_diff = !of_property_read_bool(np, "wlf,lineout1-se"); in wm8994_set_pdata_from_of()
283 pdata->lineout2_diff = !of_property_read_bool(np, "wlf,lineout2-se"); in wm8994_set_pdata_from_of()
284 pdata->lineout1fb = of_property_read_bool(np, "wlf,lineout1-feedback"); in wm8994_set_pdata_from_of()
285 pdata->lineout2fb = of_property_read_bool(np, "wlf,lineout2-feedback") || in wm8994_set_pdata_from_of()
286 of_property_read_bool(np, "wlf,ldoena-always-driven"); in wm8994_set_pdata_from_of()
288 pdata->spkmode_pu = of_property_read_bool(np, "wlf,spkmode-pu"); in wm8994_set_pdata_from_of()
290 pdata->csnaddr_pd = of_property_read_bool(np, "wlf,csnaddr-pd"); in wm8994_set_pdata_from_of()
/linux-6.6.21/drivers/gpio/
Dgpiolib-of.c279 active_high = of_property_read_bool(np_propname, in of_gpio_set_polarity_by_property()
300 of_property_read_bool(np, "gpio-open-drain")) { in of_gpio_flags_quirks()
312 of_property_read_bool(np, "cs-gpios")) { in of_gpio_flags_quirks()
334 bool active_high = of_property_read_bool(child, in of_gpio_flags_quirks()
347 of_property_read_bool(np, "snps,reset-active-low")) in of_gpio_flags_quirks()
719 if (of_property_read_bool(np, "input")) in of_parse_own_gpio()
721 else if (of_property_read_bool(np, "output-low")) in of_parse_own_gpio()
723 else if (of_property_read_bool(np, "output-high")) in of_parse_own_gpio()
784 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_gpios()
840 if (!of_property_read_bool(rd->dn, "gpio-hog")) in of_gpio_notify()
/linux-6.6.21/arch/powerpc/kernel/
Dsecure_boot.c29 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-6.6.21/drivers/usb/common/
Dcommon.c331 return of_property_read_bool(np, "tpl-support"); in of_usb_host_tpl_support()
378 if (of_property_read_bool(np, "hnp-disable")) in of_usb_update_otg_caps()
380 if (of_property_read_bool(np, "srp-disable")) in of_usb_update_otg_caps()
382 if (of_property_read_bool(np, "adp-disable") || in of_usb_update_otg_caps()
/linux-6.6.21/arch/arm/mm/
Dcache-l2x0.c1057 if (of_property_read_bool(np, "arm,parity-enable")) { in l2x0_of_parse()
1060 } else if (of_property_read_bool(np, "arm,parity-disable")) { 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()
1189 } else if (of_property_read_bool(np, "arm,parity-disable")) { 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()
[all …]
/linux-6.6.21/drivers/usb/chipidea/
Dci_hdrc_imx.c163 if (of_property_read_bool(np, "disable-over-current")) { in usbmisc_get_init_data()
165 } else if (of_property_read_bool(np, "over-current-active-high")) { in usbmisc_get_init_data()
168 } else if (of_property_read_bool(np, "over-current-active-low")) { in usbmisc_get_init_data()
175 data->pwr_pol = of_property_read_bool(np, "power-active-high"); in usbmisc_get_init_data()
176 data->evdo = of_property_read_bool(np, "external-vbus-divider"); in usbmisc_get_init_data()
477 of_property_read_bool(np, "usb-role-switch")) in ci_hdrc_imx_probe()
481 of_property_read_bool(np, "usb-role-switch")) in ci_hdrc_imx_probe()

12345678910>>...28