Lines Matching refs:a

278 	fixed20_12 a, b, c;  in rs690_crtc_bandwidth_compute()  local
297 a.full = dfixed_const(100); in rs690_crtc_bandwidth_compute()
299 sclk.full = dfixed_div(sclk, a); in rs690_crtc_bandwidth_compute()
302 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
303 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in rs690_crtc_bandwidth_compute()
312 a.full = dfixed_div(b, c); in rs690_crtc_bandwidth_compute()
313 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute()
315 if (a.full < dfixed_const(4)) { in rs690_crtc_bandwidth_compute()
327 a.full = dfixed_const(mode->clock); in rs690_crtc_bandwidth_compute()
329 a.full = dfixed_div(a, b); in rs690_crtc_bandwidth_compute()
330 pclk.full = dfixed_div(b, a); in rs690_crtc_bandwidth_compute()
342 a.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
343 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rs690_crtc_bandwidth_compute()
351 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
352 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute()
359 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
362 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
371 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
372 b.full = dfixed_div(rdev->pm.igp_sideport_mclk, a); in rs690_crtc_bandwidth_compute()
374 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute()
386 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
387 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute()
388 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
389 sclk.full = dfixed_div(a, sclk); in rs690_crtc_bandwidth_compute()
395 a.full = dfixed_const(256 * 13); in rs690_crtc_bandwidth_compute()
396 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute()
397 a.full = dfixed_const(10); in rs690_crtc_bandwidth_compute()
398 chunk_time.full = dfixed_div(chunk_time, a); in rs690_crtc_bandwidth_compute()
409 a.full = dfixed_const(3); in rs690_crtc_bandwidth_compute()
410 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
413 a.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
414 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
442 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
444 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rs690_crtc_bandwidth_compute()
453 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
454 wm->priority_mark.full = dfixed_div(estimated_width, a); in rs690_crtc_bandwidth_compute()
469 fixed20_12 a, b; in rs690_compute_mode_priority() local
476 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
478 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
483 a.full += b.full; in rs690_compute_mode_priority()
484 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
488 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
490 a.full = a.full + b.full; in rs690_compute_mode_priority()
492 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
494 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
497 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
502 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
504 a.full = a.full + b.full; in rs690_compute_mode_priority()
506 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
508 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
511 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
529 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
531 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
532 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
536 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
538 a.full = a.full + b.full; in rs690_compute_mode_priority()
540 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
542 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
545 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
556 a.full = dfixed_mul(wm1->dbpp, wm1->num_line_pair); in rs690_compute_mode_priority()
558 a.full = wm1->num_line_pair.full; in rs690_compute_mode_priority()
559 fill_rate.full = dfixed_div(wm1->sclk, a); in rs690_compute_mode_priority()
563 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
565 a.full = a.full + b.full; in rs690_compute_mode_priority()
567 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
569 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
572 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()