/linux-master/sound/usb/ |
H A D | media.c | 34 int stream) 38 struct device *pcm_dev = pcm->streams[stream].dev; 44 mdev = subs->stream->chip->media_dev; 57 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { 313 struct snd_usb_stream *stream; local 316 list_for_each_entry(stream, &chip->pcm_list, list) { 317 snd_media_stream_delete(&stream->substream[0]); 318 snd_media_stream_delete(&stream->substream[1]); 33 snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm, int stream) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_state_priv.h | 38 const struct dc_stream_state *stream); 40 /* Gets the phantom stream if main is provided, gets the main if phantom is provided.*/ 42 const struct dc_stream_state *stream); 44 /* allocate's phantom stream or plane and returns pointer to the object */ 52 /* deallocate's phantom stream or plane */ 60 /* add/remove phantom stream to context and generate subvp meta data */
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_utils.h | 45 bool dml2_is_stereo_timing(const struct dc_stream_state *stream); 59 * @context: To obtain res_ctx and read other information like stream ID etc. 86 * @stream : stream whoose corresponding pipe params need to be modified. 91 enum dc_status dml2_build_mapped_resource(const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream);
|
H A D | dml2_utils.c | 158 if (pipe_ctx == NULL || pipe_ctx->stream == NULL) 165 if (pipe_ctx->stream->link && pipe_ctx->stream->link->remote_sinks[0]) { 168 dc_is_dp_signal(pipe_ctx->stream->signal) && 169 (pipe_ctx->stream->link->remote_sinks[0]->sink_id == pipe_ctx->stream->sink->sink_id)); 174 dc_is_dp_signal(pipe_ctx->stream->signal)); 182 if (!context->res_ctx.pipe_ctx[i].stream) 251 struct dc_crtc_timing *timing = &pipe_ctx->stream->timing; 255 hblank_start = pipe_ctx->stream 485 dml2_is_stereo_timing(const struct dc_stream_state *stream) argument [all...] |
/linux-master/sound/soc/amd/acp/ |
H A D | acp70.c | 211 struct acp_stream *stream; local 217 list_for_each_entry(stream, &adata->stream_list, list) { 218 if (stream) { 219 substream = stream->substream; 223 config_pte_for_stream(adata, stream); 224 config_acp_dma(adata, stream, buf_size); 225 if (stream->dai_id) 226 restore_acp_i2s_params(substream, adata, stream);
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.h | 36 const struct dc_stream_state *stream, 69 const struct dc_stream_state *stream);
|
/linux-master/fs/nfs/filelayout/ |
H A D | filelayoutdev.c | 74 struct xdr_stream stream; local 80 /* set up xdr stream */ 85 xdr_init_decode_pages(&stream, &buf, pdev->pages, pdev->pglen); 86 xdr_set_scratch_page(&stream, scratch); 89 p = xdr_inline_decode(&stream, 4); 107 p = xdr_inline_decode(&stream, cnt << 2); 120 p = xdr_inline_decode(&stream, 4); 156 p = xdr_inline_decode(&stream, 4); 163 &stream, gfp_flags);
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 116 !pipe_ctx->stream || 902 const struct dc_stream_state *stream, 916 if (old_pipe_ctx->stream != stream) 960 struct dc_stream_state *stream = pipe_ctx->stream; local 971 /* TODO check if timing_changed, disable stream if timing changed */ 987 if (dc_is_hdmi_tmds_signal(stream->signal)) { 988 stream->link->phy_state.symclk_ref_cnts.otg = 1; 989 if (stream 900 false_optc_underflow_wa( struct dc *dc, const struct dc_stream_state *stream, struct timing_generator *tg) argument 1888 dcn10_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream) argument 1973 struct dc_stream_state *stream = pipe_ctx->stream; local 2930 struct dc_stream_state *stream = pipe_ctx->stream; local 3253 dcn10_config_stereo_parameters( struct dc_stream_state *stream, struct crtc_stereo_flags *flags) argument 3298 struct dc_stream_state *stream = pipe_ctx->stream; local 3865 struct dc_stream_state *stream = pipe_ctx->stream; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
H A D | dcn20_hwseq.c | 722 pipe_ctx->stream = NULL; 760 static int calc_mpc_flow_ctrl_cnt(const struct dc_stream_state *stream, argument 763 bool hblank_halved = optc2_is_two_pixels_per_containter(&stream->timing); 769 flow_ctrl_cnt = stream->timing.h_total - stream->timing.h_addressable - 770 stream->timing.h_border_left - 771 stream->timing.h_border_right; 820 struct dc_stream_state *stream = pipe_ctx->stream; local 826 bool interlace = stream 1009 dcn20_set_output_transfer_func(struct dc *dc, struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream) argument 1211 struct dc_stream_state *stream = pipe_ctx->stream; local 2044 struct dc_stream_state *stream = dc->current_state->res_ctx.pipe_ctx[i].stream; local 2628 struct dc_stream_state *stream = pipe_ctx->stream; local 2958 struct dc_stream_state *stream = pipe_ctx->stream; local [all...] |
/linux-master/lib/crypto/ |
H A D | chacha.c | 3 * The "hash function" used as the core of the ChaCha stream cipher (RFC7539) 69 * @stream: output keystream block (64 bytes) 76 void chacha_block_generic(u32 *state, u8 *stream, int nrounds) argument 86 put_unaligned_le32(x[i] + state[i], &stream[i * sizeof(u32)]); 95 * @stream: output (8 32-bit words) 103 void hchacha_block_generic(const u32 *state, u32 *stream, int nrounds) argument 111 memcpy(&stream[0], &x[0], 16); 112 memcpy(&stream[4], &x[12], 16);
|
/linux-master/include/trace/events/ |
H A D | sof.h | 15 #include <sound/sof/stream.h> 73 __field(int, stream) 80 __entry->stream = substream->stream; 84 TP_printk("device_name=%s pcm_id=%d stream=%d dma_posn=%lu dai_posn=%lu", 85 __get_str(device_name), __entry->pcm_id, __entry->stream,
|
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst.c | 304 dev_info(ctx->dev, "Got drv data max stream %d\n", 308 struct stream_info *stream = &ctx->streams[i]; local 310 memset(stream, 0, sizeof(*stream)); 311 stream->pipe_id = PIPE_RSVD; 312 mutex_init(&stream->lock); 437 * check if any stream is active and running 441 struct stream_info *stream = &ctx->streams[i]; local 443 if (stream->status == STREAM_RUNNING) { 444 dev_err(dev, "stream 557 struct stream_info *stream = &ctx->streams[i]; local [all...] |
H A D | sst_ipc.c | 255 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/sound/soc/sof/ |
H A D | ipc4-pcm.c | 20 * @host_copier: the host copier of the pcm stream 21 * @dai_copier: the dai copier of the pcm stream 285 stream_priv = spcm->stream[direction].private; 292 * SOF assumes creation of a new stream from the presence of fifo_size 337 "All pipelines in chained DMA stream should have use_chain_dma attribute set."); 398 pipeline_list = &spcm->stream[substream->stream].pipeline_list; 413 return sof_ipc4_chain_dma_trigger(sdev, spcm, substream->stream, 485 * going to be updated if the stream resumes 487 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substrea 742 int stream; local 765 int stream; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_mipi.c | 210 * Based on the stream configuration, calculate the 213 * @param[in] stream_cfg Point to the target stream configuration 325 if (IS_ISP2401 && pipe->stream->config.online) { 332 if (pipe->stream->config.mode != IA_CSS_INPUT_MODE_BUFFERED_SENSOR) { 339 port = (unsigned int)pipe->stream->config.source.port.port; 347 err = calculate_mipi_buff_size(&pipe->stream->config, 368 /* AM TODO: mipi frames number should come from stream struct. */ 371 /* Incremental allocation (per stream), not for all streams at once. */ 436 assert(pipe->stream); 437 if ((!pipe) || (!pipe->stream)) { [all...] |
/linux-master/scripts/kconfig/ |
H A D | qconf.cc | 1013 QTextStream stream(&info); 1018 stream << "<big><b>"; 1019 stream << print_filter(_menu->prompt->text); 1020 stream << "</b></big>"; 1022 stream << " ("; 1024 stream << "<a href=\"s" << sym->name << "\">"; 1025 stream << print_filter(sym->name); 1027 stream << "</a>"; 1028 stream << ")"; 1031 stream << "<bi 1162 QTextStream *stream = reinterpret_cast<QTextStream *>(data); local [all...] |
/linux-master/sound/soc/ |
H A D | soc-dai.c | 251 * 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/sound/soc/codecs/ |
H A D | hdac_hda.c | 57 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) 240 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; 257 hda_stream = &pcm->stream[substream->stream]; 272 unsigned int stream; local 281 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/firewire/oxfw/ |
H A D | oxfw-stream.c | 74 /* Seek stream format for requirements. */ 103 static int start_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) argument 108 if (stream == &oxfw->rx_stream) 117 err = amdtp_domain_add_stream(&oxfw->domain, stream, 128 struct amdtp_stream *stream) 134 if (stream == &oxfw->tx_stream) 140 if ((err >= 0) && used && !amdtp_stream_running(stream)) { 151 static int init_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) argument 171 if (stream == &oxfw->tx_stream) { 192 err = amdtp_am824_init(stream, oxf 127 check_connection_used_by_others(struct snd_oxfw *oxfw, struct amdtp_stream *stream) argument 201 keep_resources(struct snd_oxfw *oxfw, struct amdtp_stream *stream) argument 253 snd_oxfw_stream_reserve_duplex(struct snd_oxfw *oxfw, struct amdtp_stream *stream, unsigned int rate, unsigned int pcm_channels, unsigned int frames_per_period, unsigned int frames_per_buffer) argument 421 destroy_stream(struct snd_oxfw *oxfw, struct amdtp_stream *stream) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_crc.c | 86 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/net/sctp/ |
H A D | ulpqueue.c | 219 * 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 D | kmb_platform.c | 168 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 D | imx-pcm-rpmsg.c | 130 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 D | f_tcm.c | 468 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 D | mq_perf_tests.c | 153 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...] |