Lines Matching refs:aux
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()
241 err = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, in drm_dp_link_probe()
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()
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()
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()
597 err = drm_dp_dpcd_read_link_status(link->aux, status); in drm_dp_link_recover_clock()
637 struct drm_dp_aux *aux = link->aux; in drm_dp_link_equalize_channel() local
647 err = drm_dp_dpcd_read_link_status(aux, status); in drm_dp_link_equalize_channel()
732 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_full()
788 err = drm_dp_link_configure(link->aux, link); in drm_dp_link_train_fast()
815 err = drm_dp_dpcd_read_link_status(link->aux, status); in drm_dp_link_train_fast()