saa717x.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) | saa717x.c (2f73c7c582a685b3198b974cd6d964d0338f8ab5) |
---|---|
1/* 2 * saa717x - Philips SAA717xHL video decoder driver 3 * 4 * Based on the saa7115 driver 5 * 6 * Changes by Ohta Kyuma <alpha292@bremen.or.jp> 7 * - Apply to SAA717x,NEC uPD64031,uPD64083. (1/31/2004) 8 * --- 1099 unchanged lines hidden (view full) --- 1108 v4l2_dbg(1, debug, sd, "decoder %s output\n", 1109 enable ? "enable" : "disable"); 1110 decoder->enable = enable; 1111 saa717x_write(sd, 0x193, enable ? 0xa6 : 0x26); 1112 return 0; 1113} 1114 1115/* change audio mode */ | 1/* 2 * saa717x - Philips SAA717xHL video decoder driver 3 * 4 * Based on the saa7115 driver 5 * 6 * Changes by Ohta Kyuma <alpha292@bremen.or.jp> 7 * - Apply to SAA717x,NEC uPD64031,uPD64083. (1/31/2004) 8 * --- 1099 unchanged lines hidden (view full) --- 1108 v4l2_dbg(1, debug, sd, "decoder %s output\n", 1109 enable ? "enable" : "disable"); 1110 decoder->enable = enable; 1111 saa717x_write(sd, 0x193, enable ? 0xa6 : 0x26); 1112 return 0; 1113} 1114 1115/* change audio mode */ |
1116static int saa717x_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) | 1116static int saa717x_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) |
1117{ 1118 struct saa717x_state *decoder = to_state(sd); 1119 int audio_mode; 1120 char *mes[4] = { 1121 "MONO", "STEREO", "LANG1", "LANG2/SAP" 1122 }; 1123 1124 audio_mode = TUNER_AUDIO_STEREO; --- 254 unchanged lines hidden --- | 1117{ 1118 struct saa717x_state *decoder = to_state(sd); 1119 int audio_mode; 1120 char *mes[4] = { 1121 "MONO", "STEREO", "LANG1", "LANG2/SAP" 1122 }; 1123 1124 audio_mode = TUNER_AUDIO_STEREO; --- 254 unchanged lines hidden --- |