Lines Matching refs:snd_pcm_substream
61 struct snd_pcm_substream;
67 int (*open)(struct snd_pcm_substream *substream);
68 int (*close)(struct snd_pcm_substream *substream);
69 int (*ioctl)(struct snd_pcm_substream * substream,
71 int (*hw_params)(struct snd_pcm_substream *substream,
73 int (*hw_free)(struct snd_pcm_substream *substream);
74 int (*prepare)(struct snd_pcm_substream *substream);
75 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
76 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
77 int (*get_time_info)(struct snd_pcm_substream *substream,
81 int (*fill_silence)(struct snd_pcm_substream *substream, int channel,
83 int (*copy_user)(struct snd_pcm_substream *substream, int channel,
86 int (*copy_kernel)(struct snd_pcm_substream *substream, int channel,
88 struct page *(*page)(struct snd_pcm_substream *substream,
90 int (*mmap)(struct snd_pcm_substream *substream, struct vm_area_struct *vma);
91 int (*ack)(struct snd_pcm_substream *substream);
227 struct snd_pcm_substream *substream;
353 struct snd_pcm_substream *trigger_master;
447 struct snd_pcm_substream { struct
467 struct snd_pcm_substream *next; argument
477 void (*pcm_release)(struct snd_pcm_substream *); argument
508 struct snd_pcm_substream *substream; argument
574 int snd_pcm_info(struct snd_pcm_substream *substream, struct snd_pcm_info *info);
575 int snd_pcm_info_user(struct snd_pcm_substream *substream,
577 int snd_pcm_status(struct snd_pcm_substream *substream,
579 int snd_pcm_start(struct snd_pcm_substream *substream);
580 int snd_pcm_stop(struct snd_pcm_substream *substream, snd_pcm_state_t status);
581 int snd_pcm_drain_done(struct snd_pcm_substream *substream);
582 int snd_pcm_stop_xrun(struct snd_pcm_substream *substream);
584 int snd_pcm_suspend(struct snd_pcm_substream *substream);
587 static inline int snd_pcm_suspend(struct snd_pcm_substream *substream) in snd_pcm_suspend()
596 int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, unsigned int cmd, void *arg);
598 struct snd_pcm_substream **rsubstream);
599 void snd_pcm_release_substream(struct snd_pcm_substream *substream);
601 struct snd_pcm_substream **rsubstream);
602 void snd_pcm_detach_substream(struct snd_pcm_substream *substream);
603 int snd_pcm_mmap_data(struct snd_pcm_substream *substream, struct file *file, struct vm_area_struct…
607 void snd_pcm_debug_name(struct snd_pcm_substream *substream,
611 snd_pcm_debug_name(struct snd_pcm_substream *substream, char *buf, size_t size) in snd_pcm_debug_name()
627 static inline int snd_pcm_stream_linked(struct snd_pcm_substream *substream) in snd_pcm_stream_linked()
632 void snd_pcm_stream_lock(struct snd_pcm_substream *substream);
633 void snd_pcm_stream_unlock(struct snd_pcm_substream *substream);
634 void snd_pcm_stream_lock_irq(struct snd_pcm_substream *substream);
635 void snd_pcm_stream_unlock_irq(struct snd_pcm_substream *substream);
636 unsigned long _snd_pcm_stream_lock_irqsave(struct snd_pcm_substream *substream);
652 void snd_pcm_stream_unlock_irqrestore(struct snd_pcm_substream *substream,
674 static inline int snd_pcm_running(struct snd_pcm_substream *substream) in snd_pcm_running()
735 static inline size_t snd_pcm_lib_buffer_bytes(struct snd_pcm_substream *substream) in snd_pcm_lib_buffer_bytes()
745 static inline size_t snd_pcm_lib_period_bytes(struct snd_pcm_substream *substream) in snd_pcm_lib_period_bytes()
807 static inline int snd_pcm_playback_ready(struct snd_pcm_substream *substream) in snd_pcm_playback_ready()
821 static inline int snd_pcm_capture_ready(struct snd_pcm_substream *substream) in snd_pcm_capture_ready()
836 static inline int snd_pcm_playback_data(struct snd_pcm_substream *substream) in snd_pcm_playback_data()
853 static inline int snd_pcm_playback_empty(struct snd_pcm_substream *substream) in snd_pcm_playback_empty()
867 static inline int snd_pcm_capture_empty(struct snd_pcm_substream *substream) in snd_pcm_capture_empty()
887 static inline void snd_pcm_trigger_done(struct snd_pcm_substream *substream, in snd_pcm_trigger_done()
888 struct snd_pcm_substream *master) in snd_pcm_trigger_done()
995 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params);
1081 void snd_pcm_set_sync(struct snd_pcm_substream *substream);
1082 int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream,
1084 void snd_pcm_period_elapsed(struct snd_pcm_substream *substream);
1085 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream,
1090 snd_pcm_lib_write(struct snd_pcm_substream *substream, in snd_pcm_lib_write()
1097 snd_pcm_lib_read(struct snd_pcm_substream *substream, in snd_pcm_lib_read()
1104 snd_pcm_lib_writev(struct snd_pcm_substream *substream, in snd_pcm_lib_writev()
1111 snd_pcm_lib_readv(struct snd_pcm_substream *substream, in snd_pcm_lib_readv()
1118 snd_pcm_kernel_write(struct snd_pcm_substream *substream, in snd_pcm_kernel_write()
1125 snd_pcm_kernel_read(struct snd_pcm_substream *substream, in snd_pcm_kernel_read()
1132 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, in snd_pcm_kernel_writev()
1139 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, in snd_pcm_kernel_readv()
1161 static inline void snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, in snd_pcm_set_runtime_buffer()
1203 int snd_pcm_lib_preallocate_free(struct snd_pcm_substream *substream);
1205 int snd_pcm_lib_preallocate_pages(struct snd_pcm_substream *substream,
1211 int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size);
1212 int snd_pcm_lib_free_pages(struct snd_pcm_substream *substream);
1214 int _snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream,
1216 int snd_pcm_lib_free_vmalloc_buffer(struct snd_pcm_substream *substream);
1217 struct page *snd_pcm_lib_get_vmalloc_page(struct snd_pcm_substream *substream,
1232 (struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_alloc_vmalloc_buffer()
1250 (struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_alloc_vmalloc_32_buffer()
1265 struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream,
1280 snd_pcm_sgbuf_get_addr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_addr()
1291 snd_pcm_sgbuf_get_ptr(struct snd_pcm_substream *substream, unsigned int ofs) in snd_pcm_sgbuf_get_ptr()
1304 snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream *substream, in snd_pcm_sgbuf_get_chunk_size()
1318 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_open()
1330 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; in snd_pcm_mmap_data_close()
1334 int snd_pcm_lib_default_mmap(struct snd_pcm_substream *substream,
1339 int snd_pcm_lib_mmap_iomem(struct snd_pcm_substream *substream, struct vm_area_struct *area);
1374 static inline const char *snd_pcm_stream_str(struct snd_pcm_substream *substream) in snd_pcm_stream_str()
1407 static inline struct snd_pcm_substream *
1410 struct snd_pcm_substream *s; in snd_pcm_chmap_substream()