Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/mmc/host/
H A 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()
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 Dgpio-bd71815.c121 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 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()
/openbmc/linux/drivers/input/misc/
H A 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()
H A Diqs269a.c760 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 Diqs626a.c1260 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 Drotary_encoder.c220 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe()
/openbmc/linux/drivers/net/can/m_can/
H A Dm_can_platform.c105 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 Dat24.c643 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 Dlima_devfreq.c116 if (!device_property_present(dev, "operating-points-v2")) in lima_devfreq_init()
/openbmc/linux/drivers/phy/mediatek/
H A Dphy-mtk-pcie.c173 nvmem_enabled = device_property_present(dev, "nvmem-cells"); in mtk_pcie_read_efuse()
/openbmc/linux/drivers/net/phy/
H A Ddp83822.c507 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 Dadin1100.c206 priv->tx_level_prop_present = device_property_present(dev, "phy-10base-t1l-2.4vpp"); in adin_get_features()
/openbmc/linux/drivers/watchdog/
H A Dda9063_wdt.c233 use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9063_wdt_probe()
H A Dda9062_wdt.c218 wdt->use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9062_wdt_probe()
/openbmc/linux/include/linux/
H A Dproperty.h43 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/pinctrl/
H A Dpinctrl-da9062.c270 if (!device_property_present(parent, "gpio-controller")) in da9062_pctl_probe()
/openbmc/linux/drivers/input/touchscreen/
H A Dresistive-adc-touch.c216 if (!device_property_present(dev, "io-channel-names")) in grts_probe()
/openbmc/linux/drivers/base/
H A Dproperty.c43 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/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650.c316 if (device_property_present(&pdev->dev, "mediatek,mclk")) { in mt8173_rt5650_dev_probe()
/openbmc/linux/drivers/regulator/
H A Drt6160-regulator.c241 device_property_present(&i2c->dev, "richtek,vsel-active-low"); in rt6160_probe()
/openbmc/linux/drivers/nfc/fdp/
H A Di2c.c236 if (device_property_present(dev, FDP_DP_FW_VSC_CFG_NAME)) { in fdp_nci_i2c_read_device_properties()
/openbmc/linux/drivers/rtc/
H A Drtc-isl12022.c255 if (!device_property_present(dev, "#clock-cells")) { in isl12022_register_clock()
/openbmc/linux/drivers/tty/serial/
H A Dserial_mctrl_gpio.c157 present = device_property_present(dev, gpio_str); in mctrl_gpio_init_noauto()
/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_tegra.c314 if (device_property_present(&pdev->dev, "nvidia,needs-double-reset")) in tegra_usb_probe()

123