Lines Matching defs:config
174 nouveau_dp_link_train_adjust(struct drm_encoder *encoder, uint8_t *config)
218 config[i] = (pre << 3) | vs;
224 nouveau_dp_link_train_commit(struct drm_encoder *encoder, uint8_t *config)
234 config[0], config[1], config[2], config[3]);
242 if (dpse->vs_level == (config[0] & 3) &&
243 dpse->pre_level == ((config[0] >> 3) & 3))
264 ret = auxch_wr(encoder, DP_TRAINING_LANE0_SET, config, 4);
281 uint8_t config[4], status[3];
319 config[0] = nv_encoder->dp.link_nr;
321 config[0] |= DP_LANE_COUNT_ENHANCED_FRAME_EN;
323 ret = nouveau_dp_lane_count_set(encoder, config[0]);
335 memset(config, 0x00, sizeof(config));
337 if (!nouveau_dp_link_train_commit(encoder, config))
355 if (config[i] & DP_TRAIN_MAX_PRE_EMPHASIS_REACHED)
361 if ((config[0] & DP_TRAIN_VOLTAGE_SWING_MASK) != voltage) {
362 voltage = config[0] & DP_TRAIN_VOLTAGE_SWING_MASK;
369 if (!nouveau_dp_link_train_adjust(encoder, config))
413 if (!nouveau_dp_link_train_adjust(encoder, config) ||
414 !nouveau_dp_link_train_commit(encoder, config))