Lines Matching defs:wm

233 				  struct rs690_watermark *wm)
242 wm->lb_request_fifo_depth = 4;
247 wm->num_line_pair.full = dfixed_const(2);
249 wm->num_line_pair.full = dfixed_const(1);
254 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair);
257 wm->lb_request_fifo_depth = 4;
259 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth);
284 wm->consumption_rate.full = dfixed_div(a, consumption_time);
302 wm->active_time.full = dfixed_mul(line_time, b);
303 wm->active_time.full = dfixed_div(wm->active_time, a);
349 if (dfixed_trunc(wm->num_line_pair) > 1) {
351 wm->worst_case_latency.full = dfixed_mul(a, chunk_time);
352 wm->worst_case_latency.full += read_delay_latency.full;
355 wm->worst_case_latency.full = dfixed_mul(a, chunk_time);
356 wm->worst_case_latency.full += read_delay_latency.full;
369 if ((2+wm->lb_request_fifo_depth) >= dfixed_trunc(request_fifo_depth)) {
372 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2);
378 wm->dbpp.full = dfixed_const(4 * 8);
384 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
385 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a);
386 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max);
389 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full;
392 wm->priority_mark.full = dfixed_const(10);
395 wm->priority_mark.full = dfixed_div(estimated_width, a);
396 wm->priority_mark.full = dfixed_ceil(wm->priority_mark);
397 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full;