• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/

Lines Matching refs:dst_idx

1371 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src,
1375 int shift = dst_idx-src_idx, left, right;
1382 shift = dst_idx-src_idx;
1383 first = ~0UL >> dst_idx;
1384 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1389 if (dst_idx+n <= BITS_PER_LONG) {
1401 n -= BITS_PER_LONG-dst_idx;
1430 if (dst_idx+n <= BITS_PER_LONG) {
1455 n -= BITS_PER_LONG-dst_idx;
1463 n -= BITS_PER_LONG-dst_idx;
1511 static void bitcpy_rev(unsigned long *dst, int dst_idx,
1515 int shift = dst_idx-src_idx, left, right;
1525 dst_idx += (n-1) % BITS_PER_LONG;
1526 dst += dst_idx >> SHIFT_PER_LONG;
1527 dst_idx &= BITS_PER_LONG-1;
1533 shift = dst_idx-src_idx;
1534 first = ~0UL << (BITS_PER_LONG-1-dst_idx);
1535 last = ~(~0UL << (BITS_PER_LONG-1-((dst_idx-n) % BITS_PER_LONG)));
1540 if ((unsigned long)dst_idx+1 >= n) {
1552 n -= dst_idx+1;
1581 if ((unsigned long)dst_idx+1 >= n) {
1606 n -= dst_idx+1;
1614 n -= dst_idx+1;
1663 static void bitcpy_not(unsigned long *dst, int dst_idx,
1667 int shift = dst_idx-src_idx, left, right;
1674 shift = dst_idx-src_idx;
1675 first = ~0UL >> dst_idx;
1676 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1681 if (dst_idx+n <= BITS_PER_LONG) {
1693 n -= BITS_PER_LONG-dst_idx;
1722 if (dst_idx+n <= BITS_PER_LONG) {
1747 n -= BITS_PER_LONG-dst_idx;
1755 n -= BITS_PER_LONG-dst_idx;
1803 static void bitfill32(unsigned long *dst, int dst_idx, u32 pat, u32 n)
1815 first = ~0UL >> dst_idx;
1816 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1818 if (dst_idx+n <= BITS_PER_LONG) {
1829 n -= BITS_PER_LONG-dst_idx;
1859 static void bitxor32(unsigned long *dst, int dst_idx, u32 pat, u32 n)
1871 first = ~0UL >> dst_idx;
1872 last = ~(~0UL >> ((dst_idx+n) % BITS_PER_LONG));
1874 if (dst_idx+n <= BITS_PER_LONG) {
1885 n -= BITS_PER_LONG-dst_idx;
1907 unsigned long *dst, int dst_idx, u32 n,
1911 dst += dst_idx >> SHIFT_PER_LONG;
1912 dst_idx &= (BITS_PER_LONG-1);
1913 bitfill32(dst, dst_idx, color & 1 ? ~0 : 0, n);
1917 dst_idx += next_plane*8;
1922 unsigned long *dst, int dst_idx, u32 n,
1926 dst += dst_idx >> SHIFT_PER_LONG;
1927 dst_idx &= (BITS_PER_LONG-1);
1928 bitxor32(dst, dst_idx, color & 1 ? ~0 : 0, n);
1932 dst_idx += next_plane*8;
1941 int dst_idx, x2, y2;
1961 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
1962 dst_idx += rect->dy*par->next_line*8+rect->dx;
1967 par->next_plane, dst, dst_idx, width,
1973 dst, dst_idx, width, rect->color);
1976 dst_idx += par->next_line*8;
1981 unsigned long *dst, int dst_idx,
1985 dst += dst_idx >> SHIFT_PER_LONG;
1986 dst_idx &= (BITS_PER_LONG-1);
1989 bitcpy(dst, dst_idx, src, src_idx, n);
1992 dst_idx += next_plane*8;
1998 unsigned long *dst, int dst_idx,
2002 dst += dst_idx >> SHIFT_PER_LONG;
2003 dst_idx &= (BITS_PER_LONG-1);
2006 bitcpy_rev(dst, dst_idx, src, src_idx, n);
2009 dst_idx += next_plane*8;
2022 int dst_idx, src_idx;
2052 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
2053 src_idx = dst_idx;
2054 dst_idx += dy*par->next_line*8+dx;
2058 dst_idx -= par->next_line*8;
2061 par->next_plane, dst, dst_idx, src,
2067 par->next_plane, dst, dst_idx, src,
2069 dst_idx += par->next_line*8;
2077 unsigned long *dst, int dst_idx, u32 n,
2084 dst += dst_idx >> SHIFT_PER_LONG;
2085 dst_idx &= (BITS_PER_LONG-1);
2090 bitcpy(dst, dst_idx, src, src_idx, n);
2092 bitcpy_not(dst, dst_idx, src, src_idx, n);
2095 bitfill32(dst, dst_idx, fgcolor & 1 ? ~0 : 0, n);
2100 dst_idx += next_plane*8;
2110 int dst_idx;
2131 dst_idx = ((unsigned long)info->screen_base & (BYTES_PER_LONG-1))*8;
2132 dst_idx += dy*par->next_line*8+dx;
2137 par->next_plane, dst, dst_idx, width,
2140 dst_idx += par->next_line*8;