Searched defs:dst_idx (Results 1 - 9 of 9) sorted by relevance

/drivers/video/
H A Dc2p_iplan2.c92 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 Dc2p_planar.c94 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 Dcfbfillrect.c35 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 Dsyscopyarea.c28 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 Dsysfillrect.c25 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 Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument
51 int const shift = dst_idx-src_idx;
54 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask);
55 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask);
60 if (dst_idx+n <= bits) {
73 n -= bits - dst_idx;
105 if (dst_idx+n <= bits) {
140 n -= bits - dst_idx;
148 n -= bits - dst_idx;
205 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, argument
376 int dst_idx = 0, src_idx = 0, rev_copy = 0; local
[all...]
H A Datafb.c2600 int dst_idx; local
2629 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG - 1)) * 8;
2630 dst_idx += dy * par->next_line * 8 + dx;
H A Damifb.c2602 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, argument
2606 int shift = dst_idx - src_idx, left, right;
2613 shift = dst_idx - src_idx;
2614 first = ~0UL >> dst_idx;
2615 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG));
2620 if (dst_idx + n <= BITS_PER_LONG) {
2632 n -= BITS_PER_LONG - dst_idx;
2661 if (dst_idx + n <= BITS_PER_LONG) {
2686 n -= BITS_PER_LONG - dst_idx;
2694 n -= BITS_PER_LONG - dst_idx;
2742 bitcpy_rev(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument
2894 bitcpy_not(unsigned long *dst, int dst_idx, const unsigned long *src, int src_idx, u32 n) argument
3034 bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument
3090 bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n) argument
3137 fill_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument
3152 xor_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, u32 n, u32 color) argument
3172 int dst_idx, x2, y2; local
3211 copy_one_line(int bpp, unsigned long next_plane, unsigned long *dst, int dst_idx, unsigned long *src, int src_idx, u32 n) argument
3228 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
3253 int dst_idx, src_idx; local
3310 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
3345 int dst_idx; local
[all...]
/drivers/dma/ppc4xx/
H A Dadma.c643 u32 dst_idx)
663 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u;
664 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l;
640 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

Completed in 113 milliseconds