Lines Matching defs:mode
7 /* Does not work. Warning may block system in capture mode */
169 #define CM_LEG_STEREO 0x00000010 /* Legacy is in Stereo mode */
230 #define CM_MMODE_MASK 0x00000E00 /* model DAA interface mode */
429 int toggle_on; /* value to change when ac3 mode */
471 int opened[2]; /* open mode */
1586 static int open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs)
1588 int ch = mode & CM_OPEN_CH_MASK;
1591 * when it's opened on blocking mode. however, since the current
1593 * we can't know whether blocking mode or not in open callback..
1600 cm->opened[ch] = mode;
1602 if (! (mode & CM_OPEN_DAC)) {
1603 /* disable dual DAC mode */
1613 static void close_device_check(struct cmipci *cm, int mode)
1615 int ch = mode & CM_OPEN_CH_MASK;
1618 if (cm->opened[ch] == mode) {
1626 /* enable dual DAC mode again */
2997 cm->channel[0].is_dac = cm->channel[1].is_dac = 1; /* dual DAC mode */