/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-pltfm.c | 45 if (device_property_present(dev, "sdhci,wp-inverted") || in sdhci_wp_inverted() 46 device_property_present(dev, "wp-inverted")) in sdhci_wp_inverted() 82 if (device_property_present(dev, "sdhci,auto-cmd12")) in sdhci_get_property() 85 if (device_property_present(dev, "sdhci,1-bit-only") || in sdhci_get_property() 93 if (device_property_present(dev, "broken-cd")) in sdhci_get_property() 96 if (device_property_present(dev, "no-1-8-v")) in sdhci_get_property() 103 if (device_property_present(dev, "keep-power-in-suspend")) in sdhci_get_property()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-bd71815.c | 121 if (gc->parent && device_property_present(gc->parent, in bd71815_init_valid_mask() 159 if (device_property_present(parent, "rohm,enable-hidden-gpo")) in gpo_bd71815_probe()
|
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-phy-v1.c | 708 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()
|
/openbmc/linux/drivers/input/misc/ |
H A D | stpmic1_onkey.c | 82 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()
|
H A D | iqs269a.c | 760 iqs269->hall_enable = device_property_present(&client->dev, in iqs269_parse_prop() 870 if (device_property_present(&client->dev, "azoteq,ati-band-disable")) in iqs269_parse_prop() 874 if (device_property_present(&client->dev, "azoteq,ati-lp-only")) in iqs269_parse_prop() 878 if (device_property_present(&client->dev, "azoteq,ati-band-tighten")) in iqs269_parse_prop() 882 if (device_property_present(&client->dev, "azoteq,filt-disable")) in iqs269_parse_prop() 898 if (device_property_present(&client->dev, "azoteq,dual-direction")) in iqs269_parse_prop() 913 if (device_property_present(&client->dev, "azoteq,global-cap-increase")) in iqs269_parse_prop() 929 if (device_property_present(&client->dev, "azoteq,tracking-enable")) in iqs269_parse_prop() 973 if (device_property_present(&client->dev, "azoteq,clk-div")) in iqs269_parse_prop() 1008 if (device_property_present(&client->dev, "azoteq,reseed-offset")) in iqs269_parse_prop()
|
H A D | iqs626a.c | 1260 if (device_property_present(&client->dev, "azoteq,clk-div")) in iqs626_parse_prop() 1263 if (device_property_present(&client->dev, "azoteq,ulp-enable")) in iqs626_parse_prop() 1278 if (device_property_present(&client->dev, "azoteq,ati-band-disable")) in iqs626_parse_prop() 1282 if (device_property_present(&client->dev, "azoteq,ati-lp-only")) in iqs626_parse_prop() 1310 if (device_property_present(&client->dev, "azoteq,thresh-extend")) in iqs626_parse_prop() 1314 if (device_property_present(&client->dev, "azoteq,tracking-enable")) in iqs626_parse_prop() 1318 if (device_property_present(&client->dev, "azoteq,reseed-offset")) in iqs626_parse_prop()
|
H A D | rotary_encoder.c | 220 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe()
|
/openbmc/linux/drivers/net/can/m_can/ |
H A D | m_can_platform.c | 105 if (device_property_present(mcan_class->dev, "interrupts") || in m_can_plat_probe() 106 device_property_present(mcan_class->dev, "interrupt-names")) { in m_can_plat_probe()
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | at24.c | 643 if (device_property_present(dev, "read-only")) in at24_probe() 645 if (device_property_present(dev, "no-read-rollover")) in at24_probe() 747 if (device_property_present(dev, "label")) { in at24_probe()
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 116 if (!device_property_present(dev, "operating-points-v2")) in lima_devfreq_init()
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83822.c | 507 dp83822->fx_signal_det_low = device_property_present(dev, in dp83822_of_init() 510 dp83822->fx_enabled = device_property_present(dev, in dp83822_of_init()
|
H A D | adin1100.c | 206 priv->tx_level_prop_present = device_property_present(dev, "phy-10base-t1l-2.4vpp"); in adin_get_features()
|
/openbmc/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-pcie.c | 173 nvmem_enabled = device_property_present(dev, "nvmem-cells"); in mtk_pcie_read_efuse()
|
/openbmc/linux/include/linux/ |
H A D | property.h | 43 bool device_property_present(const struct device *dev, const char *propname); 194 return device_property_present(dev, propname); in device_property_read_bool()
|
/openbmc/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 233 use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9063_wdt_probe()
|
H A D | da9062_wdt.c | 218 wdt->use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9062_wdt_probe()
|
/openbmc/linux/drivers/base/ |
H A D | property.c | 43 bool device_property_present(const struct device *dev, const char *propname) in device_property_present() function 47 EXPORT_SYMBOL_GPL(device_property_present);
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 216 if (!device_property_present(dev, "io-channel-names")) in grts_probe()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-da9062.c | 270 if (!device_property_present(parent, "gpio-controller")) in da9062_pctl_probe()
|
/openbmc/linux/sound/soc/mediatek/mt8173/ |
H A D | mt8173-rt5650.c | 316 if (device_property_present(&pdev->dev, "mediatek,mclk")) { in mt8173_rt5650_dev_probe()
|
/openbmc/linux/drivers/regulator/ |
H A D | rt6160-regulator.c | 241 device_property_present(&i2c->dev, "richtek,vsel-active-low"); in rt6160_probe()
|
/openbmc/linux/drivers/nfc/fdp/ |
H A D | i2c.c | 236 if (device_property_present(dev, FDP_DP_FW_VSC_CFG_NAME)) { in fdp_nci_i2c_read_device_properties()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-isl12022.c | 255 if (!device_property_present(dev, "#clock-cells")) { in isl12022_register_clock()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_mctrl_gpio.c | 157 present = device_property_present(dev, gpio_str); in mctrl_gpio_init_noauto()
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-naneng-combphy.c | 308 priv->enable_ssc = device_property_present(dev, "rockchip,enable-ssc"); in rockchip_combphy_parse_dt() 310 priv->ext_refclk = device_property_present(dev, "rockchip,ext-refclk"); in rockchip_combphy_parse_dt()
|