Home
last modified time | relevance | path

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

12345678910>>...21

/linux/drivers/video/backlight/
H A 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/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c967 if (of_property_read_bool(np, "st,click-single-x")) in lis3lv02d_init_dt()
969 if (of_property_read_bool(np, "st,click-double-x")) in lis3lv02d_init_dt()
972 if (of_property_read_bool(np, "st,click-single-y")) in lis3lv02d_init_dt()
974 if (of_property_read_bool(np, "st,click-double-y")) in lis3lv02d_init_dt()
977 if (of_property_read_bool(np, "st,click-single-z")) in lis3lv02d_init_dt()
979 if (of_property_read_bool(np, "st,click-double-z")) in lis3lv02d_init_dt()
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()
1002 if (of_property_read_bool(np, "st,irq1-data-ready")) in lis3lv02d_init_dt()
[all …]
/linux/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/arch/riscv/kernel/
H A Dcacheinfo.c111 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/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/drivers/usb/misc/
H A Dusb251xb.c410 hub->skip_config = of_property_read_bool(np, "skip-config"); in usb251xb_get_ofdata()
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()
434 else if (of_property_read_bool(np, "individual-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()
454 if (of_property_read_bool(np, "individual-port-switching")) in usb251xb_get_ofdata()
[all …]
/linux/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/drivers/regulator/
H A 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()
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 …]
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/sound/soc/codecs/
H A Dsta350.c1109 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta350_probe_dt()
1111 of_property_read_bool(np, "st,thermal-warning-adjustment"); in sta350_probe_dt()
1113 of_property_read_bool(np, "st,fault-detect-recovery"); in sta350_probe_dt()
1136 of_property_read_bool(np, "st,overcurrent-warning-adjustment"); 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()
1152 of_property_read_bool(np, "st,invalid-input-detect-mute"); in sta350_probe_dt()
[all …]
H A Dsta32x.c1057 of_property_read_bool(np, "st,fault-detect-recovery"); in sta32x_probe_dt()
1059 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta32x_probe_dt()
1061 of_property_read_bool(np, "st,thermal-warning-adjustment"); in sta32x_probe_dt()
1063 of_property_read_bool(np, "st,needs_esd_watchdog"); in sta32x_probe_dt()
1071 of_property_read_bool(np, "st,max-power-use-mpcc"); in sta32x_probe_dt()
1073 of_property_read_bool(np, "st,max-power-correction"); in sta32x_probe_dt()
1075 of_property_read_bool(np, "st,am-reduction-mode"); in sta32x_probe_dt()
1077 of_property_read_bool(np, "st,odd-pwm-speed-mode"); in sta32x_probe_dt()
1081 of_property_read_bool(np, "st,invalid-input-detect-mute"); in sta32x_probe_dt()
/linux/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/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/drivers/gpio/
H A Dgpiolib-of.c307 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()
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/sound/soc/fsl/
H A Dimx-rpmsg.c191 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()
/linux/arch/arm/mm/
H A 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/drivers/video/
H A 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/drivers/mtd/parsers/
H A Dofpart_core.c160 if (of_property_read_bool(pp, "read-only")) in parse_fixed_partitions()
163 if (of_property_read_bool(pp, "lock")) in parse_fixed_partitions()
166 if (of_property_read_bool(pp, "slc-mode")) in parse_fixed_partitions()
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_of.c140 !of_property_read_bool(of_node, property->name)) in logicvc_of_property_parse_u32()
179 *target = of_property_read_bool(of_node, property->name); in logicvc_of_property_parse_bool()
/linux/drivers/clk/ti/
H A Dmux.c196 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_mux_clk_setup()
199 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_mux_clk_setup()
265 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_ti_composite_mux_clk_setup()
/linux/sound/soc/qcom/
H A Dcommon.c47 if (of_property_read_bool(dev->of_node, "widgets")) { in qcom_snd_parse_of()
54 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of()
60 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of()
/linux/drivers/hwmon/
H A Dmax6697.c428 if (of_property_read_bool(node, "smbus-timeout-disable") && in max6697_config_of()
432 if (of_property_read_bool(node, "extended-range-enable") && in max6697_config_of()
437 if (of_property_read_bool(node, "beta-compensation-enable") && in max6697_config_of()
457 if (of_property_read_bool(node, "resistance-cancellation") && in max6697_config_of()
463 if (of_property_read_bool(node, "resistance-cancellation")) in max6697_config_of()
/linux/drivers/watchdog/
H A Daspeed_wdt.c389 if (of_property_read_bool(np, "aspeed,external-signal")) in aspeed_wdt_probe()
391 if (of_property_read_bool(np, "aspeed,alt-boot")) in aspeed_wdt_probe()
412 if (of_property_read_bool(np, "aspeed,ext-active-high")) in aspeed_wdt_probe()
420 if (of_property_read_bool(np, "aspeed,ext-push-pull")) in aspeed_wdt_probe()
/linux/drivers/net/mdio/
H A Dof_mdio.c432 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
439 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link()
440 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()

12345678910>>...21