Lines Matching refs:sprctl
52 u32 sprctl;
56 sprctl = I915_READ(SPCNTR(pipe, plane));
59 sprctl &= ~SP_PIXFORMAT_MASK;
60 sprctl &= ~SP_YUV_BYTE_ORDER_MASK;
61 sprctl &= ~SP_TILED;
65 sprctl |= SP_FORMAT_YUV422 | SP_YUV_ORDER_YUYV;
68 sprctl |= SP_FORMAT_YUV422 | SP_YUV_ORDER_YVYU;
71 sprctl |= SP_FORMAT_YUV422 | SP_YUV_ORDER_UYVY;
74 sprctl |= SP_FORMAT_YUV422 | SP_YUV_ORDER_VYUY;
77 sprctl |= SP_FORMAT_BGR565;
80 sprctl |= SP_FORMAT_BGRX8888;
83 sprctl |= SP_FORMAT_BGRA8888;
86 sprctl |= SP_FORMAT_RGBX1010102;
89 sprctl |= SP_FORMAT_RGBA1010102;
92 sprctl |= SP_FORMAT_RGBX8888;
95 sprctl |= SP_FORMAT_RGBA8888;
107 sprctl |= SP_TILED;
109 sprctl |= SP_ENABLE;
135 I915_WRITE(SPCNTR(pipe, plane), sprctl);
166 u32 sprctl;
175 sprctl = I915_READ(SPCNTR(pipe, plane));
176 sprctl &= ~SP_SOURCE_KEY;
178 sprctl |= SP_SOURCE_KEY;
179 I915_WRITE(SPCNTR(pipe, plane), sprctl);
195 u32 sprctl;
201 sprctl = I915_READ(SPCNTR(pipe, plane));
202 if (sprctl & SP_SOURCE_KEY)
219 u32 sprctl, sprscale = 0;
224 sprctl = I915_READ(SPRCTL(pipe));
227 sprctl &= ~SPRITE_PIXFORMAT_MASK;
228 sprctl &= ~SPRITE_RGB_ORDER_RGBX;
229 sprctl &= ~SPRITE_YUV_BYTE_ORDER_MASK;
230 sprctl &= ~SPRITE_TILED;
234 sprctl |= SPRITE_FORMAT_RGBX888 | SPRITE_RGB_ORDER_RGBX;
237 sprctl |= SPRITE_FORMAT_RGBX888;
240 sprctl |= SPRITE_FORMAT_YUV422 | SPRITE_YUV_ORDER_YUYV;
243 sprctl |= SPRITE_FORMAT_YUV422 | SPRITE_YUV_ORDER_YVYU;
246 sprctl |= SPRITE_FORMAT_YUV422 | SPRITE_YUV_ORDER_UYVY;
249 sprctl |= SPRITE_FORMAT_YUV422 | SPRITE_YUV_ORDER_VYUY;
256 sprctl |= SPRITE_TILED;
259 sprctl |= SPRITE_TRICKLE_FEED_DISABLE;
260 sprctl |= SPRITE_ENABLE;
263 sprctl |= SPRITE_PIPE_CSC_ENABLE;
310 I915_WRITE(SPRCTL(pipe), sprctl);
352 u32 sprctl;
361 sprctl = I915_READ(SPRCTL(intel_plane->pipe));
362 sprctl &= ~(SPRITE_SOURCE_KEY | SPRITE_DEST_KEY);
364 sprctl |= SPRITE_DEST_KEY;
366 sprctl |= SPRITE_SOURCE_KEY;
367 I915_WRITE(SPRCTL(intel_plane->pipe), sprctl);
380 u32 sprctl;
389 sprctl = I915_READ(SPRCTL(intel_plane->pipe));
391 if (sprctl & SPRITE_DEST_KEY)
393 else if (sprctl & SPRITE_SOURCE_KEY)