Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/drivers/mmc/core/
Dhost.c324 if (device_property_read_bool(dev, "non-removable")) { in mmc_of_parse()
327 if (device_property_read_bool(dev, "cd-inverted")) in mmc_of_parse()
334 if (device_property_read_bool(dev, "broken-cd")) in mmc_of_parse()
347 if (device_property_read_bool(dev, "wp-inverted")) in mmc_of_parse()
356 if (device_property_read_bool(dev, "disable-wp")) in mmc_of_parse()
359 if (device_property_read_bool(dev, "cap-sd-highspeed")) in mmc_of_parse()
361 if (device_property_read_bool(dev, "cap-mmc-highspeed")) in mmc_of_parse()
363 if (device_property_read_bool(dev, "sd-uhs-sdr12")) in mmc_of_parse()
365 if (device_property_read_bool(dev, "sd-uhs-sdr25")) in mmc_of_parse()
367 if (device_property_read_bool(dev, "sd-uhs-sdr50")) in mmc_of_parse()
[all …]
/Linux-v6.1/drivers/iio/frequency/
Dadf4350.c408 pdata->ref_doubler_en = device_property_read_bool(dev, "adi,reference-doubler-enable"); in adf4350_parse_dt()
409 pdata->ref_div2_en = device_property_read_bool(dev, "adi,reference-div2-enable"); in adf4350_parse_dt()
413 if (device_property_read_bool(dev, "adi,phase-detector-polarity-positive-enable")) in adf4350_parse_dt()
415 if (device_property_read_bool(dev, "adi,lock-detect-precision-6ns-enable")) in adf4350_parse_dt()
417 if (device_property_read_bool(dev, "adi,lock-detect-function-integer-n-enable")) in adf4350_parse_dt()
428 if (device_property_read_bool(dev, "adi,low-spur-mode-enable")) in adf4350_parse_dt()
434 if (device_property_read_bool(dev, "adi,cycle-slip-reduction-enable")) in adf4350_parse_dt()
436 if (device_property_read_bool(dev, "adi,charge-cancellation-enable")) in adf4350_parse_dt()
438 if (device_property_read_bool(dev, "adi,anti-backlash-3ns-enable")) in adf4350_parse_dt()
440 if (device_property_read_bool(dev, "adi,band-select-clock-mode-high-enable")) in adf4350_parse_dt()
[all …]
Dadrf6780.c432 st->vga_buff_en = device_property_read_bool(&spi->dev, "adi,vga-buff-en"); in adrf6780_properties_parse()
433 st->lo_buff_en = device_property_read_bool(&spi->dev, "adi,lo-buff-en"); in adrf6780_properties_parse()
434 st->if_mode_en = device_property_read_bool(&spi->dev, "adi,if-mode-en"); in adrf6780_properties_parse()
435 st->iq_mode_en = device_property_read_bool(&spi->dev, "adi,iq-mode-en"); in adrf6780_properties_parse()
436 st->lo_x2_en = device_property_read_bool(&spi->dev, "adi,lo-x2-en"); in adrf6780_properties_parse()
437 st->lo_ppf_en = device_property_read_bool(&spi->dev, "adi,lo-ppf-en"); in adrf6780_properties_parse()
438 st->lo_en = device_property_read_bool(&spi->dev, "adi,lo-en"); in adrf6780_properties_parse()
439 st->uc_bias_en = device_property_read_bool(&spi->dev, "adi,uc-bias-en"); in adrf6780_properties_parse()
440 st->lo_sideband = device_property_read_bool(&spi->dev, "adi,lo-sideband"); in adrf6780_properties_parse()
441 st->vdet_out_en = device_property_read_bool(&spi->dev, "adi,vdet-out-en"); in adrf6780_properties_parse()
/Linux-v6.1/drivers/usb/dwc3/
Dcore.c91 !device_property_read_bool(dwc->dev, "usb-role-switch")) && in dwc3_get_dr_mode()
1467 dwc->sysdev_is_parent = device_property_read_bool(dev, in dwc3_get_properties()
1481 dwc->has_lpm_erratum = device_property_read_bool(dev, in dwc3_get_properties()
1485 dwc->is_utmi_l1_suspend = device_property_read_bool(dev, in dwc3_get_properties()
1489 dwc->dis_start_transfer_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1491 dwc->usb3_lpm_capable = device_property_read_bool(dev, in dwc3_get_properties()
1493 dwc->usb2_lpm_disable = device_property_read_bool(dev, in dwc3_get_properties()
1495 dwc->usb2_gadget_lpm_disable = device_property_read_bool(dev, in dwc3_get_properties()
1505 dwc->do_fifo_resize = device_property_read_bool(dev, in dwc3_get_properties()
1511 dwc->disable_scramble_quirk = device_property_read_bool(dev, in dwc3_get_properties()
[all …]
Ddwc3-imx8mp.c72 if (device_property_read_bool(dev, "fsl,permanently-attached")) in imx8mp_configure_glue()
77 if (device_property_read_bool(dev, "fsl,disable-port-power-control")) in imx8mp_configure_glue()
85 if (device_property_read_bool(dev, "fsl,over-current-active-low")) in imx8mp_configure_glue()
90 if (device_property_read_bool(dev, "fsl,power-active-low")) in imx8mp_configure_glue()
/Linux-v6.1/drivers/soundwire/
Dmipi_disco.c297 prop->wake_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
301 prop->test_mode_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
305 if (device_property_read_bool(dev, in sdw_slave_read_prop()
309 prop->simple_clk_stop_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
322 prop->high_PHY_capable = device_property_read_bool(dev, in sdw_slave_read_prop()
325 prop->paging_support = device_property_read_bool(dev, in sdw_slave_read_prop()
328 prop->bank_delay_support = device_property_read_bool(dev, in sdw_slave_read_prop()
/Linux-v6.1/drivers/video/backlight/
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()
/Linux-v6.1/drivers/input/
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()
/Linux-v6.1/drivers/input/misc/
Drotary_encoder.c213 steps_per_period = device_property_read_bool(dev, in rotary_encoder_probe()
218 device_property_read_bool(dev, "rotary-encoder,rollover"); in rotary_encoder_probe()
236 device_property_read_bool(dev, "rotary-encoder,relative-axis"); in rotary_encoder_probe()
313 device_property_read_bool(dev, "wakeup-source")); in rotary_encoder_probe()
/Linux-v6.1/drivers/mmc/host/
Dof_mmc_spi.c73 if (device_property_read_bool(dev, "cap-sd-highspeed")) in mmc_spi_get_pdata()
75 if (device_property_read_bool(dev, "cap-mmc-highspeed")) in mmc_spi_get_pdata()
Dsdhci-pltfm.c110 if (device_property_read_bool(dev, "wakeup-source") || in sdhci_get_property()
111 device_property_read_bool(dev, "enable-sdio-wakeup")) /* legacy */ in sdhci_get_property()
/Linux-v6.1/drivers/net/ethernet/freescale/
Dxgmac_mdio.c297 if (!device_property_read_bool(dev, "suppress-preamble")) in xgmac_mdio_set_suppress_preamble()
344 priv->is_little_endian = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
347 priv->has_a009885 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
349 priv->has_a011043 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
/Linux-v6.1/drivers/hid/i2c-hid/
Di2c-hid-of.c110 if (device_property_read_bool(dev, "touchscreen-inverted-x")) in i2c_hid_of_probe()
113 if (device_property_read_bool(dev, "touchscreen-inverted-y")) in i2c_hid_of_probe()
/Linux-v6.1/drivers/i2c/muxes/
Di2c-mux-ltc4306.c224 idle_disc = device_property_read_bool(&client->dev, in ltc4306_probe()
266 if (device_property_read_bool(&client->dev, in ltc4306_probe()
270 if (device_property_read_bool(&client->dev, in ltc4306_probe()
/Linux-v6.1/drivers/net/phy/
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()
/Linux-v6.1/drivers/usb/cdns3/
Dcdns3-ti.c155 data->vbus_divider = device_property_read_bool(dev, "ti,vbus-divider"); in cdns_ti_probe()
164 data->usb2_only = device_property_read_bool(dev, "ti,usb2-only"); in cdns_ti_probe()
/Linux-v6.1/drivers/input/touchscreen/
Dbu21013_ts.c433 ts->x_flip = device_property_read_bool(&client->dev, "rohm,flip-x"); in bu21013_probe()
434 ts->y_flip = device_property_read_bool(&client->dev, "rohm,flip-y"); in bu21013_probe()
458 device_property_read_bool(&client->dev, "rohm,flip-x")) { in bu21013_probe()
465 device_property_read_bool(&client->dev, "rohm,flip-y")) { in bu21013_probe()
/Linux-v6.1/drivers/video/fbdev/
Dssd1307fb.c703 par->seg_remap = !device_property_read_bool(dev, "solomon,segment-no-remap"); in ssd1307fb_probe()
704 par->com_seq = device_property_read_bool(dev, "solomon,com-seq"); in ssd1307fb_probe()
705 par->com_lrremap = device_property_read_bool(dev, "solomon,com-lrremap"); in ssd1307fb_probe()
706 par->com_invdir = device_property_read_bool(dev, "solomon,com-invdir"); in ssd1307fb_probe()
708 device_property_read_bool(dev, "solomon,area-color-enable"); in ssd1307fb_probe()
709 par->low_power = device_property_read_bool(dev, "solomon,low-power"); in ssd1307fb_probe()
/Linux-v6.1/drivers/leds/
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()
/Linux-v6.1/drivers/tty/serial/8250/
D8250_dw.c556 data->uart_16550_compatible = device_property_read_bool(dev, in dw8250_probe()
570 if (device_property_read_bool(dev, "dcd-override")) { in dw8250_probe()
576 if (device_property_read_bool(dev, "dsr-override")) { in dw8250_probe()
582 if (device_property_read_bool(dev, "cts-override")) { in dw8250_probe()
588 if (device_property_read_bool(dev, "ri-override")) { in dw8250_probe()
/Linux-v6.1/drivers/usb/host/
Dxhci-plat.c295 if (device_property_read_bool(tmpdev, "usb2-lpm-disable")) in xhci_plat_probe()
298 if (device_property_read_bool(tmpdev, "usb3-lpm-capable")) in xhci_plat_probe()
301 if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) in xhci_plat_probe()
/Linux-v6.1/drivers/gpu/drm/solomon/
Dssd130x.c832 ssd130x->seg_remap = !device_property_read_bool(dev, "solomon,segment-no-remap"); in ssd130x_parse_properties()
833 ssd130x->com_seq = device_property_read_bool(dev, "solomon,com-seq"); in ssd130x_parse_properties()
834 ssd130x->com_lrremap = device_property_read_bool(dev, "solomon,com-lrremap"); in ssd130x_parse_properties()
835 ssd130x->com_invdir = device_property_read_bool(dev, "solomon,com-invdir"); in ssd130x_parse_properties()
837 device_property_read_bool(dev, "solomon,area-color-enable"); in ssd130x_parse_properties()
838 ssd130x->low_power = device_property_read_bool(dev, "solomon,low-power"); in ssd130x_parse_properties()
/Linux-v6.1/drivers/nfc/st-nci/
Di2c.c230 device_property_read_bool(dev, "ese-present"); in st_nci_i2c_probe()
232 device_property_read_bool(dev, "uicc-present"); in st_nci_i2c_probe()
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-v6.1/drivers/pinctrl/
Dpinctrl-mcp23s08.c569 device_property_read_bool(dev, "interrupt-controller"); in mcp23s08_probe_one()
572 device_property_read_bool(dev, in mcp23s08_probe_one()
575 mirror = device_property_read_bool(dev, "microchip,irq-mirror"); in mcp23s08_probe_one()
576 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one()

1234567