Lines Matching refs:socfpga_sdrseq
74 static void set_failing_group_stage(struct socfpga_sdrseq *seq, in set_failing_group_stage()
109 static void phy_mgr_initialize(struct socfpga_sdrseq *seq) in phy_mgr_initialize()
151 static void set_rank_and_odt_mask(struct socfpga_sdrseq *seq, in set_rank_and_odt_mask()
324 static void scc_mgr_set_dqs_io_in_delay(struct socfpga_sdrseq *seq, in scc_mgr_set_dqs_io_in_delay()
331 static void scc_mgr_set_dm_in_delay(struct socfpga_sdrseq *seq, u32 dm, in scc_mgr_set_dm_in_delay()
344 static void scc_mgr_set_dqs_out1_delay(struct socfpga_sdrseq *seq, in scc_mgr_set_dqs_out1_delay()
351 static void scc_mgr_set_dm_out1_delay(struct socfpga_sdrseq *seq, u32 dm, in scc_mgr_set_dm_out1_delay()
393 static void scc_mgr_set_all_ranks(struct socfpga_sdrseq *seq, in scc_mgr_set_all_ranks()
410 static void scc_mgr_set_dqs_en_phase_all_ranks(struct socfpga_sdrseq *seq, in scc_mgr_set_dqs_en_phase_all_ranks()
425 static void scc_mgr_set_dqdqs_output_phase_all_ranks(struct socfpga_sdrseq *seq, in scc_mgr_set_dqdqs_output_phase_all_ranks()
440 static void scc_mgr_set_dqs_en_delay_all_ranks(struct socfpga_sdrseq *seq, in scc_mgr_set_dqs_en_delay_all_ranks()
462 static void scc_mgr_set_oct_out1_delay(struct socfpga_sdrseq *seq, in scc_mgr_set_oct_out1_delay()
514 static void scc_mgr_zero_all(struct socfpga_sdrseq *seq) in scc_mgr_zero_all()
578 static void scc_mgr_load_dqs_for_write_group(struct socfpga_sdrseq *seq, in scc_mgr_load_dqs_for_write_group()
601 static void scc_mgr_zero_group(struct socfpga_sdrseq *seq, in scc_mgr_zero_group()
650 static void scc_mgr_apply_group_dq_in_delay(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_dq_in_delay()
669 static void scc_mgr_apply_group_dq_out1_delay(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_dq_out1_delay()
681 static void scc_mgr_apply_group_dm_out1_delay(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_dm_out1_delay()
694 static void scc_mgr_apply_group_dqs_io_and_oct_out1(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_dqs_io_and_oct_out1()
712 static void scc_mgr_apply_group_all_out_delay_add(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_all_out_delay_add()
764 scc_mgr_apply_group_all_out_delay_add_all_ranks(struct socfpga_sdrseq *seq, in scc_mgr_apply_group_all_out_delay_add_all_ranks()
783 static void set_jump_as_return(struct socfpga_sdrseq *seq) in set_jump_as_return()
800 static void delay_for_n_mem_clocks(struct socfpga_sdrseq *seq, in delay_for_n_mem_clocks()
874 static void delay_for_n_ns(struct socfpga_sdrseq *seq, const u32 ns) in delay_for_n_ns()
889 static void rw_mgr_mem_init_load_regs(struct socfpga_sdrseq *seq, in rw_mgr_mem_init_load_regs()
918 static void rw_mgr_mem_load_user_ddr2(struct socfpga_sdrseq *seq, in rw_mgr_mem_load_user_ddr2()
965 static void rw_mgr_mem_load_user_ddr3(struct socfpga_sdrseq *seq, in rw_mgr_mem_load_user_ddr3()
1029 static void rw_mgr_mem_load_user(struct socfpga_sdrseq *seq, in rw_mgr_mem_load_user()
1045 static void rw_mgr_mem_initialize(struct socfpga_sdrseq *seq) in rw_mgr_mem_initialize()
1129 static void rw_mgr_mem_handoff(struct socfpga_sdrseq *seq) in rw_mgr_mem_handoff()
1148 static void rw_mgr_mem_calibrate_write_test_issue(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_write_test_issue()
1293 rw_mgr_mem_calibrate_write_test(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_write_test()
1360 rw_mgr_mem_calibrate_read_test_patterns(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_read_test_patterns()
1436 static void rw_mgr_mem_calibrate_read_load_patterns(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_read_load_patterns()
1495 rw_mgr_mem_calibrate_read_test(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_read_test()
1611 rw_mgr_mem_calibrate_read_test_all_ranks(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_read_test_all_ranks()
1639 static void rw_mgr_decr_vfifo(struct socfpga_sdrseq *seq, const u32 grp) in rw_mgr_decr_vfifo()
1653 static int find_vfifo_failing_read(struct socfpga_sdrseq *seq, in find_vfifo_failing_read()
1690 static int sdr_find_phase_delay(struct socfpga_sdrseq *seq, int working, in sdr_find_phase_delay()
1728 static int sdr_find_phase(struct socfpga_sdrseq *seq, int working, in sdr_find_phase()
1764 static int sdr_working_phase(struct socfpga_sdrseq *seq, const u32 grp, in sdr_working_phase()
1796 static void sdr_backup_phase(struct socfpga_sdrseq *seq, const u32 grp, in sdr_backup_phase()
1845 static int sdr_nonworking_phase(struct socfpga_sdrseq *seq, in sdr_nonworking_phase()
1876 static int sdr_find_window_center(struct socfpga_sdrseq *seq, in sdr_find_window_center()
1949 rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase()
2121 static u32 search_stop_check(struct socfpga_sdrseq *seq, const int write, in search_stop_check()
2178 static void search_left_edge(struct socfpga_sdrseq *seq, const int write, in search_left_edge()
2289 static int search_right_edge(struct socfpga_sdrseq *seq, const int write, in search_right_edge()
2417 static int get_window_mid_index(struct socfpga_sdrseq *seq, in get_window_mid_index()
2465 static void center_dq_windows(struct socfpga_sdrseq *seq, in center_dq_windows()
2541 static int rw_mgr_mem_calibrate_vfifo_center(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_vfifo_center()
2689 static int rw_mgr_mem_calibrate_guaranteed_write(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_guaranteed_write()
2732 rw_mgr_mem_calibrate_dqs_enable_calibration(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_dqs_enable_calibration()
2796 rw_mgr_mem_calibrate_dq_dqs_centering(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_dq_dqs_centering()
2844 static int rw_mgr_mem_calibrate_vfifo(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_vfifo()
2944 static int rw_mgr_mem_calibrate_vfifo_end(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_vfifo_end()
2975 static u32 rw_mgr_mem_calibrate_lfifo(struct socfpga_sdrseq *seq) in rw_mgr_mem_calibrate_lfifo()
3043 static void search_window(struct socfpga_sdrseq *seq, in search_window()
3125 rw_mgr_mem_calibrate_writes_center(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_writes_center()
3288 static int rw_mgr_mem_calibrate_writes(struct socfpga_sdrseq *seq, in rw_mgr_mem_calibrate_writes()
3315 static void mem_precharge_and_activate(struct socfpga_sdrseq *seq) in mem_precharge_and_activate()
3347 static void mem_init_latency(struct socfpga_sdrseq *seq) in mem_init_latency()
3388 static void mem_skip_calibrate(struct socfpga_sdrseq *seq) in mem_skip_calibrate()
3479 static u32 mem_calibrate(struct socfpga_sdrseq *seq) in mem_calibrate()
3666 static int run_mem_calibrate(struct socfpga_sdrseq *seq) in run_mem_calibrate()
3712 static void debug_mem_calibrate(struct socfpga_sdrseq *seq, int pass) in debug_mem_calibrate()
3783 static void initialize_reg_file(struct socfpga_sdrseq *seq) in initialize_reg_file()
3851 static void initialize_tracking(struct socfpga_sdrseq *seq) in initialize_tracking()
3903 struct socfpga_sdrseq seq; in sdram_calibration_full()