Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/mmc/core/
Dhost.c270 if (device_property_read_bool(dev, "non-removable")) { in mmc_of_parse()
273 if (device_property_read_bool(dev, "cd-inverted")) in mmc_of_parse()
280 if (device_property_read_bool(dev, "broken-cd")) in mmc_of_parse()
293 if (device_property_read_bool(dev, "wp-inverted")) in mmc_of_parse()
302 if (device_property_read_bool(dev, "disable-wp")) in mmc_of_parse()
305 if (device_property_read_bool(dev, "cap-sd-highspeed")) in mmc_of_parse()
307 if (device_property_read_bool(dev, "cap-mmc-highspeed")) in mmc_of_parse()
309 if (device_property_read_bool(dev, "sd-uhs-sdr12")) in mmc_of_parse()
311 if (device_property_read_bool(dev, "sd-uhs-sdr25")) in mmc_of_parse()
313 if (device_property_read_bool(dev, "sd-uhs-sdr50")) in mmc_of_parse()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Dcore.c89 !device_property_read_bool(dwc->dev, "usb-role-switch")) && in dwc3_get_dr_mode()
1315 dwc->sysdev_is_parent = device_property_read_bool(dev, in dwc3_get_properties()
1322 dwc->has_lpm_erratum = device_property_read_bool(dev, in dwc3_get_properties()
1326 dwc->is_utmi_l1_suspend = device_property_read_bool(dev, in dwc3_get_properties()
1330 dwc->dis_start_transfer_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1332 dwc->usb3_lpm_capable = device_property_read_bool(dev, in dwc3_get_properties()
1334 dwc->usb2_lpm_disable = device_property_read_bool(dev, in dwc3_get_properties()
1336 dwc->usb2_gadget_lpm_disable = device_property_read_bool(dev, in dwc3_get_properties()
1347 dwc->disable_scramble_quirk = device_property_read_bool(dev, in dwc3_get_properties()
1349 dwc->u2exit_lfps_quirk = device_property_read_bool(dev, in dwc3_get_properties()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/phy/
Dicplus.c212 if (device_property_read_bool(dev, "icplus,select-rx-error") && in ip101a_g_probe()
213 device_property_read_bool(dev, "icplus,select-interrupt")) { in ip101a_g_probe()
219 if (device_property_read_bool(dev, "icplus,select-rx-error")) in ip101a_g_probe()
221 else if (device_property_read_bool(dev, "icplus,select-interrupt")) in ip101a_g_probe()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dof_touchscreen.c125 device_property_read_bool(dev, "touchscreen-inverted-x"); in touchscreen_parse_properties()
133 device_property_read_bool(dev, "touchscreen-inverted-y"); in touchscreen_parse_properties()
141 device_property_read_bool(dev, "touchscreen-swapped-x-y"); in touchscreen_parse_properties()
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()
/kernel/linux/linux-5.10/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()
Dmax77650-onkey.c68 if (device_property_read_bool(dev, "maxim,onkey-slide")) { in max77650_onkey_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dxgmac_mdio.c293 priv->is_little_endian = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
296 priv->has_a009885 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
298 priv->has_a011043 = device_property_read_bool(&pdev->dev, in xgmac_mdio_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dssd1307fb.c647 par->seg_remap = !device_property_read_bool(dev, "solomon,segment-no-remap"); in ssd1307fb_probe()
648 par->com_seq = device_property_read_bool(dev, "solomon,com-seq"); in ssd1307fb_probe()
649 par->com_lrremap = device_property_read_bool(dev, "solomon,com-lrremap"); in ssd1307fb_probe()
650 par->com_invdir = device_property_read_bool(dev, "solomon,com-invdir"); in ssd1307fb_probe()
652 device_property_read_bool(dev, "solomon,area-color-enable"); in ssd1307fb_probe()
653 par->low_power = device_property_read_bool(dev, "solomon,low-power"); in ssd1307fb_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-pca963x.c301 hw_blink = device_property_read_bool(dev, "nxp,hw-blink"); in pca963x_register_leds()
308 if (device_property_read_bool(dev, "nxp,totem-pole")) in pca963x_register_leds()
314 if (device_property_read_bool(dev, "nxp,inverted-out")) in pca963x_register_leds()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_dw.c487 data->uart_16550_compatible = device_property_read_bool(dev, in dw8250_probe()
501 if (device_property_read_bool(dev, "dcd-override")) { in dw8250_probe()
507 if (device_property_read_bool(dev, "dsr-override")) { in dw8250_probe()
513 if (device_property_read_bool(dev, "cts-override")) { in dw8250_probe()
519 if (device_property_read_bool(dev, "ri-override")) { in dw8250_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
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()
/kernel/linux/linux-5.10/drivers/nfc/st-nci/
Di2c.c237 device_property_read_bool(dev, "ese-present"); in st_nci_i2c_probe()
239 device_property_read_bool(dev, "uicc-present"); in st_nci_i2c_probe()
Dspi.c253 device_property_read_bool(&dev->dev, "ese-present"); in st_nci_spi_probe()
255 device_property_read_bool(&dev->dev, "uicc-present"); in st_nci_spi_probe()
/kernel/linux/linux-5.10/drivers/power/reset/
Dgpio-poweroff.c62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-plat.c317 if (device_property_read_bool(tmpdev, "usb2-lpm-disable")) in xhci_plat_probe()
320 if (device_property_read_bool(tmpdev, "usb3-lpm-capable")) in xhci_plat_probe()
323 if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) in xhci_plat_probe()
Dxhci-histb.c274 if (device_property_read_bool(dev, "usb2-lpm-disable")) in xhci_histb_probe()
277 if (device_property_read_bool(dev, "usb3-lpm-capable")) in xhci_histb_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-mcp23s08.c570 device_property_read_bool(dev, "interrupt-controller"); in mcp23s08_probe_one()
573 device_property_read_bool(dev, in mcp23s08_probe_one()
576 mirror = device_property_read_bool(dev, "microchip,irq-mirror"); in mcp23s08_probe_one()
577 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one()
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/
Dst_sensors_spi.c44 if (device_property_read_bool(dev, "spi-3wire")) in st_sensors_is_spi_3_wire()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dmpr121_touchkey.c279 if (device_property_read_bool(dev, "autorepeat")) in mpr_touchkey_probe()
339 device_property_read_bool(dev, "wakeup-source")); in mpr_touchkey_probe()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dgpio_backlight.c64 def_value = device_property_read_bool(dev, "default-on"); in gpio_backlight_probe()
/kernel/linux/linux-5.10/drivers/soc/fsl/
Drcpm.c123 rcpm->little_endian = device_property_read_bool( in rcpm_probe()

12345