Home
last modified time | relevance | path

Searched refs:device_property_present (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.4/drivers/mmc/host/
Dsdhci-pltfm.c45 if (device_property_present(dev, "sdhci,wp-inverted") || in sdhci_wp_inverted()
46 device_property_present(dev, "wp-inverted")) in sdhci_wp_inverted()
86 if (device_property_present(dev, "sdhci,auto-cmd12")) in sdhci_get_property()
89 if (device_property_present(dev, "sdhci,1-bit-only") || in sdhci_get_property()
97 if (device_property_present(dev, "broken-cd")) in sdhci_get_property()
100 if (device_property_present(dev, "no-1-8-v")) in sdhci_get_property()
107 if (device_property_present(dev, "keep-power-in-suspend")) in sdhci_get_property()
Ddw_mmc.c2943 !device_property_present(dev, "dmas")) { in dw_mci_init_dma()
3118 if (device_property_present(dev, "fifo-watermark-aligned")) in dw_mci_parse_dt()
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v1.c708 if (device_property_present(pdata->phy_dev, XGBE_BLWC_PROPERTY)) { in xgbe_phy_init()
723 if (device_property_present(pdata->phy_dev, XGBE_CDR_RATE_PROPERTY)) { in xgbe_phy_init()
738 if (device_property_present(pdata->phy_dev, XGBE_PQ_SKEW_PROPERTY)) { in xgbe_phy_init()
753 if (device_property_present(pdata->phy_dev, XGBE_TX_AMP_PROPERTY)) { in xgbe_phy_init()
768 if (device_property_present(pdata->phy_dev, XGBE_DFE_CFG_PROPERTY)) { in xgbe_phy_init()
783 if (device_property_present(pdata->phy_dev, XGBE_DFE_ENA_PROPERTY)) { in xgbe_phy_init()
Dxgbe-platform.c426 if (device_property_present(dev, XGBE_DMA_IRQS_PROPERTY)) { in xgbe_platform_probe()
/Linux-v5.4/drivers/input/misc/
Dstpmic1_onkey.c82 if (device_property_present(dev, "st,onkey-clear-cc-flag")) in stpmic1_onkey_probe()
92 if (device_property_present(dev, "st,onkey-pu-inactive")) { in stpmic1_onkey_probe()
Drotary_encoder.c220 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe()
/Linux-v5.4/include/linux/
Dproperty.h36 bool device_property_present(struct device *dev, const char *propname);
121 return device_property_present(dev, propname); in device_property_read_bool()
/Linux-v5.4/drivers/base/
Dproperty.c35 bool device_property_present(struct device *dev, const char *propname) in device_property_present() function
39 EXPORT_SYMBOL_GPL(device_property_present);
/Linux-v5.4/drivers/misc/eeprom/
Dat24.c590 if (device_property_present(dev, "read-only")) in at24_probe()
592 if (device_property_present(dev, "no-read-rollover")) in at24_probe()
Dat25.c297 if (device_property_present(dev, "read-only")) in at25_fw_to_chip()
/Linux-v5.4/sound/soc/mediatek/mt8173/
Dmt8173-rt5650.c288 if (device_property_present(&pdev->dev, "mediatek,mclk")) { in mt8173_rt5650_dev_probe()
/Linux-v5.4/drivers/tty/serial/
Dserial_mctrl_gpio.c136 present = device_property_present(dev, gpio_str); in mctrl_gpio_init_noauto()
/Linux-v5.4/drivers/nfc/fdp/
Di2c.c244 if (device_property_present(dev, FDP_DP_FW_VSC_CFG_NAME)) { in fdp_nci_i2c_read_device_properties()
/Linux-v5.4/drivers/power/supply/
Dsbs-manager.c274 if (!device_property_present(dev, "gpio-controller")) in sbsm_gpio_setup()
/Linux-v5.4/drivers/input/keyboard/
Dgpio_keys_polled.c165 pdata->rep = device_property_present(dev, "autorepeat"); in gpio_keys_polled_get_devtree_pdata()
/Linux-v5.4/drivers/net/ethernet/smsc/
Dsmsc911x.c2394 if (device_property_present(dev, "smsc,irq-active-high")) in smsc911x_probe_config()
2397 if (device_property_present(dev, "smsc,irq-push-pull")) in smsc911x_probe_config()
2400 if (device_property_present(dev, "smsc,force-internal-phy")) in smsc911x_probe_config()
2403 if (device_property_present(dev, "smsc,force-external-phy")) in smsc911x_probe_config()
2406 if (device_property_present(dev, "smsc,save-mac-address")) in smsc911x_probe_config()
/Linux-v5.4/drivers/input/touchscreen/
Dcyttsp_core.c556 ts->use_hndshk = device_property_present(dev, "use-handshake"); in cyttsp_parse_properties()
Datmel_mxt_ts.c2992 if (device_property_present(dev, keymap_property)) { in mxt_parse_device_properties()
3050 if (!device_property_present(&client->dev, "compatible")) in mxt_probe()
/Linux-v5.4/drivers/iio/adc/
Dad7606.c650 st->sw_mode_en = device_property_present(st->dev, in ad7606_probe()
/Linux-v5.4/sound/soc/codecs/
Drt5645.c3750 if (device_property_present(dev, "realtek,in2-differential") || in rt5645_check_dp()
3751 device_property_present(dev, "realtek,dmic1-data-pin") || in rt5645_check_dp()
3752 device_property_present(dev, "realtek,dmic2-data-pin") || in rt5645_check_dp()
3753 device_property_present(dev, "realtek,jd-mode")) in rt5645_check_dp()
/Linux-v5.4/drivers/hwmon/
Dstts751.c783 if (device_property_present(&client->dev, in stts751_probe()
/Linux-v5.4/drivers/fsi/
Dfsi-master-gpio.c832 master->no_delays = device_property_present(&pdev->dev, "no-gpio-delays"); in fsi_master_gpio_probe()
/Linux-v5.4/drivers/nfc/st95hf/
Dcore.c1090 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()
/Linux-v5.4/drivers/nvmem/
Dcore.c397 nvmem->read_only = device_property_present(config->dev, "read-only") || in nvmem_register()
/Linux-v5.4/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c1668 (!device_property_present(dev, "sfp-gpios") && in xgene_enet_gpiod_get()
1669 !device_property_present(dev, "rxlos-gpios"))) in xgene_enet_gpiod_get()

12