Lines Matching refs:WR16
267 /* Function is not endian safe, use the WR16.. wrappers below */
289 #define WR16(ss, adr, val) \
357 WR16(s, 0x820043, cmd);
372 rc = WR16(s, 0x420032, cmd);
394 WR16(s, 0x420033, 0x3973);
395 WR16(s, 0x420034, s->config.w50); /* code 4, log 4 */
396 WR16(s, 0x420035, s->config.w52); /* code 15, log 9 */
397 WR16(s, 0x420036, s->config.demod_address << 1);
398 WR16(s, 0x420037, s->config.w56); /* code (set_i2c ?? initX 1 ), log 1 */
399 /* WR16(s, 0x420033, 0x3973); */
403 return WR16(s, 0x420032, 0x3);
431 EXIT_RC(WR16(s, 0x0c20010, rc));
432 return WR16(s, 0x0c20030, agc->w04 & 0x7ff);
448 EXIT_RC(WR16(s, 0x0c20010, rc));
450 EXIT_RC(WR16(s, 0x0c20025, (w06 >> 1) & 0x1ff));
451 EXIT_RC(WR16(s, 0x0c20031, (w0A - w08) >> 1));
452 EXIT_RC(WR16(s, 0x0c20032, ((w0A + w08) >> 1) - 0x1ff));
463 EXIT_RC(WR16(s, 0x0c20024, quot));
466 EXIT_RC(WR16(s, 0x0c2002d, i));
467 EXIT_RC(WR16(s, 0x0c2002e, i));
470 EXIT_RC(WR16(s, 0x0c2002b, i));
471 rc = WR16(s, 0x0c2002c, i);
492 EXIT_RC(WR16(s, 0x0c20036, w04));
494 EXIT_RC(WR16(s, 0x0c20015, s->config.w9C));
497 EXIT_RC(WR16(s, 0x0c20010, rc));
504 EXIT_RC(WR16(s, 0x0c20015, s->config.w9C));
508 EXIT_RC(WR16(s, 0x0c20010, rc));
509 EXIT_RC(WR16(s, 0x0c20051, (w06 >> 4) & 0x3f));
515 EXIT_RC(WR16(s, 0x0c20015, s->config.w9C));
518 EXIT_RC(WR16(s, 0x0c20010, rc));
520 EXIT_RC(WR16(s, 0x0c20036, 0));
525 rc = WR16(s, 0x0c20013, rc);
562 EXIT_RC(WR16(s, 0x08200e8, 0x010));
563 EXIT_RC(WR16(s, 0x08200e9, 0x113));
578 EXIT_RC(WR16(s, 0x0420033, 0x200));
579 EXIT_RC(WR16(s, 0x0420034, 0xc5));
580 EXIT_RC(WR16(s, 0x0420035, 0x10));
581 EXIT_RC(WR16(s, 0x0420036, 0x1));
582 EXIT_RC(WR16(s, 0x0420037, 0xa));
606 rc = WR16(s, 0x08200e8, 0);
631 EXIT_RC(WR16(s, 0x2150045, 0));
632 EXIT_RC(WR16(s, 0x2150010, si));
633 EXIT_RC(WR16(s, 0x2150011, bp));
634 rc = WR16(s, 0x2150012, (type == 0 ? 0xfff : 0));
685 rc = WR16(s, 0x2150014, c);
686 rc = WR16(s, 0x2150015, d);
687 rc = WR16(s, 0x2150010, 0);
688 rc = WR16(s, 0x2150000, 2);
689 rc = WR16(s, 0x2150036, 0x0fff);
690 rc = WR16(s, 0x2150016, a);
692 rc = WR16(s, 0x2150010, 2);
693 rc = WR16(s, 0x2150007, 0);
694 rc = WR16(s, 0x2150000, 1);
695 rc = WR16(s, 0x2110000, 0);
696 rc = WR16(s, 0x0800000, 0);
697 rc = WR16(s, 0x2800000, 0);
698 rc = WR16(s, 0x2110010, 0x664);
701 rc = WR16(s, 0x2110000, 1);
723 rc = WR16(s, 0x2010010, 0);
735 rc = WR16(s, 0x2010010, 1);
775 rc = WR16(s, 0x1c10047, 1);
778 rc = WR16(s, 0x2010012, 1);
795 rc = WR16(s, 0x1c10047, 2);
798 rc = WR16(s, 0x2010012, 2);
815 rc = WR16(s, 0x1c10047, 3);
818 rc = WR16(s, 0x2010012, 3);
835 rc = WR16(s, 0x1c10047, 0);
838 rc = WR16(s, 0x2010012, 0);
860 rc = WR16(s, 0x1c10046, 0);
863 rc = WR16(s, 0x2010011, 0);
866 rc = WR16(s, 0x201001a, 0x10);
869 rc = WR16(s, 0x201001b, 0);
872 rc = WR16(s, 0x201001c, 0);
875 rc = WR16(s, 0x1c10062, v20);
878 rc = WR16(s, 0x1c1002a, v1C);
881 rc = WR16(s, 0x1c10015, v16);
884 rc = WR16(s, 0x1c10016, v12);
893 rc = WR16(s, 0x1c10046, 1);
896 rc = WR16(s, 0x2010011, 1);
899 rc = WR16(s, 0x201001a, 0x10);
902 rc = WR16(s, 0x201001b, 4);
905 rc = WR16(s, 0x201001c, 0);
908 rc = WR16(s, 0x1c10062, v1E);
911 rc = WR16(s, 0x1c1002a, v1A);
914 rc = WR16(s, 0x1c10015, v14);
917 rc = WR16(s, 0x1c10016, v10);
923 rc = WR16(s, 0x1c10046, 2);
926 rc = WR16(s, 0x2010011, 2);
929 rc = WR16(s, 0x201001a, 0x20);
932 rc = WR16(s, 0x201001b, 8);
935 rc = WR16(s, 0x201001c, 2);
938 rc = WR16(s, 0x1c10062, ebx);
941 rc = WR16(s, 0x1c1002a, v18);
944 rc = WR16(s, 0x1c10015, ebp);
947 rc = WR16(s, 0x1c10016, v0E);
954 rc = WR16(s, 0x2010013, 0);
956 rc = WR16(s, 0x2010013, 1);
966 rc = WR16(s, 0x2090011, 0);
972 rc = WR16(s, 0x2090011, 1);
978 rc = WR16(s, 0x2090011, 2);
984 rc = WR16(s, 0x2090011, 3);
990 rc = WR16(s, 0x2090011, 4);
1002 rc = WR16(s, 0x0c2003f, 0x32);
1007 rc = WR16(s, 0x0c2003f, 0x3b);
1012 rc = WR16(s, 0x0c2003f, 0x47);
1021 rc = WR16(s, 0x08200ec, edx);
1028 rc = WR16(s, 0x0820050, rc);
1034 EXIT_RC(WR16(s, 0x0c50010, ebx & 0xffff));
1035 EXIT_RC(WR16(s, 0x0c50011, ebx >> 16));
1045 EXIT_RC(WR16(s, 0x0c30010, ebx & 0xffff));
1046 EXIT_RC(WR16(s, 0x0c30011, ebx >> 16));
1048 EXIT_RC(WR16(s, 0x0800000, 1));
1053 EXIT_RC(WR16(s, 0x0820042, 0));
1054 EXIT_RC(WR16(s, 0x0820041, v22));
1055 EXIT_RC(WR16(s, 0x0820040, edi));
1061 WR16(s, 0x0820042, 0);
1062 WR16(s, 0x0820041, 1);
1063 WR16(s, 0x0820040, 1);
1067 rc = WR16(s, 0x2150000, 2);
1068 rc = WR16(s, 0x2150016, a);
1069 rc = WR16(s, 0x2150010, 4);
1070 rc = WR16(s, 0x2150036, 0);
1071 rc = WR16(s, 0x2150000, 1);
1154 rc = WR16(s, 0x0420033, 0x3973);
1163 rc = WR16(s, 0x043012d, 0x47F);
1177 rc = WR16(s, 0x2410010, 1);
1180 rc = WR16(s, 0x2410011, 0x15);
1183 rc = WR16(s, 0x2410012, s->config.w92 / 4000);
1187 rc = WR16(s, 0x2410015, 2);
1191 rc = WR16(s, 0x2410017, 0x3973);
1208 rc = WR16(s, 0x2150013, 0);
1216 rc = WR16(s, 0x0400002, 0);
1237 rc = WR16(s, 0x0c20010, rc);
1246 rc = WR16(s, 0x0c20011, rc);
1250 rc = WR16(s, 0x0c20012, 1);
1268 rc = WR16(s, 0x0C20012, rc);
1272 rc = WR16(s, 0x0C20013, s->config.w9E);
1275 rc = WR16(s, 0x0C20015, s->config.w9C);
1310 rc = WR16(s, 0x08201fe, 0x0017);
1311 rc = WR16(s, 0x08201ff, 0x0101);