Lines Matching refs:lane_count
326 values[1] = edp->link_train.lane_count; in rk_edp_link_configure()
337 for (i = 0; i < edp->link_train.lane_count; i++) in rk_edp_set_link_training()
362 static int rk_edp_clock_recovery(const u8 *link_status, int lane_count) in rk_edp_clock_recovery() argument
367 for (lane = 0; lane < lane_count; lane++) { in rk_edp_clock_recovery()
376 static int rk_edp_channel_eq(const u8 *link_status, int lane_count) in rk_edp_channel_eq() argument
386 for (lane = 0; lane < lane_count; lane++) { in rk_edp_channel_eq()
418 static void edp_get_adjust_train(const u8 *link_status, int lane_count, in edp_get_adjust_train() argument
425 for (lane = 0; lane < lane_count; lane++) { in edp_get_adjust_train()
484 edp->link_train.lane_count); in rk_edp_link_train_cr()
497 edp->link_train.lane_count); in rk_edp_link_train_cr()
501 for (i = 0; i < edp->link_train.lane_count; i++) { in rk_edp_link_train_cr()
506 if (i == edp->link_train.lane_count) { in rk_edp_link_train_cr()
524 edp_get_adjust_train(status, edp->link_train.lane_count, in rk_edp_link_train_cr()
566 edp->link_train.lane_count); in rk_edp_link_train_ce()
569 edp_get_adjust_train(status, edp->link_train.lane_count, in rk_edp_link_train_ce()
598 edp->link_train.lane_count = values[2] & DP_MAX_LANE_COUNT_MASK; in rk_edp_init_training()
603 edp->link_train.lane_count); in rk_edp_init_training()
612 if (edp->link_train.lane_count == 0) { in rk_edp_init_training()
614 edp->link_train.lane_count); in rk_edp_init_training()
633 writel(edp->link_train.lane_count, &edp->regs->lane_count_set); in rk_edp_hw_link_training()