Searched refs:cpcm (Results 1 – 6 of 6) sorted by relevance
| /linux/sound/pci/cs46xx/ |
| A D | cs46xx_lib.c | 1048 cpcm, cpcm->hw_buf.addr,cpcm->pcm_channel_id); in _cs46xx_adjust_sample_rate() 1061 cpcm->pcm_channel = cs46xx_dsp_create_pcm_channel(chip, sample_rate, cpcm, in _cs46xx_adjust_sample_rate() 1221 cpcm->shift = 2; in snd_cs46xx_playback_prepare() 1224 cpcm->shift--; in snd_cs46xx_playback_prepare() 1229 cpcm->shift--; in snd_cs46xx_playback_prepare() 1243 memset(&cpcm->pcm_rec, 0, sizeof(cpcm->pcm_rec)); in snd_cs46xx_playback_prepare() 1483 cpcm = kzalloc(sizeof(*cpcm), GFP_KERNEL); in _cs46xx_playback_open_channel() 1484 if (cpcm == NULL) in _cs46xx_playback_open_channel() 1488 kfree(cpcm); in _cs46xx_playback_open_channel() 1606 if (cpcm->pcm_channel) { in snd_cs46xx_playback_close() [all …]
|
| /linux/sound/soc/codecs/ |
| A D | hdac_hda.c | 329 struct hda_pcm *cpcm; in snd_soc_find_pcm_from_dai() local 365 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai() 366 if (strstr(cpcm->name, pcm_name)) in snd_soc_find_pcm_from_dai() 367 return cpcm; in snd_soc_find_pcm_from_dai() 376 struct hda_pcm *cpcm; in is_hdmi_codec() local 378 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec() 379 if (cpcm->pcm_type == HDA_PCM_TYPE_HDMI) in is_hdmi_codec()
|
| /linux/sound/pci/hda/ |
| A D | hda_controller.c | 697 struct hda_pcm *cpcm) in snd_hda_attach_pcm_stream() argument 703 int pcm_dev = cpcm->device; in snd_hda_attach_pcm_stream() 715 err = snd_pcm_new(chip->card, cpcm->name, pcm_dev, in snd_hda_attach_pcm_stream() 716 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream() 717 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream() 721 strscpy(pcm->name, cpcm->name, sizeof(pcm->name)); in snd_hda_attach_pcm_stream() 730 apcm->info = cpcm; in snd_hda_attach_pcm_stream() 733 if (cpcm->pcm_type == HDA_PCM_TYPE_MODEM) in snd_hda_attach_pcm_stream() 736 cpcm->pcm = pcm; in snd_hda_attach_pcm_stream() 738 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()
|
| A D | hda_proc.c | 78 struct hda_pcm *cpcm; in print_nid_pcms() local 80 list_for_each_entry(cpcm, &codec->pcm_list_head, list) { in print_nid_pcms() 82 if (cpcm->stream[type].nid != nid || cpcm->pcm == NULL) in print_nid_pcms() 86 cpcm->name, in print_nid_pcms() 87 snd_hda_pcm_type_name[cpcm->pcm_type], in print_nid_pcms() 88 cpcm->pcm->device); in print_nid_pcms()
|
| A D | hda_codec.c | 1755 struct hda_pcm *cpcm; in snd_hda_lock_devices() local 1757 if (!cpcm->pcm) in snd_hda_lock_devices() 2988 struct hda_pcm *cpcm; in snd_hda_codec_shutdown() local 2991 snd_pcm_suspend_all(cpcm->pcm); in snd_hda_codec_shutdown() 3232 struct hda_pcm *cpcm; in snd_hda_codec_parse_pcms() local 3260 cpcm->name); in snd_hda_codec_parse_pcms() 3274 struct hda_pcm *cpcm; in snd_hda_codec_build_pcms() local 3283 if (cpcm->pcm) in snd_hda_codec_build_pcms() 3285 if (!cpcm->stream[0].substreams && !cpcm->stream[1].substreams) in snd_hda_codec_build_pcms() 3290 cpcm->device = SNDRV_PCM_INVALID_DEVICE; in snd_hda_codec_build_pcms() [all …]
|
| /linux/include/sound/ |
| A D | hda_codec.h | 452 struct hda_pcm *cpcm);
|
Completed in 28 milliseconds