Lines Matching refs:rank
126 void training_message(uint8_t channel, uint8_t rank, uint8_t byte_lane) in training_message() argument
129 DPF(D_INFO, "CH%01X RK%01X BL%01X\n", channel, rank, byte_lane); in training_message()
137 void set_rcvn(uint8_t channel, uint8_t rank, in set_rcvn() argument
147 channel, rank, byte_lane, pi_count); in set_rcvn()
200 training_message(channel, rank, byte_lane); in set_rcvn()
213 uint32_t get_rcvn(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_rcvn() argument
261 void set_rdqs(uint8_t channel, uint8_t rank, in set_rdqs() argument
270 channel, rank, byte_lane, pi_count); in set_rdqs()
286 training_message(channel, rank, byte_lane); in set_rdqs()
299 uint32_t get_rdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_rdqs() argument
331 void set_wdqs(uint8_t channel, uint8_t rank, in set_wdqs() argument
341 channel, rank, byte_lane, pi_count); in set_wdqs()
394 training_message(channel, rank, byte_lane); in set_wdqs()
407 uint32_t get_wdqs(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_wdqs() argument
455 void set_wdq(uint8_t channel, uint8_t rank, in set_wdq() argument
465 channel, rank, byte_lane, pi_count); in set_wdq()
518 training_message(channel, rank, byte_lane); in set_wdq()
531 uint32_t get_wdq(uint8_t channel, uint8_t rank, uint8_t byte_lane) in get_wdq() argument
698 void set_wclk(uint8_t channel, uint8_t rank, uint32_t pi_count) in set_wclk() argument
724 reg = rank ? ECCB1DLLPICODER0 : ECCB1DLLPICODER0; in set_wclk()
730 reg = rank ? ECCB1DLLPICODER1 : ECCB1DLLPICODER1; in set_wclk()
734 reg = rank ? ECCB1DLLPICODER2 : ECCB1DLLPICODER2; in set_wclk()
738 reg = rank ? ECCB1DLLPICODER3 : ECCB1DLLPICODER3; in set_wclk()
774 uint32_t get_wclk(uint8_t channel, uint8_t rank) in get_wclk() argument
789 temp >>= rank ? 12 : 8; in get_wclk()
800 reg = rank ? ECCB1DLLPICODER0 : ECCB1DLLPICODER0; in get_wclk()
803 temp >>= rank ? 16 : 8; in get_wclk()
819 void set_wctl(uint8_t channel, uint8_t rank, uint32_t pi_count) in set_wctl() argument
893 uint32_t get_wctl(uint8_t channel, uint8_t rank) in get_wctl() argument
994 uint32_t get_addr(uint8_t channel, uint8_t rank) in get_addr() argument
1004 if (rank > 1) { in get_addr()
1010 offset += rank * (256 * 1024 * 1024); in get_addr()
1023 uint8_t rank, bool rcvn) in sample_dqs() argument
1036 uint32_t address = get_addr(channel, rank); in sample_dqs()
1090 uint8_t channel, uint8_t rank, bool rcvn) in find_rising_edge() argument
1114 set_rcvn(channel, rank, bl, in find_rising_edge()
1117 set_wdqs(channel, rank, bl, in find_rising_edge()
1124 channel, rank, rcvn); in find_rising_edge()
1128 rcvn ? "RCVN" : "WDQS", channel, rank, sample, in find_rising_edge()
1187 set_rcvn(channel, rank, bl, delay[bl]); in find_rising_edge()
1189 set_wdqs(channel, rank, bl, delay[bl]); in find_rising_edge()
1199 temp = sample_dqs(mrc_params, channel, rank, rcvn); in find_rising_edge()
1212 set_rcvn(channel, rank, in find_rising_edge()
1215 set_wdqs(channel, rank, in find_rising_edge()
1229 set_rcvn(channel, rank, in find_rising_edge()
1232 set_wdqs(channel, rank, in find_rising_edge()
1241 dram_init_command(DCMD_PREA(rank)); in find_rising_edge()
1377 static void print_timings_internal(uint8_t algo, uint8_t channel, uint8_t rank, in print_timings_internal() argument
1384 DPF(D_INFO, "\nRCVN[%02d:%02d]", channel, rank); in print_timings_internal()
1387 DPF(D_INFO, "\nWDQS[%02d:%02d]", channel, rank); in print_timings_internal()
1390 DPF(D_INFO, "\nWDQx[%02d:%02d]", channel, rank); in print_timings_internal()
1393 DPF(D_INFO, "\nRDQS[%02d:%02d]", channel, rank); in print_timings_internal()
1396 DPF(D_INFO, "\nVREF[%02d:%02d]", channel, rank); in print_timings_internal()
1399 DPF(D_INFO, "\nWCMD[%02d:%02d]", channel, rank); in print_timings_internal()
1402 DPF(D_INFO, "\nWCTL[%02d:%02d]", channel, rank); in print_timings_internal()
1405 DPF(D_INFO, "\nWCLK[%02d:%02d]", channel, rank); in print_timings_internal()
1414 DPF(D_INFO, " %03d", get_rcvn(channel, rank, bl)); in print_timings_internal()
1417 DPF(D_INFO, " %03d", get_wdqs(channel, rank, bl)); in print_timings_internal()
1420 DPF(D_INFO, " %03d", get_wdq(channel, rank, bl)); in print_timings_internal()
1423 DPF(D_INFO, " %03d", get_rdqs(channel, rank, bl)); in print_timings_internal()
1432 DPF(D_INFO, " %03d", get_wctl(channel, rank)); in print_timings_internal()
1435 DPF(D_INFO, " %03d", get_wclk(channel, rank)); in print_timings_internal()
1447 uint8_t rank; in print_timings() local
1457 for (rank = 0; rank < NUM_RANKS; rank++) { in print_timings()
1459 (1 << rank)) { in print_timings()
1461 channel, rank, in print_timings()