• Home
  • Raw
  • Download

Lines Matching refs:left_edge

2034 	int *left_edge, int *right_edge, const u32 use_read_test)  in search_left_edge()  argument
2066 left_edge[i] = d; in search_left_edge()
2074 if (left_edge[i] == delay_max + 1) in search_left_edge()
2091 __func__, __LINE__, i, left_edge[i], in search_left_edge()
2099 if ((left_edge[i] == delay_max + 1) && in search_left_edge()
2116 if (left_edge[i] != delay_max + 1) in search_left_edge()
2119 if ((left_edge[i] != delay_max + 1) && in search_left_edge()
2145 int *left_edge, int *right_edge, const u32 use_read_test) in search_right_edge() argument
2186 left_edge[i] != delay_max + 1) in search_right_edge()
2210 left_edge[i] = -(d + 1); in search_right_edge()
2219 left_edge[i] != delay_max + 1) in search_right_edge()
2228 left_edge[i] = -(d + 1); in search_right_edge()
2236 bit_chk & 1, i, left_edge[i]); in search_right_edge()
2247 __func__, __LINE__, i, left_edge[i], in search_right_edge()
2249 if ((left_edge[i] == dqs_max + 1) || in search_right_edge()
2266 static int get_window_mid_index(const int write, int *left_edge, in get_window_mid_index() argument
2274 *mid_min = left_edge[0] - right_edge[0]; in get_window_mid_index()
2277 mid = left_edge[i] - right_edge[i]; in get_window_mid_index()
2313 static void center_dq_windows(const int write, int *left_edge, int *right_edge, in center_dq_windows() argument
2336 shift_dq = (left_edge[i] - right_edge[i] - in center_dq_windows()
2337 (left_edge[min_index] - right_edge[min_index]))/2 + in center_dq_windows()
2366 left_edge[i] - shift_dq + (-mid_min), in center_dq_windows()
2370 if (left_edge[i] - shift_dq + (-mid_min) < *dq_margin) in center_dq_windows()
2371 *dq_margin = left_edge[i] - shift_dq + (-mid_min); in center_dq_windows()
2400 int32_t left_edge[rwcfg->mem_dq_per_read_dqs]; in rw_mgr_mem_calibrate_vfifo_center() local
2418 left_edge[i] = iocfg->io_in_delay_max + 1; in rw_mgr_mem_calibrate_vfifo_center()
2425 left_edge, right_edge, use_read_test); in rw_mgr_mem_calibrate_vfifo_center()
2432 left_edge, right_edge, use_read_test); in rw_mgr_mem_calibrate_vfifo_center()
2448 __func__, __LINE__, i, left_edge[i], right_edge[i]); in rw_mgr_mem_calibrate_vfifo_center()
2463 min_index = get_window_mid_index(0, left_edge, right_edge, &mid_min); in rw_mgr_mem_calibrate_vfifo_center()
2493 center_dq_windows(0, left_edge, right_edge, mid_min, orig_mid_min, in rw_mgr_mem_calibrate_vfifo_center()
2953 int left_edge[rwcfg->mem_dq_per_write_dqs]; in rw_mgr_mem_calibrate_writes_center() local
2983 left_edge[i] = iocfg->io_out1_delay_max + 1; in rw_mgr_mem_calibrate_writes_center()
2990 left_edge, right_edge, 0); in rw_mgr_mem_calibrate_writes_center()
2996 left_edge, right_edge, 0); in rw_mgr_mem_calibrate_writes_center()
3003 min_index = get_window_mid_index(1, left_edge, right_edge, &mid_min); in rw_mgr_mem_calibrate_writes_center()
3014 center_dq_windows(1, left_edge, right_edge, mid_min, orig_mid_min, in rw_mgr_mem_calibrate_writes_center()
3028 left_edge[0] = iocfg->io_out1_delay_max + 1; in rw_mgr_mem_calibrate_writes_center()
3053 left_edge[0] = -1 * bgn_best; in rw_mgr_mem_calibrate_writes_center()
3057 __func__, __LINE__, left_edge[0], right_edge[0]); in rw_mgr_mem_calibrate_writes_center()
3065 mid = (left_edge[0] - right_edge[0]) / 2; in rw_mgr_mem_calibrate_writes_center()
3075 dm_margin = left_edge[0] - mid; in rw_mgr_mem_calibrate_writes_center()
3082 __func__, __LINE__, left_edge[0], right_edge[0], in rw_mgr_mem_calibrate_writes_center()