Home
last modified time | relevance | path

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

12

/include/sound/
A 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()
32 int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
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);
86 const struct snd_pcm_substream *substream,
91 struct snd_pcm_substream *substream,
137 int (*prepare_slave_config)(struct snd_pcm_substream *substream,
142 struct snd_pcm_substream *substream);
[all …]
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);
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);
35 struct snd_pcm_substream *substream, int cmd);
[all …]
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
74 void (*event)(struct snd_rawmidi_substream *substream);
79 void (*private_free)(struct snd_rawmidi_substream *substream);
166 int snd_rawmidi_receive(struct snd_rawmidi_substream *substream,
172 int snd_rawmidi_transmit(struct snd_rawmidi_substream *substream,
174 int snd_rawmidi_proceed(struct snd_rawmidi_substream *substream);
[all …]
A Dpcm.h21 #define snd_pcm_substream_chip(substream) ((substream)->private_data) argument
56 int (*open)(struct snd_pcm_substream *substream);
57 int (*close)(struct snd_pcm_substream *substream);
78 int (*ack)(struct snd_pcm_substream *substream);
238 struct snd_pcm_substream *substream; member
510 #define SUBSTREAM_BUSY(substream) ((substream)->ref_count > 0) argument
519 struct snd_pcm_substream *substream; member
634 return substream->group != &substream->self_group; in snd_pcm_stream_linked()
963 substream->runtime->trigger_master = master; in snd_pcm_trigger_done()
1176 substream->runtime->std_sync_id = true; in snd_pcm_set_sync()
[all …]
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,
A Dpcm-indirect.h34 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()
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()
112 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_indirect_capture_transfer()
137 copy(substream, rec, bytes); in snd_pcm_indirect_capture_transfer()
172 if (substream->ops->ack) { in snd_pcm_indirect_capture_pointer()
173 err = substream->ops->ack(substream); in snd_pcm_indirect_capture_pointer()
[all …]
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,
132 struct snd_pcm_substream *substream);
145 struct snd_pcm_substream *substream,
148 struct snd_pcm_substream *substream,
151 struct snd_pcm_substream *substream);
153 struct snd_pcm_substream *substream);
471 struct snd_pcm_substream *substream);
[all …]
A 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()
A Dsdca_asoc.h48 struct snd_pcm_substream *substream,
50 void sdca_asoc_free_constraints(struct snd_pcm_substream *substream,
57 struct snd_pcm_substream *substream,
A Dsoc_sdw_utils.h123 int asoc_sdw_startup(struct snd_pcm_substream *substream);
124 int asoc_sdw_prepare(struct snd_pcm_substream *substream);
125 int asoc_sdw_prepare(struct snd_pcm_substream *substream);
126 int asoc_sdw_trigger(struct snd_pcm_substream *substream, int cmd);
127 int asoc_sdw_hw_params(struct snd_pcm_substream *substream,
129 int asoc_sdw_hw_free(struct snd_pcm_substream *substream);
130 void asoc_sdw_shutdown(struct snd_pcm_substream *substream);
A Dsoc-dai.h191 struct snd_pcm_substream *substream);
205 struct snd_pcm_substream *substream,
208 struct snd_pcm_substream *substream,
211 struct snd_pcm_substream *substream);
213 struct snd_pcm_substream *substream, int rollback);
235 int snd_soc_pcm_dai_prepare(struct snd_pcm_substream *substream);
236 int snd_soc_pcm_dai_trigger(struct snd_pcm_substream *substream, int cmd,
238 void snd_soc_pcm_dai_delay(struct snd_pcm_substream *substream,
A Dseq_virmidi.h29 struct snd_rawmidi_substream *substream; member
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);
A Dhda_codec.h126 struct snd_pcm_substream *substream);
128 struct snd_pcm_substream *substream);
131 struct snd_pcm_substream *substream);
133 struct snd_pcm_substream *substream);
136 struct snd_pcm_substream *substream);
438 struct snd_pcm_substream *substream);
441 struct snd_pcm_substream *substream);
A Dcompress_driver.h223 static inline void snd_compr_use_pause_in_draining(struct snd_compr_stream *substream) in snd_compr_use_pause_in_draining() argument
225 substream->device->use_pause_in_draining = true; in snd_compr_use_pause_in_draining()
A Dsimple_card_utils.h159 int simple_util_startup(struct snd_pcm_substream *substream);
160 void simple_util_shutdown(struct snd_pcm_substream *substream);
161 int simple_util_hw_params(struct snd_pcm_substream *substream,
A Dak4117.h160 struct snd_pcm_substream *substream; member
A Dhdaudio_ext.h79 struct snd_pcm_substream *substream,
A Dak4113.h287 struct snd_pcm_substream *substream; member
A Dhdaudio.h536 struct snd_pcm_substream *substream; /* assigned substream, member
572 struct snd_pcm_substream *substream);
595 struct snd_pcm_substream *substream);
A Dsoc.h499 static inline int snd_soc_set_runtime_hwparams(struct snd_pcm_substream *substream, in snd_soc_set_runtime_hwparams() argument
502 substream->runtime->hw = *hw; in snd_soc_set_runtime_hwparams()
1181 snd_soc_substream_to_rtd(const struct snd_pcm_substream *substream) in snd_soc_substream_to_rtd() argument
1183 return snd_pcm_substream_chip(substream); in snd_soc_substream_to_rtd()
/include/trace/events/
A 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)
A 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/
A Dsdw_intel.h201 struct snd_pcm_substream *substream; member
214 struct snd_pcm_substream *substream; member
228 int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai);
/include/uapi/sound/
A Demu10k1.h384 unsigned int substream; /* substream number */ member

Completed in 55 milliseconds

12