Home
last modified time | relevance | path

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

123

/Linux-v6.1/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()
/Linux-v6.1/drivers/gpio/
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()
/Linux-v6.1/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()
/Linux-v6.1/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()
Diqs269a.c759 iqs269->hall_enable = device_property_present(&client->dev, in iqs269_parse_prop()
880 if (device_property_present(&client->dev, "azoteq,ati-band-disable")) in iqs269_parse_prop()
884 if (device_property_present(&client->dev, "azoteq,ati-lp-only")) in iqs269_parse_prop()
888 if (device_property_present(&client->dev, "azoteq,ati-band-tighten")) in iqs269_parse_prop()
892 if (device_property_present(&client->dev, "azoteq,filt-disable")) in iqs269_parse_prop()
908 if (device_property_present(&client->dev, "azoteq,dual-direction")) in iqs269_parse_prop()
923 if (device_property_present(&client->dev, "azoteq,global-cap-increase")) in iqs269_parse_prop()
939 if (device_property_present(&client->dev, "azoteq,tracking-enable")) in iqs269_parse_prop()
983 if (device_property_present(&client->dev, "azoteq,clk-div")) { in iqs269_parse_prop()
1012 if (device_property_present(&client->dev, "azoteq,reseed-offset")) in iqs269_parse_prop()
Diqs626a.c1257 if (device_property_present(&client->dev, "azoteq,clk-div")) in iqs626_parse_prop()
1260 if (device_property_present(&client->dev, "azoteq,ulp-enable")) in iqs626_parse_prop()
1275 if (device_property_present(&client->dev, "azoteq,ati-band-disable")) in iqs626_parse_prop()
1279 if (device_property_present(&client->dev, "azoteq,ati-lp-only")) in iqs626_parse_prop()
1307 if (device_property_present(&client->dev, "azoteq,thresh-extend")) in iqs626_parse_prop()
1311 if (device_property_present(&client->dev, "azoteq,tracking-enable")) in iqs626_parse_prop()
1315 if (device_property_present(&client->dev, "azoteq,reseed-offset")) in iqs626_parse_prop()
Drotary_encoder.c220 if (!device_property_present(dev, "rotary-encoder,encoding") || in rotary_encoder_probe()
/Linux-v6.1/drivers/misc/eeprom/
Dat24.c618 if (device_property_present(dev, "read-only")) in at24_probe()
620 if (device_property_present(dev, "no-read-rollover")) in at24_probe()
722 if (device_property_present(dev, "label")) { in at24_probe()
/Linux-v6.1/drivers/gpu/drm/lima/
Dlima_devfreq.c116 if (!device_property_present(dev, "operating-points-v2")) in lima_devfreq_init()
/Linux-v6.1/drivers/phy/mediatek/
Dphy-mtk-pcie.c173 nvmem_enabled = device_property_present(dev, "nvmem-cells"); in mtk_pcie_read_efuse()
/Linux-v6.1/drivers/watchdog/
Dda9063_wdt.c224 use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9063_wdt_probe()
Dda9062_wdt.c209 wdt->use_sw_pm = device_property_present(dev, "dlg,use-sw-pm"); in da9062_wdt_probe()
/Linux-v6.1/drivers/net/phy/
Ddp83822.c502 dp83822->fx_signal_det_low = device_property_present(dev, in dp83822_of_init()
505 dp83822->fx_enabled = device_property_present(dev, in dp83822_of_init()
Dadin1100.c206 priv->tx_level_prop_present = device_property_present(dev, "phy-10base-t1l-2.4vpp"); in adin_get_features()
/Linux-v6.1/include/linux/
Dproperty.h37 bool device_property_present(struct device *dev, const char *propname);
135 return device_property_present(dev, propname); in device_property_read_bool()
/Linux-v6.1/drivers/phy/rockchip/
Dphy-rockchip-naneng-combphy.c298 priv->enable_ssc = device_property_present(dev, "rockchip,enable-ssc"); in rockchip_combphy_parse_dt()
300 priv->ext_refclk = device_property_present(dev, "rockchip,ext-refclk"); in rockchip_combphy_parse_dt()
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-da9062.c270 if (!device_property_present(parent, "gpio-controller")) in da9062_pctl_probe()
/Linux-v6.1/drivers/input/touchscreen/
Dresistive-adc-touch.c220 if (!device_property_present(dev, "io-channel-names")) in grts_probe()
/Linux-v6.1/drivers/base/
Dproperty.c34 bool device_property_present(struct device *dev, const char *propname) in device_property_present() function
38 EXPORT_SYMBOL_GPL(device_property_present);
/Linux-v6.1/drivers/regulator/
Drt6160-regulator.c241 device_property_present(&i2c->dev, "richtek,vsel-active-low"); in rt6160_probe()
/Linux-v6.1/drivers/platform/chrome/
Dcros_typec_switch.c257 if (!device_property_present(fwnode->dev, "mode-switch")) in cros_typec_register_switches()
/Linux-v6.1/sound/soc/mediatek/mt8173/
Dmt8173-rt5650.c303 if (device_property_present(&pdev->dev, "mediatek,mclk")) { in mt8173_rt5650_dev_probe()
/Linux-v6.1/drivers/nfc/fdp/
Di2c.c236 if (device_property_present(dev, FDP_DP_FW_VSC_CFG_NAME)) { in fdp_nci_i2c_read_device_properties()
/Linux-v6.1/drivers/tty/serial/
Dserial_mctrl_gpio.c157 present = device_property_present(dev, gpio_str); in mctrl_gpio_init_noauto()
/Linux-v6.1/drivers/gpu/drm/tiny/
Dpanel-mipi-dbi.c316 if (device_property_present(dev, "write-only")) in panel_mipi_dbi_spi_probe()

123