/drivers/video/fbdev/core/ |
H A D | sysfillrect.c | 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, argument 33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 36 if (dst_idx+n <= bits) { 48 n -= bits - dst_idx; 81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, argument 89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 92 if (dst_idx+n <= bits) { 104 n -= bits - dst_idx; 135 bitfill_aligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, unsigned n, int bits) argument 191 bitfill_unaligned_rev(struct fb_info *p, unsigned long *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 250 int dst_idx, left; local [all...] |
H A D | syscopyarea.c | 28 bitcpy(struct fb_info *p, unsigned long *dst, int dst_idx, argument 32 int const shift = dst_idx-src_idx; 35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 40 if (dst_idx+n <= bits) { 52 n -= bits - dst_idx; 83 if (dst_idx+n <= bits) { 114 n -= bits - dst_idx; 121 n -= bits - dst_idx; 169 bitcpy_rev(struct fb_info *p, unsigned long *dst, int dst_idx, argument 322 int dst_idx = 0, src_idx = 0, rev_copy = 0; local [all...] |
H A D | cfbfillrect.c | 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument 43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); 46 if (dst_idx+n <= bits) { 58 n -= bits - dst_idx; 92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument 100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); 101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); 103 if (dst_idx+n <= bits) { 115 n -= bits - dst_idx; 146 bitfill_aligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, unsigned n, int bits, u32 bswapmask) argument 217 bitfill_unaligned_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, unsigned long pat, int left, int right, unsigned n, int bits) argument 285 int dst_idx, left; local [all...] |
H A D | cfbcopyarea.c | 46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, argument 51 int const shift = dst_idx-src_idx; 58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, 63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); 64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); 69 if (dst_idx+n <= bits) { 82 n -= bits - dst_idx; 113 if (dst_idx+n <= bits) { 147 n -= bits - dst_idx; 154 n -= bits - dst_idx; 212 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) argument 388 unsigned dst_idx = 0, src_idx = 0, rev_copy = 0; local [all...] |
/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; local 97 dst_idx = dx % 16; 98 first = 0xffffU >> dst_idx; 100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); 106 if (dst_idx+width <= 16) { 110 memcpy(d.pixels+dst_idx, c, width); 119 if (dst_idx) { 120 w = 16 - dst_idx; 121 memset(d.pixels, 0, dst_idx); 122 memcpy(d.pixels+dst_idx, [all...] |
H A D | c2p_planar.c | 94 u32 dst_idx, first, last, w; local 99 dst_idx = dx % 32; 100 first = 0xffffffffU >> dst_idx; 101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); 106 if (dst_idx+width <= 32) { 110 memcpy(d.pixels+dst_idx, c, width); 120 if (dst_idx) { 121 w = 32 - dst_idx; 122 memset(d.pixels, 0, dst_idx); 123 memcpy(d.pixels+dst_idx, [all...] |
H A D | amifb.c | 2600 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, argument 2604 int shift = dst_idx - src_idx, left, right; 2611 shift = dst_idx - src_idx; 2612 first = ~0UL >> dst_idx; 2613 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); 2618 if (dst_idx + n <= BITS_PER_LONG) { 2630 n -= BITS_PER_LONG - dst_idx; 2659 if (dst_idx + n <= BITS_PER_LONG) { 2684 n -= BITS_PER_LONG - dst_idx; 2692 n -= BITS_PER_LONG - dst_idx; 2740 bitcpy_rev(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument 2892 bitcpy_not(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument 3032 bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument 3088 bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument 3135 fill_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument 3150 xor_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument 3170 int dst_idx, x2, y2; local 3209 copy_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) argument 3226 copy_one_line_rev(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) argument 3251 int dst_idx, src_idx; local 3308 expand_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, const u8 *data, u32 bgcolor, u32 fgcolor) argument 3343 int dst_idx; local [all...] |
H A D | atafb.c | 2603 int dst_idx; local 2632 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG - 1)) * 8; 2633 dst_idx += dy * par->next_line * 8 + dx;
|
/drivers/dma/ppc4xx/ |
H A D | adma.c | 622 u32 dst_idx) 642 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u; 643 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l; 619 ppc440spe_desc_set_dest_addr(struct ppc440spe_adma_desc_slot *desc, struct ppc440spe_adma_chan *chan, dma_addr_t addrh, dma_addr_t addrl, u32 dst_idx) argument
|