Searched refs:substream (Results 51 - 75 of 948) sorted by path

1234567891011>>

/linux-master/drivers/usb/gadget/function/
H A Df_midi.c72 struct snd_rawmidi_substream *substream; member in struct:gmidi_in_port
244 struct snd_rawmidi_substream *substream = midi->out_substream[cable]; local
246 if (!substream)
253 snd_rawmidi_receive(substream, data, length);
330 struct snd_rawmidi_substream *substream = port->substream; local
332 if (port->active && substream)
333 snd_rawmidi_drop_output(substream);
634 struct snd_rawmidi_substream *substream = port->substream; local
709 f_midi_in_open(struct snd_rawmidi_substream *substream) argument
724 f_midi_in_close(struct snd_rawmidi_substream *substream) argument
732 f_midi_in_trigger(struct snd_rawmidi_substream *substream, int up) argument
745 f_midi_out_open(struct snd_rawmidi_substream *substream) argument
757 f_midi_out_close(struct snd_rawmidi_substream *substream) argument
765 f_midi_out_trigger(struct snd_rawmidi_substream *substream, int up) argument
[all...]
H A Du_audio.c154 struct snd_pcm_substream *substream; local
179 substream = prm->ss;
182 if (!substream)
185 snd_pcm_stream_lock(substream);
187 runtime = substream->runtime;
188 if (!runtime || !snd_pcm_running(substream)) {
189 snd_pcm_stream_unlock(substream);
193 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
247 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
270 snd_pcm_stream_unlock(substream);
314 uac_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument
353 uac_pcm_pointer(struct snd_pcm_substream *substream) argument
385 uac_pcm_open(struct snd_pcm_substream *substream) argument
427 uac_pcm_null(struct snd_pcm_substream *substream) argument
[all...]
H A Du_uac1_legacy.c94 struct snd_pcm_substream *substream = snd->substream; local
123 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DROP, NULL);
124 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_HW_PARAMS, params);
126 result = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_PREPARE, NULL);
155 struct snd_pcm_substream *substream = snd->substream; local
156 struct snd_pcm_runtime *runtime = substream->runtime;
163 result = snd_pcm_kernel_ioctl(substream,
173 result = snd_pcm_kernel_write(snd->substream, bu
[all...]
H A Du_uac1_legacy.h37 struct snd_pcm_substream *substream; member in struct:gaudio_snd_dev
/linux-master/include/linux/soundwire/
H A Dsdw_intel.h192 struct snd_pcm_substream *substream; member in struct:sdw_intel_stream_params_data
205 struct snd_pcm_substream *substream; member in struct:sdw_intel_stream_free_data
219 int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai);
/linux-master/include/sound/
H A Dcompress_driver.h173 * @substream: compress substream to set
178 static inline void snd_compr_use_pause_in_draining(struct snd_compr_stream *substream) argument
180 substream->device->use_pause_in_draining = true;
H A Ddmaengine_pcm.h16 * substream
17 * @substream: PCM substream
22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) argument
24 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
30 int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream,
32 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
33 snd_pcm_uframes_t snd_dmaengine_pcm_pointer(struct snd_pcm_substream *substream);
34 snd_pcm_uframes_t snd_dmaengine_pcm_pointer_no_residue(struct snd_pcm_substream *substream);
36 int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
[all...]
H A Demu10k1.h1505 struct snd_pcm_substream *substream; member in struct:snd_emu10k1_pcm
1891 struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream);
H A Dhda_codec.h121 struct snd_pcm_substream *substream);
123 struct snd_pcm_substream *substream);
126 struct snd_pcm_substream *substream);
128 struct snd_pcm_substream *substream);
131 struct snd_pcm_substream *substream);
134 /* PCM information for each substream */
435 struct snd_pcm_substream *substream);
438 struct snd_pcm_substream *substream);
H A Dhdaudio.h536 struct snd_pcm_substream *substream; /* assigned substream, member in struct:hdac_stream
572 struct snd_pcm_substream *substream);
595 struct snd_pcm_substream *substream);
H A Dhdaudio_ext.h46 * @link_substream: link substream
80 struct snd_pcm_substream *substream,
H A Dpcm-indirect.h27 typedef void (*snd_pcm_indirect_copy_t)(struct snd_pcm_substream *substream,
34 snd_pcm_indirect_playback_transfer(struct snd_pcm_substream *substream, argument
38 struct snd_pcm_runtime *runtime = substream->runtime;
64 copy(substream, rec, bytes);
82 snd_pcm_indirect_playback_pointer(struct snd_pcm_substream *substream, argument
95 if (substream->ops->ack) {
96 err = substream->ops->ack(substream);
100 return bytes_to_frames(substream->runtime, rec->sw_io);
108 snd_pcm_indirect_capture_transfer(struct snd_pcm_substream *substream, argument
155 snd_pcm_indirect_capture_pointer(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, unsigned int ptr) argument
[all...]
H A Dpcm.h21 #define snd_pcm_substream_chip(substream) ((substream)->private_data)
56 int (*open)(struct snd_pcm_substream *substream);
57 int (*close)(struct snd_pcm_substream *substream);
58 int (*ioctl)(struct snd_pcm_substream * substream,
60 int (*hw_params)(struct snd_pcm_substream *substream,
62 int (*hw_free)(struct snd_pcm_substream *substream);
63 int (*prepare)(struct snd_pcm_substream *substream);
64 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
65 int (*sync_stop)(struct snd_pcm_substream *substream);
233 struct snd_pcm_substream *substream; member in struct:snd_pcm_file
511 struct snd_pcm_substream *substream; member in struct:snd_pcm_str
608 snd_pcm_debug_name(struct snd_pcm_substream *substream, char *buf, size_t size) argument
624 snd_pcm_stream_linked(struct snd_pcm_substream *substream) argument
703 snd_pcm_running(struct snd_pcm_substream *substream) argument
790 snd_pcm_lib_buffer_bytes(struct snd_pcm_substream *substream) argument
802 snd_pcm_lib_period_bytes(struct snd_pcm_substream *substream) argument
872 snd_pcm_playback_ready(struct snd_pcm_substream *substream) argument
886 snd_pcm_capture_ready(struct snd_pcm_substream *substream) argument
901 snd_pcm_playback_data(struct snd_pcm_substream *substream) argument
918 snd_pcm_playback_empty(struct snd_pcm_substream *substream) argument
932 snd_pcm_capture_empty(struct snd_pcm_substream *substream) argument
952 snd_pcm_trigger_done(struct snd_pcm_substream *substream, struct snd_pcm_substream *master) argument
1168 snd_pcm_lib_write(struct snd_pcm_substream *substream, const void __user *buf, snd_pcm_uframes_t frames) argument
1175 snd_pcm_lib_read(struct snd_pcm_substream *substream, void __user *buf, snd_pcm_uframes_t frames) argument
1182 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument
1189 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument
1196 snd_pcm_kernel_write(struct snd_pcm_substream *substream, const void *buf, snd_pcm_uframes_t frames) argument
1203 snd_pcm_kernel_read(struct snd_pcm_substream *substream, void *buf, snd_pcm_uframes_t frames) argument
1210 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument
1217 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument
1246 snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, struct snd_dma_buffer *bufp) argument
1320 snd_pcm_set_fixed_buffer(struct snd_pcm_substream *substream, int type, struct device *data, size_t size) argument
1363 snd_pcm_lib_alloc_vmalloc_buffer(struct snd_pcm_substream *substream, size_t size) argument
1381 snd_pcm_lib_alloc_vmalloc_32_buffer(struct snd_pcm_substream *substream, size_t size) argument
1398 snd_pcm_sgbuf_get_addr(struct snd_pcm_substream *substream, unsigned int ofs) argument
1413 snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream *substream, unsigned int ofs, unsigned int size) argument
1427 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; local
1439 struct snd_pcm_substream *substream = (struct snd_pcm_substream *)area->vm_private_data; local
[all...]
H A Dpxa2xx-lib.h15 extern int pxa2xx_pcm_hw_params(struct snd_pcm_substream *substream,
17 extern int pxa2xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
18 extern snd_pcm_uframes_t pxa2xx_pcm_pointer(struct snd_pcm_substream *substream);
19 extern int pxa2xx_pcm_prepare(struct snd_pcm_substream *substream);
20 extern int pxa2xx_pcm_open(struct snd_pcm_substream *substream);
21 extern int pxa2xx_pcm_close(struct snd_pcm_substream *substream);
26 struct snd_pcm_substream *substream);
28 struct snd_pcm_substream *substream);
30 struct snd_pcm_substream *substream,
33 struct snd_pcm_substream *substream);
[all...]
H A Drawmidi.h40 int (*open) (struct snd_rawmidi_substream * substream);
41 int (*close) (struct snd_rawmidi_substream * substream);
42 void (*trigger) (struct snd_rawmidi_substream * substream, int up);
43 void (*drain) (struct snd_rawmidi_substream * substream);
58 struct snd_rawmidi_substream *substream; member in struct:snd_rawmidi_runtime
74 void (*event)(struct snd_rawmidi_substream *substream);
79 void (*private_free)(struct snd_rawmidi_substream *substream);
83 struct list_head list; /* list of all substream for given stream */
85 int number; /* substream number */
164 int snd_rawmidi_receive(struct snd_rawmidi_substream *substream,
[all...]
H A Dsb.h302 int snd_sb8_playback_open(struct snd_pcm_substream *substream);
303 int snd_sb8_capture_open(struct snd_pcm_substream *substream);
304 int snd_sb8_playback_close(struct snd_pcm_substream *substream);
305 int snd_sb8_capture_close(struct snd_pcm_substream *substream);
H A Dsdw.h21 * @substream: Pointer to the PCM substream structure
32 static inline void snd_sdw_params_to_config(struct snd_pcm_substream *substream, argument
41 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
H A Dsimple_card_utils.h152 int simple_util_startup(struct snd_pcm_substream *substream);
153 void simple_util_shutdown(struct snd_pcm_substream *substream);
154 int simple_util_hw_params(struct snd_pcm_substream *substream,
H A Dsoc-component.h116 struct snd_pcm_substream *substream);
118 struct snd_pcm_substream *substream);
120 struct snd_pcm_substream *substream,
123 struct snd_pcm_substream *substream,
126 struct snd_pcm_substream *substream);
128 struct snd_pcm_substream *substream);
130 struct snd_pcm_substream *substream, int cmd);
132 struct snd_pcm_substream *substream);
134 struct snd_pcm_substream *substream);
136 struct snd_pcm_substream *substream, struc
[all...]
H A Dsoc-dai.h208 struct snd_pcm_substream *substream,
211 struct snd_pcm_substream *substream,
214 struct snd_pcm_substream *substream);
216 struct snd_pcm_substream *substream, int rollback);
240 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream);
241 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd,
243 int snd_soc_pcm_dai_bespoke_trigger(struct snd_pcm_substream *substream,
245 void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream,
H A Dsoc-dapm.h470 int snd_soc_dapm_update_dai(struct snd_pcm_substream *substream,
H A Dsoc-link.h16 int snd_soc_link_startup(struct snd_pcm_substream *substream);
17 void snd_soc_link_shutdown(struct snd_pcm_substream *substream,
19 int snd_soc_link_prepare(struct snd_pcm_substream *substream);
20 int snd_soc_link_hw_params(struct snd_pcm_substream *substream,
22 void snd_soc_link_hw_free(struct snd_pcm_substream *substream,
25 int snd_soc_link_trigger(struct snd_pcm_substream *substream, int cmd,
H A Dsoc.h544 int snd_soc_set_runtime_hwparams(struct snd_pcm_substream *substream,
1220 snd_soc_substream_to_rtd(const struct snd_pcm_substream *substream) argument
1222 return snd_pcm_substream_chip(substream);
H A Dvx_core.h57 struct snd_pcm_substream *substream; member in struct:vx_pipe
/linux-master/include/trace/events/
H A Dsof.h65 struct snd_pcm_substream *substream,
69 TP_ARGS(sdev, spcm, substream, dma_posn, dai_posn),
80 __entry->stream = substream->stream;

Completed in 618 milliseconds

1234567891011>>