Searched refs:stream (Results 226 - 250 of 946) sorted by relevance

1234567891011>>

/linux-master/sound/soc/codecs/
H A Dhdac_hda.c57 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream,
194 void *stream, int direction)
201 if (!stream)
206 hstream = (struct hdac_stream *)stream;
223 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
241 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val;
258 hda_stream = &pcm->stream[substream->stream];
272 unsigned int stream; local
280 hda_stream = &pcm->stream[substrea
193 hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, int direction) argument
[all...]
/linux-master/sound/soc/
H A Dsoc-dai.c251 * the total number of slots of the TDM stream and @slot_with the width of each
253 * active slots of the TDM stream for the specified DAI, i.e. which slots the
270 int stream; local
283 for_each_pcm_streams(stream)
284 snd_soc_dai_tdm_mask_set(dai, stream, *tdm_mask[stream]);
367 * @direction: stream to mute
427 if (!snd_soc_dai_stream_valid(dai, substream->stream))
445 if (!snd_soc_dai_stream_valid(dai, substream->stream))
470 * snd_soc_dai_stream_valid() - check if a DAI supports the given stream
476 struct snd_soc_pcm_stream *stream = snd_soc_dai_get_pcm_stream(dai, dir); local
520 snd_soc_dai_action(struct snd_soc_dai *dai, int stream, int action) argument
533 int stream, active; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crc.c86 static void amdgpu_dm_set_crc_window_default(struct drm_crtc *crtc, struct dc_stream_state *stream) argument
109 dc_stream_forward_crc_window(stream, NULL, true);
119 struct dc_stream_state *stream; local
136 stream = to_amdgpu_crtc(crtc)->dm_irq_params.stream;
137 phy_inst = stream->link->link_enc_hw_inst;
166 struct dc_stream_state *stream; local
175 stream = to_amdgpu_crtc(crtc)->dm_irq_params.stream;
178 dc_stream_forward_crc_window(stream,
[all...]
/linux-master/sound/soc/intel/atom/sst/
H A Dsst_ipc.c255 struct stream_info *stream; local
271 stream = &sst_drv_ctx->streams[str_id];
272 /* If stream is dropped, skip processing this message*/
273 if (stream->status == STREAM_INIT)
275 if (stream->period_elapsed)
276 stream->period_elapsed(stream->pcm_substream);
277 if (stream->compr_cb)
278 stream->compr_cb(stream
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c390 static uint8_t dc_dmub_srv_get_pipes_for_stream(struct dc *dc, struct dc_stream_state *stream) argument
398 if (pipe->stream == stream && pipe->stream_res.tg)
415 if (split_pipe->stream == head_pipe->stream && (split_pipe->top_pipe || split_pipe->prev_odm_pipe)) {
446 if (!pipe->stream)
449 /* If FAMS is being used to support P-State and there is a stream
453 if (!pipe->stream->fpo_in_use) {
464 if (resource_is_pipe_type(pipe, OTG_MASTER) && pipe->stream->fpo_in_use) {
466 uint8_t min_refresh_in_hz = (pipe->stream
1218 struct dc_stream_state *stream = dc->current_state->streams[i]; local
[all...]
/linux-master/net/sctp/
H A Dulpqueue.c219 * because we don't truly support stream interleaving.
745 struct sctp_stream *stream; local
748 sid = event->stream;
749 stream = &ulpq->asoc->stream;
753 /* We are holding the chunks by stream, by SSN. */
756 csid = cevent->stream;
767 if (cssn != sctp_ssn_peek(stream, in, sid))
770 /* Found it, so mark in the stream. */
771 sctp_ssn_next(stream, i
834 struct sctp_stream *stream; local
873 struct sctp_stream *stream; local
940 struct sctp_stream *stream; local
[all...]
/linux-master/sound/soc/intel/keembay/
H A Dkmb_platform.c168 u32 stream)
173 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
182 static inline void kmb_i2s_clear_irqs(struct kmb_i2s_info *kmb_i2s, u32 stream) argument
187 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
197 u32 stream, int chan_nr, bool trigger)
202 if (stream == SNDRV_PCM_STREAM_PLAYBACK)
273 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
282 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
381 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
416 static inline void kmb_i2s_enable_dma(struct kmb_i2s_info *kmb_i2s, u32 stream) argument
167 kmb_i2s_disable_channels(struct kmb_i2s_info *kmb_i2s, u32 stream) argument
196 kmb_i2s_irq_trigger(struct kmb_i2s_info *kmb_i2s, u32 stream, int chan_nr, bool trigger) argument
430 kmb_i2s_disable_dma(struct kmb_i2s_info *kmb_i2s, u32 stream) argument
551 kmb_i2s_config(struct kmb_i2s_info *kmb_i2s, int stream) argument
[all...]
/linux-master/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c130 info->msg_drop_count[substream->stream]++;
145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
217 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
274 info->msg_drop_count[substream->stream] = 0;
277 info->stream_timer[substream->stream].info = info;
278 info->stream_timer[substream->stream].substream = substream;
279 timer_setup(&info->stream_timer[substream->stream].timer,
294 if (substream->stream
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_tcm.c468 static void uasp_cleanup_one_stream(struct f_uas *fu, struct uas_stream *stream) argument
471 if (!stream->req_in)
474 usb_ep_free_request(fu->ep_in, stream->req_in);
475 usb_ep_free_request(fu->ep_out, stream->req_out);
476 usb_ep_free_request(fu->ep_status, stream->req_status);
478 stream->req_in = NULL;
479 stream->req_out = NULL;
480 stream->req_status = NULL;
504 uasp_cleanup_one_stream(fu, &fu->stream[i]);
515 struct uas_stream *stream local
547 struct uas_stream *stream = cmd->stream; local
568 struct uas_stream *stream = cmd->stream; local
619 struct uas_stream *stream = cmd->stream; local
633 struct uas_stream *stream = cmd->stream; local
677 struct uas_stream *stream = cmd->stream; local
741 uasp_alloc_stream_res(struct f_uas *fu, struct uas_stream *stream) argument
[all...]
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c153 static inline void __set(FILE *stream, int value, char *err_msg);
157 static inline int get(FILE *stream);
158 static inline void set(FILE *stream, int value);
159 static inline int try_set(FILE *stream, int value);
165 static inline void __set(FILE *stream, int value, char *err_msg) argument
167 rewind(stream);
168 if (fprintf(stream, "%d", value) < 0)
238 static inline int get(FILE *stream) argument
241 rewind(stream);
242 if (fscanf(stream, "
247 set(FILE *stream, int value) argument
260 try_set(FILE *stream, int value) argument
[all...]
/linux-master/sound/soc/ti/
H A Domap-mcpdm.c195 * This function should be called when the stream is closed.
268 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
299 int stream = substream->stream; local
308 if (stream == SNDRV_PCM_STREAM_CAPTURE)
314 if (stream == SNDRV_PCM_STREAM_CAPTURE)
335 threshold = mcpdm->config[stream].threshold;
337 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
340 /* If capture is not running assume a stereo stream to come */
341 if (!mcpdm->config[!stream]
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-subdev.c39 * Maximum stream ID is 63 for now, as we use u64 bitmask to represent a set
43 * restricts the total number of streams in a pad, although the stream ID is
176 u32 which, u32 pad, u32 stream)
180 if (!v4l2_subdev_state_get_format(state, pad, stream))
188 if (stream != 0)
205 check_state(sd, state, format->which, format->pad, format->stream);
232 check_state(sd, state, code->which, code->pad, code->stream) ? :
244 check_state(sd, state, fse->which, fse->pad, fse->stream) ? :
256 check_state(sd, state, fie->which, fie->pad, fie->stream) ? :
268 check_state(sd, state, sel->which, sel->pad, sel->stream);
175 check_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, u32 which, u32 pad, u32 stream) argument
1256 v4l2_subdev_link_validate_get_format(struct media_pad *pad, u32 stream, struct v4l2_subdev_format *fmt, bool states_locked) argument
1365 u32 stream; local
1611 __v4l2_subdev_state_get_format(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) argument
1645 __v4l2_subdev_state_get_crop(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) argument
1679 __v4l2_subdev_state_get_compose(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) argument
1713 __v4l2_subdev_state_get_interval(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) argument
1910 v4l2_subdev_routing_find_opposite_end(const struct v4l2_subdev_krouting *routing, u32 pad, u32 stream, u32 *other_pad, u32 *other_stream) argument
1942 v4l2_subdev_state_get_opposite_stream_format(struct v4l2_subdev_state *state, u32 pad, u32 stream) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c53 descr->continuous = pipe->stream->config.continuous;
68 descr->stream_format = pipe->stream->config.input_config.format;
101 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2);
224 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format))
235 if (pipe->stream->config.online) {
236 preview_descr->online = pipe->stream->config.online;
238 (pipe->stream->config.pixels_per_clock == 2);
240 preview_descr->stream_format = pipe->stream->config.input_config.format;
341 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format))
355 if (pipe->stream
[all...]
/linux-master/sound/soc/dwc/
H A Ddwc-i2s.c41 static inline void i2s_disable_channels(struct dw_i2s_dev *dev, u32 stream) argument
45 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
54 static inline void i2s_clear_irqs(struct dw_i2s_dev *dev, u32 stream) argument
58 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
67 static inline void i2s_disable_irqs(struct dw_i2s_dev *dev, u32 stream, argument
72 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
85 static inline void i2s_enable_irqs(struct dw_i2s_dev *dev, u32 stream, argument
90 if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
154 static void i2s_enable_dma(struct dw_i2s_dev *dev, u32 stream) argument
158 /* Enable DMA handshake for stream */
167 i2s_disable_dma(struct dw_i2s_dev *dev, u32 stream) argument
247 dw_i2s_config(struct dw_i2s_dev *dev, int stream) argument
517 int stream, ret; local
[all...]
/linux-master/sound/soc/amd/acp/
H A Dacp-rembrandt.c267 struct acp_stream *stream; local
276 list_for_each_entry(stream, &adata->stream_list, list) {
277 substream = stream->substream;
281 config_pte_for_stream(adata, stream);
282 config_acp_dma(adata, stream, buf_size);
283 if (stream->dai_id)
284 restore_acp_i2s_params(substream, adata, stream);
H A Dacp-renoir.c220 struct acp_stream *stream; local
226 list_for_each_entry(stream, &adata->stream_list, list) {
227 substream = stream->substream;
231 config_pte_for_stream(adata, stream);
232 config_acp_dma(adata, stream, buf_size);
233 if (stream->dai_id)
234 restore_acp_i2s_params(substream, adata, stream);
H A Dacp63.c276 struct acp_stream *stream; local
285 list_for_each_entry(stream, &adata->stream_list, list) {
286 substream = stream->substream;
290 config_pte_for_stream(adata, stream);
291 config_acp_dma(adata, stream, buf_size);
292 if (stream->dai_id)
293 restore_acp_i2s_params(substream, adata, stream);
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c112 mp->video_stream.stream =
295 if (!cp->stream) return;
296 pvr2_stream_kill(cp->stream->stream);
297 cp->stream->user = NULL;
298 cp->stream = NULL;
380 if (sp == cp->stream) break;
388 cp->stream = sp;
395 // This is the marker for the real beginning of a legitimate mpeg2 stream.
406 pvr2_ioread_setup(cp,sp->stream);
[all...]
/linux-master/include/crypto/
H A Dchacha.h3 * Common values and helper functions for the ChaCha and XChaCha stream ciphers.
21 /* 32-bit stream position, then 96-bit nonce (RFC7539 convention) */
30 /* 192-bit nonce, then 64-bit stream position */
33 void chacha_block_generic(u32 *state, u8 *stream, int nrounds);
34 static inline void chacha20_block(u32 *state, u8 *stream) argument
36 chacha_block_generic(state, stream, 20);
/linux-master/drivers/soundwire/
H A Dcadence_master.h28 * @type: stream type, (only PCM supported)
41 * struct sdw_cdns_streams: Cadence stream data structure
46 * @num_ch_bd: number of bidirectional stream channels
47 * @num_ch_bd: number of input stream channels
48 * @num_ch_bd: number of output stream channels
68 * struct sdw_cdns_stream_config: stream configuration
83 * @name: SoundWire stream name
84 * @stream: stream runtime
91 * @direction: stream directio
95 struct sdw_stream_runtime *stream; member in struct:sdw_cdns_dai_runtime
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1220 const struct dc_stream_state *stream = pipe_ctx->stream; local
1223 struct dc_link *link = stream->link;
1225 struct dc *dc = pipe_ctx->stream->ctx->dc;
1231 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz;
1237 pixel_clk_params->signal_type = pipe_ctx->stream->signal;
1245 stream->timing.display_color_depth;
1247 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding;
1249 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422)
1254 else if (optc2_is_two_pixels_per_containter(&stream
1266 build_clamping_params(struct dc_stream_state *stream) argument
1301 dcn20_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream) argument
1672 struct dc_stream_state *stream = pipe_ctx->stream; local
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-dai.c64 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
72 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
126 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
223 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, substream->stream);
278 dai->name, substream->stream);
324 int stream = substream->stream; local
326 return hda_dai_hw_params(substream, &rtd->dpcm[stream].hw_params, dai);
353 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(cpu_dai, substream->stream);
373 /* use HDaudio stream handlin
444 int stream = substream->stream; local
[all...]
/linux-master/drivers/media/usb/as102/
H A Das102_drv.h61 /* timer handle to trig ts stream download */
66 void *stream; member in struct:as102_dev_t
/linux-master/include/net/sctp/
H A Dstream_interleave.h5 * These are definitions used by the stream schedulers, defined in RFC
44 void sctp_stream_interleave_init(struct sctp_stream *stream);
/linux-master/sound/pci/lx6464es/
H A Dlx6464es.h43 struct snd_pcm_substream *stream; member in struct:lx_stream

Completed in 304 milliseconds

1234567891011>>