Home
last modified time | relevance | path

Searched defs:pcm (Results 1 – 25 of 265) sorted by relevance

1234567891011

/OK3568_Linux_fs/external/rk_pcba_test/tinyalsa/
H A Dpcm.c158 struct pcm { struct
166 struct pcm_config config; argument
167 struct snd_pcm_mmap_status *mmap_status; argument
168 struct snd_pcm_mmap_control *mmap_control; argument
169 struct snd_pcm_sync_ptr *sync_ptr; argument
175 unsigned int pcm_get_buffer_size(struct pcm *pcm) in pcm_get_buffer_size()
180 const char* pcm_get_error(struct pcm *pcm) in pcm_get_error()
185 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops()
228 unsigned int pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes) in pcm_bytes_to_frames()
234 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-generic-dmaengine-pcm.c28 static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm, in dmaengine_dma_dev()
80 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_hw_params() local
113 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_set_runtime_hwparams() local
160 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_open() local
188 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_compat_request_channel() local
234 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_new() local
293 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_pointer() local
307 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_copy_user() local
361 static int dmaengine_pcm_request_chan_of(struct dmaengine_pcm *pcm, in dmaengine_pcm_request_chan_of()
414 static void dmaengine_pcm_release_chan(struct dmaengine_pcm *pcm) in dmaengine_pcm_release_chan()
[all …]
/OK3568_Linux_fs/kernel/sound/core/
H A Dpcm.c40 struct snd_pcm *pcm; in snd_pcm_get() local
51 struct snd_pcm *pcm; in snd_pcm_next() local
64 struct snd_pcm *pcm; in snd_pcm_add() local
106 struct snd_pcm *pcm; in snd_pcm_control_ioctl() local
505 struct snd_pcm *pcm = pstr->pcm; in snd_pcm_stream_proc_init() local
636 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) in snd_pcm_new_stream()
707 struct snd_pcm *pcm; in _snd_pcm_new() local
852 #define pcm_call_notify(pcm, call) \ argument
859 #define pcm_call_notify(pcm, call) do {} while (0) argument
862 static int snd_pcm_free(struct snd_pcm *pcm) in snd_pcm_free()
[all …]
H A Dpcm_memory.c117 void snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm) in snd_pcm_lib_preallocate_free_for_all()
253 static void preallocate_pages_for_all(struct snd_pcm *pcm, int type, in preallocate_pages_for_all()
296 void snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm, in snd_pcm_lib_preallocate_pages_for_all()
341 void snd_pcm_set_managed_buffer_all(struct snd_pcm *pcm, int type, in snd_pcm_set_managed_buffer_all()
/OK3568_Linux_fs/kernel/sound/soc/samsung/
H A Dpcm.c154 static void s3c_pcm_snd_txctrl(struct s3c_pcm_info *pcm, int on) in s3c_pcm_snd_txctrl()
185 static void s3c_pcm_snd_rxctrl(struct s3c_pcm_info *pcm, int on) in s3c_pcm_snd_rxctrl()
220 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in s3c_pcm_trigger() local
264 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in s3c_pcm_hw_params() local
321 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); in s3c_pcm_set_fmt() local
392 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); in s3c_pcm_set_clkdiv() local
409 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(cpu_dai); in s3c_pcm_set_sysclk() local
445 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(dai); in s3c_pcm_dai_probe() local
488 struct s3c_pcm_info *pcm; in s3c_pcm_dev_probe() local
584 struct s3c_pcm_info *pcm = &s3c_pcm[pdev->id]; in s3c_pcm_dev_remove() local
/OK3568_Linux_fs/kernel/sound/pci/lola/
H A Dlola_pcm.c29 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_get_stream() local
213 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_pcm_open() local
246 static void lola_cleanup_slave_streams(struct lola_pcm *pcm, in lola_cleanup_slave_streams()
291 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_pcm_hw_free() local
340 static int lola_setup_periods(struct lola *chip, struct lola_pcm *pcm, in lola_setup_periods()
427 static int lola_setup_controller(struct lola *chip, struct lola_pcm *pcm, in lola_setup_controller()
454 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_pcm_prepare() local
561 void lola_pcm_update(struct lola *chip, struct lola_pcm *pcm, unsigned int bits) in lola_pcm_update()
587 struct snd_pcm *pcm; in lola_create_pcm() local
683 struct lola_pcm *pcm = &chip->pcm[dir]; in lola_init_pcm() local
/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-coremask.h48 static inline bool cvmx_coremask_is_core_set(const struct cvmx_coremask *pcm, in cvmx_coremask_is_core_set()
71 static inline void cvmx_coremask_set64(struct cvmx_coremask *pcm, in cvmx_coremask_set64()
80 static inline void cvmx_coremask_clear_core(struct cvmx_coremask *pcm, int core) in cvmx_coremask_clear_core()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_multi_dais_pcm.c55 static struct dma_chan *to_chan(struct dmaengine_mpcm *pcm, in to_chan()
70 static struct device *dmaengine_dma_dev(struct dmaengine_mpcm *pcm, in dmaengine_dma_dev()
385 struct dmaengine_mpcm *pcm = soc_component_to_mpcm(component); in dmaengine_mpcm_hw_params() local
454 struct dmaengine_mpcm *pcm = soc_component_to_mpcm(component); in dmaengine_mpcm_set_runtime_hwparams() local
524 struct dmaengine_mpcm *pcm = soc_component_to_mpcm(component); in dmaengine_mpcm_open() local
560 struct dmaengine_mpcm *pcm = soc_component_to_mpcm(component); in dmaengine_mpcm_new() local
659 static void dmaengine_mpcm_release_chan(struct dmaengine_mpcm *pcm) in dmaengine_mpcm_release_chan()
675 struct dmaengine_mpcm *pcm; in snd_dmaengine_mpcm_register() local
727 struct dmaengine_mpcm *pcm; in snd_dmaengine_mpcm_unregister() local
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dhdac_hda.c189 struct hdac_hda_pcm *pcm; in hdac_hda_dai_set_tdm_slot() local
241 struct hda_pcm *pcm; in hdac_hda_dai_hw_free() local
262 struct hda_pcm *pcm; in hdac_hda_dai_prepare() local
291 struct hda_pcm *pcm; in hdac_hda_dai_open() local
311 struct hda_pcm *pcm; in hdac_hda_dai_close() local
H A Dhdac_hdmi.c147 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local
157 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report()
207 static void hdac_hdmi_jack_report_sync(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report_sync()
285 struct hdac_hdmi_pcm *pcm; in get_hdmi_pcm_from_id() local
357 struct hdac_hdmi_pcm *pcm, struct hdac_hdmi_port *port) in hdac_hdmi_setup_audio_infoframe()
446 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_set_tdm_slot() local
465 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_set_hw_params() local
525 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_port_from_cvt() local
631 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_pcm_close() local
716 struct hdac_hdmi_pcm *pcm = NULL; in hdac_hdmi_get_pcm() local
[all …]
/OK3568_Linux_fs/kernel/sound/pci/ac97/
H A Dac97_pcm.c144 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, in get_slot_reg()
393 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int db… in get_rates()
436 const struct ac97_pcm *pcm; in snd_ac97_pcm_assign() local
555 int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, in snd_ac97_pcm_open()
646 int snd_ac97_pcm_close(struct ac97_pcm *pcm) in snd_ac97_pcm_close()
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dimx-pcm-fiq.c233 static int imx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) in imx_pcm_preallocate_dma_buffer()
253 struct snd_pcm *pcm = rtd->pcm; in imx_pcm_new() local
282 struct snd_pcm *pcm = rtd->pcm; in snd_imx_pcm_new() local
310 static void imx_pcm_free(struct snd_pcm *pcm) in imx_pcm_free()
331 struct snd_pcm *pcm) in snd_imx_pcm_free()
/OK3568_Linux_fs/kernel/sound/soc/tegra/
H A Dtegra_pcm.c216 static int tegra_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream, in tegra_pcm_preallocate_dma_buffer()
234 static void tegra_pcm_deallocate_dma_buffer(struct snd_pcm *pcm, int stream) in tegra_pcm_deallocate_dma_buffer()
255 struct snd_pcm *pcm = rtd->pcm; in tegra_pcm_dma_allocate() local
296 struct snd_pcm *pcm) in tegra_pcm_destruct()
/OK3568_Linux_fs/kernel/sound/firewire/fireface/
H A Damdtp-ff.c30 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
60 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
118 struct snd_pcm_substream *pcm) in process_it_ctx_payloads()
142 struct snd_pcm_substream *pcm) in process_ir_ctx_payloads()
/OK3568_Linux_fs/kernel/sound/arm/
H A Dpxa2xx-pcm-lib.c143 int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) in pxa2xx_pcm_preallocate_dma_buffer()
159 void pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm) in pxa2xx_pcm_free_dma_buffers()
179 struct snd_pcm *pcm) in pxa2xx_soc_pcm_free()
189 struct snd_pcm *pcm = rtd->pcm; in pxa2xx_soc_pcm_new() local
/OK3568_Linux_fs/kernel/sound/pci/emu10k1/
H A Demupcm.c1379 struct snd_pcm *pcm; in snd_emu10k1_pcm() local
1411 struct snd_pcm *pcm; in snd_emu10k1_pcm_multi() local
1446 struct snd_pcm *pcm; in snd_emu10k1_pcm_mic() local
1578 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in fx8010_pb_trans_copy() local
1606 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_transfer() local
1615 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_hw_free() local
1627 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_prepare() local
1655 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_trigger() local
1702 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_pointer() local
1735 struct snd_emu10k1_fx8010_pcm *pcm = &emu->fx8010.pcm[substream->number]; in snd_emu10k1_fx8010_playback_open() local
[all …]
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dskl_hda_dsp_common.c25 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_add_pcm() local
141 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_jack_init() local
H A Dsof_sdw_hdmi.c31 struct hdmi_pcm *pcm; in sof_sdw_hdmi_init() local
50 struct hdmi_pcm *pcm; in sof_sdw_hdmi_card_late_probe() local
H A Dskl_nau88l25_max98357a.c186 struct skl_hdmi_pcm *pcm; in skylake_hdmi1_init() local
204 struct skl_hdmi_pcm *pcm; in skylake_hdmi2_init() local
222 struct skl_hdmi_pcm *pcm; in skylake_hdmi3_init() local
602 struct skl_hdmi_pcm *pcm; in skylake_card_late_probe() local
H A Dskl_nau88l25_ssm4567.c205 struct skl_hdmi_pcm *pcm; in skylake_hdmi1_init() local
223 struct skl_hdmi_pcm *pcm; in skylake_hdmi2_init() local
242 struct skl_hdmi_pcm *pcm; in skylake_hdmi3_init() local
643 struct skl_hdmi_pcm *pcm; in skylake_card_late_probe() local
/OK3568_Linux_fs/kernel/sound/firewire/tascam/
H A Damdtp-tascam.c35 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
65 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
182 struct snd_pcm_substream *pcm) in process_ir_ctx_payloads()
206 struct snd_pcm_substream *pcm) in process_it_ctx_payloads()
/OK3568_Linux_fs/kernel/sound/core/oss/
H A Dpcm_oss.c181 static int snd_pcm_hw_param_mask(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_mask()
240 static int snd_pcm_hw_param_min(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_min()
301 static int snd_pcm_hw_param_max(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_max()
375 static int snd_pcm_hw_param_near(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_near()
506 static int snd_pcm_hw_param_set(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_set()
2322 static void snd_pcm_oss_look_for_setup(struct snd_pcm *pcm, int stream, in snd_pcm_oss_look_for_setup()
2404 struct snd_pcm *pcm, in snd_pcm_oss_open_file()
2476 struct snd_pcm *pcm; in snd_pcm_oss_open() local
2562 struct snd_pcm *pcm; in snd_pcm_oss_release() local
3056 static void snd_pcm_oss_proc_init(struct snd_pcm *pcm) in snd_pcm_oss_proc_init()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/kirkwood/
H A Dkirkwood-dma.c247 static int kirkwood_dma_preallocate_dma_buffer(struct snd_pcm *pcm, in kirkwood_dma_preallocate_dma_buffer()
270 struct snd_pcm *pcm = rtd->pcm; in kirkwood_dma_new() local
295 struct snd_pcm *pcm) in kirkwood_dma_free_dma_buffers()
/OK3568_Linux_fs/kernel/drivers/media/pci/saa7134/
H A Dsaa7134-alsa.c236 snd_card_saa7134_pcm_t *pcm = runtime->private_data; in snd_card_saa7134_capture_trigger() local
504 snd_card_saa7134_pcm_t *pcm = runtime->private_data; in snd_card_saa7134_capture_prepare() local
594 snd_card_saa7134_pcm_t *pcm = runtime->private_data; in snd_card_saa7134_capture_pointer() local
646 snd_card_saa7134_pcm_t *pcm = runtime->private_data; in snd_card_saa7134_runtime_free() local
797 snd_card_saa7134_pcm_t *pcm; in snd_card_saa7134_capture_open() local
887 struct snd_pcm *pcm; in snd_card_saa7134_pcm() local
/OK3568_Linux_fs/kernel/sound/soc/atmel/
H A Datmel-pcm-pdc.c37 static int atmel_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, in atmel_pcm_preallocate_dma_buffer()
72 struct snd_pcm *pcm = rtd->pcm; in atmel_pcm_new() local
99 struct snd_pcm *pcm) in atmel_pcm_free()

1234567891011