Lines Matching defs:pup
138 * pup.
160 u32 pup = 0, if_id = 0, num_pup = 0, rep = 0;
182 for (pup = 0;
183 pup < octets_per_if_num; pup++) {
184 current_vref[pup][if_id] = 0;
185 last_vref[pup][if_id] = 0;
186 lim_vref[pup][if_id] = 0;
187 current_valid_window[pup][if_id] = 0;
188 last_valid_window[pup][if_id] = 0;
189 if (vref_window_size[if_id][pup] >
191 pup_st[pup][if_id] = VREF_CONVERGE;
194 ("VREF config, IF[ %d ]pup[ %d ] - Vref tune not requered (%d)\n",
195 if_id, pup, __LINE__));
197 pup_st[pup][if_id] = VREF_STEP_1;
200 ACCESS_TYPE_UNICAST, pup,
205 pup, DDR_PHY_DATA, reg_addr,
209 ("VREF config, IF[ %d ]pup[ %d ] - Vref = %X (%d)\n",
210 if_id, pup,
233 for (pup = 0;
234 pup < octets_per_if_num;
235 pup++) {
237 (tm->bus_act_mask, pup);
238 if (pup_st[pup]
243 current_valid_window[pup]
245 (current_valid_window[pup]
247 1000 * res[pup]) / rep;
259 for (pup = 0;
260 pup < octets_per_if_num; pup++) {
261 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, pup);
265 [pup][if_id]));
273 for (pup = 0;
274 pup < octets_per_if_num; pup++) {
275 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, pup);
277 ("I/F[ %d ], pup[ %d ] STATE #%d (%d)\n",
278 if_id, pup,
279 pup_st[pup]
282 if (pup_st[pup][if_id] == VREF_CONVERGE)
286 ("I/F[ %d ], pup[ %d ] CHECK progress - Current %d Last %d, limit VREF %d (%d)\n",
287 if_id, pup,
288 current_valid_window[pup]
290 last_valid_window[pup]
291 [if_id], lim_vref[pup]
298 if (current_valid_window[pup][if_id] + 200 >=
299 (last_valid_window[pup][if_id])) {
300 if (pup_st[pup][if_id] == VREF_STEP_1) {
306 if (current_vref[pup]
313 * define the pup as
318 pup_st[pup]
326 ("I/F[ %d ], pup[ %d ] VREF_CONVERGE - Vref = %X (%d)\n",
327 if_id, pup,
328 current_vref[pup]
333 current_vref[pup]
335 ((current_vref[pup]
340 : (current_vref[pup]
343 if (current_vref[pup]
346 pup_st[pup]
351 lim_vref[pup]
353 last_vref[pup]
355 current_vref[pup]
359 last_valid_window[pup]
362 [pup][if_id],
364 [pup]
369 current_vref[pup]
374 ACCESS_TYPE_UNICAST, pup,
382 ACCESS_TYPE_UNICAST, pup,
388 ("VREF config, IF[ %d ]pup[ %d ] - Vref = %X (%d)\n",
389 if_id, pup,
393 } else if (pup_st[pup][if_id]
399 last_valid_window[pup]
402 [pup][if_id],
404 [pup]
406 last_vref[pup][if_id] =
407 current_vref[pup]
411 if ((current_vref[pup]
412 [if_id] - second_step) == lim_vref[pup][if_id]) {
418 * define the pup as
423 pup_st[pup]
431 current_vref[pup]
433 (current_vref[pup]
439 ("I/F[ %d ], pup[ %d ] VREF_CONVERGE - Vref = %X (%d)\n",
440 if_id, pup,
441 current_vref[pup]
446 if (current_vref[pup]
448 lim_vref[pup]
455 * define the pup as
460 pup_st[pup]
469 ("I/F[ %d ], pup[ %d ] VREF_CONVERGE - Vref = %X (%d)\n",
470 if_id, pup,
471 current_vref[pup]
475 current_vref[pup]
477 current_vref[pup]
484 current_vref[pup]
489 ACCESS_TYPE_UNICAST, pup,
497 ACCESS_TYPE_UNICAST, pup,
503 ("VREF config, IF[ %d ]pup[ %d ] - Vref = %X (%d)\n",
504 if_id, pup,
511 if (pup_st[pup][if_id] == VREF_STEP_1) {
512 pup_st[pup][if_id] =
514 lim_vref[pup][if_id] =
515 current_vref[pup]
517 last_valid_window[pup]
519 current_valid_window[pup]
521 last_vref[pup][if_id] =
522 current_vref[pup]
524 current_vref[pup][if_id] =
525 last_vref[pup][if_id] -
532 ACCESS_TYPE_UNICAST, pup,
540 ACCESS_TYPE_UNICAST, pup,
543 vref_map[current_vref[pup]
547 ("VREF config, IF[ %d ]pup[ %d ] - Vref = %X (%d)\n",
548 if_id, pup,
550 vref_map[current_vref[pup]
554 } else if (pup_st[pup][if_id] == VREF_STEP_2) {
562 ACCESS_TYPE_UNICAST, pup,
570 ACCESS_TYPE_UNICAST, pup,
573 vref_map[last_vref[pup]
577 ("VREF config, IF[ %d ]pup[ %d ] - Vref = %X (%d)\n",
578 if_id, pup,
580 vref_map[last_vref[pup]
583 pup_st[pup][if_id] =
589 ("I/F[ %d ], pup[ %d ] VREF_CONVERGE - Vref = %X (%d)\n",
590 if_id, pup,
591 current_vref[pup]
601 for (pup = 0;
602 pup < octets_per_if_num; pup++) {
603 VALIDATE_BUS_ACTIVE(tm->bus_act_mask, pup);
606 ACCESS_TYPE_UNICAST, pup,
610 ("FINAL values: I/F[ %d ], pup[ %d ] - Vref = %X (%d)\n",
611 if_id, pup, val, __LINE__));
661 * all Pup