Lines Matching full:pcm

6  *  Digital Audio (PCM) abstract layer
22 #define snd_pcm_chip(pcm) ((pcm)->private_data) argument
465 struct snd_pcm *pcm; member
467 void *private_data; /* copied from pcm->private_data */
515 struct snd_pcm *pcm; member
547 void (*private_free) (struct snd_pcm *pcm);
548 bool internal; /* pcm is for internal use only */
549 bool nonatomic; /* whole PCM operations are in non-atomic context */
568 int snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count);
572 int (*n_register) (struct snd_pcm * pcm);
573 int (*n_disconnect) (struct snd_pcm * pcm);
574 int (*n_unregister) (struct snd_pcm * pcm);
594 int snd_pcm_suspend_all(struct snd_pcm *pcm);
596 static inline int snd_pcm_suspend_all(struct snd_pcm *pcm) in snd_pcm_suspend_all() argument
602 int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, struct file *file,
605 int snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file,
623 * PCM library
645 * snd_pcm_stream_lock_irqsave - Lock the PCM stream
646 * @substream: PCM substream
649 * This locks the PCM stream like snd_pcm_stream_lock() but with the local
662 * snd_pcm_stream_lock_irqsave_nested - Single-nested PCM stream locking
663 * @substream: PCM substream
666 * This locks the PCM stream like snd_pcm_stream_lock_irqsave() but with
719 * __snd_pcm_set_state - Change the current PCM state
720 * @runtime: PCM runtime to set
734 * @runtime: PCM runtime instance
746 * @runtime: PCM runtime instance
758 * @runtime: PCM runtime instance
770 * @runtime: PCM runtime instance
782 * @runtime: PCM runtime instance
793 * snd_pcm_lib_buffer_bytes - Get the buffer size of the current PCM in bytes
794 * @substream: PCM substream
805 * snd_pcm_lib_period_bytes - Get the period size of the current PCM in bytes
806 * @substream: PCM substream
818 * @runtime: PCM runtime instance
836 * @runtime: PCM runtime instance
852 * @runtime: PCM runtime instance
863 * @runtime: PCM runtime instance
874 * @substream: the pcm substream instance
888 * @substream: the pcm substream instance
902 * @substream: the pcm substream instance
920 * @substream: the pcm substream instance
934 * @substream: the pcm substream instance
948 * @substream: the pcm substream instance
1124 * @runtime: PCM runtime instance
1145 * snd_pcm_format_cpu_endian - Check the PCM format is CPU-endian
1148 * Return: 1 if the given PCM format is CPU-endian, 0 if
1164 void snd_pcm_set_ops(struct snd_pcm * pcm, int direction,
1169 * snd_pcm_set_sync - set the PCM sync id
1170 * @substream: the pcm substream
1172 * Use the default PCM sync identifier for the specific card.
1258 * snd_pcm_set_runtime_buffer - Set the PCM runtime buffer
1259 * @substream: PCM substream to set
1284 * @runtime: PCM runtime instance
1308 void snd_pcm_lib_preallocate_free_for_all(struct snd_pcm *pcm);
1312 void snd_pcm_lib_preallocate_pages_for_all(struct snd_pcm *pcm,
1320 int snd_pcm_set_managed_buffer_all(struct snd_pcm *pcm, int type,
1325 * snd_pcm_set_fixed_buffer - Preallocate and set up the fixed size PCM buffer
1326 * @substream: the pcm substream instance
1346 * snd_pcm_set_fixed_buffer_all - Preallocate and set up the fixed size PCM buffer
1347 * @pcm: the pcm instance
1359 snd_pcm_set_fixed_buffer_all(struct snd_pcm *pcm, int type, in snd_pcm_set_fixed_buffer_all() argument
1362 return snd_pcm_set_managed_buffer_all(pcm, type, data, size, 0); in snd_pcm_set_fixed_buffer_all()
1369 * @substream: PCM substream
1383 * @substream: PCM substream
1400 * PCM mmap callback should handle this counter properly
1412 * PCM mmap callback should handle this counter properly
1468 * @substream: the pcm substream instance
1478 * PCM channel-mapping control API
1488 struct snd_pcm *pcm; /* assigned PCM instance */ member
1498 * snd_pcm_chmap_substream - get the PCM substream assigned to the given chmap info
1502 * Return: the matched PCM substream, or NULL if not found
1508 for (s = info->pcm->streams[info->stream].substream; s; s = s->next) in snd_pcm_chmap_substream()
1524 int snd_pcm_add_chmap_ctls(struct snd_pcm *pcm, int stream,
1532 * @pcm_format: PCM format
1534 * Return: 64bit mask corresponding to the given PCM format
1551 #define pcm_err(pcm, fmt, args...) \ argument
1552 dev_err((pcm)->card->dev, fmt, ##args)
1553 #define pcm_warn(pcm, fmt, args...) \ argument
1554 dev_warn((pcm)->card->dev, fmt, ##args)
1555 #define pcm_dbg(pcm, fmt, args...) \ argument
1556 dev_dbg((pcm)->card->dev, fmt, ##args)