/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-dsp.c | 159 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local 187 stereo = freq_magnitude(x, N, stereo_freq); in detect_a2_a2m_eiaj() 192 "detect a2/a2m/eiaj: carrier=%d, stereo=%d, dual=%d, noise=%d\n", in detect_a2_a2m_eiaj() 193 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj() 195 if (stereo > dual) in detect_a2_a2m_eiaj() 202 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj() 203 (carrier < max(stereo, dual) * 6) && in detect_a2_a2m_eiaj() 205 (max(stereo, dual) > min(stereo, dual))) { in detect_a2_a2m_eiaj() 213 if ((carrier > max(stereo, dua in detect_a2_a2m_eiaj() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx88/ |
H A D | cx88-dsp.c | 159 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local 187 stereo = freq_magnitude(x, N, stereo_freq); in detect_a2_a2m_eiaj() 192 "detect a2/a2m/eiaj: carrier=%d, stereo=%d, dual=%d, noise=%d\n", in detect_a2_a2m_eiaj() 193 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj() 195 if (stereo > dual) in detect_a2_a2m_eiaj() 202 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj() 203 (carrier < max(stereo, dual) * 6) && in detect_a2_a2m_eiaj() 205 (max(stereo, dual) > min(stereo, dual))) { in detect_a2_a2m_eiaj() 213 if ((carrier > max(stereo, dua in detect_a2_a2m_eiaj() [all...] |
/kernel/linux/linux-5.10/sound/ppc/ |
H A D | burgundy.c | 120 * Burgundy volume: 0 - 100, stereo, word reg 205 * Burgundy volume: 0 - 100, stereo, 2-byte reg 281 * Burgundy gain/attenuation: 0 - 15, mono/stereo, byte reg 286 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() local 288 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain() 299 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() local 307 if (stereo) in snd_pmac_burgundy_get_gain() 317 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() local 325 if (stereo) in snd_pmac_burgundy_put_gain() 335 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atte 348 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_info_switch_w() local 363 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_get_switch_w() local 378 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_put_switch_w() local 404 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_info_switch_b() local 419 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_get_switch_b() local 434 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_put_switch_b() local [all...] |
/kernel/linux/linux-6.6/sound/ppc/ |
H A D | burgundy.c | 121 * Burgundy volume: 0 - 100, stereo, word reg 206 * Burgundy volume: 0 - 100, stereo, 2-byte reg 282 * Burgundy gain/attenuation: 0 - 15, mono/stereo, byte reg 287 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_info_gain() local 289 uinfo->count = stereo + 1; in snd_pmac_burgundy_info_gain() 300 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_get_gain() local 308 if (stereo) in snd_pmac_burgundy_get_gain() 318 int stereo = (kcontrol->private_value >> 24) & 1; in snd_pmac_burgundy_put_gain() local 326 if (stereo) in snd_pmac_burgundy_put_gain() 336 #define BURGUNDY_VOLUME_B(xname, xindex, addr, stereo, atte 349 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_info_switch_w() local 364 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_get_switch_w() local 379 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_put_switch_w() local 405 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_info_switch_b() local 420 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_get_switch_b() local 435 int stereo = (kcontrol->private_value >> 24) & 1; snd_pmac_burgundy_put_switch_b() local [all...] |
/kernel/linux/linux-5.10/sound/oss/dmasound/ |
H A D | dmasound_core.c | 259 static int sound_set_stereo(int stereo) in sound_set_stereo() argument 261 if (stereo < 0) in sound_set_stereo() 262 return dmasound.soft.stereo; in sound_set_stereo() 264 stereo = !!stereo; /* should be 0 or 1 now */ in sound_set_stereo() 266 dmasound.soft.stereo = stereo; in sound_set_stereo() 268 dmasound.dsp.stereo = stereo; in sound_set_stereo() 270 return stereo; in sound_set_stereo() [all...] |
H A D | dmasound_atari.c | 66 * only in stereo is hardcoded in both of them! 165 if (dmasound.soft.stereo) in ata_ct_law() 188 if (dmasound.soft.stereo) in ata_ct_s8() 204 if (!dmasound.soft.stereo) { in ata_ct_u8() 239 if (!dmasound.soft.stereo) { in ata_ct_s16be() 271 if (!dmasound.soft.stereo) { in ata_ct_u16be() 311 if (!dmasound.soft.stereo) { in ata_ct_s16le() 352 if (!dmasound.soft.stereo) { in ata_ct_u16le() 398 if (!dmasound.soft.stereo) { in ata_ctx_law() 458 if (!dmasound.soft.stereo) { in ata_ctx_s8() [all...] |
/kernel/linux/linux-6.6/sound/oss/dmasound/ |
H A D | dmasound_core.c | 259 static int sound_set_stereo(int stereo) in sound_set_stereo() argument 261 if (stereo < 0) in sound_set_stereo() 262 return dmasound.soft.stereo; in sound_set_stereo() 264 stereo = !!stereo; /* should be 0 or 1 now */ in sound_set_stereo() 266 dmasound.soft.stereo = stereo; in sound_set_stereo() 268 dmasound.dsp.stereo = stereo; in sound_set_stereo() 270 return stereo; in sound_set_stereo() [all...] |
H A D | dmasound_atari.c | 66 * only in stereo is hardcoded in both of them! 165 if (dmasound.soft.stereo) in ata_ct_law() 188 if (dmasound.soft.stereo) in ata_ct_s8() 204 if (!dmasound.soft.stereo) { in ata_ct_u8() 239 if (!dmasound.soft.stereo) { in ata_ct_s16be() 271 if (!dmasound.soft.stereo) { in ata_ct_u16be() 311 if (!dmasound.soft.stereo) { in ata_ct_s16le() 352 if (!dmasound.soft.stereo) { in ata_ct_u16le() 398 if (!dmasound.soft.stereo) { in ata_ctx_law() 458 if (!dmasound.soft.stereo) { in ata_ctx_s8() [all...] |
/kernel/linux/linux-5.10/sound/isa/sb/ |
H A D | sb8_main.c | 97 unsigned char stereo = runtime->channels > 1; in snd_sb8_playback_prepare() local 136 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_playback_prepare() 139 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_playback_prepare() 149 else if (stereo) { in snd_sb8_playback_prepare() 150 /* set playback stereo mode */ in snd_sb8_playback_prepare() 166 if (stereo) { in snd_sb8_playback_prepare() 235 unsigned char stereo = runtime->channels > 1; in snd_sb8_capture_prepare() local 275 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_capture_prepare() 278 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_capture_prepare() 288 else if (stereo) in snd_sb8_capture_prepare() [all...] |
/kernel/linux/linux-6.6/sound/isa/sb/ |
H A D | sb8_main.c | 97 unsigned char stereo = runtime->channels > 1; in snd_sb8_playback_prepare() local 136 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_playback_prepare() 139 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_playback_prepare() 149 else if (stereo) { in snd_sb8_playback_prepare() 150 /* set playback stereo mode */ in snd_sb8_playback_prepare() 166 if (stereo) { in snd_sb8_playback_prepare() 235 unsigned char stereo = runtime->channels > 1; in snd_sb8_capture_prepare() local 275 format = stereo ? SB_DSP_STEREO_16BIT : SB_DSP_MONO_16BIT; in snd_sb8_capture_prepare() 278 format = stereo ? SB_DSP_STEREO_8BIT : SB_DSP_MONO_8BIT; in snd_sb8_capture_prepare() 288 else if (stereo) in snd_sb8_capture_prepare() [all...] |
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | emupcm.c | 283 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voice() 298 CPF, stereo ? CPF_STEREO_MASK : 0, in snd_emu10k1_pcm_init_voice() 338 bool w_16, bool stereo, in snd_emu10k1_pcm_init_voices() 344 snd_emu10k1_pcm_init_voice(emu, evoice, w_16, stereo, in snd_emu10k1_pcm_init_voices() 346 &mix->send_routing[stereo][0], in snd_emu10k1_pcm_init_voices() 347 &mix->send_volume[stereo][0]); in snd_emu10k1_pcm_init_voices() 348 if (stereo) in snd_emu10k1_pcm_init_voices() 446 bool stereo = runtime->channels == 2; in snd_emu10k1_playback_prepare() local 460 start_addr >>= stereo; in snd_emu10k1_playback_prepare() local 463 snd_emu10k1_pcm_init_voices(emu, epcm->voices[0], w_16, stereo, in snd_emu10k1_playback_prepare() 281 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, const unsigned char *send_routing, const unsigned char *send_amount) snd_emu10k1_pcm_init_voice() argument 336 snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_pcm_init_voices() argument 578 snd_emu10k1_playback_fill_cache(struct snd_emu10k1 *emu, unsigned voice, u32 sample, bool stereo) snd_emu10k1_playback_fill_cache() argument 602 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, bool w_16, bool stereo, int channels) snd_emu10k1_playback_prepare_voices() argument 660 snd_emu10k1_playback_unmute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, bool master, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voice() argument 673 snd_emu10k1_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voices() argument 689 snd_emu10k1_playback_mute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo) snd_emu10k1_playback_mute_voices() argument 749 bool stereo = runtime->channels == 2; snd_emu10k1_playback_trigger() local [all...] |
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-zoltrix.c | 18 * - Make signal strength and stereo scans 22 * - Added stereo support 23 * (card defaults to stereo) 25 * (can detect if station is in stereo) 112 bool stereo = isa->stereo; in zoltrix_s_frequency() local 133 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31)); in zoltrix_s_frequency() 201 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) in zoltrix_s_stereo() argument
|
H A D | radio-mr800.c | 29 * Added stereo support. Thanks to 126 int stereo; member 214 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) in amradio_set_stereo() argument 217 AMRADIO_SET_MONO, !stereo, NULL, 0, false); in amradio_set_stereo() 220 radio->stereo = stereo; in amradio_set_stereo() 289 v->audmode = radio->stereo ? in vidioc_g_tuner() 303 /* mono/stereo selector */ in vidioc_s_tuner() 449 amradio_set_stereo(radio, radio->stereo); in usb_amradio_resume()
|
H A D | radio-ma901.c | 83 int stereo; member 140 static int ma901_set_stereo(struct ma901radio_device *radio, u8 stereo) in ma901_set_stereo() argument 146 radio->buffer[2] = stereo; in ma901_set_stereo() 160 if (stereo == MA901_WANT_STEREO) in ma901_set_stereo() 161 radio->stereo = V4L2_TUNER_MODE_STEREO; in ma901_set_stereo() 163 radio->stereo = V4L2_TUNER_MODE_MONO; in ma901_set_stereo() 220 v->audmode = radio->stereo ? in vidioc_g_tuner() 234 /* mono/stereo selector */ in vidioc_s_tuner()
|
H A D | radio-isa.h | 37 /* Card is in stereo audio mode */ 38 bool stereo; member 56 /* Set stereo/mono audio mode */ 57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo); 85 /* Card can capture stereo audio */
|
H A D | dsbr100.c | 9 * at the stereo indicator as well. So, scanning will only find 10 * stereo stations. Sad, but I can't help it. 74 bool stereo; member 144 sees a stereo signal or not. Pity. */ 154 radio->stereo = false; in dsbr100_getstat() 159 radio->stereo = !(radio->transfer_buffer[0] & 0x01); in dsbr100_getstat() 187 v->rxsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : in vidioc_g_tuner() 191 v->signal = radio->stereo ? 0xffff : 0; /* We can't get the signal strength */ in vidioc_g_tuner()
|
H A D | radio-isa.c | 64 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner() 82 isa->stereo = (v->audmode == V4L2_TUNER_MODE_STEREO); in radio_isa_s_tuner() 83 return ops->s_stereo(isa, isa->stereo); in radio_isa_s_tuner() 243 isa->stereo = drv->has_stereo; in radio_isa_common_probe() 252 res = ops->s_stereo(isa, isa->stereo); in radio_isa_common_probe()
|
H A D | radio-keene.c | 59 bool stereo; member 102 /* Set TX, stereo and preemphasis mode (50 us vs 75 us). */ 110 /* If bit 0 is set, then transmit mono, otherwise stereo. in keene_cmd_set() 113 radio->buffer[3] = (radio->stereo ? 0 : 1) | (radio->preemph_75_us ? 4 : 0); in keene_cmd_set() 185 v->txsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : V4L2_TUNER_SUB_MONO; in vidioc_g_modulator() 198 radio->stereo = (v->txsubchans == V4L2_TUNER_SUB_STEREO); in vidioc_s_modulator() 337 radio->stereo = true; in usb_keene_probe()
|
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-zoltrix.c | 18 * - Make signal strength and stereo scans 22 * - Added stereo support 23 * (card defaults to stereo) 25 * (can detect if station is in stereo) 112 bool stereo = isa->stereo; in zoltrix_s_frequency() local 133 bitmask = (bitmask ^ ((f & 0xff) << 47) ^ ((f & 0xff00) << 30) ^ (stereo << 31)); in zoltrix_s_frequency() 201 static int zoltrix_s_stereo(struct radio_isa_card *isa, bool stereo) in zoltrix_s_stereo() argument
|
H A D | radio-mr800.c | 29 * Added stereo support. Thanks to 126 int stereo; member 214 static int amradio_set_stereo(struct amradio_device *radio, bool stereo) in amradio_set_stereo() argument 217 AMRADIO_SET_MONO, !stereo, NULL, 0, false); in amradio_set_stereo() 220 radio->stereo = stereo; in amradio_set_stereo() 289 v->audmode = radio->stereo ? in vidioc_g_tuner() 303 /* mono/stereo selector */ in vidioc_s_tuner() 449 amradio_set_stereo(radio, radio->stereo); in usb_amradio_resume()
|
H A D | radio-ma901.c | 83 int stereo; member 140 static int ma901_set_stereo(struct ma901radio_device *radio, u8 stereo) in ma901_set_stereo() argument 146 radio->buffer[2] = stereo; in ma901_set_stereo() 160 if (stereo == MA901_WANT_STEREO) in ma901_set_stereo() 161 radio->stereo = V4L2_TUNER_MODE_STEREO; in ma901_set_stereo() 163 radio->stereo = V4L2_TUNER_MODE_MONO; in ma901_set_stereo() 220 v->audmode = radio->stereo ? in vidioc_g_tuner() 234 /* mono/stereo selector */ in vidioc_s_tuner()
|
H A D | radio-isa.h | 37 /* Card is in stereo audio mode */ 38 bool stereo; member 56 /* Set stereo/mono audio mode */ 57 int (*s_stereo)(struct radio_isa_card *isa, bool stereo); 85 /* Card can capture stereo audio */
|
H A D | dsbr100.c | 9 * at the stereo indicator as well. So, scanning will only find 10 * stereo stations. Sad, but I can't help it. 74 bool stereo; member 144 sees a stereo signal or not. Pity. */ 154 radio->stereo = false; in dsbr100_getstat() 159 radio->stereo = !(radio->transfer_buffer[0] & 0x01); in dsbr100_getstat() 187 v->rxsubchans = radio->stereo ? V4L2_TUNER_SUB_STEREO : in vidioc_g_tuner() 191 v->signal = radio->stereo ? 0xffff : 0; /* We can't get the signal strength */ in vidioc_g_tuner()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | tea5761.c | 160 tuner_dbg("TEA5761 set to stereo\n"); in __set_radio_freq() 227 int stereo = buffer[9] & TEA5761_TUNCHECK_STEREO; in tea5761_stereo() local 229 tuner_dbg("Radio ST GET = %02x\n", stereo); in tea5761_stereo() 231 return (stereo ? V4L2_TUNER_SUB_STEREO : 0); in tea5761_stereo()
|
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | tea5761.c | 160 tuner_dbg("TEA5761 set to stereo\n"); in __set_radio_freq() 227 int stereo = buffer[9] & TEA5761_TUNCHECK_STEREO; in tea5761_stereo() local 229 tuner_dbg("Radio ST GET = %02x\n", stereo); in tea5761_stereo() 231 return (stereo ? V4L2_TUNER_SUB_STEREO : 0); in tea5761_stereo()
|