/sound/pci/ac97/ |
H A D | ac97_pcm.c | 158 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, argument 168 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; 407 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int dbl) argument 416 reg = get_slot_reg(pcm, cidx, i, dbl); 425 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; 569 int i, cidx, r, ok_flag; local 577 for (cidx = 0; cidx < 4; cidx++) 578 if (bus->codec[cidx] 651 int i, cidx; local [all...] |
/sound/core/ |
H A D | sound_oss.c | 108 int cidx = SNDRV_MINOR_OSS_CARD(minor); local 130 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); 133 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); 136 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); 168 int cidx = SNDRV_MINOR_OSS_CARD(minor); local 185 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); 188 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); 191 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1);
|
H A D | pcm.c | 978 int cidx, err; local 994 for (cidx = 0; cidx < 2; cidx++) { 996 if (pcm->streams[cidx].substream == NULL) 998 switch (cidx) { 1017 &snd_pcm_f_ops[cidx], 1026 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) 1042 int cidx, devtype; local 1049 for (cidx [all...] |
/sound/pci/hda/ |
H A D | patch_conexant.c | 4111 const char *dir, int cidx, 4127 knew[i].index = cidx; 4142 #define cx_auto_add_volume(codec, str, dir, cidx, nid, hda_dir) \ 4143 cx_auto_add_volume_idx(codec, str, dir, cidx, nid, hda_dir, 0) 4214 int cidx) 4227 cidx, adc_nid, HDA_INPUT, idx); 4233 const char *label, int cidx) 4241 return cx_auto_add_volume(codec, label, " Boost", cidx, 4266 int i, j, err, cidx; local 4274 cidx 4110 cx_auto_add_volume_idx(struct hda_codec *codec, const char *basename, const char *dir, int cidx, hda_nid_t nid, int hda_dir, int amp_idx) argument 4212 cx_auto_add_capture_volume(struct hda_codec *codec, hda_nid_t nid, const char *label, const char *pfx, int cidx) argument 4232 cx_auto_add_boost_volume(struct hda_codec *codec, int idx, const char *label, int cidx) argument [all...] |
H A D | patch_realtek.c | 5299 int cidx, unsigned long val) 5310 knew->index = cidx; 5319 const char *sfx, int cidx, unsigned long val) 5323 return add_control(spec, type, name, cidx, val); 5330 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \ 5331 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val) 5332 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \ 5333 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val) 5298 add_control(struct alc_spec *spec, int type, const char *name, int cidx, unsigned long val) argument 5317 add_control_with_pfx(struct alc_spec *spec, int type, const char *pfx, const char *dir, const char *sfx, int cidx, unsigned long val) argument
|
/sound/drivers/ |
H A D | aloop.c | 1097 static int __devinit loopback_proc_new(struct loopback *loopback, int cidx) argument 1103 snprintf(name, sizeof(name), "cable#%d", cidx); 1114 #define loopback_proc_new(loopback, cidx) do { } while (0)
|
/sound/core/oss/ |
H A D | pcm_oss.c | 2300 int cidx; local 2303 for (cidx = 0; cidx < 2; ++cidx) { 2304 struct snd_pcm_substream *substream = pcm_oss_file->streams[cidx];
|