Lines Matching refs:snd_pcm_substream

48 struct snd_pcm_substream;
54 int (*open)(struct snd_pcm_substream *substream);
55 int (*close)(struct snd_pcm_substream *substream);
56 int (*ioctl)(struct snd_pcm_substream * substream,
58 int (*hw_params)(struct snd_pcm_substream *substream,
60 int (*hw_free)(struct snd_pcm_substream *substream);
61 int (*prepare)(struct snd_pcm_substream *substream);
62 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
63 int (*sync_stop)(struct snd_pcm_substream *substream);
64 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
65 int (*get_time_info)(struct snd_pcm_substream *substream,
69 int (*fill_silence)(struct snd_pcm_substream *substream, int channel,
71 int (*copy_user)(struct snd_pcm_substream *substream, int channel,
74 int (*copy_kernel)(struct snd_pcm_substream *substream, int channel,
76 struct page *(*page)(struct snd_pcm_substream *substream,
78 int (*mmap)(struct snd_pcm_substream *substream, struct vm_area_struct *vma);
79 int (*ack)(struct snd_pcm_substream *substream);
220 struct snd_pcm_substream *substream;
346 struct snd_pcm_substream *trigger_master;
446 struct snd_pcm_substream { struct
466 struct snd_pcm_substream *next; argument
475 void (*pcm_release)(struct snd_pcm_substream *); argument
498 struct snd_pcm_substream *substream; argument
563 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info);
564 int snd_pcm_info_user(struct snd_pcm_substream *substream,
566 int snd_pcm_status64(struct snd_pcm_substream *substream,
568 int snd_pcm_start(struct snd_pcm_substream *substream);
569 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t status);
570 int snd_pcm_drain_done(struct snd_pcm_substream *substream);
571 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream);
580 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, unsigned int cmd, void *arg);
582 struct snd_pcm_substream **rsubstream);
583 void snd_pcm_release_substream(struct snd_pcm_substream *substream);
585 struct snd_pcm_substream **rsubstream);
586 void snd_pcm_detach_substream(struct snd_pcm_substream *substream);
587 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct…
591 void snd_pcm_debug_name(struct snd_pcm_substream *substream,
595 snd_pcm_debug_name(struct snd_pcm_substream *substream, char *buf, size_t size) in snd_pcm_debug_name()
611 static inline int snd_pcm_stream_linked(struct snd_pcm_substream *substream) in snd_pcm_stream_linked()
616 void snd_pcm_stream_lock(struct snd_pcm_substream *substream);
617 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream);
618 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream);
619 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream);
620 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream);
636 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream,
663 static inline int snd_pcm_running(struct snd_pcm_substream *substream) in snd_pcm_running()
724 static inline size_t snd_pcm_lib_buffer_bytes(struct snd_pcm_substream *substream) in snd_pcm_lib_buffer_bytes()
734 static inline size_t snd_pcm_lib_period_bytes(struct snd_pcm_substream *substream) in snd_pcm_lib_period_bytes()
796 static inline int snd_pcm_playback_ready(struct snd_pcm_substream *substream) in snd_pcm_playback_ready()
810 static inline int snd_pcm_capture_ready(struct snd_pcm_substream *substream) in snd_pcm_capture_ready()
825 static inline int snd_pcm_playback_data(struct snd_pcm_substream *substream) in snd_pcm_playback_data()
842 static inline int snd_pcm_playback_empty(struct snd_pcm_substream *substream) in snd_pcm_playback_empty()
856 static inline int snd_pcm_capture_empty(struct snd_pcm_substream *substream) in snd_pcm_capture_empty()
876 static inline void snd_pcm_trigger_done(struct snd_pcm_substream *substream, in snd_pcm_trigger_done()
877 struct snd_pcm_substream *master) in snd_pcm_trigger_done()
984 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params);
1070 void snd_pcm_set_sync(struct snd_pcm_substream *substream);
1071 int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream,
1073 void snd_pcm_period_elapsed(struct snd_pcm_substream *substream);
1074 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream,
1079 snd_pcm_lib_write(struct snd_pcm_substream *substream, in snd_pcm_lib_write()
1086 snd_pcm_lib_read(struct snd_pcm_substream *substream, in snd_pcm_lib_read()
1093 snd_pcm_lib_writev(struct snd_pcm_substream *substream, in snd_pcm_lib_writev()
1100 snd_pcm_lib_readv(struct snd_pcm_substream *substream, in snd_pcm_lib_readv()
1107 snd_pcm_kernel_write(struct snd_pcm_substream *substream, in snd_pcm_kernel_write()
1114 snd_pcm_kernel_read(struct snd_pcm_substream *substream, in snd_pcm_kernel_read()
1121 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, in snd_pcm_kernel_writev()
1128 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, in snd_pcm_kernel_readv()
1157 static inline void snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, in snd_pcm_set_runtime_buffer()
1199 void snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream);
1201 void snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream,
1207 int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size);
1208 int snd_pcm_lib_free_pages(struct snd_pcm_substream *substream);
1210 void snd_pcm_set_managed_buffer(struct snd_pcm_substream *substream, int type,
1216 int _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream,
1218 int snd_pcm_lib_free_vmalloc_buffer(struct snd_pcm_substream *substream);
1219 struct page *snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream *substream,
1234 (struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_alloc_vmalloc_buffer()
1252 (struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_alloc_vmalloc_32_buffer()
1274 snd_pcm_sgbuf_get_addr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_addr()
1285 snd_pcm_sgbuf_get_ptr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_ptr()
1298 snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream *substream, in snd_pcm_sgbuf_get_chunk_size()
1312 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_open()
1324 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_close()
1328 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream,
1333 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, struct vm_area_struct *area);
1366 static inline const char *snd_pcm_stream_str(struct snd_pcm_substream *substream) in snd_pcm_stream_str()
1399 static inline struct snd_pcm_substream *
1402 struct snd_pcm_substream *s; in snd_pcm_chmap_substream()
1452 snd_pcm_sframes_t snd_pcm_vad_read(struct snd_pcm_substream *substream,
1460 snd_pcm_uframes_t snd_pcm_vad_avail(struct snd_pcm_substream *substream);
1467 bool snd_pcm_vad_attached(struct snd_pcm_substream *substream);
1475 int snd_pcm_vad_preprocess(struct snd_pcm_substream *substream,
1485 snd_pcm_sframes_t snd_pcm_vad_memcpy(struct snd_pcm_substream *substream,