Lines Matching defs:con
92 static int dp_altmode_configure(struct dp_altmode *dp, u8 con)
100 switch (con) {
154 u8 con = DP_STATUS_CONNECTION(dp->data.status);
164 } else if (!(con & DP_CONF_CURRENTLY(dp->data.conf))) {
165 ret = dp_altmode_configure(dp, con);
519 int con;
522 con = sysfs_match_string(configurations, buf);
523 if (con < 0)
524 return con;
535 if ((con == DP_CONF_DFP_D && !(cap & DP_CAP_DFP_D)) ||
536 (con == DP_CONF_UFP_D && !(cap & DP_CAP_UFP_D))) {
542 conf |= con;