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

Lines Matching defs:REG_ADDR

125 #define REG_ADDR(x) (((x) << 1) + 1)
558 decoder->reg[REG_ADDR(0x06)] =
560 decoder->reg[REG_ADDR(0x07)] =
563 decoder->reg[REG_ADDR(0x08)] = decoder->playback ? 0x7c : 0xb8; // PLL free when playback, PLL close when capture
565 decoder->reg[REG_ADDR(0x0e)] = 0x85;
566 decoder->reg[REG_ADDR(0x0f)] = 0x24;
577 decoder->reg[REG_ADDR(0x06)] =
579 decoder->reg[REG_ADDR(0x07)] =
582 decoder->reg[REG_ADDR(0x08)] = decoder->playback ? 0x7c : 0xb8; // PLL free when playback, PLL close when capture
584 decoder->reg[REG_ADDR(0x0e)] = 0x81;
585 decoder->reg[REG_ADDR(0x0f)] = 0x24;
601 decoder->reg[REG_ADDR(0x94)] = LOBYTE(hoff); // hoffset low
602 decoder->reg[REG_ADDR(0x95)] = HIBYTE(hoff) & 0x0f; // hoffset high
603 decoder->reg[REG_ADDR(0x96)] = LOBYTE(w); // width low
604 decoder->reg[REG_ADDR(0x97)] = HIBYTE(w) & 0x0f; // width high
605 decoder->reg[REG_ADDR(0x98)] = LOBYTE(voff); // voffset low
606 decoder->reg[REG_ADDR(0x99)] = HIBYTE(voff) & 0x0f; // voffset high
607 decoder->reg[REG_ADDR(0x9a)] = LOBYTE(h + 2); // height low
608 decoder->reg[REG_ADDR(0x9b)] = HIBYTE(h + 2) & 0x0f; // height high
609 decoder->reg[REG_ADDR(0x9c)] = LOBYTE(w); // out width low
610 decoder->reg[REG_ADDR(0x9d)] = HIBYTE(w) & 0x0f; // out width high
611 decoder->reg[REG_ADDR(0x9e)] = LOBYTE(h); // out height low
612 decoder->reg[REG_ADDR(0x9f)] = HIBYTE(h) & 0x0f; // out height high
614 decoder->reg[REG_ADDR(0xc4)] = LOBYTE(hoff); // hoffset low
615 decoder->reg[REG_ADDR(0xc5)] = HIBYTE(hoff) & 0x0f; // hoffset high
616 decoder->reg[REG_ADDR(0xc6)] = LOBYTE(w); // width low
617 decoder->reg[REG_ADDR(0xc7)] = HIBYTE(w) & 0x0f; // width high
618 decoder->reg[REG_ADDR(0xc8)] = LOBYTE(voff); // voffset low
619 decoder->reg[REG_ADDR(0xc9)] = HIBYTE(voff) & 0x0f; // voffset high
620 decoder->reg[REG_ADDR(0xca)] = LOBYTE(h + 2); // height low
621 decoder->reg[REG_ADDR(0xcb)] = HIBYTE(h + 2) & 0x0f; // height high
622 decoder->reg[REG_ADDR(0xcc)] = LOBYTE(w); // out width low
623 decoder->reg[REG_ADDR(0xcd)] = HIBYTE(w) & 0x0f; // out width high
624 decoder->reg[REG_ADDR(0xce)] = LOBYTE(h); // out height low
625 decoder->reg[REG_ADDR(0xcf)] = HIBYTE(h) & 0x0f; // out height high
669 decoder->reg[REG_ADDR(0x02)] =
671 reg[REG_ADDR(0x02)] & 0xf0) | (decoder->
675 decoder->reg[REG_ADDR(0x02)]);
678 decoder->reg[REG_ADDR(0x09)] =
680 reg[REG_ADDR(0x09)] & 0x7f) | (decoder->
685 decoder->reg[REG_ADDR(0x09)]);
687 decoder->reg[REG_ADDR(0x0e)] =
690 reg[REG_ADDR(0x0e)] | 1 : decoder->
691 reg[REG_ADDR(0x0e)] & ~1;
693 decoder->reg[REG_ADDR(0x0e)]);
736 decoder->reg[REG_ADDR(0x08)] = 0xb8;
737 decoder->reg[REG_ADDR(0x12)] = 0xc9;
738 decoder->reg[REG_ADDR(0x13)] = 0x80;
739 decoder->reg[REG_ADDR(0x87)] = 0x01;
741 decoder->reg[REG_ADDR(0x08)] = 0x7c;
742 decoder->reg[REG_ADDR(0x12)] = 0x00;
743 decoder->reg[REG_ADDR(0x13)] = 0x00;
744 decoder->reg[REG_ADDR(0x87)] = 0x00;
751 decoder->reg[REG_ADDR(0x08)]);
753 decoder->reg[REG_ADDR(0x87)]);
870 decoder->reg[REG_ADDR(0x94)] = LOBYTE(hoff); // hoffset low
871 decoder->reg[REG_ADDR(0x95)] = HIBYTE(hoff) & 0x0f; // hoffset high
872 decoder->reg[REG_ADDR(0x96)] = LOBYTE(w); // width low
873 decoder->reg[REG_ADDR(0x97)] = HIBYTE(w) & 0x0f; // width high
874 decoder->reg[REG_ADDR(0x98)] = LOBYTE(voff); // voffset low
875 decoder->reg[REG_ADDR(0x99)] = HIBYTE(voff) & 0x0f; // voffset high
876 decoder->reg[REG_ADDR(0x9a)] = LOBYTE(h + 2); // height low
877 decoder->reg[REG_ADDR(0x9b)] = HIBYTE(h + 2) & 0x0f; // height high
878 decoder->reg[REG_ADDR(0x9c)] = LOBYTE(w); // out width low
879 decoder->reg[REG_ADDR(0x9d)] = HIBYTE(w) & 0x0f; // out width high
880 decoder->reg[REG_ADDR(0x9e)] = LOBYTE(h); // out height low
881 decoder->reg[REG_ADDR(0x9f)] = HIBYTE(h) & 0x0f; // out height high
883 decoder->reg[REG_ADDR(0xc4)] = LOBYTE(hoff); // hoffset low
884 decoder->reg[REG_ADDR(0xc5)] = HIBYTE(hoff) & 0x0f; // hoffset high
885 decoder->reg[REG_ADDR(0xc6)] = LOBYTE(w); // width low
886 decoder->reg[REG_ADDR(0xc7)] = HIBYTE(w) & 0x0f; // width high
887 decoder->reg[REG_ADDR(0xc8)] = LOBYTE(voff); // voffset low
888 decoder->reg[REG_ADDR(0xc9)] = HIBYTE(voff) & 0x0f; // voffset high
889 decoder->reg[REG_ADDR(0xca)] = LOBYTE(h + 2); // height low
890 decoder->reg[REG_ADDR(0xcb)] = HIBYTE(h + 2) & 0x0f; // height high
891 decoder->reg[REG_ADDR(0xcc)] = LOBYTE(w); // out width low
892 decoder->reg[REG_ADDR(0xcd)] = HIBYTE(w) & 0x0f; // out width high
893 decoder->reg[REG_ADDR(0xce)] = LOBYTE(h); // out height low
894 decoder->reg[REG_ADDR(0xcf)] = HIBYTE(h) & 0x0f; // out height high
896 decoder->reg[REG_ADDR(0xb8)] =
898 decoder->reg[REG_ADDR(0xb9)] =
900 decoder->reg[REG_ADDR(0xba)] =
902 decoder->reg[REG_ADDR(0xbb)] =
905 decoder->reg[REG_ADDR(0xbc)] =
907 decoder->reg[REG_ADDR(0xbd)] =
909 decoder->reg[REG_ADDR(0xbe)] =
911 decoder->reg[REG_ADDR(0xbf)] =
914 decoder->reg[REG_ADDR(0xe8)] =
916 decoder->reg[REG_ADDR(0xe9)] =
918 decoder->reg[REG_ADDR(0xea)] =
920 decoder->reg[REG_ADDR(0xeb)] =
923 decoder->reg[REG_ADDR(0xec)] =
925 decoder->reg[REG_ADDR(0xed)] =
927 decoder->reg[REG_ADDR(0xee)] =
929 decoder->reg[REG_ADDR(0xef)] =
933 decoder->reg[REG_ADDR(0x13)] = 0x80; // RTC0 on
934 decoder->reg[REG_ADDR(0x87)] = 0x01; // I-Port
935 decoder->reg[REG_ADDR(0x12)] = 0xc9; // RTS0
937 decoder->reg[REG_ADDR(0x02)] = 0xc0; // set composite1 input, aveasy
938 decoder->reg[REG_ADDR(0x09)] = 0x00; // chrominance trap
939 decoder->reg[REG_ADDR(0x0e)] |= 1; // combfilter on
982 decoder->reg[REG_ADDR(i)]);
1010 err[9] = saa7114_write(client, 0x01, decoder->reg[REG_ADDR(0x01)]);
1060 decoder->reg[REG_ADDR(i)]);
1069 decoder->reg[REG_ADDR(i)]);
1077 saa7114_write(client, 0x02, decoder->reg[REG_ADDR(0x02)]);
1079 saa7114_write(client, 0x09, decoder->reg[REG_ADDR(0x09)]);
1081 saa7114_write(client, 0x0e, decoder->reg[REG_ADDR(0x0e)]);
1117 err[25] = saa7114_write(client, 0x06, init[REG_ADDR(0x06)]);
1118 err[26] = saa7114_write(client, 0x07, init[REG_ADDR(0x07)]);
1119 err[27] = saa7114_write(client, 0x10, init[REG_ADDR(0x10)]);
1138 decoder->reg[REG_ADDR(i)]);