Lines Matching full:aux
161 * @aux: DisplayPort AUX channel
170 int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_probe() argument
178 err = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, sizeof(dpcd)); in drm_dp_link_probe()
194 err = drm_dp_dpcd_readb(aux, DP_EDP_DPCD_REV, &value); in drm_dp_link_probe()
205 * The DPCD stores the AUX read interval in units of 4 ms. There are in drm_dp_link_probe()
209 * and channel equalization should use 100 us or 400 us AUX read in drm_dp_link_probe()
213 * AUX read intervals in drm_dp_link_probe()
219 DRM_DEBUG_KMS("AUX interval %u out of range (max. 4)\n", in drm_dp_link_probe()
241 err = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, in drm_dp_link_probe()
260 * @aux: DisplayPort AUX channel
265 int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_up() argument
274 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_up()
281 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_up()
297 * @aux: DisplayPort AUX channel
302 int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_down() argument
311 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_down()
318 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_down()
327 * @aux: DisplayPort AUX channel
332 int drm_dp_link_configure(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_configure() argument
351 err = drm_dp_dpcd_write(aux, DP_LINK_BW_SET, values, sizeof(values)); in drm_dp_link_configure()
360 err = drm_dp_dpcd_writeb(aux, DP_MAIN_LINK_CHANNEL_CODING_SET, value); in drm_dp_link_configure()
365 err = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, in drm_dp_link_configure()
470 struct drm_dp_aux *aux = link->aux; in drm_dp_link_apply_training() local
489 err = drm_dp_dpcd_write(aux, DP_TRAINING_LANE0_SET, values, lanes); in drm_dp_link_apply_training()
502 err = drm_dp_dpcd_write(aux, DP_TRAINING_LANE0_1_SET2, values, in drm_dp_link_apply_training()
516 err = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, pattern); in drm_dp_link_apply_training()
555 err = drm_dp_dpcd_read(link->aux, DP_ADJUST_REQUEST_POST_CURSOR2, in drm_dp_link_get_adjustments()
606 err = drm_dp_dpcd_read_link_status(link->aux, status); in drm_dp_link_recover_clock()
646 struct drm_dp_aux *aux = link->aux; in drm_dp_link_equalize_channel() local
656 err = drm_dp_dpcd_read_link_status(aux, status); in drm_dp_link_equalize_channel()
741 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_full()
797 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_fast()
824 err = drm_dp_dpcd_read_link_status(link->aux, status); in drm_dp_link_train_fast()
853 * If the sink supports fast link training (no AUX CH handshake) and valid