Searched refs:recsrc (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/sound/isa/msnd/
H A Dmsnd_pinnacle_mixer.c74 if (chip->recsrc & MSND_MASK_SYNTH) { snd_msndmix_get_mux()
76 } else if ((chip->recsrc & MSND_MASK_DIGITAL) && snd_msndmix_get_mux()
107 change = newrecsrc != chip->recsrc; snd_msndmix_set_mux()
112 chip->recsrc = newrecsrc; snd_msndmix_set_mux()
333 int snd_msndmix_force_recsrc(struct snd_msnd *dev, int recsrc) snd_msndmix_force_recsrc() argument
335 dev->recsrc = -1; snd_msndmix_force_recsrc()
336 return snd_msndmix_set_mux(dev, recsrc); snd_msndmix_force_recsrc()
H A Dmsnd.h269 unsigned recsrc; member in struct:snd_msnd
307 int snd_msndmix_force_recsrc(struct snd_msnd *chip, int recsrc);
H A Dmsnd_pinnacle.c1027 chip->recsrc = 0; snd_msnd_isa_probe()
1152 chip->recsrc = 0; snd_msnd_pnp_detect()
/linux-4.1.27/sound/oss/
H A Dmsnd_pinnacle.c508 static unsigned long set_recsrc(unsigned long recsrc) set_recsrc() argument
510 if (dev.recsrc == recsrc) set_recsrc()
511 return dev.recsrc; set_recsrc()
513 else if (recsrc == 0) set_recsrc()
514 dev.recsrc = 0; set_recsrc()
517 dev.recsrc ^= recsrc; set_recsrc()
520 if (dev.recsrc & SOUND_MASK_IMIX) { set_recsrc()
524 else if (dev.recsrc & SOUND_MASK_SYNTH) { set_recsrc()
528 else if ((dev.recsrc & SOUND_MASK_DIGITAL1) && test_bit(F_HAVEDIGITAL, &dev.flags)) { set_recsrc()
535 dev.recsrc = 0; set_recsrc()
537 dev.recsrc = SOUND_MASK_IMIX; set_recsrc()
544 return dev.recsrc; set_recsrc()
547 static unsigned long force_recsrc(unsigned long recsrc) force_recsrc() argument
549 dev.recsrc = 0; force_recsrc()
550 return set_recsrc(recsrc); force_recsrc()
599 val = dev.recsrc; mixer_ioctl()
1399 force_recsrc(dev.recsrc); dsp_full_reset()
1884 dev.recsrc = 0; msnd_init()
H A Dmsnd.h233 unsigned long recsrc; member in struct:multisound_dev
H A Dswarm_cs4297a.c295 unsigned int recsrc; member in struct:cs4297a_state::__anon14378
/linux-4.1.27/include/sound/
H A Dmixer_oss.h57 unsigned int mask_recsrc; /* exclusive recsrc mask */
/linux-4.1.27/sound/core/oss/
H A Dmixer_oss.c221 static int snd_mixer_oss_set_recsrc(struct snd_mixer_oss_file *fmixer, int recsrc) snd_mixer_oss_set_recsrc() argument
232 if (recsrc & ~mixer->oss_recsrc) snd_mixer_oss_set_recsrc()
233 recsrc &= ~mixer->oss_recsrc; snd_mixer_oss_set_recsrc()
234 mixer->put_recsrc(fmixer, ffz(~recsrc)); snd_mixer_oss_set_recsrc()
241 active = (recsrc & (1 << chn)) ? 1 : 0; snd_mixer_oss_set_recsrc()

Completed in 212 milliseconds