/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 252 const struct dc_stream_state *stream, 261 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; 291 * stream. AMD ASIC stream slot allocation should follow the same 294 fill_dc_mst_payload_table_from_drm(stream->link, enable, target_payload, proposed_table); 321 const struct dc_stream_state *stream) 327 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; 347 const struct dc_stream_state *stream) 357 aconnector = (struct amdgpu_dm_connector *)stream->dm_stream_context; 381 const struct dc_stream_state *stream) 250 dm_helpers_dp_mst_write_payload_allocation_table( struct dc_context *ctx, const struct dc_stream_state *stream, struct dc_dp_mst_stream_allocation_table *proposed_table, bool enable) argument 319 dm_helpers_dp_mst_poll_for_allocation_change_trigger( struct dc_context *ctx, const struct dc_stream_state *stream) argument 345 dm_helpers_dp_mst_send_payload_allocation( struct dc_context *ctx, const struct dc_stream_state *stream) argument 379 dm_helpers_dp_mst_update_mst_mgr_for_deallocation( struct dc_context *ctx, const struct dc_stream_state *stream) argument 755 write_dsc_enable_synaptics_non_virtual_dpcd_mst( struct drm_dp_aux *aux, const struct dc_stream_state *stream, bool enable) argument 792 dm_helpers_dp_write_dsc_enable( struct dc_context *ctx, const struct dc_stream_state *stream, bool enable) argument 1106 dm_helpers_mst_enable_stream_features(const struct dc_stream_state *stream) argument [all...] |
/linux-master/drivers/soundwire/ |
H A D | intel_ace2x.c | 259 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 280 /* Inform DSP about PDI stream number */ 305 pconfig, 1, dai_runtime->stream); 307 dev_err(cdns->dev, "add master to stream failed:%d\n", ret); 334 hw_params = &rtd->dpcm[substream->stream].hw_params; 346 /* configure stream */ 348 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 357 /* Inform DSP about PDI stream number */ 380 * The sdw stream state will transition to RELEASED when stream 403 intel_pcm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) argument 534 intel_pdi_stream_ch_update(struct sdw_intel *sdw, struct sdw_cdns_streams *stream) argument 585 struct sdw_cdns_streams *stream; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_resource.c | 42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) { 43 if (pipe->stream->link == link) {
|
/linux-master/drivers/slimbus/ |
H A D | Makefile | 6 slimbus-y := core.o messaging.o sched.o stream.o
|
/linux-master/fs/squashfs/ |
H A D | zstd_wrapper.c | 66 zstd_dstream *stream; local 74 stream = zstd_init_dstream(wksp->window_size, wksp->mem, wksp->mem_size); 76 if (!stream) { 116 * before stream is done. 126 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf);
|
H A D | decompressor.c | 131 void *stream, *comp_opts = get_comp_opts(sb, flags); local 136 stream = msblk->thread_ops->create(msblk, comp_opts); 137 if (IS_ERR(stream)) 140 return stream;
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_legacy.h | 63 sh_css_set_black_frame(struct ia_css_stream *stream,
|
/linux-master/include/sound/ |
H A D | sdw.h | 23 * @stream_config: Stream configuration for the SoundWire audio stream 24 * @port_config: Port configuration for the SoundWire audio stream 41 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
H A D | soc-component.h | 31 struct snd_compr_stream *stream); 33 struct snd_compr_stream *stream); 35 struct snd_compr_stream *stream, 38 struct snd_compr_stream *stream, 41 struct snd_compr_stream *stream, 44 struct snd_compr_stream *stream, 47 struct snd_compr_stream *stream, int cmd); 49 struct snd_compr_stream *stream, 52 struct snd_compr_stream *stream, char __user *buf, 55 struct snd_compr_stream *stream, [all...] |
/linux-master/sound/firewire/dice/ |
H A D | Makefile | 2 snd-dice-objs := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \
|
H A D | dice-stream.c | 155 static int keep_resources(struct snd_dice *dice, struct amdtp_stream *stream, argument 177 err = amdtp_am824_set_parameters(stream, rate, pcm_chs, midi_ports, 186 amdtp_am824_set_pcm_position(stream, i, i * 2); 187 amdtp_am824_set_pcm_position(stream, i + pcm_chs, 193 amdtp_stream_get_max_payload(stream), 211 struct amdtp_stream *stream; local 218 stream = &dice->tx_stream[i]; 226 stream = &dice->rx_stream[i]; 247 err = keep_resources(dice, stream, resources, rate, pcm_chs, 292 // return invalid stream format 334 struct amdtp_stream *stream; local 491 struct amdtp_stream *stream; local 525 struct amdtp_stream *stream; local [all...] |
H A D | dice-proc.c | 115 unsigned int quadlets, stream, i; local 173 for (stream = 0; stream < tx_rx_header.number; ++stream) { 175 stream * tx_rx_header.size, 178 snd_iprintf(buffer, "tx %u:\n", stream); 199 for (stream = 0; stream < tx_rx_header.number; ++stream) { 201 stream * tx_rx_heade [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn21/ |
H A D | dcn21_hwseq.h | 56 struct dc_state *context, struct dc_stream_state *stream);
|
/linux-master/drivers/block/zram/ |
H A D | zcomp.h | 20 struct zcomp_strm __percpu *stream; member in struct:zcomp
|
/linux-master/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 196 pos = spcm->stream[substream->stream].posn.host_posn; 200 pos = hda_dsp_stream_get_position(hstream, substream->stream, true); 216 int direction = substream->stream; 241 spcm->stream[substream->stream].d0i3_compatible) 246 dev_err(sdev->dev, "error: no stream available\n"); 277 if (spcm->stream[direction].dsp_max_burst_size_in_ms) 280 spcm->stream[direction].dsp_max_burst_size_in_ms * USEC_PER_MSEC * 2, 283 /* binding pcm substream to hda stream */ [all...] |
H A D | hda-ctrl.c | 185 struct hdac_stream *stream; local 214 /* clear stream status */ 215 list_for_each_entry(stream, &bus->stream_list, list) { 216 sd_offset = SOF_STREAM_SD_OFFSET(stream); 262 struct hdac_stream *stream; local 268 /* disable interrupts in stream descriptor */ 269 list_for_each_entry(stream, &bus->stream_list, list) { 270 sd_offset = SOF_STREAM_SD_OFFSET(stream); 287 /* clear stream status */ 288 list_for_each_entry(stream, [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_state.c | 60 /* first find phantom stream in the dc_state */ 69 /* failed to find stream in state */ 346 struct dc_stream_state *stream) 353 DC_LOG_WARNING("Max streams reached, can't add stream %p !\n", stream); 357 state->streams[state->stream_count] = stream; 358 dc_stream_retain(stream); 362 state, dc->res_pool, stream); 364 DC_LOG_WARNING("Adding stream %p to context failed with err %d!\n", stream, re 343 dc_state_add_stream( struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument 372 dc_state_remove_stream( struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument 418 dc_state_add_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument 465 dc_state_remove_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument 535 dc_state_rem_all_planes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_state *state) argument 567 dc_state_add_all_planes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state * const *plane_states, int plane_count, struct dc_state *state) argument 596 dc_state_get_stream_status( struct dc_state *state, struct dc_stream_state *stream) argument 619 dc_state_get_stream_subvp_type(const struct dc_state *state, const struct dc_stream_state *stream) argument 636 dc_state_get_paired_subvp_stream(const struct dc_state *state, const struct dc_stream_state *stream) argument [all...] |
/linux-master/include/net/sctp/ |
H A D | structs.h | 389 int sctp_stream_init(struct sctp_stream *stream, __u16 outcnt, __u16 incnt, 391 int sctp_stream_init_ext(struct sctp_stream *stream, __u16 sid); 392 void sctp_stream_free(struct sctp_stream *stream); 393 void sctp_stream_clear(struct sctp_stream *stream); 394 void sctp_stream_update(struct sctp_stream *stream, struct sctp_stream *new); 396 /* What is the current SSN number for this stream? */ 397 #define sctp_ssn_peek(stream, type, sid) \ 398 (sctp_stream_##type((stream), (sid))->ssn) 400 /* Return the next SSN number for this stream. */ 401 #define sctp_ssn_next(stream, typ 1485 sctp_stream_out( struct sctp_stream *stream, __u16 sid) argument 1492 sctp_stream_in( struct sctp_stream *stream, __u16 sid) argument 1505 sctp_datachk_len(const struct sctp_stream *stream) argument 1510 sctp_datahdr_len(const struct sctp_stream *stream) argument 1515 sctp_ftsnchk_len(const struct sctp_stream *stream) argument 1520 sctp_ftsnhdr_len(const struct sctp_stream *stream) argument 1951 struct sctp_stream stream; member in struct:sctp_association [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_dc_resource_mgmt.c | 106 // The master pipe of a stream is defined as the top pipe in odm slice 0 112 if (state->res_ctx.pipe_ctx[i].stream && state->res_ctx.pipe_ctx[i].stream->stream_id == stream_id) { 129 state->res_ctx.pipe_ctx[i].stream->stream_id, 149 if (!pipe->plane_state || !pipe->stream) 152 get_plane_id(ctx, state, pipe->plane_state, pipe->stream->stream_id, 235 if (!pipe->plane_state && !pipe->stream) 252 * 1. If the existing stream id of the pipe is equivalent to the stream id 253 * of the stream w 494 calculate_odm_slices(const struct dc_stream_state *stream, unsigned int odm_factor, unsigned int *odm_slice_end_x) argument 602 assign_pipes_to_stream(struct dml2_context *ctx, struct dc_state *state, const struct dc_stream_state *stream, int odm_factor, struct dc_plane_pipe_pool *pipe_pool, const struct dc_state *existing_state) argument 636 assign_pipes_to_plane(struct dml2_context *ctx, struct dc_state *state, const struct dc_stream_state *stream, const struct dc_plane_state *plane, int odm_factor, int mpc_factor, int plane_index, struct dc_plane_pipe_pool *pipe_pool, const struct dc_state *existing_state) argument 733 map_pipes_for_stream(struct dml2_context *ctx, struct dc_state *state, const struct dc_stream_state *stream, struct dc_pipe_mapping_scratch *scratch, const struct dc_state *existing_state) argument 753 map_pipes_for_plane(struct dml2_context *ctx, struct dc_state *state, const struct dc_stream_state *stream, const struct dc_plane_state *plane, int plane_index, struct dc_pipe_mapping_scratch *scratch, const struct dc_state *existing_state) argument 796 get_mpc_factor(struct dml2_context *ctx, const struct dc_state *state, const struct dml_display_cfg_st *disp_cfg, struct dml2_dml_to_dc_pipe_mapping *mapping, const struct dc_stream_status *status, const struct dc_stream_state *stream, int plane_idx) argument 825 get_odm_factor( const struct dml2_context *ctx, const struct dml_display_cfg_st *disp_cfg, struct dml2_dml_to_dc_pipe_mapping *mapping, const struct dc_stream_state *stream) argument 883 map_dc_pipes_for_stream(struct dml2_context *ctx, struct dc_state *state, const struct dc_state *existing_state, const struct dc_stream_state *stream, const struct dc_stream_status *status, unsigned int odm_factor, unsigned int mpc_factors[MAX_PIPES]) argument [all...] |
/linux-master/sound/soc/qcom/qdsp6/ |
H A D | q6asm-dai.c | 190 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 244 q6asm_unmap_memory_regions(substream->stream, 247 substream->stream); 250 ret = q6asm_map_memory_regions(substream->stream, prtd->audio_client, 261 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 265 } else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { 278 prtd->session_id, substream->stream); 280 dev_err(dev, "%s: stream reg failed ret:%d\n", __func__, ret); 284 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 289 } else if (substream->stream 602 q6asm_dai_compr_open(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 665 q6asm_dai_compr_free(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 695 __q6asm_dai_compr_set_codec_params(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_codec *codec, int stream_id) argument 873 q6asm_dai_compr_set_params(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_params *params) argument 942 q6asm_dai_compr_set_metadata(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_metadata *metadata) argument 991 q6asm_dai_compr_trigger(struct snd_soc_component *component, struct snd_compr_stream *stream, int cmd) argument 1031 q6asm_dai_compr_pointer(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) argument 1049 q6asm_compr_copy(struct snd_soc_component *component, struct snd_compr_stream *stream, char __user *buf, size_t count) argument 1119 q6asm_dai_compr_mmap(struct snd_soc_component *component, struct snd_compr_stream *stream, struct vm_area_struct *vma) argument 1132 q6asm_dai_compr_get_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_caps *caps) argument 1151 q6asm_dai_compr_get_codec_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_codec_caps *codec) argument [all...] |
H A D | q6apm-dai.c | 241 cfg.direction = substream->stream; 250 q6apm_unmap_memory_regions(prtd->graph, substream->stream); 266 ret = q6apm_map_memory_regions(prtd->graph, substream->stream, prtd->phys, 286 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { 312 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 362 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 364 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 374 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 417 q6apm_unmap_memory_regions(prtd->graph, substream->stream); 478 struct snd_compr_stream *stream) 477 q6apm_dai_compr_open(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 525 q6apm_dai_compr_free(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 542 q6apm_dai_compr_get_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_caps *caps) argument 559 q6apm_dai_compr_get_codec_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_codec_caps *codec) argument 574 q6apm_dai_compr_pointer(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) argument 590 q6apm_dai_compr_trigger(struct snd_soc_component *component, struct snd_compr_stream *stream, int cmd) argument 623 q6apm_dai_compr_ack(struct snd_soc_component *component, struct snd_compr_stream *stream, size_t count) argument 637 q6apm_dai_compr_set_params(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_params *params) argument 713 q6apm_dai_compr_set_metadata(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_metadata *metadata) argument 740 q6apm_dai_compr_mmap(struct snd_soc_component *component, struct snd_compr_stream *stream, struct vm_area_struct *vma) argument 752 q6apm_compr_copy(struct snd_soc_component *component, struct snd_compr_stream *stream, char __user *buf, size_t count) argument [all...] |
/linux-master/drivers/media/platform/st/sti/hva/ |
H A D | hva-debugfs.c | 15 struct hva_streaminfo *stream = &ctx->streaminfo; local 35 seq_printf(s, " | |- stream format=%4.4s\n" 40 (char *)&stream->streamformat, 41 stream->width, stream->height, 42 stream->profile, stream->level); 62 if (stream->streamformat == V4L2_PIX_FMT_H264) { 169 * - begin/begin (no stream available) is an invalid sequence 175 void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream) argument [all...] |
/linux-master/sound/usb/ |
H A D | media.h | 57 int stream); 67 struct snd_pcm *pcm, int stream) 66 snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm, int stream) argument
|
/linux-master/sound/usb/line6/ |
H A D | pcm.h | 37 #define get_substream(line6pcm, stream) \ 38 (line6pcm->pcm->streams[stream].substream) 49 capture and playback stream, which must be shared between these 54 or capture stream. Both can contain the bit flag corresponding to 60 the running flag indicates whether the stream is running. 67 /* stream types */ 127 /* Bit flags for operational stream types */ 130 /* Bit flags for running stream types */ 143 /* ALSA pcm stream */
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-context.h | 14 struct pvr2_stream; /* stream interface - defined elsewhere */ 18 struct pvr2_context_stream; /* Wrapper for a stream */ 19 struct pvr2_ioread; /* Low level stream structure */ 23 struct pvr2_stream *stream; member in struct:pvr2_context_stream 49 struct pvr2_context_stream *stream; member in struct:pvr2_channel
|