Home
last modified time | relevance | path

Searched refs:device_property_read_bool (Results 1 – 25 of 216) sorted by relevance

123456789

/drivers/mmc/core/
A Dhost.c322 if (device_property_read_bool(dev, "cd-inverted")) in mmc_of_parse()
329 if (device_property_read_bool(dev, "broken-cd")) in mmc_of_parse()
342 if (device_property_read_bool(dev, "wp-inverted")) in mmc_of_parse()
351 if (device_property_read_bool(dev, "disable-wp")) in mmc_of_parse()
358 if (device_property_read_bool(dev, "sd-uhs-sdr12")) in mmc_of_parse()
360 if (device_property_read_bool(dev, "sd-uhs-sdr25")) in mmc_of_parse()
362 if (device_property_read_bool(dev, "sd-uhs-sdr50")) in mmc_of_parse()
366 if (device_property_read_bool(dev, "sd-uhs-ddr50")) in mmc_of_parse()
399 if (device_property_read_bool(dev, "no-sdio")) in mmc_of_parse()
401 if (device_property_read_bool(dev, "no-sd")) in mmc_of_parse()
[all …]
/drivers/iio/frequency/
A Dadrf6780.c431 st->vga_buff_en = device_property_read_bool(&spi->dev, "adi,vga-buff-en"); in adrf6780_properties_parse()
432 st->lo_buff_en = device_property_read_bool(&spi->dev, "adi,lo-buff-en"); in adrf6780_properties_parse()
433 st->if_mode_en = device_property_read_bool(&spi->dev, "adi,if-mode-en"); in adrf6780_properties_parse()
434 st->iq_mode_en = device_property_read_bool(&spi->dev, "adi,iq-mode-en"); in adrf6780_properties_parse()
435 st->lo_x2_en = device_property_read_bool(&spi->dev, "adi,lo-x2-en"); in adrf6780_properties_parse()
436 st->lo_ppf_en = device_property_read_bool(&spi->dev, "adi,lo-ppf-en"); in adrf6780_properties_parse()
437 st->lo_en = device_property_read_bool(&spi->dev, "adi,lo-en"); in adrf6780_properties_parse()
438 st->uc_bias_en = device_property_read_bool(&spi->dev, "adi,uc-bias-en"); in adrf6780_properties_parse()
439 st->lo_sideband = device_property_read_bool(&spi->dev, "adi,lo-sideband"); in adrf6780_properties_parse()
440 st->vdet_out_en = device_property_read_bool(&spi->dev, "adi,vdet-out-en"); in adrf6780_properties_parse()
A Dadf4350.c521 pdata->ref_div2_en = device_property_read_bool(dev, "adi,reference-div2-enable"); in adf4350_parse_dt()
527 if (device_property_read_bool(dev, "adi,lock-detect-precision-6ns-enable")) in adf4350_parse_dt()
529 if (device_property_read_bool(dev, "adi,lock-detect-function-integer-n-enable")) in adf4350_parse_dt()
540 if (device_property_read_bool(dev, "adi,low-spur-mode-enable")) in adf4350_parse_dt()
546 if (device_property_read_bool(dev, "adi,cycle-slip-reduction-enable")) in adf4350_parse_dt()
548 if (device_property_read_bool(dev, "adi,charge-cancellation-enable")) in adf4350_parse_dt()
550 if (device_property_read_bool(dev, "adi,anti-backlash-3ns-enable")) in adf4350_parse_dt()
552 if (device_property_read_bool(dev, "adi,band-select-clock-mode-high-enable")) in adf4350_parse_dt()
566 if (device_property_read_bool(dev, "adi,aux-output-enable")) in adf4350_parse_dt()
568 if (device_property_read_bool(dev, "adi,aux-output-fundamental-enable")) in adf4350_parse_dt()
[all …]
/drivers/usb/dwc3/
A Dcore.c1733 dwc->sysdev_is_parent = device_property_read_bool(dev, in dwc3_get_properties()
1742 dwc->has_lpm_erratum = device_property_read_bool(dev, in dwc3_get_properties()
1752 dwc->usb3_lpm_capable = device_property_read_bool(dev, in dwc3_get_properties()
1754 dwc->usb2_lpm_disable = device_property_read_bool(dev, in dwc3_get_properties()
1780 dwc->do_fifo_resize = device_property_read_bool(dev, in dwc3_get_properties()
1788 dwc->u2exit_lfps_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1790 dwc->u2ss_inp3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1792 dwc->req_p1p2p3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1794 dwc->del_p1p2p3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1845 dwc->dis_split_quirk = device_property_read_bool(dev, in dwc3_get_properties()
[all …]
A Ddwc3-imx8mp.c74 if (device_property_read_bool(dev, "fsl,permanently-attached")) in imx8mp_configure_glue()
79 if (device_property_read_bool(dev, "fsl,disable-port-power-control")) in imx8mp_configure_glue()
87 if (device_property_read_bool(dev, "fsl,over-current-active-low")) in imx8mp_configure_glue()
92 if (device_property_read_bool(dev, "fsl,power-active-low")) in imx8mp_configure_glue()
/drivers/video/backlight/
A Dmt6370-backlight.c140 if (device_property_read_bool(dev, "mediatek,bled-pwm-enable")) in mt6370_init_backlight_properties()
143 if (device_property_read_bool(dev, "mediatek,bled-pwm-hys-enable")) in mt6370_init_backlight_properties()
165 if (device_property_read_bool(dev, "mediatek,bled-ovp-shutdown")) in mt6370_init_backlight_properties()
178 if (device_property_read_bool(dev, "mediatek,bled-ocp-shutdown")) in mt6370_init_backlight_properties()
210 if (device_property_read_bool(dev, "mediatek,bled-exponential-mode-enable")) { in mt6370_init_backlight_properties()
/drivers/usb/host/
A Dxhci-plat.c247 if (device_property_read_bool(tmpdev, "usb2-lpm-disable")) in xhci_plat_probe()
250 if (device_property_read_bool(tmpdev, "usb3-lpm-capable")) in xhci_plat_probe()
253 if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) in xhci_plat_probe()
256 if (device_property_read_bool(tmpdev, "xhci-sg-trb-cache-size-quirk")) in xhci_plat_probe()
259 if (device_property_read_bool(tmpdev, "write-64-hi-lo-quirk")) in xhci_plat_probe()
262 if (device_property_read_bool(tmpdev, "xhci-missing-cas-quirk")) in xhci_plat_probe()
265 if (device_property_read_bool(tmpdev, "xhci-skip-phy-init-quirk")) in xhci_plat_probe()
/drivers/i2c/busses/
A Di2c-gpio.c290 device_property_read_bool(dev, "i2c-gpio,sda-open-drain"); in i2c_gpio_get_properties()
292 device_property_read_bool(dev, "i2c-gpio,scl-open-drain"); in i2c_gpio_get_properties()
294 device_property_read_bool(dev, "i2c-gpio,scl-output-only"); in i2c_gpio_get_properties()
296 device_property_read_bool(dev, "i2c-gpio,sda-output-only"); in i2c_gpio_get_properties()
298 device_property_read_bool(dev, "i2c-gpio,sda-has-no-pullup"); in i2c_gpio_get_properties()
300 device_property_read_bool(dev, "i2c-gpio,scl-has-no-pullup"); in i2c_gpio_get_properties()
/drivers/input/misc/
A Drotary_encoder.c206 steps_per_period = device_property_read_bool(dev, in rotary_encoder_probe()
211 device_property_read_bool(dev, "rotary-encoder,rollover"); in rotary_encoder_probe()
229 device_property_read_bool(dev, "rotary-encoder,relative-axis"); in rotary_encoder_probe()
301 device_property_read_bool(dev, "wakeup-source")); in rotary_encoder_probe()
/drivers/input/
A Dtouchscreen.c126 device_property_read_bool(dev, "touchscreen-inverted-x"); in touchscreen_parse_properties()
134 device_property_read_bool(dev, "touchscreen-inverted-y"); in touchscreen_parse_properties()
142 device_property_read_bool(dev, "touchscreen-swapped-x-y"); in touchscreen_parse_properties()
/drivers/input/keyboard/
A Dmatrix_keypad.c317 active_low = device_property_read_bool(&pdev->dev, "gpio-activelow"); in matrix_keypad_init_gpio()
418 device_property_read_bool(&pdev->dev, "drive-inactive-cols"); in matrix_keypad_probe()
450 if (!device_property_read_bool(&pdev->dev, "linux,no-autorepeat")) in matrix_keypad_probe()
460 wakeup = device_property_read_bool(&pdev->dev, "wakeup-source") || in matrix_keypad_probe()
462 device_property_read_bool(&pdev->dev, "linux,wakeup"); in matrix_keypad_probe()
/drivers/mmc/host/
A Dof_mmc_spi.c74 if (device_property_read_bool(dev, "cap-sd-highspeed")) in mmc_spi_get_pdata()
76 if (device_property_read_bool(dev, "cap-mmc-highspeed")) in mmc_spi_get_pdata()
A Dsdhci-pltfm.c102 if (device_property_read_bool(dev, "wakeup-source") || in sdhci_get_property()
103 device_property_read_bool(dev, "enable-sdio-wakeup")) /* legacy */ in sdhci_get_property()
/drivers/video/fbdev/
A Dssd1307fb.c651 par->seg_remap = !device_property_read_bool(dev, "solomon,segment-no-remap"); in ssd1307fb_probe()
652 par->com_seq = device_property_read_bool(dev, "solomon,com-seq"); in ssd1307fb_probe()
653 par->com_lrremap = device_property_read_bool(dev, "solomon,com-lrremap"); in ssd1307fb_probe()
654 par->com_invdir = device_property_read_bool(dev, "solomon,com-invdir"); in ssd1307fb_probe()
656 device_property_read_bool(dev, "solomon,area-color-enable"); in ssd1307fb_probe()
657 par->low_power = device_property_read_bool(dev, "solomon,low-power"); in ssd1307fb_probe()
/drivers/i2c/muxes/
A Di2c-mux-ltc4306.c223 idle_disc = device_property_read_bool(&client->dev, in ltc4306_probe()
265 if (device_property_read_bool(&client->dev, in ltc4306_probe()
269 if (device_property_read_bool(&client->dev, in ltc4306_probe()
A Di2c-mux-pca954x.c499 if (device_property_read_bool(&client->dev, "maxim,isolate-stuck-channel")) in pca954x_init()
501 if (device_property_read_bool(&client->dev, in pca954x_init()
504 if (device_property_read_bool(&client->dev, in pca954x_init()
623 if (device_property_read_bool(dev, "i2c-mux-idle-disconnect")) in pca954x_probe()
/drivers/hid/i2c-hid/
A Di2c-hid-of.c128 if (device_property_read_bool(dev, "touchscreen-inverted-x")) in i2c_hid_of_probe()
131 if (device_property_read_bool(dev, "touchscreen-inverted-y")) in i2c_hid_of_probe()
/drivers/net/phy/
A Dicplus.c216 if (device_property_read_bool(dev, "icplus,select-rx-error") && in ip101a_g_probe()
217 device_property_read_bool(dev, "icplus,select-interrupt")) { in ip101a_g_probe()
223 if (device_property_read_bool(dev, "icplus,select-rx-error")) in ip101a_g_probe()
225 else if (device_property_read_bool(dev, "icplus,select-interrupt")) in ip101a_g_probe()
/drivers/net/ethernet/freescale/
A Dxgmac_mdio.c363 if (!device_property_read_bool(dev, "suppress-preamble")) in xgmac_mdio_set_suppress_preamble()
411 priv->is_little_endian = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
414 priv->has_a009885 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
416 priv->has_a011043 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
/drivers/input/touchscreen/
A Dbu21013_ts.c433 ts->x_flip = device_property_read_bool(dev, "rohm,flip-x"); in bu21013_probe()
434 ts->y_flip = device_property_read_bool(dev, "rohm,flip-y"); in bu21013_probe()
458 device_property_read_bool(dev, "rohm,flip-x")) { in bu21013_probe()
465 device_property_read_bool(dev, "rohm,flip-y")) { in bu21013_probe()
/drivers/tty/serial/8250/
A D8250_dw.c588 if (device_property_read_bool(dev, "dcd-override")) { in dw8250_probe()
594 if (device_property_read_bool(dev, "dsr-override")) { in dw8250_probe()
600 if (device_property_read_bool(dev, "cts-override")) { in dw8250_probe()
606 if (device_property_read_bool(dev, "ri-override")) { in dw8250_probe()
644 data->uart_16550_compatible = device_property_read_bool(dev, "snps,uart-16550-compatible"); in dw8250_probe()
/drivers/leds/
A Dleds-pca963x.c318 hw_blink = device_property_read_bool(dev, "nxp,hw-blink"); in pca963x_register_leds()
325 if (device_property_read_bool(dev, "nxp,totem-pole")) in pca963x_register_leds()
331 if (device_property_read_bool(dev, "nxp,inverted-out")) in pca963x_register_leds()
/drivers/usb/cdns3/
A Dcdns3-ti.c186 data->vbus_divider = device_property_read_bool(dev, "ti,vbus-divider"); in cdns_ti_probe()
187 data->usb2_only = device_property_read_bool(dev, "ti,usb2-only"); in cdns_ti_probe()
/drivers/iio/cdc/
A Dad7746.c748 if (device_property_read_bool(dev, "adi,exca-output-en")) { in ad7746_probe()
749 if (device_property_read_bool(dev, "adi,exca-output-invert")) in ad7746_probe()
755 if (device_property_read_bool(dev, "adi,excb-output-en")) { in ad7746_probe()
756 if (device_property_read_bool(dev, "adi,excb-output-invert")) in ad7746_probe()
/drivers/iio/adc/
A Dad7192.c515 if (device_property_read_bool(dev, "adi,int-clock-output-enable")) { in ad7192_clock_setup()
522 if (device_property_read_bool(dev, "adi,clock-xtal")) { in ad7192_clock_setup()
598 rej60_en = device_property_read_bool(dev, "adi,rejection-60-Hz-enable"); in ad7192_setup()
602 refin2_en = device_property_read_bool(dev, "adi,refin2-pins-enable"); in ad7192_setup()
608 buf_en = device_property_read_bool(dev, "adi,buffer-enable"); in ad7192_setup()
612 bipolar = device_property_read_bool(dev, "bipolar"); in ad7192_setup()
616 burnout_curr_en = device_property_read_bool(dev, in ad7192_setup()

Completed in 56 milliseconds

123456789