Home
last modified time | relevance | path

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

12345678910>>...14

/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c959 if (of_property_read_bool(np, "st,click-single-x")) in lis3lv02d_init_dt()
961 if (of_property_read_bool(np, "st,click-double-x")) in lis3lv02d_init_dt()
964 if (of_property_read_bool(np, "st,click-single-y")) in lis3lv02d_init_dt()
966 if (of_property_read_bool(np, "st,click-double-y")) in lis3lv02d_init_dt()
969 if (of_property_read_bool(np, "st,click-single-z")) in lis3lv02d_init_dt()
971 if (of_property_read_bool(np, "st,click-double-z")) in lis3lv02d_init_dt()
988 if (of_property_read_bool(np, "st,irq1-disable")) in lis3lv02d_init_dt()
990 if (of_property_read_bool(np, "st,irq1-ff-wu-1")) in lis3lv02d_init_dt()
992 if (of_property_read_bool(np, "st,irq1-ff-wu-2")) in lis3lv02d_init_dt()
994 if (of_property_read_bool(np, "st,irq1-data-ready")) in lis3lv02d_init_dt()
[all …]
/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/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/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()
H A Dleds-bcm6358.c111 if (of_property_read_bool(nc, "active-low")) in bcm6358_led()
167 if (of_property_read_bool(np, "brcm,clk-dat-low")) in bcm6358_leds_probe()
/linux/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 …]
/linux/sound/soc/codecs/
H A Dsta350.c1107 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta350_probe_dt()
1109 of_property_read_bool(np, "st,thermal-warning-adjustment"); in sta350_probe_dt()
1111 of_property_read_bool(np, "st,fault-detect-recovery"); in sta350_probe_dt()
1134 of_property_read_bool(np, "st,overcurrent-warning-adjustment"); in sta350_probe_dt()
1138 of_property_read_bool(np, "st,max-power-use-mpcc"); in sta350_probe_dt()
1140 of_property_read_bool(np, "st,max-power-correction"); in sta350_probe_dt()
1142 of_property_read_bool(np, "st,am-reduction-mode"); in sta350_probe_dt()
1144 of_property_read_bool(np, "st,odd-pwm-speed-mode"); in sta350_probe_dt()
1146 of_property_read_bool(np, "st,distortion-compensation"); in sta350_probe_dt()
1150 of_property_read_bool(n in sta350_probe_dt()
[all...]
H A Dsta32x.c1054 of_property_read_bool(np, "st,fault-detect-recovery"); in sta32x_probe_dt()
1056 of_property_read_bool(np, "st,thermal-warning-recovery"); in sta32x_probe_dt()
1058 of_property_read_bool(np, "st,thermal-warning-adjustment"); in sta32x_probe_dt()
1060 of_property_read_bool(np, "st,needs_esd_watchdog"); in sta32x_probe_dt()
1068 of_property_read_bool(np, "st,max-power-use-mpcc"); in sta32x_probe_dt()
1070 of_property_read_bool(np, "st,max-power-correction"); in sta32x_probe_dt()
1072 of_property_read_bool(np, "st,am-reduction-mode"); in sta32x_probe_dt()
1074 of_property_read_bool(np, "st,odd-pwm-speed-mode"); in sta32x_probe_dt()
1078 of_property_read_bool(np, "st,invalid-input-detect-mute"); in sta32x_probe_dt()
/linux/drivers/mfd/
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()
H A Dsyscon.c66 if (of_property_read_bool(np, "big-endian")) in of_syscon_register()
68 else if (of_property_read_bool(np, "little-endian")) in of_syscon_register()
70 else if (of_property_read_bool(np, "native-endian")) in of_syscon_register()
H A Das3722.c325 as3722->en_intern_int_pullup = of_property_read_bool(np, in as3722_i2c_of_probe()
327 as3722->en_intern_i2c_pullup = of_property_read_bool(np, in as3722_i2c_of_probe()
329 as3722->en_ac_ok_pwr_on = of_property_read_bool(np, in as3722_i2c_of_probe()
/linux/drivers/usb/host/
H A Dohci-platform.c126 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ohci_platform_probe()
129 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ohci_platform_probe()
132 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ohci_platform_probe()
135 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no")) in ohci_platform_probe()
138 if (of_property_read_bool(dev->dev.of_node, in ohci_platform_probe()
H A Dehci-platform.c285 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ehci_platform_probe()
288 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ehci_platform_probe()
291 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ehci_platform_probe()
294 if (of_property_read_bool(dev->dev.of_node, "spurious-oc")) in ehci_platform_probe()
297 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
301 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
/linux/arch/arm/mm/
H A Dcache-l2x0.c1058 if (of_property_read_bool(np, "arm,parity-enable")) { in l2x0_of_parse()
1061 } else if (of_property_read_bool(np, "arm,parity-disable")) { in l2x0_of_parse()
1065 if (of_property_read_bool(np, "arm,shared-override")) { in l2x0_of_parse()
1182 if (of_property_read_bool(np, "arm,shared-override")) { in l2c310_of_parse()
1187 if (of_property_read_bool(np, "arm,parity-enable")) { in l2c310_of_parse()
1190 } else if (of_property_read_bool(np, "arm,parity-disable")) { in l2c310_of_parse()
1195 if (of_property_read_bool(np, "arm,early-bresp-disable")) in l2c310_of_parse()
1198 if (of_property_read_bool(np, "arm,full-line-zero-disable")) in l2c310_of_parse()
1498 l2_wt_override = of_property_read_bool(np, "wt-override"); in aurora_of_parse()
1505 if (of_property_read_bool(np, "marvell,ecc-enable")) { in aurora_of_parse()
[all …]
/linux/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()
/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/pci/controller/
H A Dpcie-iproc-platform.c71 if (of_property_read_bool(np, "brcm,pcie-ob")) { in iproc_pltfm_pcie_probe()
90 pcie->need_ib_cfg = of_property_read_bool(np, "dma-ranges"); in iproc_pltfm_pcie_probe()
/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.c198 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_mux_clk_setup()
201 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_mux_clk_setup()
267 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_ti_composite_mux_clk_setup()
/linux/drivers/power/reset/
H A Dat91-poweroff.c143 if (of_property_read_bool(np, "atmel,wakeup-rtc-timer")) in at91_poweroff_dt_set_wakeup_mode()
146 if (of_property_read_bool(np, "atmel,wakeup-rtt-timer")) in at91_poweroff_dt_set_wakeup_mode()
H A Dat91-sama5d2_shdwc.c222 if (of_property_read_bool(cnp, "atmel,wakeup-active-high")) in at91_shdwc_get_wakeup_input()
247 if (of_property_read_bool(np, "atmel,wakeup-rtc-timer")) in at91_shdwc_dt_configure()
250 if (of_property_read_bool(np, "atmel,wakeup-rtt-timer")) in at91_shdwc_dt_configure()
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_common.c142 if (of_property_read_bool(np, "fsl,has-wdt") || in mpc52xx_map_common_devices()
143 of_property_read_bool(np, "has-wdt")) { in mpc52xx_map_common_devices()
/linux/drivers/watchdog/
H A Dat91sam9_wdt.c305 if (of_property_read_bool(np, "atmel,disable")) { in of_at91wdt_init()
310 if (of_property_read_bool(np, "atmel,idle-halt")) in of_at91wdt_init()
313 if (of_property_read_bool(np, "atmel,dbg-halt")) in of_at91wdt_init()
/linux/drivers/mtd/parsers/
H A Dscpart.c201 if (of_property_read_bool(pp, "read-only")) in scpart_parse()
203 if (of_property_read_bool(pp, "lock")) in scpart_parse()
/linux/drivers/input/keyboard/
H A Dbcm-keypad.c280 if (of_property_read_bool(np, "row-output-enabled")) { in bcm_kp_matrix_key_parse_dt()
295 if (of_property_read_bool(np, "pull-up-enabled")) in bcm_kp_matrix_key_parse_dt()
325 if (of_property_read_bool(pdev->dev.of_node, "autorepeat")) in bcm_kp_probe()

12345678910>>...14