• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/

Lines Matching refs:dst_idx

1370 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src,
1374 int shift = dst_idx-src_idx, left, right;
1381 shift = dst_idx-src_idx;
1382 first = ~0UL >> dst_idx;
1383 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1388 if (dst_idx+n <= BITS_PER_LONG) {
1400 n -= BITS_PER_LONG-dst_idx;
1429 if (dst_idx+n <= BITS_PER_LONG) {
1454 n -= BITS_PER_LONG-dst_idx;
1462 n -= BITS_PER_LONG-dst_idx;
1510 static void bitcpy_rev(unsigned long *dst, int dst_idx,
1514 int shift = dst_idx-src_idx, left, right;
1524 dst_idx += (n-1) % BITS_PER_LONG;
1525 dst += dst_idx >> SHIFT_PER_LONG;
1526 dst_idx &= BITS_PER_LONG-1;
1532 shift = dst_idx-src_idx;
1533 first = ~0UL << (BITS_PER_LONG-1-dst_idx);
1534 last = ~(~0UL << (BITS_PER_LONG-1-((dst_idx-n) % BITS_PER_LONG)));
1539 if ((unsigned long)dst_idx+1 >= n) {
1551 n -= dst_idx+1;
1580 if ((unsigned long)dst_idx+1 >= n) {
1605 n -= dst_idx+1;
1613 n -= dst_idx+1;
1662 static void bitcpy_not(unsigned long *dst, int dst_idx,
1666 int shift = dst_idx-src_idx, left, right;
1673 shift = dst_idx-src_idx;
1674 first = ~0UL >> dst_idx;
1675 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1680 if (dst_idx+n <= BITS_PER_LONG) {
1692 n -= BITS_PER_LONG-dst_idx;
1721 if (dst_idx+n <= BITS_PER_LONG) {
1746 n -= BITS_PER_LONG-dst_idx;
1754 n -= BITS_PER_LONG-dst_idx;
1802 static void bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n)
1814 first = ~0UL >> dst_idx;
1815 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1817 if (dst_idx+n <= BITS_PER_LONG) {
1828 n -= BITS_PER_LONG-dst_idx;
1858 static void bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n)
1870 first = ~0UL >> dst_idx;
1871 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1873 if (dst_idx+n <= BITS_PER_LONG) {
1884 n -= BITS_PER_LONG-dst_idx;
1906 unsigned long *dst, int dst_idx, u32 n,
1910 dst += dst_idx >> SHIFT_PER_LONG;
1911 dst_idx &= (BITS_PER_LONG-1);
1912 bitfill32(dst, dst_idx, color & 1 ? ~0 : 0, n);
1916 dst_idx += next_plane*8;
1921 unsigned long *dst, int dst_idx, u32 n,
1925 dst += dst_idx >> SHIFT_PER_LONG;
1926 dst_idx &= (BITS_PER_LONG-1);
1927 bitxor32(dst, dst_idx, color & 1 ? ~0 : 0, n);
1931 dst_idx += next_plane*8;
1940 int dst_idx, x2, y2;
1960 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
1961 dst_idx += rect->dy*par->next_line*8+rect->dx;
1966 par->next_plane, dst, dst_idx, width,
1972 dst, dst_idx, width, rect->color);
1975 dst_idx += par->next_line*8;
1980 unsigned long *dst, int dst_idx,
1984 dst += dst_idx >> SHIFT_PER_LONG;
1985 dst_idx &= (BITS_PER_LONG-1);
1988 bitcpy(dst, dst_idx, src, src_idx, n);
1991 dst_idx += next_plane*8;
1997 unsigned long *dst, int dst_idx,
2001 dst += dst_idx >> SHIFT_PER_LONG;
2002 dst_idx &= (BITS_PER_LONG-1);
2005 bitcpy_rev(dst, dst_idx, src, src_idx, n);
2008 dst_idx += next_plane*8;
2021 int dst_idx, src_idx;
2054 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
2055 src_idx = dst_idx;
2056 dst_idx += dy*par->next_line*8+dx;
2060 dst_idx -= par->next_line*8;
2063 par->next_plane, dst, dst_idx, src,
2069 par->next_plane, dst, dst_idx, src,
2071 dst_idx += par->next_line*8;
2079 unsigned long *dst, int dst_idx, u32 n,
2086 dst += dst_idx >> SHIFT_PER_LONG;
2087 dst_idx &= (BITS_PER_LONG-1);
2092 bitcpy(dst, dst_idx, src, src_idx, n);
2094 bitcpy_not(dst, dst_idx, src, src_idx, n);
2097 bitfill32(dst, dst_idx, fgcolor & 1 ? ~0 : 0, n);
2102 dst_idx += next_plane*8;
2112 int dst_idx;
2133 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
2134 dst_idx += dy*par->next_line*8+dx;
2139 par->next_plane, dst, dst_idx, width,
2142 dst_idx += par->next_line*8;