Home
last modified time | relevance | path

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

123456

/linux/drivers/iio/frequency/
H A Dadrf6780.c430 st->vga_buff_en = device_property_read_bool(dev, "adi,vga-buff-en"); in adrf6780_properties_parse()
431 st->lo_buff_en = device_property_read_bool(dev, "adi,lo-buff-en"); in adrf6780_properties_parse()
432 st->if_mode_en = device_property_read_bool(dev, "adi,if-mode-en"); in adrf6780_properties_parse()
433 st->iq_mode_en = device_property_read_bool(dev, "adi,iq-mode-en"); in adrf6780_properties_parse()
434 st->lo_x2_en = device_property_read_bool(dev, "adi,lo-x2-en"); in adrf6780_properties_parse()
435 st->lo_ppf_en = device_property_read_bool(dev, "adi,lo-ppf-en"); in adrf6780_properties_parse()
436 st->lo_en = device_property_read_bool(dev, "adi,lo-en"); in adrf6780_properties_parse()
437 st->uc_bias_en = device_property_read_bool(dev, "adi,uc-bias-en"); in adrf6780_properties_parse()
438 st->lo_sideband = device_property_read_bool(dev, "adi,lo-sideband"); in adrf6780_properties_parse()
439 st->vdet_out_en = device_property_read_bool(dev, "adi,vdet-out-en"); in adrf6780_properties_parse()
H A Dadf4350.c525 pdata->ref_doubler_en = device_property_read_bool(dev, "adi,reference-doubler-enable"); in adf4350_parse_dt()
526 pdata->ref_div2_en = device_property_read_bool(dev, "adi,reference-div2-enable"); in adf4350_parse_dt()
530 if (device_property_read_bool(dev, "adi,phase-detector-polarity-positive-enable")) in adf4350_parse_dt()
532 if (device_property_read_bool(dev, "adi,lock-detect-precision-6ns-enable")) in adf4350_parse_dt()
534 if (device_property_read_bool(dev, "adi,lock-detect-function-integer-n-enable")) in adf4350_parse_dt()
545 if (device_property_read_bool(dev, "adi,low-spur-mode-enable")) in adf4350_parse_dt()
551 if (device_property_read_bool(dev, "adi,cycle-slip-reduction-enable")) in adf4350_parse_dt()
553 if (device_property_read_bool(dev, "adi,charge-cancellation-enable")) in adf4350_parse_dt()
555 if (device_property_read_bool(dev, "adi,anti-backlash-3ns-enable")) in adf4350_parse_dt()
557 if (device_property_read_bool(dev, "adi,band-select-clock-mode-high-enable")) in adf4350_parse_dt()
[all …]
/linux/drivers/video/backlight/
H A Dmt6370-backlight.c139 if (device_property_read_bool(dev, "mediatek,bled-pwm-enable")) in mt6370_init_backlight_properties()
142 if (device_property_read_bool(dev, "mediatek,bled-pwm-hys-enable")) in mt6370_init_backlight_properties()
164 if (device_property_read_bool(dev, "mediatek,bled-ovp-shutdown")) in mt6370_init_backlight_properties()
177 if (device_property_read_bool(dev, "mediatek,bled-ocp-shutdown")) in mt6370_init_backlight_properties()
209 if (device_property_read_bool(dev, "mediatek,bled-exponential-mode-enable")) { in mt6370_init_backlight_properties()
H A Dgpio_backlight.c63 def_value = device_property_read_bool(dev, "default-on"); in gpio_backlight_probe()
/linux/drivers/input/misc/
H 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()
H A Dmax77650-onkey.c68 if (device_property_read_bool(dev, "maxim,onkey-slide")) { in max77650_onkey_probe()
H A Dda7280.c871 device_property_read_bool(dev, "dlg,bemf-sens-enable"); in da7280_parse_properties()
873 device_property_read_bool(dev, "dlg,freq-track-enable"); in da7280_parse_properties()
875 device_property_read_bool(dev, "dlg,acc-enable"); in da7280_parse_properties()
877 device_property_read_bool(dev, "dlg,rapid-stop-enable"); in da7280_parse_properties()
879 device_property_read_bool(dev, "dlg,amp-pid-enable"); in da7280_parse_properties()
/linux/drivers/mmc/host/
H 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()
/linux/drivers/usb/dwc3/
H 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()
/linux/drivers/i2c/busses/
H A Di2c-gpio.c339 device_property_read_bool(dev, "i2c-gpio,sda-open-drain"); in i2c_gpio_get_properties()
341 device_property_read_bool(dev, "i2c-gpio,scl-open-drain"); in i2c_gpio_get_properties()
343 device_property_read_bool(dev, "i2c-gpio,scl-output-only"); in i2c_gpio_get_properties()
345 device_property_read_bool(dev, "i2c-gpio,sda-output-only"); in i2c_gpio_get_properties()
347 device_property_read_bool(dev, "i2c-gpio,sda-has-no-pullup"); in i2c_gpio_get_properties()
349 device_property_read_bool(dev, "i2c-gpio,scl-has-no-pullup"); in i2c_gpio_get_properties()
/linux/sound/soc/codecs/
H A Dcs42l43-jack.c150 priv->bias_low = device_property_read_bool(cs42l43->dev, "cirrus,bias-low"); in cs42l43_set_jack()
169 if (!device_property_read_bool(cs42l43->dev, "cirrus,button-automute")) in cs42l43_set_jack()
180 if (device_property_read_bool(cs42l43->dev, "cirrus,tip-invert")) in cs42l43_set_jack()
183 if (device_property_read_bool(cs42l43->dev, "cirrus,tip-disable-pullup")) in cs42l43_set_jack()
204 if (device_property_read_bool(cs42l43->dev, "cirrus,use-ring-sense")) { in cs42l43_set_jack()
210 if (!device_property_read_bool(cs42l43->dev, "cirrus,ring-invert")) in cs42l43_set_jack()
213 if (!device_property_read_bool(cs42l43->dev, in cs42l43_set_jack()
H A Dcs35l41.c1025 if (device_property_read_bool(dev, "cirrus,shared-boost-active")) { in cs35l41_handle_pdata()
1027 } else if (device_property_read_bool(dev, "cirrus,shared-boost-passive")) { in cs35l41_handle_pdata()
1060 gpio1->pol_inv = device_property_read_bool(dev, "cirrus,gpio1-polarity-invert"); in cs35l41_handle_pdata()
1061 gpio1->out_en = device_property_read_bool(dev, "cirrus,gpio1-output-enable"); in cs35l41_handle_pdata()
1069 gpio2->pol_inv = device_property_read_bool(dev, "cirrus,gpio2-polarity-invert"); in cs35l41_handle_pdata()
1070 gpio2->out_en = device_property_read_bool(dev, "cirrus,gpio2-output-enable"); in cs35l41_handle_pdata()
/linux/drivers/net/ethernet/freescale/
H 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()
/linux/drivers/hwmon/
H A Dltc4283.c1191 if (!device_property_read_bool(dev, prop)) in ltc4283_adio_config()
1337 if (device_property_read_bool(dev, "adi,power-good-reset-on-fet")) { in ltc4283_setup()
1344 if (device_property_read_bool(dev, "adi,fet-turn-off-disable")) { in ltc4283_setup()
1351 if (device_property_read_bool(dev, "adi,tmr-pull-down-disable")) { in ltc4283_setup()
1358 if (device_property_read_bool(dev, "adi,dvdt-inrush-control-disable")) { in ltc4283_setup()
1365 if (device_property_read_bool(dev, "adi,undervoltage-retry-disable")) { in ltc4283_setup()
1372 if (device_property_read_bool(dev, "adi,overvoltage-retry-disable")) { in ltc4283_setup()
1379 if (device_property_read_bool(dev, "adi,external-fault-retry-enable")) { in ltc4283_setup()
1389 if (device_property_read_bool(dev, "adi,fault-log-enable")) { in ltc4283_setup()
1425 if (device_property_read_bool(dev, "adi,external-fault-fet-off-enable")) { in ltc4283_setup()
[all …]
/linux/drivers/input/touchscreen/
H 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()
/linux/drivers/gpu/drm/panel/
H A Dpanel-renesas-r61307.c240 if (device_property_read_bool(dev, "renesas,column-inversion")) in renesas_r61307_probe()
243 if (device_property_read_bool(dev, "renesas,contrast")) in renesas_r61307_probe()
/linux/drivers/nfc/st-nci/
H A Di2c.c229 device_property_read_bool(dev, "ese-present"); in st_nci_i2c_probe()
231 device_property_read_bool(dev, "uicc-present"); in st_nci_i2c_probe()
H A Dspi.c243 device_property_read_bool(&dev->dev, "ese-present"); in st_nci_spi_probe()
245 device_property_read_bool(&dev->dev, "uicc-present"); in st_nci_spi_probe()
/linux/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c626 device_property_read_bool(dev, "interrupt-controller"); in mcp23s08_probe_one()
629 device_property_read_bool(dev, in mcp23s08_probe_one()
632 mirror = device_property_read_bool(dev, "microchip,irq-mirror"); in mcp23s08_probe_one()
633 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one()
/linux/drivers/iio/adc/
H A Dad7192.c514 if (device_property_read_bool(dev, "adi,int-clock-output-enable")) { in ad7192_clock_setup()
521 if (device_property_read_bool(dev, "adi,clock-xtal")) { in ad7192_clock_setup()
602 rej60_en = device_property_read_bool(dev, "adi,rejection-60-Hz-enable"); in ad7192_setup()
606 refin2_en = device_property_read_bool(dev, "adi,refin2-pins-enable"); in ad7192_setup()
612 buf_en = device_property_read_bool(dev, "adi,buffer-enable"); in ad7192_setup()
616 bipolar = device_property_read_bool(dev, "bipolar"); in ad7192_setup()
620 burnout_curr_en = device_property_read_bool(dev, in ad7192_setup()
/linux/drivers/tty/serial/8250/
H A D8250_dw.c684 if (device_property_read_bool(dev, "dcd-override")) { in dw8250_probe()
690 if (device_property_read_bool(dev, "dsr-override")) { in dw8250_probe()
696 if (device_property_read_bool(dev, "cts-override")) { in dw8250_probe()
702 if (device_property_read_bool(dev, "ri-override")) { in dw8250_probe()
743 data->uart_16550_compatible = device_property_read_bool(dev, "snps,uart-16550-compatible"); in dw8250_probe()
/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_spi.c43 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire()
/linux/drivers/power/reset/
H A Dgpio-poweroff.c69 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
/linux/drivers/regulator/
H A Dadp5055-regulator.c154 ocp_blanking = device_property_read_bool(dev, "adi,ocp-blanking"); in adp5055_parse_fw()
156 delay_power_good = device_property_read_bool(dev, in adp5055_parse_fw()
/linux/drivers/staging/greybus/
H A Darche-apb-ctrl.c381 if (device_property_read_bool(&pdev->dev, "gb,spi-en-active-high")) in apb_ctrl_get_fw_data()
406 if (device_property_read_bool(&pdev->dev, "arche,init-disable")) in arche_apb_ctrl_probe()

123456