Home
last modified time | relevance | path

Searched refs:of_property_read_bool (Results 1 – 200 of 218) sorted by relevance

12

/linux-4.1.27/drivers/iio/frequency/
Dadf4350.c413 pdata->ref_doubler_en = of_property_read_bool(np, in adf4350_parse_dt()
415 pdata->ref_div2_en = of_property_read_bool(np, in adf4350_parse_dt()
419 pdata->r2_user_settings = of_property_read_bool(np, in adf4350_parse_dt()
422 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
425 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
437 pdata->r2_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
443 pdata->r3_user_settings = of_property_read_bool(np, in adf4350_parse_dt()
446 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
450 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
453 pdata->r3_user_settings |= of_property_read_bool(np, in adf4350_parse_dt()
[all …]
/linux-4.1.27/drivers/usb/dwc3/
Dcore.c805 dwc->has_lpm_erratum = of_property_read_bool(node, in dwc3_probe()
809 dwc->is_utmi_l1_suspend = of_property_read_bool(node, in dwc3_probe()
813 dwc->usb3_lpm_capable = of_property_read_bool(node, in dwc3_probe()
816 dwc->needs_fifo_resize = of_property_read_bool(node, in dwc3_probe()
820 dwc->disable_scramble_quirk = of_property_read_bool(node, in dwc3_probe()
822 dwc->u2exit_lfps_quirk = of_property_read_bool(node, in dwc3_probe()
824 dwc->u2ss_inp3_quirk = of_property_read_bool(node, in dwc3_probe()
826 dwc->req_p1p2p3_quirk = of_property_read_bool(node, in dwc3_probe()
828 dwc->del_p1p2p3_quirk = of_property_read_bool(node, in dwc3_probe()
830 dwc->del_phy_power_chg_quirk = of_property_read_bool(node, in dwc3_probe()
[all …]
Ddwc3-omap.c449 if (of_property_read_bool(node, "extcon")) { in dwc3_omap_extcon_register()
517 if (of_property_read_bool(node, "vbus-supply")) { in dwc3_omap_probe()
/linux-4.1.27/drivers/regulator/
Dof_regulator.c65 constraints->boot_on = of_property_read_bool(np, "regulator-boot-on"); in of_get_regulation_constraints()
66 constraints->always_on = of_property_read_bool(np, "regulator-always-on"); in of_get_regulation_constraints()
70 if (of_property_read_bool(np, "regulator-allow-bypass")) in of_get_regulation_constraints()
132 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
135 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
Dfixed.c97 config->enable_high = of_property_read_bool(np, "enable-active-high"); in of_get_fixed_voltage_config()
98 config->gpio_is_open_drain = of_property_read_bool(np, in of_get_fixed_voltage_config()
Dtps51632-regulator.c242 of_property_read_bool(np, "ti,enable-pwm-dvfs"); in of_get_tps51632_platform_data()
243 pdata->dvfs_step_20mV = of_property_read_bool(np, "ti,dvfs-step-20mV"); in of_get_tps51632_platform_data()
Dgpio-regulator.c156 if (of_property_read_bool(np, "enable-active-high")) in of_get_gpio_regulator_config()
159 if (of_property_read_bool(np, "enable-at-boot")) in of_get_gpio_regulator_config()
Dpalmas-regulator.c1460 of_property_read_bool(ddata->palmas_matches[idx].of_node, in palmas_dt_to_pdata()
1498 ret = of_property_read_bool(ddata->palmas_matches[idx].of_node, in palmas_dt_to_pdata()
1505 pdata->enable_ldo8_tracking = of_property_read_bool( in palmas_dt_to_pdata()
1510 pdata->ldo6_vibrator = of_property_read_bool(node, "ti,ldo6-vibrator"); in palmas_dt_to_pdata()
Dqcom_rpm-regulator.c669 if (of_property_read_bool(node, key)) { in rpm_reg_of_parse()
685 pwm = !of_property_read_bool(node, key); in rpm_reg_of_parse()
Dtps65090-regulator.c385 rpdata->enable_ext_control = of_property_read_bool( in tps65090_parse_dt_reg_data()
Das3722-regulator.c751 of_property_read_bool(reg_node, "ams,enable-tracking"); in as3722_get_regulator_dt_data()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-if.c217 if (of_property_read_bool(dp, "port1-otg")) in isp1760_plat_probe()
220 if (of_property_read_bool(dp, "analog-oc")) in isp1760_plat_probe()
223 if (of_property_read_bool(dp, "dack-polarity")) in isp1760_plat_probe()
226 if (of_property_read_bool(dp, "dreq-polarity")) in isp1760_plat_probe()
/linux-4.1.27/drivers/gpio/
Dgpiolib-of.c181 if (of_property_read_bool(np, "input")) in of_get_gpio_hog()
183 else if (of_property_read_bool(np, "output-low")) in of_get_gpio_hog()
185 else if (of_property_read_bool(np, "output-high")) in of_get_gpio_hog()
217 if (!of_property_read_bool(np, "gpio-hog")) in of_gpiochip_scan_hogs()
Dgpio-mcp23s08.c659 of_property_read_bool(mcp->chip.dev->of_node, in mcp23s08_probe_one()
796 pdata->irq_controller = of_property_read_bool( in mcp230xx_probe()
799 pdata->mirror = of_property_read_bool(client->dev.of_node, in mcp230xx_probe()
921 pdata->irq_controller = of_property_read_bool( in mcp23s08_probe()
924 pdata->mirror = of_property_read_bool(spi->dev.of_node, in mcp23s08_probe()
Dgpio-twl4030.c460 omap_twl_info->use_leds = of_property_read_bool(dev->of_node, in of_gpio_twl4030()
Dgpio-pl061.c272 if (of_property_read_bool(dev->of_node, "gpio-ranges")) in pl061_probe()
Dgpio-dwapb.c506 of_property_read_bool(port_np, "interrupt-controller")) { in dwapb_gpio_get_pdata_of()
/linux-4.1.27/sound/soc/fsl/
Dimx-spdif.c49 if (of_property_read_bool(np, "spdif-out")) in imx_spdif_audio_probe()
52 if (of_property_read_bool(np, "spdif-in")) in imx_spdif_audio_probe()
Dimx-audmux.c275 if (!of_property_read_bool(child, "fsl,port-config")) { in imx_audmux_parse_dt_defaults()
Dfsl_sai.c576 sai->is_lsb_first = of_property_read_bool(np, "lsb-first"); in fsl_sai_probe()
Dfsl_esai.c807 of_property_read_bool(np, "fsl,esai-synchronous"); in fsl_esai_probe()
Dfsl_ssi.c1321 ssi_private->use_dma = !of_property_read_bool(np, in fsl_ssi_probe()
/linux-4.1.27/drivers/video/
Dof_display_timing.c91 if (of_property_read_bool(np, "interlaced")) in of_parse_display_timing()
93 if (of_property_read_bool(np, "doublescan")) in of_parse_display_timing()
95 if (of_property_read_bool(np, "doubleclk")) in of_parse_display_timing()
/linux-4.1.27/drivers/power/reset/
Dat91-poweroff.c113 if (of_property_read_bool(np, "atmel,wakeup-rtc-timer")) in at91_poweroff_dt_set_wakeup_mode()
116 if (of_property_read_bool(np, "atmel,wakeup-rtt-timer")) in at91_poweroff_dt_set_wakeup_mode()
Dgpio-poweroff.c64 input = of_property_read_bool(pdev->dev.of_node, "input"); in gpio_poweroff_probe()
Das3722-poweroff.c56 if (!of_property_read_bool(np, "ams,system-power-controller")) in as3722_poweroff_probe()
Dgpio-restart.c71 open_source = of_property_read_bool(pdev->dev.of_node, "open-source"); in gpio_restart_probe()
Dkeystone-reset.c114 val = of_property_read_bool(np, "ti,soft-reset"); in rsctrl_probe()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c190 of_property_read_bool(np, "snps,force_sf_dma_mode"); in stmmac_probe_config_dt()
240 of_property_read_bool(np, "snps,fixed-burst"); in stmmac_probe_config_dt()
242 of_property_read_bool(np, "snps,mixed-burst"); in stmmac_probe_config_dt()
247 plat->force_thresh_dma_mode = of_property_read_bool(np, "snps,force_thresh_dma_mode"); in stmmac_probe_config_dt()
Ddwmac-sti.c236 if (of_property_read_bool(np, "st,gmac_en")) in sti_dwmac_ctrl_init()
307 dwmac->ext_phyclk = of_property_read_bool(np, "st,ext-phyclk"); in sti_dwmac_parse_data()
Dstmmac_mdio.c153 data->active_low = of_property_read_bool(np, in stmmac_mdio_reset()
/linux-4.1.27/drivers/i2c/busses/
Di2c-gpio.c120 of_property_read_bool(np, "i2c-gpio,sda-open-drain"); in of_i2c_gpio_get_props()
122 of_property_read_bool(np, "i2c-gpio,scl-open-drain"); in of_i2c_gpio_get_props()
124 of_property_read_bool(np, "i2c-gpio,scl-output-only"); in of_i2c_gpio_get_props()
Di2c-davinci.c759 of_property_read_bool(pdev->dev.of_node, in davinci_i2c_probe()
/linux-4.1.27/drivers/usb/host/
Dohci-platform.c160 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ohci_platform_probe()
163 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ohci_platform_probe()
166 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ohci_platform_probe()
169 if (of_property_read_bool(dev->dev.of_node, "no-big-frame-no")) in ohci_platform_probe()
Dehci-platform.c192 if (of_property_read_bool(dev->dev.of_node, "big-endian-regs")) in ehci_platform_probe()
195 if (of_property_read_bool(dev->dev.of_node, "big-endian-desc")) in ehci_platform_probe()
198 if (of_property_read_bool(dev->dev.of_node, "big-endian")) in ehci_platform_probe()
201 if (of_property_read_bool(dev->dev.of_node, in ehci_platform_probe()
Dehci-tegra.c108 if (!of_property_read_bool(phy_np, "nvidia,has-utmi-pad-registers")) { in tegra_reset_usb_controller()
459 tegra->needs_double_reset = of_property_read_bool(pdev->dev.of_node, in tegra_ehci_probe()
Dxhci-plat.c147 if ((node && of_property_read_bool(node, "usb3-lpm-capable")) || in xhci_plat_probe()
/linux-4.1.27/drivers/of/
Dof_mdio.c311 status.duplex = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
315 status.pause = of_property_read_bool(fixed_link_node, "pause"); in of_phy_register_fixed_link()
316 status.asym_pause = of_property_read_bool(fixed_link_node, in of_phy_register_fixed_link()
Dof_mtd.c117 return of_property_read_bool(np, "nand-on-flash-bbt"); in of_get_nand_on_flash_bbt()
Dof_pci.c265 if (!of_property_read_bool(chip->of_node, "msi-controller")) in of_pci_msi_chip_add()
Dbase.c582 if (of_property_read_bool(device, "big-endian")) in of_device_is_big_endian()
585 of_property_read_bool(device, "native-endian")) in of_device_is_big_endian()
Daddress.c1012 if (of_property_read_bool(node, "dma-coherent")) { in of_dma_is_coherent()
/linux-4.1.27/drivers/extcon/
Dextcon-palmas.c158 palmas_usb->wakeup = of_property_read_bool(node, "ti,wakeup"); in palmas_usb_probe()
159 palmas_usb->enable_id_detection = of_property_read_bool(node, in palmas_usb_probe()
161 palmas_usb->enable_vbus_detection = of_property_read_bool(node, in palmas_usb_probe()
/linux-4.1.27/drivers/input/touchscreen/
Dchipone_icn8318.c235 data->invert_x = of_property_read_bool(np, "touchscreen-inverted-x"); in icn8318_probe()
236 data->invert_y = of_property_read_bool(np, "touchscreen-inverted-y"); in icn8318_probe()
237 data->swap_x_y = of_property_read_bool(np, "touchscreen-swapped-x-y"); in icn8318_probe()
Dbcm_iproc_tsc.c406 of_property_read_bool(np, "touchscreen-inverted-x"); in iproc_get_tsc_config()
408 of_property_read_bool(np, "touchscreen-inverted-y"); in iproc_get_tsc_config()
Dbu21013_ts.c468 pdata->x_flip = of_property_read_bool(np, "rohm,flip-x"); in bu21013_parse_dt()
469 pdata->y_flip = of_property_read_bool(np, "rohm,flip-y"); in bu21013_parse_dt()
Dads7846.c1210 pdata->keep_vref_on = of_property_read_bool(node, "ti,keep-vref-on"); in ads7846_probe_dt()
1212 pdata->swap_xy = of_property_read_bool(node, "ti,swap-xy"); in ads7846_probe_dt()
1237 pdata->wakeup = of_property_read_bool(node, "linux,wakeup"); in ads7846_probe_dt()
Dsun4i-ts.c292 ts_attached = of_property_read_bool(np, "allwinner,ts-attached"); in sun4i_ts_probe()
/linux-4.1.27/drivers/clk/ti/
Dmux.c218 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_mux_clk_setup()
221 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_mux_clk_setup()
292 if (of_property_read_bool(node, "ti,index-starts-at-one")) in of_ti_composite_mux_clk_setup()
Dfixed-factor.c52 if (of_property_read_bool(node, "ti,set-rate-parent")) in of_ti_fixed_factor_clk_setup()
Dautoidle.c127 if (of_property_read_bool(node, "ti,invert-autoidle-bit")) in of_ti_clk_autoidle_setup()
Dgate.c242 if (of_property_read_bool(node, "ti,set-rate-parent")) in _of_ti_gate_clk_setup()
245 if (of_property_read_bool(node, "ti,set-bit-to-disable")) in _of_ti_gate_clk_setup()
Ddivider.c544 if (of_property_read_bool(node, "ti,index-starts-at-one")) in ti_clk_divider_populate()
547 if (of_property_read_bool(node, "ti,index-power-of-two")) in ti_clk_divider_populate()
550 if (of_property_read_bool(node, "ti,set-rate-parent")) in ti_clk_divider_populate()
Ddpll.c408 if (of_property_read_bool(node, "ti,low-power-stop")) in of_ti_dpll_setup()
411 if (of_property_read_bool(node, "ti,low-power-bypass")) in of_ti_dpll_setup()
414 if (of_property_read_bool(node, "ti,lock")) in of_ti_dpll_setup()
/linux-4.1.27/drivers/video/backlight/
Dsky81452-backlight.c193 pdata->ignore_pwm = of_property_read_bool(np, "skyworks,ignore-pwm"); in sky81452_bl_parse_dt()
194 pdata->dpwm_mode = of_property_read_bool(np, "skyworks,dpwm-mode"); in sky81452_bl_parse_dt()
195 pdata->phase_shift = of_property_read_bool(np, "skyworks,phase-shift"); in sky81452_bl_parse_dt()
Dgpio_backlight.c79 gbl->def_value = of_property_read_bool(np, "default-on"); in gpio_backlight_probe_dt()
/linux-4.1.27/drivers/mfd/
Dsyscon.c67 if (of_property_read_bool(np, "big-endian")) in of_syscon_register()
69 else if (of_property_read_bool(np, "little-endian")) in of_syscon_register()
Das3722.c348 as3722->en_intern_int_pullup = of_property_read_bool(np, in as3722_i2c_of_probe()
350 as3722->en_intern_i2c_pullup = of_property_read_bool(np, in as3722_i2c_of_probe()
Dtps65910.c421 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); in tps65910_parse_dt()
426 board_info->pm_off = of_property_read_bool(np, in tps65910_parse_dt()
Dtps65217.c178 status_off = of_property_read_bool(client->dev.of_node, in tps65217_probe()
Drk808.c224 pm_off = of_property_read_bool(np, in rk808_probe()
Dmax8907.c198 pm_off = of_property_read_bool(i2c->dev.of_node, in max8907_i2c_probe()
Dtwl4030-power.c682 if (of_property_read_bool(node, "ti,system-power-controller")) in twl4030_power_use_poweroff()
685 if (of_property_read_bool(node, "ti,use_poweroff")) in twl4030_power_use_poweroff()
Dpalmas.c424 pdata->pm_off = of_property_read_bool(node, in palmas_dt_to_pdata()
Dtps6586x.c442 pdata->pm_off = of_property_read_bool(np, "ti,system-power-controller"); in tps6586x_parse_dt()
Domap-usb-host.c544 pdata->single_ulpi_bypass = of_property_read_bool(node, in usbhs_omap_get_dt_pdata()
/linux-4.1.27/drivers/watchdog/
Dat91sam9_wdt.c307 if (of_property_read_bool(np, "atmel,disable")) { in of_at91wdt_init()
312 if (of_property_read_bool(np, "atmel,idle-halt")) in of_at91wdt_init()
315 if (of_property_read_bool(np, "atmel,dbg-halt")) in of_at91wdt_init()
Dgpio_wdt.c211 priv->always_running = of_property_read_bool(pdev->dev.of_node, in gpio_wdt_probe()
Dcadence_wdt.c340 wdt->rst = of_property_read_bool(pdev->dev.of_node, "reset-on-timeout"); in cdns_wdt_probe()
/linux-4.1.27/drivers/memory/
Domap-gpmc.c1680 p->sync_read = of_property_read_bool(np, "gpmc,sync-read"); in gpmc_read_settings_dt()
1681 p->sync_write = of_property_read_bool(np, "gpmc,sync-write"); in gpmc_read_settings_dt()
1686 p->burst_wrap = of_property_read_bool(np, "gpmc,burst-wrap"); in gpmc_read_settings_dt()
1687 p->burst_read = of_property_read_bool(np, "gpmc,burst-read"); in gpmc_read_settings_dt()
1688 p->burst_write = of_property_read_bool(np, "gpmc,burst-write"); in gpmc_read_settings_dt()
1695 p->wait_on_read = of_property_read_bool(np, in gpmc_read_settings_dt()
1697 p->wait_on_write = of_property_read_bool(np, in gpmc_read_settings_dt()
1760 of_property_read_bool(np, "gpmc,cycle2cycle-diffcsen"); in gpmc_read_timings_dt()
1762 of_property_read_bool(np, "gpmc,cycle2cycle-samecsen"); in gpmc_read_timings_dt()
1763 p->we_extra_delay = of_property_read_bool(np, "gpmc,we-extra-delay"); in gpmc_read_timings_dt()
[all …]
Dti-aemif.c317 data->enable_ew = of_property_read_bool(np, "ti,cs-extended-wait-mode"); in of_aemif_parse_abus_config()
318 data->enable_ss = of_property_read_bool(np, "ti,cs-select-strobe-mode"); in of_aemif_parse_abus_config()
Dmvebu-devbus.c313 if (!of_property_read_bool(node, "devbus,keep-config")) { in mvebu_devbus_probe()
/linux-4.1.27/drivers/rtc/
Drtc-bq32k.c149 if (of_property_read_bool(node, "trickle-diode-disable")) { in trickle_charger_of_init()
159 if (!of_property_read_bool(node, "trickle-diode-disable")) { in trickle_charger_of_init()
Drtc-palmas.c245 enable_bb_charging = of_property_read_bool(pdev->dev.of_node, in palmas_rtc_probe()
247 high_bb_charging = of_property_read_bool(pdev->dev.of_node, in palmas_rtc_probe()
Drtc-pm8xxx.c466 rtc_dd->allow_set_time = of_property_read_bool(pdev->dev.of_node, in pm8xxx_rtc_probe()
Drtc-isl12057.c482 return (data->irq || of_property_read_bool(dev->of_node, in isl12057_can_wakeup_machine()
Drtc-omap.c541 of_property_read_bool(pdev->dev.of_node, in omap_rtc_probe()
Drtc-ds1307.c880 if (of_property_read_bool(client->dev.of_node, "trickle-diode-disable")) in ds1307_trickle_of_init()
/linux-4.1.27/drivers/soc/tegra/
Dpmc.c678 pmc->corereq_high = of_property_read_bool(np, in tegra_pmc_parse_dt()
681 pmc->sysclkreq_high = of_property_read_bool(np, in tegra_pmc_parse_dt()
684 pmc->combined_req = of_property_read_bool(np, in tegra_pmc_parse_dt()
687 pmc->cpu_pwr_good_en = of_property_read_bool(np, in tegra_pmc_parse_dt()
1056 invert = of_property_read_bool(np, "nvidia,invert-interrupt"); in tegra_pmc_early_init()
/linux-4.1.27/drivers/media/platform/xilinx/
Dxilinx-vtc.c316 xvtc->has_detector = of_property_read_bool(node, "xlnx,detector"); in xvtc_parse_of()
317 xvtc->has_generator = of_property_read_bool(node, "xlnx,generator"); in xvtc_parse_of()
/linux-4.1.27/drivers/input/keyboard/
Dbcm-keypad.c291 if (of_property_read_bool(np, "row-output-enabled")) { in bcm_kp_matrix_key_parse_dt()
306 if (of_property_read_bool(np, "pull-up-enabled")) in bcm_kp_matrix_key_parse_dt()
337 if (of_property_read_bool(pdev->dev.of_node, "autorepeat")) in bcm_kp_probe()
Dcap11xx.c267 if (of_property_read_bool(node, "microchip,irq-active-high")) { in cap11xx_i2c_probe()
300 if (of_property_read_bool(node, "autorepeat")) in cap11xx_i2c_probe()
Dtc3589x-keypad.c354 plat->no_autorepeat = of_property_read_bool(np, "linux,no-autorepeat"); in tc3589x_keypad_of_probe()
355 plat->enable_wakeup = of_property_read_bool(np, "linux,wakeup"); in tc3589x_keypad_of_probe()
Dclps711x-keypad.c158 if (of_property_read_bool(np, "autorepeat")) in clps711x_keypad_probe()
Dpmic8xxx-keypad.c527 repeat = !of_property_read_bool(pdev->dev.of_node, in pmic8xxx_kp_probe()
529 wakeup = of_property_read_bool(pdev->dev.of_node, in pmic8xxx_kp_probe()
Dnspire-keypad.c199 keypad->active_low = of_property_read_bool(of_node, "active-low"); in nspire_keypad_probe()
Dcros_ec_keyb.c280 ckdev->ghost_filter = of_property_read_bool(np, in cros_ec_keyb_probe()
Dtca8418_keypad.c296 rep = of_property_read_bool(np, "keypad,autorepeat"); in tca8418_keypad_probe()
Dstmpe-keypad.c347 keypad->no_autorepeat = of_property_read_bool(np, "st,no-autorepeat"); in stmpe_keypad_probe()
Dspear-keyboard.c160 if (of_property_read_bool(np, "autorepeat")) in spear_kbd_parse_dt()
Dpxa27x_keypad.c186 pdata->direct_key_low_active = of_property_read_bool(np, in pxa27x_keypad_direct_key_parse_dt()
/linux-4.1.27/drivers/tty/serial/8250/
D8250_dw.c353 if (of_property_read_bool(np, "dcd-override")) { in dw8250_probe_of()
359 if (of_property_read_bool(np, "dsr-override")) { in dw8250_probe_of()
365 if (of_property_read_bool(np, "cts-override")) { in dw8250_probe_of()
371 if (of_property_read_bool(np, "ri-override")) { in dw8250_probe_of()
/linux-4.1.27/drivers/pwm/
Dpwm-pca9685.c236 if (of_property_read_bool(np, "invert")) in pca9685_pwm_probe()
241 if (of_property_read_bool(np, "open-drain")) in pca9685_pwm_probe()
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd-pltfrm.c169 if (of_property_read_bool(np, prop_name)) in ufshcd_populate_vreg()
182 if (of_property_read_bool(np, "vcc-supply-1p8")) { in ufshcd_populate_vreg()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_drv.c436 if (of_property_read_bool(np, "renesas,has-lif")) in vsp1_parse_dt()
438 if (of_property_read_bool(np, "renesas,has-lut")) in vsp1_parse_dt()
440 if (of_property_read_bool(np, "renesas,has-sru")) in vsp1_parse_dt()
/linux-4.1.27/arch/arm/mach-highbank/
Dhighbank.c110 if (of_property_read_bool(dev->of_node, "dma-coherent")) { in highbank_platform_notifier()
/linux-4.1.27/sound/soc/generic/
Dsimple-card.c239 if (of_property_read_bool(np, "clocks")) { in asoc_simple_card_sub_parse_of()
417 if (of_property_read_bool(node, "simple-audio-card,widgets")) { in asoc_simple_card_parse_of()
425 if (of_property_read_bool(node, "simple-audio-card,routing")) { in asoc_simple_card_parse_of()
/linux-4.1.27/drivers/cpuidle/
Ddt_idle_states.c82 if (of_property_read_bool(state_node, "local-timer-stop")) in init_state_node()
/linux-4.1.27/drivers/hwtracing/coresight/
Dof_coresight.c67 if (of_property_read_bool(ep, "slave-mode")) in of_coresight_get_ports()
/linux-4.1.27/drivers/phy/
Dphy-miphy28lp.c1175 of_property_read_bool(np, "st,osc-force-ext"); in miphy28lp_of_probe()
1177 miphy_phy->osc_rdy = of_property_read_bool(np, "st,osc-rdy"); in miphy28lp_of_probe()
1180 of_property_read_bool(np, "st,px_rx_pol_inv"); in miphy28lp_of_probe()
1182 miphy_phy->ssc = of_property_read_bool(np, "st,ssc-on"); in miphy28lp_of_probe()
1185 of_property_read_bool(np, "st,tx-impedance-comp"); in miphy28lp_of_probe()
Dphy-miphy365x.c531 of_property_read_bool(phynode, "st,pcie-tx-pol-inv"); in miphy365x_of_probe()
534 of_property_read_bool(phynode, "st,sata-tx-pol-inv"); in miphy365x_of_probe()
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_manager.c49 msm_dsim->is_dual_panel = of_property_read_bool( in dsi_mgr_parse_dual_panel()
53 if (of_property_read_bool(np, "qcom,master-panel")) in dsi_mgr_parse_dual_panel()
56 msm_dsim->is_sync_needed = of_property_read_bool( in dsi_mgr_parse_dual_panel()
/linux-4.1.27/drivers/char/xillybus/
Dxillybus_of.c138 if (of_property_read_bool(dev->of_node, "dma-coherent")) in xilly_drv_probe()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c335 info->tft_alt_mode = of_property_read_bool(info_np, "tft-alt-mode"); in of_get_panel_info()
336 info->invert_pxl_clk = of_property_read_bool(info_np, "invert-pxl-clk"); in of_get_panel_info()
/linux-4.1.27/drivers/mmc/core/
Dhost.c367 cd_cap_invert = of_property_read_bool(np, "cd-inverted"); in mmc_of_parse()
395 ro_cap_invert = of_property_read_bool(np, "wp-inverted"); in mmc_of_parse()
Dmmc.c360 broken_hpi = of_property_read_bool(np, "broken-hpi"); in mmc_decode_ext_csd()
/linux-4.1.27/drivers/leds/
Dleds-pca963x.c314 if (of_property_read_bool(np, "nxp,totem-pole")) in pca963x_dt_init()
320 if (of_property_read_bool(np, "nxp,hw-blink")) in pca963x_dt_init()
Dleds-pwm.c157 led.active_low = of_property_read_bool(child, "active-low"); in led_pwm_create_of()
Dleds-pm8941-wled.c371 if (of_property_read_bool(dev->of_node, bool_opts[i].name)) in pm8941_wled_configure()
/linux-4.1.27/drivers/input/misc/
Dpmic8xxx-pwrkey.c100 pull_up = of_property_read_bool(pdev->dev.of_node, "pull-up"); in pmic8xxx_pwrkey_probe()
Dpm8941-pwrkey.c171 pull_up = of_property_read_bool(pdev->dev.of_node, "bias-pull-up"); in pm8941_pwrkey_probe()
/linux-4.1.27/drivers/hwmon/
Dmax6697.c499 of_property_read_bool(node, "smbus-timeout-disable"); in max6697_get_config_of()
501 of_property_read_bool(node, "extended-range-enable"); in max6697_get_config_of()
503 of_property_read_bool(node, "beta-compensation-enable"); in max6697_get_config_of()
/linux-4.1.27/drivers/clk/
Dclk-nomadik.c123 if (of_property_read_bool(np, "disable-sxtalo")) { in nomadik_src_init()
128 if (of_property_read_bool(np, "disable-mxtalo")) { in nomadik_src_init()
Dclk-si5351.c1282 of_property_read_bool(child, "silabs,pll-master"); in si5351_dt_parse()
/linux-4.1.27/sound/soc/codecs/
Dcs42l56.c1200 if (of_property_read_bool(np, "cirrus,ain1a-reference-cfg")) in cs42l56_handle_of_data()
1203 if (of_property_read_bool(np, "cirrus,ain2a-reference-cfg")) in cs42l56_handle_of_data()
1206 if (of_property_read_bool(np, "cirrus,ain1b-reference-cfg")) in cs42l56_handle_of_data()
1209 if (of_property_read_bool(np, "cirrus,ain2b-reference-cfg")) in cs42l56_handle_of_data()
Dwm8960.c1025 if (of_property_read_bool(np, "wlf,capless")) in wm8960_set_pdata_from_of()
1028 if (of_property_read_bool(np, "wlf,shared-lrclk")) in wm8960_set_pdata_from_of()
Dcs42l52.c1178 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe()
1182 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe()
Drt5677.c4923 rt5677->pdata.in1_diff = of_property_read_bool(np, in rt5677_parse_dt()
4925 rt5677->pdata.in2_diff = of_property_read_bool(np, in rt5677_parse_dt()
4927 rt5677->pdata.lout1_diff = of_property_read_bool(np, in rt5677_parse_dt()
4929 rt5677->pdata.lout2_diff = of_property_read_bool(np, in rt5677_parse_dt()
4931 rt5677->pdata.lout3_diff = of_property_read_bool(np, in rt5677_parse_dt()
Drt5640.c2170 rt5640->pdata.in1_diff = of_property_read_bool(np, in rt5640_parse_dt()
2172 rt5640->pdata.in2_diff = of_property_read_bool(np, in rt5640_parse_dt()
/linux-4.1.27/drivers/misc/
Datmel-ssc.c169 of_property_read_bool(np, "atmel,clk-from-rk-pin"); in ssc_probe()
/linux-4.1.27/drivers/media/i2c/
Dadv7343.c422 of_property_read_bool(np, "adi,power-mode-sleep-mode"); in adv7343_get_pdata()
425 of_property_read_bool(np, "adi,power-mode-pll-ctrl"); in adv7343_get_pdata()
/linux-4.1.27/drivers/irqchip/
Dirq-brcmstb-l2.c141 data->can_wake = of_property_read_bool(np, "brcm,irq-can-wake"); in brcmstb_l2_intc_of_init()
Dirq-bcm7120-l2.c266 if (of_property_read_bool(dn, "brcm,irq-can-wake")) in bcm7120_l2_intc_probe()
Dirq-renesas-intc-irqpin.c396 p->config.control_parent = of_property_read_bool(dev->of_node, in intc_irqpin_probe()
Dirq-gic-v3-its.c1522 if (of_property_read_bool(its->msi_chip.of_node, "msi-controller")) { in its_probe()
/linux-4.1.27/drivers/gpu/drm/panel/
Dpanel-s6e8aa0.c970 ctx->flip_horizontal = of_property_read_bool(np, "flip-horizontal"); in s6e8aa0_parse_dt()
971 ctx->flip_vertical = of_property_read_bool(np, "flip-vertical"); in s6e8aa0_parse_dt()
/linux-4.1.27/drivers/nfc/st21nfca/
Di2c.c543 of_property_read_bool(pp, "ese-present"); in st21nfca_hci_i2c_of_request_resources()
545 of_property_read_bool(pp, "uicc-present"); in st21nfca_hci_i2c_of_request_resources()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-core.c888 if (of_property_read_bool(node, "samsung,lcd-wb")) in fimc_parse_dt()
924 v->has_mainscaler_ext = of_property_read_bool(node, in fimc_parse_dt()
927 v->has_isp_wb = of_property_read_bool(node, "samsung,isp-wb"); in fimc_parse_dt()
928 v->has_cam_if = of_property_read_bool(node, "samsung,cam-if"); in fimc_parse_dt()
Dmipi-csis.c762 state->wclk_ext = of_property_read_bool(node, in s5pcsis_parse_dt()
Dmedia-dev.c647 !of_property_read_bool(node, "samsung,lcd-wb")) in fimc_md_register_platform_entities()
/linux-4.1.27/drivers/clk/at91/
Dclk-master.c206 of_property_read_bool(np, "atmel,master-clk-have-div3-pres"); in of_at91_clk_master_get_characteristics()
Dclk-slow.c172 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in of_at91sam9x5_clk_slow_osc_setup()
Dclk-main.c202 bypass = of_property_read_bool(np, "atmel,osc-bypass"); in of_at91rm9200_clk_main_osc_setup()
/linux-4.1.27/drivers/i2c/muxes/
Di2c-mux-pca954x.c224 of_property_read_bool(of_node, "i2c-mux-idle-disconnect"); in pca954x_probe()
/linux-4.1.27/drivers/net/can/sja1000/
Dsja1000_platform.c153 if (!of_property_read_bool(of, "nxp,no-comparator-bypass")) in sp_populate_of()
/linux-4.1.27/arch/arm/kernel/
Dvdso.c88 if (of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) in cntvct_functional()
/linux-4.1.27/drivers/dma/xilinx/
Dxilinx_vdma.c1136 has_dre = of_property_read_bool(node, "xlnx,include-dre"); in xilinx_vdma_chan_probe()
1138 chan->genlock = of_property_read_bool(node, "xlnx,genlock-mode"); in xilinx_vdma_chan_probe()
1260 xdev->has_sg = of_property_read_bool(node, "xlnx,include-sg"); in xilinx_vdma_probe()
/linux-4.1.27/sound/soc/omap/
Domap-abe-twl6040.c298 priv->jack_detection = of_property_read_bool(node, "ti,jack-detection"); in omap_abe_probe()
/linux-4.1.27/drivers/iio/dac/
Dad7303.c225 ext_ref = of_property_read_bool(spi->dev.of_node, in ad7303_probe()
/linux-4.1.27/drivers/clocksource/
Darm_arch_timer.c738 arch_timer_c3stop = !of_property_read_bool(np, "always-on"); in arch_timer_of_init()
745 of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) in arch_timer_of_init()
Dfsl_ftm_timer.c347 priv->big_endian = of_property_read_bool(np, "big-endian"); in ftm_timer_init()
/linux-4.1.27/drivers/video/fbdev/
Dimxfb.c667 info->var.grayscale = of_property_read_bool(np, in imxfb_init_fbinfo()
669 fbi->cmap_inverse = of_property_read_bool(np, "cmap-inverse"); in imxfb_init_fbinfo()
670 fbi->cmap_static = of_property_read_bool(np, "cmap-static"); in imxfb_init_fbinfo()
Dclps711x-fb.c294 cfb->cmap_invert = of_property_read_bool(disp, "cmap-invert"); in clps711x_fb_probe()
Datmel_lcdfb.c1114 pdata->lcdcon_is_backlight = of_property_read_bool(display_np, "atmel,lcdcon-backlight"); in atmel_lcdfb_of_init()
1115 pdata->lcdcon_pol_negative = of_property_read_bool(display_np, "atmel,lcdcon-backlight-inverted"); in atmel_lcdfb_of_init()
/linux-4.1.27/drivers/dma/dw/
Dplatform.c119 if (of_property_read_bool(np, "is_private")) in dw_dma_parse_dt()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dspi.c277 wl->use_eeprom = of_property_read_bool(np, "ti,wl1251-has-eeprom"); in wl1251_spi_probe()
/linux-4.1.27/drivers/tty/serial/
Dof_serial.c197 if (of_property_read_bool(ofdev->dev.of_node, in of_platform_serial_probe()
Dst-asc.c715 asc_ports[id].hw_flow_control = of_property_read_bool(np, in asc_of_get_asc_port()
717 asc_ports[id].force_m1 = of_property_read_bool(np, "st,force_m1"); in asc_of_get_asc_port()
Domap-serial.c1587 if (of_property_read_bool(np, "rs485-rts-active-high")) in serial_omap_probe_rs485()
1614 if (of_property_read_bool(np, "rs485-rx-during-tx")) in serial_omap_probe_rs485()
1617 if (of_property_read_bool(np, "linux,rs485-enabled-at-boot-time")) in serial_omap_probe_rs485()
Dserial-tegra.c1237 tup->enable_modem_interrupt = of_property_read_bool(np, in tegra_uart_parse_dt()
/linux-4.1.27/drivers/power/
Dtps65090-charger.c210 prop = of_property_read_bool(np, "ti,enable-low-current-chrg"); in tps65090_parse_dt_charger_data()
Dab8500_bmdata.c586 if (of_property_read_bool(battery_node, "thermistor-on-batctrl")) { in ab8500_bm_of_probe()
/linux-4.1.27/drivers/base/
Dproperty.c132 return of_property_read_bool(of_node(fwnode), propname); in fwnode_property_present()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_dp_core.c1154 of_property_read_bool(dp_node, "hsync-active-high"); in exynos_dp_dt_parse_pdata()
1157 of_property_read_bool(dp_node, "vsync-active-high"); in exynos_dp_dt_parse_pdata()
1160 of_property_read_bool(dp_node, "interlaced"); in exynos_dp_dt_parse_pdata()
Dexynos_drm_fimd.c1091 if (of_property_read_bool(dev->of_node, "samsung,invert-vden")) in fimd_probe()
1093 if (of_property_read_bool(dev->of_node, "samsung,invert-vclk")) in fimd_probe()
Dexynos_drm_fimc.c1658 if (!of_property_read_bool(node, "samsung,lcd-wb")) in fimc_parse_dt()
/linux-4.1.27/drivers/mtd/nand/
Ddavinci_nand.c580 if (of_property_read_bool(pdev->dev.of_node, in nand_davinci_get_pdata()
582 of_property_read_bool(pdev->dev.of_node, in nand_davinci_get_pdata()
Datmel_nand.c1523 board->has_dma = of_property_read_bool(np, "atmel,nand-has-dma"); in atmel_of_init_port()
1534 host->has_pmecc = of_property_read_bool(np, "atmel,has-pmecc"); in atmel_of_init_port()
2349 nfc->write_by_sram = of_property_read_bool( in atmel_nand_nfc_probe()
/linux-4.1.27/drivers/pci/host/
Dpcie-spear13xx.c352 if (of_property_read_bool(np, "st,pcie-is-gen1")) in spear13xx_pcie_probe()
/linux-4.1.27/drivers/usb/phy/
Dphy-generic.c220 needs_vcc = of_property_read_bool(node, "vcc-supply"); in usb_phy_gen_create_phy()
Dphy-tegra-usb.c935 config->xcvr_setup_use_fuses = of_property_read_bool( in utmi_phy_probe()
1003 of_property_read_bool(np, "nvidia,has-legacy-mode"); in tegra_usb_phy_probe()
/linux-4.1.27/drivers/mtd/maps/
Dphysmap_of.c195 map_indirect = of_property_read_bool(dp, "no-unaligned-direct-access"); in of_flash_probe()
/linux-4.1.27/include/linux/
Dof.h829 static inline bool of_property_read_bool(const struct device_node *np, in of_property_read_bool() function
1066 return of_property_read_bool(np, "system-power-controller"); in of_device_is_system_power_controller()
/linux-4.1.27/drivers/iio/adc/
Dat91_adc.c873 st->use_external = of_property_read_bool(node, "atmel,adc-use-external-triggers"); in at91_adc_probe_dt()
882 st->sleep_mode = of_property_read_bool(node, "atmel,adc-sleep-mode"); in at91_adc_probe_dt()
935 trig->is_external = of_property_read_bool(trig_node, "trigger-external"); in at91_adc_probe_dt()
Dtwl4030-madc.c780 madc->use_second_irq = of_property_read_bool(np, in twl4030_madc_probe()
Dqcom-spmi-vadc.c805 if (of_property_read_bool(node, "qcom,ratiometric")) in vadc_get_dt_channel_data()
Dxilinx-xadc-core.c1122 if (of_property_read_bool(child, "xlnx,bipolar")) in xadc_parse_dt()
/linux-4.1.27/drivers/dma/
Dmv_xor.c1178 if (of_property_read_bool(np, "dmacap,memcpy")) in mv_xor_probe()
1180 if (of_property_read_bool(np, "dmacap,xor")) in mv_xor_probe()
1182 if (of_property_read_bool(np, "dmacap,interrupt")) in mv_xor_probe()
Dfsl-edma.c888 fsl_edma->big_endian = of_property_read_bool(np, "big-endian"); in fsl_edma_probe()
/linux-4.1.27/arch/arm/mm/
Dcache-l2x0.c1399 l2_wt_override = of_property_read_bool(np, "wt-override"); in aurora_of_parse()
1668 of_property_read_bool(np, "arm,io-coherent")) in l2x0_of_init()
1680 if (!of_property_read_bool(np, "cache-unified")) in l2x0_of_init()
/linux-4.1.27/arch/arm/mach-imx/
Dgpc.c438 if (!of_property_read_bool(pdev->dev.of_node, "#power-domain-cells")) in imx_gpc_probe()
/linux-4.1.27/drivers/net/can/c_can/
Dc_can_platform.c332 if (np && of_property_read_bool(np, "syscon-raminit")) { in c_can_plat_probe()
/linux-4.1.27/sound/soc/sh/rcar/
Drsrc-card.c247 if (of_property_read_bool(np, "clocks")) { in rsrc_card_sub_parse_of()
/linux-4.1.27/drivers/ata/
Dahci_imx.c492 if (of_property_read_bool(np, prop->name)) in imx_ahci_parse_props()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-pxav3.c166 if (of_property_read_bool(np, "no-1-8-v")) { in armada_38x_quirks()
Dmxs-mmc.c645 host->broken_cd = of_property_read_bool(np, "broken-cd"); in mxs_mmc_probe()
Dmxcmmc.c1076 && !of_property_read_bool(pdev->dev.of_node, "cd-gpios")) in mxcmci_probe()
Datmel-mci.c564 of_property_read_bool(cnp, "cd-inverted"); in atmci_of_init()
567 of_property_read_bool(cnp, "non-removable"); in atmci_of_init()
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-palmas.c1010 enable_dvfs1 = of_property_read_bool(pdev->dev.of_node, in palmas_pinctrl_probe()
1012 enable_dvfs2 = of_property_read_bool(pdev->dev.of_node, in palmas_pinctrl_probe()
Dpinctrl-st.c1102 if (of_property_read_bool(child, "gpio-controller")) { in st_pctl_dt_child_count()
1679 if (of_property_read_bool(child, "gpio-controller")) { in st_pctl_probe_dt()
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.c547 if (of_property_read_bool(pdev->dev.of_node, "extcon")) { in usbhs_probe()
/linux-4.1.27/drivers/net/phy/
Dmicrel.c557 rmii_ref_clk_sel_25_mhz = of_property_read_bool(np, in kszphy_probe()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-ldb.c534 dual = of_property_read_bool(np, "fsl,dual-channel"); in imx_ldb_bind()
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_main.c1448 of_property_read_bool(pdev->dev.of_node, in altera_tse_probe()
1458 of_property_read_bool(pdev->dev.of_node, in altera_tse_probe()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dadv7511.c842 config->embedded_sync = of_property_read_bool(np, "adi,embedded-sync"); in adv7511_parse_dt()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dvenc.c823 venc.invert_polarity = of_property_read_bool(ep, "ti,invert-polarity"); in venc_probe_of()
Ddss.c1083 if (np && of_property_read_bool(np, "syscon-pll-ctrl")) { in omap_dsshw_probe()
/linux-4.1.27/drivers/mtd/devices/
Dst_spi_fsm.c1997 fsm->reset_signal = of_property_read_bool(np, "st,reset-signal"); in stfsm_fetch_platform_configs()
1999 fsm->reset_por = of_property_read_bool(np, "st,reset-por"); in stfsm_fetch_platform_configs()
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c369 if (of_property_read_bool(this->dev->of_node, "fsl,use-minimum-ecc") in common_nfc_set_geometry()
1920 if (of_property_read_bool(this->dev->of_node, in gpmi_nand_init()
/linux-4.1.27/drivers/spi/
Dspi-img-spfi.c641 if (of_property_read_bool(spfi->dev->of_node, "img,supports-quad-mode")) in img_spfi_probe()
/linux-4.1.27/drivers/nfc/
Dtrf7970a.c1995 if (of_property_read_bool(np, "irq-status-read-quirk")) in trf7970a_probe()
2025 if (of_property_read_bool(np, "en2-rf-quirk")) in trf7970a_probe()
/linux-4.1.27/drivers/net/ieee802154/
Dcc2520.c741 pdata->amplified = of_property_read_bool(np, "amplified"); in cc2520_get_platform_data()
/linux-4.1.27/drivers/net/ethernet/qualcomm/
Dqca_spi.c854 legacy_mode = of_property_read_bool(spi_device->dev.of_node, in qca_spi_probe()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_pci.c534 !of_property_read_bool(dev, "fsl,pci-agent-force-enum")) in fsl_add_bridge()
/linux-4.1.27/drivers/mtd/spi-nor/
Dspi-nor.c1108 if (of_property_read_bool(np, "m25p,fast-read")) in spi_nor_scan()
/linux-4.1.27/drivers/base/regmap/
Dregmap.c495 if (of_property_read_bool(np, "big-endian")) in regmap_get_val_endian()
497 else if (of_property_read_bool(np, "little-endian")) in regmap_get_val_endian()
/linux-4.1.27/drivers/usb/gadget/udc/
Datmel_usba_udc.c1988 ep->can_dma = of_property_read_bool(pp, "atmel,can-dma"); in atmel_udc_of_init()
1989 ep->can_isoc = of_property_read_bool(pp, "atmel,can-isoc"); in atmel_udc_of_init()
/linux-4.1.27/drivers/net/ethernet/renesas/
Dsh_eth.c3041 of_property_read_bool(np, "renesas,no-ether-link"); in sh_eth_parse_dt()
3043 of_property_read_bool(np, "renesas,ether-link-active-low"); in sh_eth_parse_dt()
/linux-4.1.27/drivers/net/ethernet/nxp/
Dlpc_eth.c355 return of_property_read_bool(dev->of_node, "use-iram"); in use_iram_for_net()
/linux-4.1.27/sound/soc/
Dsoc-core.c3296 if (of_property_read_bool(np, "dai-tdm-slot-num")) { in snd_soc_of_parse_tdm_slot()
3305 if (of_property_read_bool(np, "dai-tdm-slot-width")) { in snd_soc_of_parse_tdm_slot()

12