Lines Matching refs:dst_pitch

45 static int __drm_fb_xfrm(void *dst, unsigned long dst_pitch, unsigned long dst_pixsize,  in __drm_fb_xfrm()  argument
68 if (!dst_pitch) in __drm_fb_xfrm()
69 dst_pitch = drm_rect_width(clip) * dst_pixsize; in __drm_fb_xfrm()
79 dst += dst_pitch; in __drm_fb_xfrm()
88 static int __drm_fb_xfrm_toio(void __iomem *dst, unsigned long dst_pitch, unsigned long dst_pixsize, in __drm_fb_xfrm_toio() argument
112 if (!dst_pitch) in __drm_fb_xfrm_toio()
113 dst_pitch = linepixels * dst_pixsize; in __drm_fb_xfrm_toio()
124 dst += dst_pitch; in __drm_fb_xfrm_toio()
134 const unsigned int *dst_pitch, const u8 *dst_pixsize, in drm_fb_xfrm() argument
143 if (!dst_pitch) in drm_fb_xfrm()
144 dst_pitch = default_dst_pitch; in drm_fb_xfrm()
148 return __drm_fb_xfrm_toio(dst[0].vaddr_iomem, dst_pitch[0], dst_pixsize[0], in drm_fb_xfrm()
151 return __drm_fb_xfrm(dst[0].vaddr, dst_pitch[0], dst_pixsize[0], in drm_fb_xfrm()
173 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_memcpy() argument
184 if (!dst_pitch) in drm_fb_memcpy()
185 dst_pitch = default_dst_pitch; in drm_fb_memcpy()
191 unsigned int dst_pitch_i = dst_pitch[i]; in drm_fb_memcpy()
250 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_swab() argument
271 drm_fb_xfrm(dst, dst_pitch, &cpp, src, fb, clip, cached, swab_line); in drm_fb_swab()
310 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgb332() argument
318 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_rgb332()
380 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgb565() argument
395 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, xfrm_line); in drm_fb_xrgb8888_to_rgb565()
437 void drm_fb_xrgb8888_to_xrgb1555(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_xrgb1555() argument
445 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_xrgb1555()
489 void drm_fb_xrgb8888_to_argb1555(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_argb1555() argument
497 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_argb1555()
541 void drm_fb_xrgb8888_to_rgba5551(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgba5551() argument
549 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_rgba5551()
591 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgb888() argument
599 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_rgb888()
639 void drm_fb_xrgb8888_to_argb8888(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_argb8888() argument
647 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_argb8888()
669 static void drm_fb_xrgb8888_to_abgr8888(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_abgr8888() argument
678 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_abgr8888()
699 static void drm_fb_xrgb8888_to_xbgr8888(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_xbgr8888() argument
708 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_xbgr8888()
751 void drm_fb_xrgb8888_to_xrgb2101010(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_xrgb2101010() argument
759 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_xrgb2101010()
804 void drm_fb_xrgb8888_to_argb2101010(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_argb2101010() argument
812 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_argb2101010()
859 void drm_fb_xrgb8888_to_gray8(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_gray8() argument
867 drm_fb_xfrm(dst, dst_pitch, dst_pixsize, src, fb, clip, false, in drm_fb_xrgb8888_to_gray8()
897 int drm_fb_blit(struct iosys_map *dst, const unsigned int *dst_pitch, uint32_t dst_format, in drm_fb_blit() argument
904 drm_fb_memcpy(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
907 drm_fb_swab(dst, dst_pitch, src, fb, clip, false); in drm_fb_blit()
910 drm_fb_swab(dst, dst_pitch, src, fb, clip, false); in drm_fb_blit()
914 drm_fb_xrgb8888_to_rgb565(dst, dst_pitch, src, fb, clip, false); in drm_fb_blit()
917 drm_fb_xrgb8888_to_xrgb1555(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
920 drm_fb_xrgb8888_to_argb1555(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
923 drm_fb_xrgb8888_to_rgba5551(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
926 drm_fb_xrgb8888_to_rgb888(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
929 drm_fb_xrgb8888_to_argb8888(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
932 drm_fb_xrgb8888_to_xbgr8888(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
935 drm_fb_xrgb8888_to_abgr8888(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
938 drm_fb_xrgb8888_to_xrgb2101010(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
941 drm_fb_xrgb8888_to_argb2101010(dst, dst_pitch, src, fb, clip); in drm_fb_blit()
944 drm_fb_swab(dst, dst_pitch, src, fb, clip, false); in drm_fb_blit()
1003 void drm_fb_xrgb8888_to_mono(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_mono() argument
1024 if (!dst_pitch) in drm_fb_xrgb8888_to_mono()
1025 dst_pitch = default_dst_pitch; in drm_fb_xrgb8888_to_mono()
1026 dst_pitch_0 = dst_pitch[0]; in drm_fb_xrgb8888_to_mono()