Lines Matching refs:a

277 	fixed20_12 a, b, c;  in rs690_crtc_bandwidth_compute()  local
296 a.full = dfixed_const(100); in rs690_crtc_bandwidth_compute()
298 sclk.full = dfixed_div(sclk, a); in rs690_crtc_bandwidth_compute()
301 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
302 core_bandwidth.full = dfixed_div(rdev->pm.sclk, a); in rs690_crtc_bandwidth_compute()
311 a.full = dfixed_div(b, c); in rs690_crtc_bandwidth_compute()
312 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rs690_crtc_bandwidth_compute()
314 if (a.full < dfixed_const(4)) { in rs690_crtc_bandwidth_compute()
326 a.full = dfixed_const(mode->clock); in rs690_crtc_bandwidth_compute()
328 a.full = dfixed_div(a, b); in rs690_crtc_bandwidth_compute()
329 pclk.full = dfixed_div(b, a); in rs690_crtc_bandwidth_compute()
341 a.full = dfixed_const(1); in rs690_crtc_bandwidth_compute()
342 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rs690_crtc_bandwidth_compute()
350 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
351 line_time.full = dfixed_mul(a, pclk); in rs690_crtc_bandwidth_compute()
358 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
361 wm->active_time.full = dfixed_div(wm->active_time, a); in rs690_crtc_bandwidth_compute()
370 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
371 b.full = dfixed_div(rdev->pm.igp_sideport_mclk, a); in rs690_crtc_bandwidth_compute()
373 read_delay_latency.full = dfixed_mul(read_delay_latency, a); in rs690_crtc_bandwidth_compute()
385 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
386 sclk.full = dfixed_mul(max_bandwidth, a); in rs690_crtc_bandwidth_compute()
387 a.full = dfixed_const(1000); in rs690_crtc_bandwidth_compute()
388 sclk.full = dfixed_div(a, sclk); in rs690_crtc_bandwidth_compute()
394 a.full = dfixed_const(256 * 13); in rs690_crtc_bandwidth_compute()
395 chunk_time.full = dfixed_mul(sclk, a); in rs690_crtc_bandwidth_compute()
396 a.full = dfixed_const(10); in rs690_crtc_bandwidth_compute()
397 chunk_time.full = dfixed_div(chunk_time, a); in rs690_crtc_bandwidth_compute()
408 a.full = dfixed_const(3); in rs690_crtc_bandwidth_compute()
409 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
412 a.full = dfixed_const(2); in rs690_crtc_bandwidth_compute()
413 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rs690_crtc_bandwidth_compute()
441 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
443 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rs690_crtc_bandwidth_compute()
452 a.full = dfixed_const(16); in rs690_crtc_bandwidth_compute()
453 wm->priority_mark.full = dfixed_div(estimated_width, a); in rs690_crtc_bandwidth_compute()
468 fixed20_12 a, b; in rs690_compute_mode_priority() local
475 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
477 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
482 a.full += b.full; in rs690_compute_mode_priority()
483 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
487 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
489 a.full = a.full + b.full; in rs690_compute_mode_priority()
491 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
493 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
496 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
501 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
503 a.full = a.full + b.full; in rs690_compute_mode_priority()
505 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
507 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
510 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
528 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority()
530 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority()
531 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority()
535 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
537 a.full = a.full + b.full; in rs690_compute_mode_priority()
539 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
541 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority()
544 priority_mark02.full = dfixed_div(a, b); in rs690_compute_mode_priority()
555 a.full = dfixed_mul(wm1->dbpp, wm1->num_line_pair); in rs690_compute_mode_priority()
557 a.full = wm1->num_line_pair.full; in rs690_compute_mode_priority()
558 fill_rate.full = dfixed_div(wm1->sclk, a); in rs690_compute_mode_priority()
562 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
564 a.full = a.full + b.full; in rs690_compute_mode_priority()
566 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()
568 a.full = dfixed_mul(wm1->worst_case_latency, in rs690_compute_mode_priority()
571 priority_mark12.full = dfixed_div(a, b); in rs690_compute_mode_priority()