• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x1900

28 	{ 0x0000, 0, 0, "could not detect sound standard", V4L2_STD_ALL },
29 { 0x0001, 0, 0, "autodetect start", V4L2_STD_ALL },
30 { 0x0002, MSP_CARRIER(4.5), MSP_CARRIER(4.72),
32 { 0x0003, MSP_CARRIER(5.5), MSP_CARRIER(5.7421875),
34 { 0x0004, MSP_CARRIER(6.5), MSP_CARRIER(6.2578125),
36 { 0x0005, MSP_CARRIER(6.5), MSP_CARRIER(6.7421875),
38 { 0x0006, MSP_CARRIER(6.5), MSP_CARRIER(6.5),
40 { 0x0007, MSP_CARRIER(6.5), MSP_CARRIER(5.7421875),
42 { 0x0008, MSP_CARRIER(5.5), MSP_CARRIER(5.85),
44 { 0x0009, MSP_CARRIER(6.5), MSP_CARRIER(5.85),
46 { 0x000a, MSP_CARRIER(6.0), MSP_CARRIER(6.55),
48 { 0x000b, MSP_CARRIER(6.5), MSP_CARRIER(5.85),
50 { 0x000c, MSP_CARRIER(6.5), MSP_CARRIER(5.85),
52 { 0x000d, MSP_CARRIER(6.5), MSP_CARRIER(5.85),
54 { 0x0020, MSP_CARRIER(4.5), MSP_CARRIER(4.5),
56 { 0x0021, MSP_CARRIER(4.5), MSP_CARRIER(4.5),
58 { 0x0030, MSP_CARRIER(4.5), MSP_CARRIER(4.5),
60 { 0x0040, MSP_CARRIER(10.7), MSP_CARRIER(10.7),
62 { 0x0050, MSP_CARRIER(6.5), MSP_CARRIER(6.5),
64 { 0x0051, MSP_CARRIER(7.02), MSP_CARRIER(7.20),
66 { 0x0060, MSP_CARRIER(7.2), MSP_CARRIER(7.2),
68 { -1, 0, 0, NULL, 0 }, /* EOF */
85 0x00d0, 0x0500, 0x0020, 0x3000
90 0x00d0, 0x0100, 0x0020, 0x3000
95 0x00d0, 0x0480, 0x0020, 0x3000
100 0x00d0, 0x0480, 0x0030, 0x3000
105 0x00c6, 0x0480, 0x0000, 0x3000
110 0x00d0, 0x0040, 0x0120, 0x3000
115 0x00d0, 0x0040, 0x0120, 0x3000
120 0x00c6, 0x0140, 0x0120, 0x7c00
159 for (i = 0; msp_stdlist[i].name != NULL; i++) in msp_standard_std_name()
169 for (i = 0; msp_stdlist[i].name != NULL; i++) in msp_standard_std()
180 msp_write_dsp(client, 0x0008, 0x0520); /* I2S1 */ in msp_set_source()
181 msp_write_dsp(client, 0x0009, 0x0620); /* I2S2 */ in msp_set_source()
183 msp_write_dsp(client, 0x0008, src); in msp_set_source()
184 msp_write_dsp(client, 0x0009, src); in msp_set_source()
186 msp_write_dsp(client, 0x000a, src); in msp_set_source()
187 msp_write_dsp(client, 0x000b, src); in msp_set_source()
188 msp_write_dsp(client, 0x000c, src); in msp_set_source()
190 msp_write_dsp(client, 0x0041, src); in msp_set_source()
195 msp_write_dem(client, 0x0093, cdo1 & 0xfff); in msp3400c_set_carrier()
196 msp_write_dem(client, 0x009b, cdo1 >> 12); in msp3400c_set_carrier()
197 msp_write_dem(client, 0x00a3, cdo2 & 0xfff); in msp3400c_set_carrier()
198 msp_write_dem(client, 0x00ab, cdo2 >> 12); in msp3400c_set_carrier()
199 msp_write_dem(client, 0x0056, 0); /* LOAD_REG_1/2 */ in msp3400c_set_carrier()
213 msp_write_dem(client, 0x00bb, data->ad_cv | (tuner ? 0x100 : 0)); in msp3400c_set_mode()
215 for (i = 5; i >= 0; i--) /* fir 1 */ in msp3400c_set_mode()
216 msp_write_dem(client, 0x0001, data->fir1[i]); in msp3400c_set_mode()
218 msp_write_dem(client, 0x0005, 0x0004); /* fir 2 */ in msp3400c_set_mode()
219 msp_write_dem(client, 0x0005, 0x0040); in msp3400c_set_mode()
220 msp_write_dem(client, 0x0005, 0x0000); in msp3400c_set_mode()
221 for (i = 5; i >= 0; i--) in msp3400c_set_mode()
222 msp_write_dem(client, 0x0005, data->fir2[i]); in msp3400c_set_mode()
224 msp_write_dem(client, 0x0083, data->mode_reg); in msp3400c_set_mode()
232 msp_write_dsp(client, 0x000d, 0x1900); in msp3400c_set_mode()
233 msp_write_dsp(client, 0x000e, data->dsp_matrix); in msp3400c_set_mode()
235 msp_write_dsp(client, 0x0010, 0x5a00); in msp3400c_set_mode()
246 char *modestr = (state->audmode >= 0 && state->audmode < 5) ? in msp3400c_set_audmode()
248 int src = 0; /* channel source: FM/AM, nicam or SCART */ in msp3400c_set_audmode()
287 msp_write_dsp(client, 0x000e, 0x3001); in msp3400c_set_audmode()
293 msp_write_dsp(client, 0x000e, 0x3000); in msp3400c_set_audmode()
321 src = 0x0100; /* NICAM */ in msp3400c_set_audmode()
330 src = 0x0200; /* SCART */ in msp3400c_set_audmode()
346 src |= 0x0020; in msp3400c_set_audmode()
353 msp_set_scart(client, SCART_MONO, 0); in msp3400c_set_audmode()
354 src = 0x0200; in msp3400c_set_audmode()
358 src = 0x0030; in msp3400c_set_audmode()
363 src |= 0x0010; in msp3400c_set_audmode()
367 "set_audmode final source/matrix = 0x%x\n", src); in msp3400c_set_audmode()
407 int update = 0; in msp3400c_detect_stereo()
411 val = msp_read_dsp(client, 0x18); in msp3400c_detect_stereo()
423 newnicam = 0; in msp3400c_detect_stereo()
428 val = msp_read_dem(client, 0x23); in msp3400c_detect_stereo()
430 val & 1, (val & 0x1e) >> 1); in msp3400c_detect_stereo()
434 switch ((val & 0x1e) >> 1) { in msp3400c_detect_stereo()
435 case 0: in msp3400c_detect_stereo()
453 newnicam = 0; in msp3400c_detect_stereo()
487 state->watch_stereo = 0; in watch_stereo()
507 state->restart = 0; in msp3400c_thread()
515 state->scan_in_progress = 0; in msp3400c_thread()
525 val1 = val2 = 0; in msp3400c_thread()
527 state->watch_stereo = 0; in msp3400c_thread()
528 state->nicam_on = 0; in msp3400c_thread()
541 count = 0; in msp3400c_thread()
545 for (i = 0; i < count; i++) { in msp3400c_thread()
549 val = msp_read_dsp(client, 0x1b); in msp3400c_thread()
568 case 0: /* 4.5 */ in msp3400c_thread()
572 count = 0; in msp3400c_thread()
579 count = 0; in msp3400c_thread()
580 max2 = 0; in msp3400c_thread()
582 for (i = 0; i < count; i++) { in msp3400c_thread()
586 val = msp_read_dsp(client, 0x1b); in msp3400c_thread()
600 if (max2 == 0) { in msp3400c_thread()
630 } else if (max2 == 0 && (state->v4l2_std & V4L2_STD_SECAM)) { in msp3400c_thread()
636 } else if (max2 == 0 && state->has_nicam) { in msp3400c_thread()
647 case 0: /* 4.5 */ in msp3400c_thread()
659 state->scan_in_progress = 0; in msp3400c_thread()
678 return 0; in msp3400c_thread()
698 state->restart = 0; in msp3410d_thread()
706 state->scan_in_progress = 0; in msp3410d_thread()
719 std = 0x40; in msp3410d_thread()
721 std = (state->v4l2_std & V4L2_STD_NTSC) ? 0x20 : 1; in msp3410d_thread()
722 state->watch_stereo = 0; in msp3410d_thread()
723 state->nicam_on = 0; in msp3410d_thread()
731 "setting standard: %s (0x%04x)\n", in msp3410d_thread()
739 msp_write_dem(client, 0x20, std); in msp3410d_thread()
745 val = msp_read_dem(client, 0x7e); in msp3410d_thread()
746 if (val < 0x07ff) in msp3410d_thread()
752 for (i = 0; msp_stdlist[i].name != NULL; i++) in msp3410d_thread()
755 dev_dbg_lvl(&client->dev, 1, msp_debug, "current standard: %s (0x%04x)\n", in msp3410d_thread()
763 (state->v4l2_std & V4L2_STD_SECAM) && (val != 0x0009)) { in msp3410d_thread()
765 …vl(&client->dev, 1, msp_debug, "autodetection failed, switching to backup standard: %s (0x%04x)\n", in msp3410d_thread()
768 state->std = val = 0x0009; in msp3410d_thread()
769 msp_write_dem(client, 0x20, val); in msp3410d_thread()
776 case 0x0008: /* B/G NICAM */ in msp3410d_thread()
777 case 0x000a: /* I NICAM */ in msp3410d_thread()
778 case 0x000b: /* D/K NICAM */ in msp3410d_thread()
779 if (val == 0x000a) in msp3410d_thread()
787 case 0x0009: in msp3410d_thread()
792 case 0x0020: /* BTSC */ in msp3410d_thread()
796 case 0x0040: /* FM radio */ in msp3410d_thread()
805 case 0x0002: in msp3410d_thread()
806 case 0x0003: in msp3410d_thread()
807 case 0x0004: in msp3410d_thread()
808 case 0x0005: in msp3410d_thread()
815 msp_write_dsp(client, 0x0d, 0x1900); /* scart */ in msp3410d_thread()
816 msp_write_dsp(client, 0x0e, 0x3000); /* FM */ in msp3410d_thread()
818 msp_write_dsp(client, 0x10, 0x5a00); /* nicam */ in msp3410d_thread()
821 msp_write_dem(client, 0x40, state->i2s_mode); in msp3410d_thread()
825 state->scan_in_progress = 0; in msp3410d_thread()
840 return 0; in msp3410d_thread()
857 return 0x0001; in msp34xxg_modus()
861 return 0x4001; in msp34xxg_modus()
865 return 0x0001; in msp34xxg_modus()
869 return 0x6001; in msp34xxg_modus()
873 return 0x2001; in msp34xxg_modus()
875 return 0x7001; in msp34xxg_modus()
885 source = 0; /* mono only */ in msp34xxg_set_source()
886 matrix = 0x30; in msp34xxg_set_source()
890 matrix = 0x10; in msp34xxg_set_source()
894 matrix = 0x20; in msp34xxg_set_source()
898 matrix = 0x00; in msp34xxg_set_source()
903 matrix = 0x20; in msp34xxg_set_source()
908 source = (source << 8) | 0x20; in msp34xxg_set_source()
917 "set source to %d (0x%x) for output %02x\n", in, source, reg); in msp34xxg_set_source()
926 msp34xxg_set_source(client, 0x0008, (in >> 4) & 0xf); in msp34xxg_set_sources()
928 msp34xxg_set_source(client, 0x000c, (in >> 4) & 0xf); in msp34xxg_set_sources()
929 msp34xxg_set_source(client, 0x0009, (in >> 8) & 0xf); in msp34xxg_set_sources()
930 msp34xxg_set_source(client, 0x000a, (in >> 12) & 0xf); in msp34xxg_set_sources()
932 msp34xxg_set_source(client, 0x0041, (in >> 16) & 0xf); in msp34xxg_set_sources()
933 msp34xxg_set_source(client, 0x000b, (in >> 20) & 0xf); in msp34xxg_set_sources()
950 msp_write_dem(client, 0x40, state->i2s_mode); in msp34xxg_reset()
954 modus |= tuner ? 0x100 : 0; in msp34xxg_reset()
955 msp_write_dem(client, 0x30, modus); in msp34xxg_reset()
961 msp_write_dsp(client, 0x0d, 0x1900); /* scart */ in msp34xxg_reset()
962 msp_write_dsp(client, 0x0e, 0x3000); /* FM */ in msp34xxg_reset()
964 msp_write_dsp(client, 0x10, 0x5a00); /* nicam */ in msp34xxg_reset()
968 * of 0x190 to ignore noisy stereo signals. in msp34xxg_reset()
969 * this needs tuning. (recommended range 0x00a0-0x03c0) in msp34xxg_reset()
970 * 0x7f0 = forced mono mode in msp34xxg_reset()
976 msp_write_dem(client, 0x22, msp_stereo_thresh); in msp34xxg_reset()
995 state->restart = 0; in msp34xxg_thread()
1003 state->scan_in_progress = 0; in msp34xxg_thread()
1010 state->std = state->radio ? 0x40 : in msp34xxg_thread()
1012 msp_write_dem(client, 0x20, state->std); in msp34xxg_thread()
1020 for (i = 0; i < 10; i++) { in msp34xxg_thread()
1025 val = msp_read_dem(client, 0x7e); in msp34xxg_thread()
1026 if (val < 0x07ff) { in msp34xxg_thread()
1041 "detected standard: %s (0x%04x)\n", in msp34xxg_thread()
1047 msp_write_dsp(client, 0x0e, 0x7c00); in msp34xxg_thread()
1054 if (msp_write_dsp(client, 0x13, state->acb)) in msp34xxg_thread()
1058 the 0x20 standard (BTSC) */ in msp34xxg_thread()
1059 if (state->std != 0x20) in msp34xxg_thread()
1074 return 0; in msp34xxg_thread()
1080 int status = msp_read_dem(client, 0x0200); in msp34xxg_detect_stereo()
1081 int is_bilingual = status & 0x100; in msp34xxg_detect_stereo()
1082 int is_stereo = status & 0x40; in msp34xxg_detect_stereo()
1086 return 0; in msp34xxg_detect_stereo()
1088 state->rxsubchans = 0; in msp34xxg_detect_stereo()
1094 if (state->std == 0x20) in msp34xxg_detect_stereo()
1101 "status=0x%x, stereo=%d, bilingual=%d -> rxsubchans=%d\n", in msp34xxg_detect_stereo()
1110 if (state->std == 0x20) { in msp34xxg_set_audmode()
1114 msp_write_dem(client, 0x20, 0x21); in msp34xxg_set_audmode()
1116 msp_write_dem(client, 0x20, 0x20); in msp34xxg_set_audmode()
1149 return 0; in msp_detect_stereo()