Searched refs:cpcm (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/sound/pci/cs46xx/ |
H 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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | hdac_hda.c | 332 struct hda_pcm *cpcm; in snd_soc_find_pcm_from_dai() local 368 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in snd_soc_find_pcm_from_dai() 369 if (strstr(cpcm->name, pcm_name)) { in snd_soc_find_pcm_from_dai() 371 if (strstr(cpcm->name, "Alt Analog")) in snd_soc_find_pcm_from_dai() 374 return cpcm; in snd_soc_find_pcm_from_dai() 384 struct hda_pcm *cpcm; in is_hdmi_codec() local 386 list_for_each_entry(cpcm, &hcodec->pcm_list_head, list) { in is_hdmi_codec() 387 if (cpcm->pcm_type == HDA_PCM_TYPE_HDMI) in is_hdmi_codec()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_controller.c | 696 struct hda_pcm *cpcm) in snd_hda_attach_pcm_stream() argument 702 int pcm_dev = cpcm->device; in snd_hda_attach_pcm_stream() 714 err = snd_pcm_new(chip->card, cpcm->name, pcm_dev, in snd_hda_attach_pcm_stream() 715 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream() 716 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream() 720 strscpy(pcm->name, cpcm->name, sizeof(pcm->name)); in snd_hda_attach_pcm_stream() 729 apcm->info = cpcm; in snd_hda_attach_pcm_stream() 732 if (cpcm->pcm_type == HDA_PCM_TYPE_MODEM) in snd_hda_attach_pcm_stream() 735 cpcm->pcm = pcm; in snd_hda_attach_pcm_stream() 737 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()
|
H 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()
|
H A D | hda_codec.c | 1797 struct hda_pcm *cpcm; in snd_hda_lock_devices() local 1799 if (!cpcm->pcm) in snd_hda_lock_devices() 3047 struct hda_pcm *cpcm; in snd_hda_codec_shutdown() local 3055 snd_pcm_suspend_all(cpcm->pcm); in snd_hda_codec_shutdown() 3296 struct hda_pcm *cpcm; in snd_hda_codec_parse_pcms() local 3324 cpcm->name); in snd_hda_codec_parse_pcms() 3338 struct hda_pcm *cpcm; in snd_hda_codec_build_pcms() local 3347 if (cpcm->pcm) in snd_hda_codec_build_pcms() 3349 if (!cpcm->stream[0].substreams && !cpcm->stream[1].substreams) in snd_hda_codec_build_pcms() 3354 cpcm->device = SNDRV_PCM_INVALID_DEVICE; in snd_hda_codec_build_pcms() [all …]
|
/openbmc/linux/include/sound/ |
H A D | hda_codec.h | 459 struct hda_pcm *cpcm);
|