Searched refs:pcm (Results 1 - 25 of 952) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/alsa/
H A Dpcm-test.conf0 pcm.test.time1 {
10 pcm.test.time2 {
19 pcm.test.time3 {
28 pcm.test.time4 {
37 pcm.test.time5 {
46 pcm.test.time6 {
55 pcm.test.time7 {
/linux-master/sound/soc/
H A Dsoc-generic-dmaengine-pcm.c10 #include <sound/pcm.h>
28 static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm, argument
31 if (!pcm->chan[substream->stream])
34 return pcm->chan[substream->stream]->device->dev;
80 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
85 if (!pcm->config->prepare_slave_config)
90 ret = pcm->config->prepare_slave_config(substream, params, &slave_config);
102 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
103 struct device *dma_dev = dmaengine_dma_dev(pcm, substream);
104 struct dma_chan *chan = pcm
151 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
179 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
222 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
282 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
296 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); local
349 dmaengine_pcm_request_chan_of(struct dmaengine_pcm *pcm, struct device *dev, const struct snd_dmaengine_pcm_config *config) argument
402 dmaengine_pcm_release_chan(struct dmaengine_pcm *pcm) argument
429 struct dmaengine_pcm *pcm; local
480 struct dmaengine_pcm *pcm; local
[all...]
/linux-master/sound/soc/samsung/
H A Dpcm.c20 #include "pcm.h"
112 * @pclk: the PCLK_PCM (pcm) clock pointer
154 static void s3c_pcm_snd_txctrl(struct s3c_pcm_info *pcm, int on) argument
156 void __iomem *regs = pcm->regs;
176 if (!pcm->idleclk)
185 static void s3c_pcm_snd_rxctrl(struct s3c_pcm_info *pcm, int on) argument
187 void __iomem *regs = pcm->regs;
207 if (!pcm->idleclk)
220 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); local
223 dev_dbg(pcm
264 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); local
321 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); local
392 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); local
409 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); local
437 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(dai); local
489 struct s3c_pcm_info *pcm; local
584 struct s3c_pcm_info *pcm = &s3c_pcm[pdev->id]; local
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-coremask.h48 static inline bool cvmx_coremask_is_core_set(const struct cvmx_coremask *pcm, argument
56 return (pcm->coremask_bitmap[i] & ((u64)1 << n)) != 0;
71 static inline void cvmx_coremask_set64(struct cvmx_coremask *pcm, argument
74 pcm->coremask_bitmap[0] = coremask_64;
80 static inline void cvmx_coremask_clear_core(struct cvmx_coremask *pcm, int core) argument
86 pcm->coremask_bitmap[i] &= ~(1ull << n);
/linux-master/sound/soc/mxs/
H A DMakefile4 snd-soc-mxs-pcm-objs := mxs-pcm.o
6 obj-$(CONFIG_SND_MXS_SOC) += snd-soc-mxs.o snd-soc-mxs-pcm.o
/linux-master/drivers/gpu/drm/tegra/
H A Dhda.h15 bool pcm; member in struct:tegra_hda_format
/linux-master/sound/soc/dwc/
H A DMakefile6 designware_i2s-$(CONFIG_SND_DESIGNWARE_PCM) += dwc-pcm.o
/linux-master/sound/usb/hiface/
H A DMakefile2 snd-usb-hiface-objs := chip.o pcm.o
H A Dchip.h24 struct pcm_runtime *pcm; member in struct:hiface_chip
/linux-master/sound/usb/line6/
H A Dplayback.h11 #include <sound/pcm.h>
/linux-master/sound/soc/sprd/
H A DMakefile4 snd-soc-sprd-platform-objs := sprd-pcm-dma.o sprd-pcm-compress.o
/linux-master/sound/core/oss/
H A DMakefile9 snd-pcm-oss-y := pcm_oss.o
10 snd-pcm-oss-$(CONFIG_SND_PCM_OSS_PLUGINS) += pcm_plugin.o \
14 obj-$(CONFIG_SND_PCM_OSS) += snd-pcm-oss.o
/linux-master/sound/soc/amd/raven/
H A DMakefile4 snd-acp3x-pcm-dma-objs := acp3x-pcm-dma.o
7 obj-$(CONFIG_SND_SOC_AMD_ACP3x) += snd-acp3x-pcm-dma.o
/linux-master/sound/soc/intel/boards/
H A Dskl_hda_dsp_common.c11 #include <sound/pcm.h>
25 struct skl_hda_hdmi_pcm *pcm; local
28 pcm = devm_kzalloc(card->dev, sizeof(*pcm), GFP_KERNEL);
29 if (!pcm)
34 pcm->codec_dai = snd_soc_card_get_codec_dai(card, dai_name);
35 if (!pcm->codec_dai)
38 pcm->device = device;
39 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list);
141 struct skl_hda_hdmi_pcm *pcm; local
[all...]
H A Dhda_dsp_common.c6 #include <sound/pcm.h>
28 spcm = rtd->pcm ?
29 rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].pcm : NULL;
32 return rtd->pcm;
62 hpcm->pcm = spcm;
68 hpcm->pcm = NULL;
H A Dskl_hda_dsp_common.h51 struct skl_hda_hdmi_pcm *pcm; local
57 pcm = list_first_entry(&ctx->hdmi_pcm_list, struct skl_hda_hdmi_pcm,
59 component = pcm->codec_dai->component;
/linux-master/sound/core/
H A Dpcm.c16 #include <sound/pcm.h>
33 static int snd_pcm_free(struct snd_pcm *pcm);
40 struct snd_pcm *pcm; local
42 list_for_each_entry(pcm, &snd_pcm_devices, list) {
43 if (pcm->card == card && pcm->device == device)
44 return pcm;
51 struct snd_pcm *pcm; local
53 list_for_each_entry(pcm, &snd_pcm_devices, list) {
54 if (pcm
64 struct snd_pcm *pcm; local
105 struct snd_pcm *pcm; local
495 struct snd_pcm *pcm = pstr->pcm; local
626 snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) argument
700 struct snd_pcm *pcm; local
853 snd_pcm_free(struct snd_pcm *pcm) argument
870 struct snd_pcm *pcm = device->device_data; local
874 snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file, struct snd_pcm_substream **rsubstream) argument
1009 struct snd_pcm *pcm = pstr->pcm; local
1044 struct snd_pcm *pcm; local
1085 struct snd_pcm *pcm = device->device_data; local
1134 struct snd_pcm *pcm; local
1164 struct snd_pcm *pcm; local
[all...]
/linux-master/sound/aoa/soundbus/i2sbus/
H A DMakefile3 snd-aoa-i2sbus-objs := core.o pcm.o control.o
/linux-master/sound/usb/6fire/
H A Dchip.h22 struct pcm_runtime *pcm; member in struct:sfire_chip
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A DMakefile3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
/linux-master/sound/soc/codecs/
H A Dhda-dai.c16 struct hda_pcm *pcm; local
21 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]);
23 dev_dbg(dai->dev, "open stream codec: %08x, info: %p, pcm: %p %s substream: %p\n",
24 codec->core.vendor_id, stream_info, pcm, pcm->name, substream);
26 snd_hda_codec_pcm_get(pcm);
31 snd_hda_codec_pcm_put(pcm);
42 struct hda_pcm *pcm; local
47 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]);
49 dev_dbg(dai->dev, "close stream codec: %08x, info: %p, pcm
[all...]
/linux-master/sound/soc/mediatek/mt6797/
H A DMakefile5 mt6797-afe-pcm.o \
7 mt6797-dai-pcm.o \
/linux-master/sound/soc/mediatek/mt8195/
H A DMakefile7 mt8195-afe-pcm.o \
10 mt8195-dai-pcm.o
/linux-master/sound/soc/mediatek/mt8188/
H A DMakefile6 mt8188-afe-pcm.o \
10 mt8188-dai-pcm.o
/linux-master/sound/pci/ac97/
H A Dac97_pcm.c18 #include <sound/pcm.h>
144 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, argument
151 if (pcm->spdif)
153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK)
154 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3];
393 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int dbl) argument
402 reg = get_slot_reg(pcm, cidx, i, dbl);
411 rates &= pcm->r[dbl].codec[cidx]->rates[idx];
426 * some slots are available, pcm->xxx.slots and pcm
436 const struct ac97_pcm *pcm; local
555 snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, enum ac97_pcm_cfg cfg, unsigned short slots) argument
646 snd_ac97_pcm_close(struct ac97_pcm *pcm) argument
[all...]

Completed in 329 milliseconds

1234567891011>>