Home
last modified time | relevance | path

Searched refs:cpcm (Results 1 – 5 of 5) sorted by relevance

/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.c868 struct snd_cs46xx_pcm * cpcm = runtime->private_data; in snd_cs46xx_pb_trans_copy() local
869 memcpy(cpcm->hw_buf.area + rec->hw_data, runtime->dma_area + rec->sw_data, bytes); in snd_cs46xx_pb_trans_copy()
875 struct snd_cs46xx_pcm * cpcm = runtime->private_data; in snd_cs46xx_playback_transfer() local
876 return snd_pcm_indirect_playback_transfer(substream, &cpcm->pcm_rec, in snd_cs46xx_playback_transfer()
900 struct snd_cs46xx_pcm *cpcm = substream->runtime->private_data; in snd_cs46xx_playback_direct_pointer() local
902 if (snd_BUG_ON(!cpcm->pcm_channel)) in snd_cs46xx_playback_direct_pointer()
906 ptr = snd_cs46xx_peek(chip, (cpcm->pcm_channel->pcm_reader_scb->address + 2) << 2); in snd_cs46xx_playback_direct_pointer()
910 ptr -= cpcm->hw_buf.addr; in snd_cs46xx_playback_direct_pointer()
911 return ptr >> cpcm->shift; in snd_cs46xx_playback_direct_pointer()
918 struct snd_cs46xx_pcm *cpcm = substream->runtime->private_data; in snd_cs46xx_playback_indirect_pointer() local
[all …]
/linux/sound/soc/codecs/
H A Dhdac_hda.c342 struct hda_pcm *cpcm; in snd_soc_find_pcm_from_dai() local
378 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai()
379 if (strstr(cpcm->name, pcm_name)) { in snd_soc_find_pcm_from_dai()
381 if (strstr(cpcm->name, "Alt Analog")) in snd_soc_find_pcm_from_dai()
384 return cpcm; in snd_soc_find_pcm_from_dai()
394 struct hda_pcm *cpcm; in is_hdmi_codec() local
396 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec()
397 if (cpcm->pcm_type == HDA_PCM_TYPE_HDMI) in is_hdmi_codec()
/linux/sound/pci/hda/
H A Dhda_proc.c78 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()
H A Dhda_codec.c1799 struct hda_pcm *cpcm; in snd_hda_lock_devices() local
1800 list_for_each_entry(cpcm, &codec->pcm_list_head, list) { in snd_hda_lock_devices()
1801 if (!cpcm->pcm) in snd_hda_lock_devices()
1803 if (cpcm->pcm->streams[0].substream_opened || in snd_hda_lock_devices()
1804 cpcm->pcm->streams[1].substream_opened) in snd_hda_lock_devices()
3049 struct hda_pcm *cpcm; in snd_hda_codec_shutdown() local
3056 list_for_each_entry(cpcm, &codec->pcm_list_head, list) in snd_hda_codec_shutdown()
3057 snd_pcm_suspend_all(cpcm->pcm); in snd_hda_codec_shutdown()
3299 struct hda_pcm *cpcm; in snd_hda_codec_parse_pcms() local
3315 list_for_each_entry(cpcm, &codec->pcm_list_head, list) { in snd_hda_codec_parse_pcms()
[all …]
/linux/include/sound/
H A Dhda_codec.h456 struct hda_pcm *cpcm);