Home
last modified time | relevance | path

Searched refs:substream (Results 1 – 25 of 27) sorted by relevance

12

/include/sound/
Ddmaengine_pcm.h22 snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream) in snd_pcm_substream_to_dma_direction() argument
24 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_substream_to_dma_direction()
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,
38 int snd_dmaengine_pcm_close(struct snd_pcm_substream *substream);
39 int snd_dmaengine_pcm_sync_stop(struct snd_pcm_substream *substream);
41 int snd_dmaengine_pcm_open_request_chan(struct snd_pcm_substream *substream,
[all …]
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 …]
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
74 void (*event)(struct snd_rawmidi_substream *substream);
79 void (*private_free)(struct snd_rawmidi_substream *substream);
164 int snd_rawmidi_receive(struct snd_rawmidi_substream *substream,
166 int snd_rawmidi_transmit_empty(struct snd_rawmidi_substream *substream);
167 int snd_rawmidi_transmit_peek(struct snd_rawmidi_substream *substream,
[all …]
Dpcm.h22 #define snd_pcm_substream_chip(substream) ((substream)->private_data) argument
57 int (*open)(struct snd_pcm_substream *substream);
58 int (*close)(struct snd_pcm_substream *substream);
59 int (*ioctl)(struct snd_pcm_substream * substream,
61 int (*hw_params)(struct snd_pcm_substream *substream,
63 int (*hw_free)(struct snd_pcm_substream *substream);
64 int (*prepare)(struct snd_pcm_substream *substream);
65 int (*trigger)(struct snd_pcm_substream *substream, int cmd);
66 int (*sync_stop)(struct snd_pcm_substream *substream);
67 snd_pcm_uframes_t (*pointer)(struct snd_pcm_substream *substream);
[all …]
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,
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, in snd_pcm_indirect_playback_transfer() argument
38 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_playback_transfer()
64 copy(substream, rec, bytes); in snd_pcm_indirect_playback_transfer()
82 snd_pcm_indirect_playback_pointer(struct snd_pcm_substream *substream, in snd_pcm_indirect_playback_pointer() argument
95 if (substream->ops->ack) { in snd_pcm_indirect_playback_pointer()
96 err = substream->ops->ack(substream); in snd_pcm_indirect_playback_pointer()
100 return bytes_to_frames(substream->runtime, rec->sw_io); in snd_pcm_indirect_playback_pointer()
108 snd_pcm_indirect_capture_transfer(struct snd_pcm_substream *substream, in snd_pcm_indirect_capture_transfer() argument
112 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_capture_transfer()
[all …]
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, struct timespec64 *system_ts,
[all …]
Dsdw.h32 static inline void snd_sdw_params_to_config(struct snd_pcm_substream *substream, in snd_sdw_params_to_config() argument
41 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_sdw_params_to_config()
Dsoc_sdw_utils.h122 int asoc_sdw_startup(struct snd_pcm_substream *substream);
123 int asoc_sdw_prepare(struct snd_pcm_substream *substream);
124 int asoc_sdw_prepare(struct snd_pcm_substream *substream);
125 int asoc_sdw_trigger(struct snd_pcm_substream *substream, int cmd);
126 int asoc_sdw_hw_params(struct snd_pcm_substream *substream,
128 int asoc_sdw_hw_free(struct snd_pcm_substream *substream);
129 void asoc_sdw_shutdown(struct snd_pcm_substream *substream);
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);
239 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream);
240 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd,
242 void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream,
Dseq_virmidi.h29 struct snd_rawmidi_substream *substream; member
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);
436 struct snd_pcm_substream *substream);
439 struct snd_pcm_substream *substream);
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);
Dcompress_driver.h230 static inline void snd_compr_use_pause_in_draining(struct snd_compr_stream *substream) in snd_compr_use_pause_in_draining() argument
232 substream->device->use_pause_in_draining = true; in snd_compr_use_pause_in_draining()
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,
Dak4117.h160 struct snd_pcm_substream *substream; member
Dhdaudio_ext.h78 struct snd_pcm_substream *substream,
Dak4113.h287 struct snd_pcm_substream *substream; member
Dhdaudio.h536 struct snd_pcm_substream *substream; /* assigned substream, member
572 struct snd_pcm_substream *substream);
595 struct snd_pcm_substream *substream);
Dvx_core.h57 struct snd_pcm_substream *substream; member
Demu10k1.h1505 struct snd_pcm_substream *substream; member
1891 …util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream);
/include/trace/events/
Dsof_intel.h92 struct snd_pcm_substream *substream,
95 TP_ARGS(sdev, hstream, substream, pos),
99 __field(u32, substream)
105 __entry->substream = substream->stream;
110 __entry->substream, __entry->pos)
Dsof.h65 struct snd_pcm_substream *substream,
69 TP_ARGS(sdev, spcm, substream, dma_posn, dai_posn),
80 __entry->stream = substream->stream;
/include/linux/soundwire/
Dsdw_intel.h197 struct snd_pcm_substream *substream; member
210 struct snd_pcm_substream *substream; member
224 int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai);
/include/uapi/sound/
Demu10k1.h384 unsigned int substream; /* substream number */ member

12