Lines Matching refs:gbl

81 	if (seq->gbl.error_stage == CAL_STAGE_NIL)	{  in set_failing_group_stage()
82 seq->gbl.error_substage = substage; in set_failing_group_stage()
83 seq->gbl.error_stage = stage; in set_failing_group_stage()
84 seq->gbl.error_group = group; in set_failing_group_stage()
1183 rw_wl_nop_cycles = seq->gbl.rw_wl_nop_cycles; in rw_mgr_mem_calibrate_write_test_issue()
2708 if (seq->gbl.phy_debug_mode_flags & PHY_DEBUG_DISABLE_GUARANTEED_READ) in rw_mgr_mem_calibrate_guaranteed_write()
2989 writel(seq->gbl.curr_read_lat, &phy_mgr_cfg->phy_rlat); in rw_mgr_mem_calibrate_lfifo()
2991 __func__, __LINE__, seq->gbl.curr_read_lat); in rw_mgr_mem_calibrate_lfifo()
3003 seq->gbl.curr_read_lat--; in rw_mgr_mem_calibrate_lfifo()
3004 } while (seq->gbl.curr_read_lat > 0); in rw_mgr_mem_calibrate_lfifo()
3011 seq->gbl.curr_read_lat += 2; in rw_mgr_mem_calibrate_lfifo()
3012 writel(seq->gbl.curr_read_lat, &phy_mgr_cfg->phy_rlat); in rw_mgr_mem_calibrate_lfifo()
3015 __func__, __LINE__, seq->gbl.curr_read_lat); in rw_mgr_mem_calibrate_lfifo()
3022 __func__, __LINE__, seq->gbl.curr_read_lat); in rw_mgr_mem_calibrate_lfifo()
3259 seq->gbl.fom_out += dq_margin + dqs_margin; in rw_mgr_mem_calibrate_writes_center()
3367 seq->gbl.rw_wl_nop_cycles = wlat - 1; in mem_init_latency()
3373 seq->gbl.curr_read_lat = rlat + 16; in mem_init_latency()
3374 if (seq->gbl.curr_read_lat > max_latency) in mem_init_latency()
3375 seq->gbl.curr_read_lat = max_latency; in mem_init_latency()
3377 writel(seq->gbl.curr_read_lat, &phy_mgr_cfg->phy_rlat); in mem_init_latency()
3470 seq->gbl.curr_read_lat = seq->misccfg->calib_lfifo_offset; in mem_skip_calibrate()
3471 writel(seq->gbl.curr_read_lat, &phy_mgr_cfg->phy_rlat); in mem_skip_calibrate()
3495 seq->gbl.error_substage = CAL_SUBSTAGE_NIL; in mem_calibrate()
3496 seq->gbl.error_stage = CAL_STAGE_NIL; in mem_calibrate()
3497 seq->gbl.error_group = 0xff; in mem_calibrate()
3498 seq->gbl.fom_in = 0; in mem_calibrate()
3499 seq->gbl.fom_out = 0; in mem_calibrate()
3574 if (!(seq->gbl.phy_debug_mode_flags & in mem_calibrate()
3601 if (!(seq->gbl.phy_debug_mode_flags & in mem_calibrate()
3623 if (!(seq->gbl.phy_debug_mode_flags & in mem_calibrate()
3719 seq->gbl.fom_in /= 2; in debug_mem_calibrate()
3720 seq->gbl.fom_out /= 2; in debug_mem_calibrate()
3722 if (seq->gbl.fom_in > 0xff) in debug_mem_calibrate()
3723 seq->gbl.fom_in = 0xff; in debug_mem_calibrate()
3725 if (seq->gbl.fom_out > 0xff) in debug_mem_calibrate()
3726 seq->gbl.fom_out = 0xff; in debug_mem_calibrate()
3729 debug_info = seq->gbl.fom_in; in debug_mem_calibrate()
3730 debug_info |= seq->gbl.fom_out << 8; in debug_mem_calibrate()
3738 debug_info = seq->gbl.error_stage; in debug_mem_calibrate()
3739 debug_info |= seq->gbl.error_substage << 8; in debug_mem_calibrate()
3740 debug_info |= seq->gbl.error_group << 16; in debug_mem_calibrate()
3747 debug_info = seq->gbl.error_stage; in debug_mem_calibrate()
3748 debug_info |= seq->gbl.error_substage << 8; in debug_mem_calibrate()
3749 debug_info |= seq->gbl.error_group << 16; in debug_mem_calibrate()
3919 seq.gbl.phy_debug_mode_flags |= PHY_DEBUG_ENABLE_CAL_RPT; in sdram_calibration_full()
3925 seq.gbl.phy_debug_mode_flags |= PHY_DEBUG_DISABLE_GUARANTEED_READ; in sdram_calibration_full()