Lines Matching refs:bus_id

57 	u8 bus_id;  in ddr3_tip_centralization()  local
105 for (bus_id = 0; in ddr3_tip_centralization()
106 bus_id < octets_per_if_num; bus_id++) { in ddr3_tip_centralization()
107 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, bus_id); in ddr3_tip_centralization()
108 centralization_state[if_id][bus_id] = 0; in ddr3_tip_centralization()
109 bus_end_window[mode][if_id][bus_id] = in ddr3_tip_centralization()
111 bus_start_window[mode][if_id][bus_id] = 0; in ddr3_tip_centralization()
112 centralization_result[if_id][bus_id] = 0; in ddr3_tip_centralization()
134 for (bus_id = 0; in ddr3_tip_centralization()
135 bus_id <= octets_per_if_num - 1; in ddr3_tip_centralization()
136 bus_id++) { in ddr3_tip_centralization()
137 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, bus_id); in ddr3_tip_centralization()
145 ACCESS_TYPE_UNICAST, bus_id, in ddr3_tip_centralization()
158 pattern_id, if_id, bus_id, in ddr3_tip_centralization()
190 if_id, bus_id, in ddr3_tip_centralization()
204 pattern_id, if_id, bus_id)); in ddr3_tip_centralization()
210 pattern_id, if_id, bus_id)); in ddr3_tip_centralization()
211 if (centralization_state[if_id][bus_id] in ddr3_tip_centralization()
217 if_id, bus_id)); in ddr3_tip_centralization()
237 if_id, bus_id, in ddr3_tip_centralization()
243 [if_id][bus_id] = 1; in ddr3_tip_centralization()
247 if_id, bus_id, in ddr3_tip_centralization()
252 if (centralization_state[if_id][bus_id] in ddr3_tip_centralization()
262 final_pup_window[if_id][bus_id] = in ddr3_tip_centralization()
268 final_pup_window[if_id][bus_id]; in ddr3_tip_centralization()
285 bus_end_window[mode][if_id][bus_id] = in ddr3_tip_centralization()
287 [bus_id], in ddr3_tip_centralization()
289 bus_start_window[mode][if_id][bus_id] = in ddr3_tip_centralization()
291 [bus_id], in ddr3_tip_centralization()
296 pattern_id, if_id, bus_id, opt_window, in ddr3_tip_centralization()
297 final_pup_window[if_id][bus_id], in ddr3_tip_centralization()
302 bus_start_window[mode][if_id][bus_id], in ddr3_tip_centralization()
303 bus_end_window[mode][if_id][bus_id])); in ddr3_tip_centralization()
309 [bus_id], in ddr3_tip_centralization()
311 [bus_id], in ddr3_tip_centralization()
315 [bus_id], in ddr3_tip_centralization()
317 [bus_id], in ddr3_tip_centralization()
323 bus_id)); in ddr3_tip_centralization()
329 pattern_id, if_id, bus_id, in ddr3_tip_centralization()
331 [if_id][bus_id], in ddr3_tip_centralization()
333 [if_id][bus_id])); in ddr3_tip_centralization()
335 [bus_id] = 1; in ddr3_tip_centralization()
352 for (bus_id = 0; in ddr3_tip_centralization()
353 bus_id <= (octets_per_if_num - 1); bus_id++) { in ddr3_tip_centralization()
354 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, bus_id); in ddr3_tip_centralization()
357 if (centralization_state[if_id][bus_id] != 1) { in ddr3_tip_centralization()
360 [mode][if_id][bus_id] == in ddr3_tip_centralization()
363 [mode][if_id][bus_id] - in ddr3_tip_centralization()
365 [bus_id]) < MIN_WINDOW_SIZE) && in ddr3_tip_centralization()
367 [bus_id] - bus_start_window in ddr3_tip_centralization()
368 [mode][if_id][bus_id]) > 2)) { in ddr3_tip_centralization()
372 [if_id][bus_id] = 2; in ddr3_tip_centralization()
375 if ((bus_end_window[mode][if_id][bus_id] in ddr3_tip_centralization()
378 [bus_id] - in ddr3_tip_centralization()
380 [bus_id]) < MIN_WINDOW_SIZE) && in ddr3_tip_centralization()
382 [bus_id] - in ddr3_tip_centralization()
384 [bus_id]) > 2)) in ddr3_tip_centralization()
387 [bus_id] = 3; in ddr3_tip_centralization()
390 if ((bus_end_window[mode][if_id][bus_id] > in ddr3_tip_centralization()
401 if (centralization_state[if_id][bus_id] == 3) { in ddr3_tip_centralization()
405 if_id, bus_id)); in ddr3_tip_centralization()
407 } else if (centralization_state[if_id][bus_id] == 2) { in ddr3_tip_centralization()
411 if_id, bus_id)); in ddr3_tip_centralization()
413 } else if (centralization_state[if_id][bus_id] == 0) { in ddr3_tip_centralization()
419 if_id, bus_id)); in ddr3_tip_centralization()
424 centralization_result[if_id][bus_id] = in ddr3_tip_centralization()
425 (bus_end_window[mode][if_id][bus_id] + in ddr3_tip_centralization()
426 bus_start_window[mode][if_id][bus_id]) in ddr3_tip_centralization()
430 (" bus_id %d Res= %d\n", bus_id, in ddr3_tip_centralization()
431 centralization_result[if_id][bus_id])); in ddr3_tip_centralization()
434 bus_end_window[mode][if_id][bus_id] - in ddr3_tip_centralization()
435 bus_start_window[mode][if_id][bus_id] + in ddr3_tip_centralization()
439 ACCESS_TYPE_UNICAST, bus_id, in ddr3_tip_centralization()
454 bus_id, DDR_PHY_DATA, in ddr3_tip_centralization()
464 bus_id, in ddr3_tip_centralization()
469 [bus_id])); in ddr3_tip_centralization()
698 u32 if_id = 0, bus_id = 0; in ddr3_tip_print_centralization_result() local
708 for (bus_id = 0; bus_id < octets_per_if_num; in ddr3_tip_print_centralization_result()
709 bus_id++) { in ddr3_tip_print_centralization_result()
710 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, bus_id); in ddr3_tip_print_centralization_result()
711 printf("%d ,\n", centralization_state[if_id][bus_id]); in ddr3_tip_print_centralization_result()