Lines Matching full:pix
374 u32 pix; in drm_fb_xrgb8888_to_rgb332_line() local
377 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_rgb332_line()
378 dbuf8[x] = ((pix & 0x00e00000) >> 16) | in drm_fb_xrgb8888_to_rgb332_line()
379 ((pix & 0x0000e000) >> 11) | in drm_fb_xrgb8888_to_rgb332_line()
380 ((pix & 0x000000c0) >> 6); in drm_fb_xrgb8888_to_rgb332_line()
424 u32 pix; in drm_fb_xrgb8888_to_rgb565_line() local
427 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_rgb565_line()
428 val16 = ((pix & 0x00F80000) >> 8) | in drm_fb_xrgb8888_to_rgb565_line()
429 ((pix & 0x0000FC00) >> 5) | in drm_fb_xrgb8888_to_rgb565_line()
430 ((pix & 0x000000F8) >> 3); in drm_fb_xrgb8888_to_rgb565_line()
443 u32 pix; in drm_fb_xrgb8888_to_rgb565_swab_line() local
446 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_rgb565_swab_line()
447 val16 = ((pix & 0x00F80000) >> 8) | in drm_fb_xrgb8888_to_rgb565_swab_line()
448 ((pix & 0x0000FC00) >> 5) | in drm_fb_xrgb8888_to_rgb565_swab_line()
449 ((pix & 0x000000F8) >> 3); in drm_fb_xrgb8888_to_rgb565_swab_line()
502 u32 pix; in drm_fb_xrgb8888_to_xrgb1555_line() local
505 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_xrgb1555_line()
506 val16 = ((pix & 0x00f80000) >> 9) | in drm_fb_xrgb8888_to_xrgb1555_line()
507 ((pix & 0x0000f800) >> 6) | in drm_fb_xrgb8888_to_xrgb1555_line()
508 ((pix & 0x000000f8) >> 3); in drm_fb_xrgb8888_to_xrgb1555_line()
554 u32 pix; in drm_fb_xrgb8888_to_argb1555_line() local
557 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_argb1555_line()
559 ((pix & 0x00f80000) >> 9) | in drm_fb_xrgb8888_to_argb1555_line()
560 ((pix & 0x0000f800) >> 6) | in drm_fb_xrgb8888_to_argb1555_line()
561 ((pix & 0x000000f8) >> 3); in drm_fb_xrgb8888_to_argb1555_line()
607 u32 pix; in drm_fb_xrgb8888_to_rgba5551_line() local
610 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_rgba5551_line()
611 val16 = ((pix & 0x00f80000) >> 8) | in drm_fb_xrgb8888_to_rgba5551_line()
612 ((pix & 0x0000f800) >> 5) | in drm_fb_xrgb8888_to_rgba5551_line()
613 ((pix & 0x000000f8) >> 2) | in drm_fb_xrgb8888_to_rgba5551_line()
659 u32 pix; in drm_fb_xrgb8888_to_rgb888_line() local
662 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_rgb888_line()
664 *dbuf8++ = (pix & 0x000000FF) >> 0; in drm_fb_xrgb8888_to_rgb888_line()
665 *dbuf8++ = (pix & 0x0000FF00) >> 8; in drm_fb_xrgb8888_to_rgb888_line()
666 *dbuf8++ = (pix & 0x00FF0000) >> 16; in drm_fb_xrgb8888_to_rgb888_line()
710 u32 pix; in drm_fb_xrgb8888_to_argb8888_line() local
713 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_argb8888_line()
714 pix |= GENMASK(31, 24); /* fill alpha bits */ in drm_fb_xrgb8888_to_argb8888_line()
715 dbuf32[x] = cpu_to_le32(pix); in drm_fb_xrgb8888_to_argb8888_line()
759 u32 pix; in drm_fb_xrgb8888_to_abgr8888_line() local
762 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_abgr8888_line()
763 pix = ((pix & 0x00ff0000) >> 16) << 0 | in drm_fb_xrgb8888_to_abgr8888_line()
764 ((pix & 0x0000ff00) >> 8) << 8 | in drm_fb_xrgb8888_to_abgr8888_line()
765 ((pix & 0x000000ff) >> 0) << 16 | in drm_fb_xrgb8888_to_abgr8888_line()
767 *dbuf32++ = cpu_to_le32(pix); in drm_fb_xrgb8888_to_abgr8888_line()
790 u32 pix; in drm_fb_xrgb8888_to_xbgr8888_line() local
793 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_xbgr8888_line()
794 pix = ((pix & 0x00ff0000) >> 16) << 0 | in drm_fb_xrgb8888_to_xbgr8888_line()
795 ((pix & 0x0000ff00) >> 8) << 8 | in drm_fb_xrgb8888_to_xbgr8888_line()
796 ((pix & 0x000000ff) >> 0) << 16 | in drm_fb_xrgb8888_to_xbgr8888_line()
797 ((pix & 0xff000000) >> 24) << 24; in drm_fb_xrgb8888_to_xbgr8888_line()
798 *dbuf32++ = cpu_to_le32(pix); in drm_fb_xrgb8888_to_xbgr8888_line()
822 u32 pix; in drm_fb_xrgb8888_to_xrgb2101010_line() local
825 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_xrgb2101010_line()
826 val32 = ((pix & 0x000000FF) << 2) | in drm_fb_xrgb8888_to_xrgb2101010_line()
827 ((pix & 0x0000FF00) << 4) | in drm_fb_xrgb8888_to_xrgb2101010_line()
828 ((pix & 0x00FF0000) << 6); in drm_fb_xrgb8888_to_xrgb2101010_line()
829 pix = val32 | ((val32 >> 8) & 0x00300C03); in drm_fb_xrgb8888_to_xrgb2101010_line()
830 *dbuf32++ = cpu_to_le32(pix); in drm_fb_xrgb8888_to_xrgb2101010_line()
876 u32 pix; in drm_fb_xrgb8888_to_argb2101010_line() local
879 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_argb2101010_line()
880 val32 = ((pix & 0x000000ff) << 2) | in drm_fb_xrgb8888_to_argb2101010_line()
881 ((pix & 0x0000ff00) << 4) | in drm_fb_xrgb8888_to_argb2101010_line()
882 ((pix & 0x00ff0000) << 6); in drm_fb_xrgb8888_to_argb2101010_line()
883 pix = GENMASK(31, 30) | /* set alpha bits */ in drm_fb_xrgb8888_to_argb2101010_line()
885 *dbuf32++ = cpu_to_le32(pix); in drm_fb_xrgb8888_to_argb2101010_line()
932 u32 pix = le32_to_cpu(sbuf32[x]); in drm_fb_xrgb8888_to_gray8_line() local
933 u8 r = (pix & 0x00ff0000) >> 16; in drm_fb_xrgb8888_to_gray8_line()
934 u8 g = (pix & 0x0000ff00) >> 8; in drm_fb_xrgb8888_to_gray8_line()
935 u8 b = pix & 0x000000ff; in drm_fb_xrgb8888_to_gray8_line()