Lines Matching refs:a

267 	fixed20_12 a, b, c;  in rs690_crtc_bandwidth_compute()  local
286 a.full = dfixed_const(100); in rs690_crtc_bandwidth_compute()
288 sclk.full = dfixed_div(sclk, a); in rs690_crtc_bandwidth_compute()
291 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
292 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in rs690_crtc_bandwidth_compute()
301 a.full = dfixed_div(b, c); in rs690_crtc_bandwidth_compute()
302 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute()
304 if (a.full < dfixed_const(4)) { in rs690_crtc_bandwidth_compute()
316 a.full = dfixed_const(mode->clock); in rs690_crtc_bandwidth_compute()
318 a.full = dfixed_div(a, b); in rs690_crtc_bandwidth_compute()
319 pclk.full = dfixed_div(b, a); in rs690_crtc_bandwidth_compute()
331 a.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
332 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rs690_crtc_bandwidth_compute()
340 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
341 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute()
348 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
351 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
360 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
361 b.full = dfixed_div(rdev->pm.igp_sideport_mclk, a); in rs690_crtc_bandwidth_compute()
363 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute()
375 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
376 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute()
377 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
378 sclk.full = dfixed_div(a, sclk); in rs690_crtc_bandwidth_compute()
384 a.full = dfixed_const(256 * 13); in rs690_crtc_bandwidth_compute()
385 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute()
386 a.full = dfixed_const(10); in rs690_crtc_bandwidth_compute()
387 chunk_time.full = dfixed_div(chunk_time, a); in rs690_crtc_bandwidth_compute()
398 a.full = dfixed_const(3); in rs690_crtc_bandwidth_compute()
399 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
402 a.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
403 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
431 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
433 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rs690_crtc_bandwidth_compute()
442 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
443 wm->priority_mark.full = dfixed_div(estimated_width, a); in rs690_crtc_bandwidth_compute()
458 fixed20_12 a, b; in rs690_compute_mode_priority() local
465 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
467 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
472 a.full += b.full; in rs690_compute_mode_priority()
473 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
477 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
479 a.full = a.full + b.full; in rs690_compute_mode_priority()
481 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
483 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
486 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
491 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
493 a.full = a.full + b.full; in rs690_compute_mode_priority()
495 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
497 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
500 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
518 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
520 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
521 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
525 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
527 a.full = a.full + b.full; in rs690_compute_mode_priority()
529 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
531 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
534 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
545 a.full = dfixed_mul(wm1->dbpp, wm1->num_line_pair); in rs690_compute_mode_priority()
547 a.full = wm1->num_line_pair.full; in rs690_compute_mode_priority()
548 fill_rate.full = dfixed_div(wm1->sclk, a); in rs690_compute_mode_priority()
552 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
554 a.full = a.full + b.full; in rs690_compute_mode_priority()
556 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
558 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
561 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()