Lines Matching refs:link_status
341 static u8 edp_link_status(const u8 *link_status, int r) in edp_link_status() argument
343 return link_status[r - DPCD_LANE0_1_STATUS]; in edp_link_status()
347 u8 *link_status) in rk_edp_dpcd_read_link_status() argument
349 return rk_edp_dpcd_read(edp->regs, DPCD_LANE0_1_STATUS, link_status, in rk_edp_dpcd_read_link_status()
353 static u8 edp_get_lane_status(const u8 *link_status, int lane) in edp_get_lane_status() argument
357 u8 l = edp_link_status(link_status, i); in edp_get_lane_status()
362 static int rk_edp_clock_recovery(const u8 *link_status, int lane_count) in rk_edp_clock_recovery() argument
368 lane_status = edp_get_lane_status(link_status, 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
382 lane_align = edp_link_status(link_status, in rk_edp_channel_eq()
387 lane_status = edp_get_lane_status(link_status, lane); in rk_edp_channel_eq()
395 static uint rk_edp_get_adjust_request_voltage(const u8 *link_status, int lane) in rk_edp_get_adjust_request_voltage() argument
401 u8 l = edp_link_status(link_status, i); in rk_edp_get_adjust_request_voltage()
406 static uint rk_edp_get_adjust_request_pre_emphasis(const u8 *link_status, in rk_edp_get_adjust_request_pre_emphasis() argument
413 u8 l = edp_link_status(link_status, i); in rk_edp_get_adjust_request_pre_emphasis()
418 static void edp_get_adjust_train(const u8 *link_status, int lane_count, in edp_get_adjust_train() argument
428 this_v = rk_edp_get_adjust_request_voltage(link_status, lane); in edp_get_adjust_train()
429 this_p = rk_edp_get_adjust_request_pre_emphasis(link_status, in edp_get_adjust_train()