Lines Matching defs:crtc_h
95 uint32_t crtc_w, uint32_t crtc_h)
97 if (crtc_w < (src_w >> shift) || crtc_h < (src_h >> shift)) {
99 src_w, src_h, crtc_w, crtc_h);
115 unsigned int crtc_w, unsigned int crtc_h,
140 ret = verify_scaling(fb, shift, 0, 0, src_w, src_h, crtc_w, crtc_h);
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h);
161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w);
366 unsigned int crtc_w, unsigned int crtc_h,
386 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h);
409 nvif_wr32(dev, NV_PVIDEO_WINDOW_SIZE, crtc_h << 16 | crtc_w);
411 (uint32_t)(((src_h - 1) << 11) / (crtc_h - 1)) << 16 | (uint32_t)(((src_w - 1) << 11) / (crtc_w - 1)));