Lines Matching refs:dst_pitch

45 static int __drm_fb_xfrm(void *dst, unsigned long dst_pitch, unsigned long dst_pixsize,
68 if (!dst_pitch)
69 dst_pitch = drm_rect_width(clip) * dst_pixsize;
79 dst += dst_pitch;
88 static int __drm_fb_xfrm_toio(void __iomem *dst, unsigned long dst_pitch, unsigned long dst_pixsize,
112 if (!dst_pitch)
113 dst_pitch = linepixels * dst_pixsize;
124 dst += dst_pitch;
134 const unsigned int *dst_pitch, const u8 *dst_pixsize,
143 if (!dst_pitch)
144 dst_pitch = default_dst_pitch;
148 return __drm_fb_xfrm_toio(dst[0].vaddr_iomem, dst_pitch[0], dst_pixsize[0],
151 return __drm_fb_xfrm(dst[0].vaddr, dst_pitch[0], dst_pixsize[0],
158 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
166 * @dst_pitch and @src refer to arrays. Each array must have at least as many entries
173 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch,
184 if (!dst_pitch)
185 dst_pitch = default_dst_pitch;
191 unsigned int dst_pitch_i = dst_pitch[i];
232 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
241 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
250 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch,
271 drm_fb_xfrm(dst, dst_pitch, &cpp, src, fb, clip, cached, swab_line);
293 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
301 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
310 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch,
318 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
362 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
371 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
380 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch,
395 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, xfrm_line);
419 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
426 * the color format during the process. The parameters @dst, @dst_pitch and
437 void drm_fb_xrgb8888_to_xrgb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
445 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
471 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
478 * the color format during the process. The parameters @dst, @dst_pitch and
489 void drm_fb_xrgb8888_to_argb1555(struct iosys_map *dst, const unsigned int *dst_pitch,
497 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
523 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
530 * the color format during the process. The parameters @dst, @dst_pitch and
541 void drm_fb_xrgb8888_to_rgba5551(struct iosys_map *dst, const unsigned int *dst_pitch,
549 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
573 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
581 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
591 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch,
599 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
621 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
628 * color format during the process. The parameters @dst, @dst_pitch and @src refer
639 void drm_fb_xrgb8888_to_argb8888(struct iosys_map *dst, const unsigned int *dst_pitch,
647 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
669 static void drm_fb_xrgb8888_to_abgr8888(struct iosys_map *dst, const unsigned int *dst_pitch,
678 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
699 static void drm_fb_xrgb8888_to_xbgr8888(struct iosys_map *dst, const unsigned int *dst_pitch,
708 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
733 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
741 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
751 void drm_fb_xrgb8888_to_xrgb2101010(struct iosys_map *dst, const unsigned int *dst_pitch,
759 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
786 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
793 * the color format during the process. The parameters @dst, @dst_pitch and
804 void drm_fb_xrgb8888_to_argb2101010(struct iosys_map *dst, const unsigned int *dst_pitch,
812 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
837 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
845 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
859 void drm_fb_xrgb8888_to_gray8(struct iosys_map *dst, const unsigned int *dst_pitch,
867 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false,
875 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
885 * @dst_pitch and @src refer to arrays. Each array must have at least as many
897 int drm_fb_blit(struct iosys_map *dst, const unsigned int *dst_pitch, uint32_t dst_format,
904 drm_fb_memcpy(dst, dst_pitch, src, fb, clip);
907 drm_fb_swab(dst, dst_pitch, src, fb, clip, false);
910 drm_fb_swab(dst, dst_pitch, src, fb, clip, false);
914 drm_fb_xrgb8888_to_rgb565(dst, dst_pitch, src, fb, clip, false);
917 drm_fb_xrgb8888_to_xrgb1555(dst, dst_pitch, src, fb, clip);
920 drm_fb_xrgb8888_to_argb1555(dst, dst_pitch, src, fb, clip);
923 drm_fb_xrgb8888_to_rgba5551(dst, dst_pitch, src, fb, clip);
926 drm_fb_xrgb8888_to_rgb888(dst, dst_pitch, src, fb, clip);
929 drm_fb_xrgb8888_to_argb8888(dst, dst_pitch, src, fb, clip);
932 drm_fb_xrgb8888_to_xbgr8888(dst, dst_pitch, src, fb, clip);
935 drm_fb_xrgb8888_to_abgr8888(dst, dst_pitch, src, fb, clip);
938 drm_fb_xrgb8888_to_xrgb2101010(dst, dst_pitch, src, fb, clip);
941 drm_fb_xrgb8888_to_argb2101010(dst, dst_pitch, src, fb, clip);
944 drm_fb_swab(dst, dst_pitch, src, fb, clip, false);
976 * @dst_pitch: Array of numbers of bytes between the start of two consecutive scanlines
984 * parameters @dst, @dst_pitch and @src refer to arrays. Each array must have at
1003 void drm_fb_xrgb8888_to_mono(struct iosys_map *dst, const unsigned int *dst_pitch,
1024 if (!dst_pitch)
1025 dst_pitch = default_dst_pitch;
1026 dst_pitch_0 = dst_pitch[0];