Searched refs:cidx (Results 1 – 4 of 4) sorted by relevance
/sound/pci/ac97/ |
D | ac97_pcm.c | 158 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, in get_slot_reg() argument 168 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg() 407 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int db… in get_rates() argument 416 reg = get_slot_reg(pcm, cidx, i, dbl); in get_rates() 425 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates() 569 int i, cidx, r, ok_flag; in snd_ac97_pcm_open() local 577 for (cidx = 0; cidx < 4; cidx++) in snd_ac97_pcm_open() 578 if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) { in snd_ac97_pcm_open() 579 err = set_spdif_rate(bus->codec[cidx], rate); in snd_ac97_pcm_open() 589 for (cidx = 0; cidx < 4; cidx++) { in snd_ac97_pcm_open() [all …]
|
/sound/core/ |
D | sound_oss.c | 108 int cidx = SNDRV_MINOR_OSS_CARD(minor); in snd_register_oss_device() local 130 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); in snd_register_oss_device() 133 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); in snd_register_oss_device() 136 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); in snd_register_oss_device() 168 int cidx = SNDRV_MINOR_OSS_CARD(minor); in snd_unregister_oss_device() local 185 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_AUDIO); in snd_unregister_oss_device() 188 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI); in snd_unregister_oss_device() 191 track2 = SNDRV_MINOR_OSS(cidx, SNDRV_MINOR_OSS_DMMIDI1); in snd_unregister_oss_device()
|
D | pcm.c | 951 int cidx, err; in snd_pcm_dev_register() local 966 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_register() 968 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 970 switch (cidx) { in snd_pcm_dev_register() 989 &snd_pcm_f_ops[cidx], in snd_pcm_dev_register() 998 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register() 1014 int cidx, devtype; in snd_pcm_dev_disconnect() local 1021 for (cidx = 0; cidx < 2; cidx++) in snd_pcm_dev_disconnect() 1022 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_disconnect() 1028 for (cidx = 0; cidx < 2; cidx++) { in snd_pcm_dev_disconnect() [all …]
|
/sound/core/oss/ |
D | pcm_oss.c | 2265 int cidx; in snd_pcm_oss_release_file() local 2268 for (cidx = 0; cidx < 2; ++cidx) { in snd_pcm_oss_release_file() 2269 struct snd_pcm_substream *substream = pcm_oss_file->streams[cidx]; in snd_pcm_oss_release_file()
|