Home
last modified time | relevance | path

Searched refs:dst_idx (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/drivers/video/
Dsysfillrect.c25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument
33 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_aligned()
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
36 if (dst_idx+n <= bits) { in bitfill_aligned()
48 n -= bits - dst_idx; in bitfill_aligned()
81 bitfill_unaligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_unaligned() argument
89 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
92 if (dst_idx+n <= bits) { in bitfill_unaligned()
104 n -= bits - dst_idx; in bitfill_unaligned()
[all …]
Dcfbfillrect.c35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument
43 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitfill_aligned()
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
46 if (dst_idx+n <= bits) { in bitfill_aligned()
58 n -= bits - dst_idx; in bitfill_aligned()
92 bitfill_unaligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_unaligned() argument
100 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitfill_unaligned()
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
103 if (dst_idx+n <= bits) { in bitfill_unaligned()
115 n -= bits - dst_idx; in bitfill_unaligned()
[all …]
Dsyscopyarea.c28 bitcpy(struct fb_info *p, unsigned long *dst, int dst_idx, in bitcpy() argument
32 int const shift = dst_idx-src_idx; in bitcpy()
35 first = FB_SHIFT_HIGH(p, ~0UL, dst_idx); in bitcpy()
36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy()
40 if (dst_idx+n <= bits) { in bitcpy()
52 n -= bits - dst_idx; in bitcpy()
83 if (dst_idx+n <= bits) { in bitcpy()
114 n -= bits - dst_idx; in bitcpy()
121 n -= bits - dst_idx; in bitcpy()
169 bitcpy_rev(struct fb_info *p, unsigned long *dst, int dst_idx, in bitcpy_rev() argument
[all …]
Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, in bitcpy() argument
51 int const shift = dst_idx-src_idx; in bitcpy()
58 fb_memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy()
63 first = fb_shifted_pixels_mask_long(p, dst_idx, bswapmask); in bitcpy()
64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy()
69 if (dst_idx+n <= bits) { in bitcpy()
82 n -= bits - dst_idx; in bitcpy()
113 if (dst_idx+n <= bits) { in bitcpy()
147 n -= bits - dst_idx; in bitcpy()
154 n -= bits - dst_idx; in bitcpy()
[all …]
Dc2p_iplan2.c92 u32 dst_idx, first, last, w; in c2p_iplan2() local
97 dst_idx = dx % 16; in c2p_iplan2()
98 first = 0xffffU >> dst_idx; in c2p_iplan2()
100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2()
106 if (dst_idx+width <= 16) { in c2p_iplan2()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_iplan2()
119 if (dst_idx) { in c2p_iplan2()
120 w = 16 - dst_idx; in c2p_iplan2()
121 memset(d.pixels, 0, dst_idx); in c2p_iplan2()
122 memcpy(d.pixels+dst_idx, c, w); in c2p_iplan2()
Dc2p_planar.c94 u32 dst_idx, first, last, w; in c2p_planar() local
99 dst_idx = dx % 32; in c2p_planar()
100 first = 0xffffffffU >> dst_idx; in c2p_planar()
101 last = ~(0xffffffffU >> ((dst_idx+width) % 32)); in c2p_planar()
106 if (dst_idx+width <= 32) { in c2p_planar()
110 memcpy(d.pixels+dst_idx, c, width); in c2p_planar()
120 if (dst_idx) { in c2p_planar()
121 w = 32 - dst_idx; in c2p_planar()
122 memset(d.pixels, 0, dst_idx); in c2p_planar()
123 memcpy(d.pixels+dst_idx, c, w); in c2p_planar()
Damifb.c2602 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument
2606 int shift = dst_idx - src_idx, left, right; in bitcpy()
2613 shift = dst_idx - src_idx; in bitcpy()
2614 first = ~0UL >> dst_idx; in bitcpy()
2615 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy()
2620 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2632 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2661 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2686 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2694 n -= BITS_PER_LONG - dst_idx; in bitcpy()
[all …]
Datafb.c2600 int dst_idx; in atafb_imageblit() local
2629 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG - 1)) * 8; in atafb_imageblit()
2630 dst_idx += dy * par->next_line * 8 + dx; in atafb_imageblit()
/linux-3.4.99/net/can/
Dgw.c112 int dst_idx; member
548 if (nla_put_u32(skb, CGW_DST_IF, gwj->ccgw.dst_idx) < 0) in cgw_put_job()
754 nla_memcpy(&ccgw->dst_idx, tb[CGW_DST_IF], in cgw_parse_attr()
758 if (!ccgw->src_idx && !ccgw->dst_idx) in cgw_parse_attr()
762 if (!ccgw->src_idx || !ccgw->dst_idx) in cgw_parse_attr()
805 if (!gwj->ccgw.src_idx || !gwj->ccgw.dst_idx) in cgw_create_job()
817 gwj->dst.dev = dev_get_by_index(&init_net, gwj->ccgw.dst_idx); in cgw_create_job()
882 if (!ccgw.src_idx && !ccgw.dst_idx) { in cgw_remove_job()
/linux-3.4.99/fs/xfs/
Dxfs_trace.h1575 TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count),
1576 TP_ARGS(args, src_idx, dst_idx, count),
1582 __field(int, dst_idx)
1590 __entry->dst_idx = dst_idx;
1599 __entry->dst_idx,
/linux-3.4.99/drivers/dma/ppc4xx/
Dadma.c643 u32 dst_idx) in ppc440spe_desc_set_dest_addr() argument
663 psgu = dst_idx ? &dma_hw_desc->sg3u : &dma_hw_desc->sg2u; in ppc440spe_desc_set_dest_addr()
664 psgl = dst_idx ? &dma_hw_desc->sg3l : &dma_hw_desc->sg2l; in ppc440spe_desc_set_dest_addr()