Lines Matching refs:wm0

459 					struct rs690_watermark *wm0,  in rs690_compute_mode_priority()  argument
473 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority()
474 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
476 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
482 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
483 if (wm0->consumption_rate.full > fill_rate.full) { in rs690_compute_mode_priority()
484 b.full = wm0->consumption_rate.full - fill_rate.full; in rs690_compute_mode_priority()
485 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
486 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
487 wm0->consumption_rate); in rs690_compute_mode_priority()
492 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
493 wm0->consumption_rate); in rs690_compute_mode_priority()
511 if (wm0->priority_mark.full > priority_mark02.full) in rs690_compute_mode_priority()
512 priority_mark02.full = wm0->priority_mark.full; in rs690_compute_mode_priority()
513 if (wm0->priority_mark_max.full > priority_mark02.full) in rs690_compute_mode_priority()
514 priority_mark02.full = wm0->priority_mark_max.full; in rs690_compute_mode_priority()
526 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority()
527 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
529 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
530 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
531 if (wm0->consumption_rate.full > fill_rate.full) { in rs690_compute_mode_priority()
532 b.full = wm0->consumption_rate.full - fill_rate.full; in rs690_compute_mode_priority()
533 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority()
534 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
535 wm0->consumption_rate); in rs690_compute_mode_priority()
540 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
541 wm0->consumption_rate); in rs690_compute_mode_priority()
545 if (wm0->priority_mark.full > priority_mark02.full) in rs690_compute_mode_priority()
546 priority_mark02.full = wm0->priority_mark.full; in rs690_compute_mode_priority()
547 if (wm0->priority_mark_max.full > priority_mark02.full) in rs690_compute_mode_priority()
548 priority_mark02.full = wm0->priority_mark_max.full; in rs690_compute_mode_priority()