Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/mmc/core/
Dhost.c225 if (device_property_read_bool(dev, "non-removable")) { in mmc_of_parse()
228 cd_cap_invert = device_property_read_bool(dev, "cd-inverted"); in mmc_of_parse()
234 if (device_property_read_bool(dev, "broken-cd")) in mmc_of_parse()
261 ro_cap_invert = device_property_read_bool(dev, "wp-inverted"); in mmc_of_parse()
269 if (device_property_read_bool(dev, "disable-wp")) in mmc_of_parse()
276 if (device_property_read_bool(dev, "cap-sd-highspeed")) in mmc_of_parse()
278 if (device_property_read_bool(dev, "cap-mmc-highspeed")) in mmc_of_parse()
280 if (device_property_read_bool(dev, "sd-uhs-sdr12")) in mmc_of_parse()
282 if (device_property_read_bool(dev, "sd-uhs-sdr25")) in mmc_of_parse()
284 if (device_property_read_bool(dev, "sd-uhs-sdr50")) in mmc_of_parse()
[all …]
/Linux-v4.19/drivers/soundwire/
Dmipi_disco.c298 prop->wake_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
302 prop->test_mode_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
306 if (device_property_read_bool(dev, in sdw_slave_read_prop()
310 prop->simple_clk_stop_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
323 prop->high_PHY_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
326 prop->paging_support = device_property_read_bool(dev, in sdw_slave_read_prop()
329 prop->bank_delay_support = device_property_read_bool(dev, in sdw_slave_read_prop()
/Linux-v4.19/drivers/usb/dwc3/
Dcore.c1232 dwc->sysdev_is_parent = device_property_read_bool(dev, in dwc3_get_properties()
1239 dwc->has_lpm_erratum = device_property_read_bool(dev, in dwc3_get_properties()
1243 dwc->is_utmi_l1_suspend = device_property_read_bool(dev, in dwc3_get_properties()
1247 dwc->usb3_lpm_capable = device_property_read_bool(dev, in dwc3_get_properties()
1258 dwc->disable_scramble_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1260 dwc->u2exit_lfps_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1262 dwc->u2ss_inp3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1264 dwc->req_p1p2p3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1266 dwc->del_p1p2p3_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1268 dwc->del_phy_power_chg_quirk = device_property_read_bool(dev, in dwc3_get_properties()
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dof_touchscreen.c121 device_property_read_bool(dev, "touchscreen-inverted-x"); in touchscreen_parse_properties()
123 device_property_read_bool(dev, "touchscreen-inverted-y"); in touchscreen_parse_properties()
125 device_property_read_bool(dev, "touchscreen-swapped-x-y"); in touchscreen_parse_properties()
Dmms114.c413 if (device_property_read_bool(dev, "x-invert")) in mms114_parse_legacy_bindings()
415 if (device_property_read_bool(dev, "y-invert")) in mms114_parse_legacy_bindings()
Dad7879.c466 gpio_export = device_property_read_bool(ts->dev, in ad7879_gpio_add()
522 ts->swap_xy = device_property_read_bool(dev, "touchscreen-swapped-x-y"); in ad7879_parse_dt()
/Linux-v4.19/drivers/input/misc/
Drotary_encoder.c216 steps_per_period = device_property_read_bool(dev, in rotary_encoder_probe()
221 device_property_read_bool(dev, "rotary-encoder,rollover"); in rotary_encoder_probe()
239 device_property_read_bool(dev, "rotary-encoder,relative-axis"); in rotary_encoder_probe()
314 device_property_read_bool(dev, "wakeup-source")); in rotary_encoder_probe()
/Linux-v4.19/drivers/i2c/muxes/
Di2c-mux-ltc4306.c225 idle_disc = device_property_read_bool(&client->dev, in ltc4306_probe()
267 if (device_property_read_bool(&client->dev, in ltc4306_probe()
271 if (device_property_read_bool(&client->dev, in ltc4306_probe()
/Linux-v4.19/drivers/usb/host/
Dxhci-plat.c282 if (device_property_read_bool(tmpdev, "usb2-lpm-disable")) in xhci_plat_probe()
285 if (device_property_read_bool(tmpdev, "usb3-lpm-capable")) in xhci_plat_probe()
288 if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) in xhci_plat_probe()
Dxhci-histb.c275 if (device_property_read_bool(dev, "usb2-lpm-disable")) in xhci_histb_probe()
278 if (device_property_read_bool(dev, "usb3-lpm-capable")) in xhci_histb_probe()
/Linux-v4.19/drivers/tty/serial/8250/
D8250_dw.c541 data->uart_16550_compatible = device_property_read_bool(dev, in dw8250_probe()
555 if (device_property_read_bool(dev, "dcd-override")) { in dw8250_probe()
561 if (device_property_read_bool(dev, "dsr-override")) { in dw8250_probe()
567 if (device_property_read_bool(dev, "cts-override")) { in dw8250_probe()
573 if (device_property_read_bool(dev, "ri-override")) { in dw8250_probe()
/Linux-v4.19/drivers/nfc/st-nci/
Di2c.c248 device_property_read_bool(dev, "ese-present"); in st_nci_i2c_probe()
250 device_property_read_bool(dev, "uicc-present"); in st_nci_i2c_probe()
Dspi.c264 device_property_read_bool(&dev->dev, "ese-present"); in st_nci_spi_probe()
266 device_property_read_bool(&dev->dev, "uicc-present"); in st_nci_spi_probe()
/Linux-v4.19/drivers/power/reset/
Dgpio-poweroff.c63 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
/Linux-v4.19/drivers/input/keyboard/
Dmpr121_touchkey.c279 if (device_property_read_bool(dev, "autorepeat")) in mpr_touchkey_probe()
311 device_property_read_bool(dev, "wakeup-source")); in mpr_touchkey_probe()
Dadc-keys.c177 if (device_property_read_bool(dev, "autorepeat")) in adc_keys_probe()
Dtca8418_keypad.c328 if (device_property_read_bool(dev, "keypad,autorepeat")) in tca8418_keypad_probe()
/Linux-v4.19/drivers/nfc/st21nfca/
Di2c.c551 device_property_read_bool(&client->dev, "ese-present"); in st21nfca_hci_i2c_probe()
553 device_property_read_bool(&client->dev, "uicc-present"); in st21nfca_hci_i2c_probe()
/Linux-v4.19/drivers/gpio/
Dgpio-max3191x.c395 max3191x->mode = device_property_read_bool(dev, "maxim,modesel-8bit") in max3191x_probe()
402 max3191x->ignore_uv = device_property_read_bool(dev, in max3191x_probe()
/Linux-v4.19/drivers/pwm/
Dpwm-pca9685.c475 if (device_property_read_bool(&client->dev, "invert")) in pca9685_pwm_probe()
480 if (device_property_read_bool(&client->dev, "open-drain")) in pca9685_pwm_probe()
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-mcp23s08.c888 device_property_read_bool(dev, "interrupt-controller"); in mcp23s08_probe_one()
891 device_property_read_bool(dev, in mcp23s08_probe_one()
894 mirror = device_property_read_bool(dev, "microchip,irq-mirror"); in mcp23s08_probe_one()
895 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one()
/Linux-v4.19/sound/soc/codecs/
Drt5660.c1254 rt5660->pdata.in1_diff = device_property_read_bool(dev, in rt5660_parse_dt()
1256 rt5660->pdata.in3_diff = device_property_read_bool(dev, in rt5660_parse_dt()
1258 rt5660->pdata.poweroff_codec_in_suspend = device_property_read_bool(dev, in rt5660_parse_dt()
Drt5677.c5030 rt5677->pdata.in1_diff = device_property_read_bool(dev, "IN1"); in rt5677_read_acpi_properties()
5031 rt5677->pdata.in2_diff = device_property_read_bool(dev, "IN2"); in rt5677_read_acpi_properties()
5032 rt5677->pdata.lout1_diff = device_property_read_bool(dev, "OUT1"); in rt5677_read_acpi_properties()
5033 rt5677->pdata.lout2_diff = device_property_read_bool(dev, "OUT2"); in rt5677_read_acpi_properties()
5034 rt5677->pdata.lout3_diff = device_property_read_bool(dev, "OUT3"); in rt5677_read_acpi_properties()
5044 rt5677->pdata.in1_diff = device_property_read_bool(dev, in rt5677_read_device_properties()
5046 rt5677->pdata.in2_diff = device_property_read_bool(dev, in rt5677_read_device_properties()
5048 rt5677->pdata.lout1_diff = device_property_read_bool(dev, in rt5677_read_device_properties()
5050 rt5677->pdata.lout2_diff = device_property_read_bool(dev, in rt5677_read_device_properties()
5052 rt5677->pdata.lout3_diff = device_property_read_bool(dev, in rt5677_read_device_properties()
/Linux-v4.19/drivers/extcon/
Dextcon-arizona.c1329 pdata->micd_force_micbias = device_property_read_bool(arizona->dev, in arizona_extcon_device_get_pdata()
1332 pdata->micd_software_compare = device_property_read_bool(arizona->dev, in arizona_extcon_device_get_pdata()
1335 pdata->jd_invert = device_property_read_bool(arizona->dev, in arizona_extcon_device_get_pdata()
1340 pdata->jd_gpio5 = device_property_read_bool(arizona->dev, in arizona_extcon_device_get_pdata()
1342 pdata->jd_gpio5_nopull = device_property_read_bool(arizona->dev, in arizona_extcon_device_get_pdata()
/Linux-v4.19/drivers/mmc/host/
Dsdhci_f_sdh30.c142 priv->enable_cmd_dat_delay = device_property_read_bool(dev, in sdhci_f_sdh30_probe()

123