Searched refs:stream (Results 176 - 200 of 946) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/mqueue/
H A Dmq_open_tests.c61 static inline void __set(FILE *stream, int value, char *err_msg);
63 static inline int get(FILE *stream);
64 static inline void set(FILE *stream, int value);
71 static inline void __set(FILE *stream, int value, char *err_msg) argument
73 rewind(stream);
74 if (fprintf(stream, "%d", value) < 0)
118 static inline int get(FILE *stream) argument
121 rewind(stream);
122 if (fscanf(stream, "%d", &value) != 1)
127 static inline void set(FILE *stream, in argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_state.c60 /* first find phantom stream in the dc_state */
69 /* failed to find stream in state */
368 struct dc_stream_state *stream)
375 DC_LOG_WARNING("Max streams reached, can't add stream %p !\n", stream);
379 state->streams[state->stream_count] = stream;
380 dc_stream_retain(stream);
384 state, dc->res_pool, stream);
386 DC_LOG_WARNING("Adding stream %p to context failed with err %d!\n", stream, re
365 dc_state_add_stream( const struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument
394 dc_state_remove_stream( const struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) argument
440 dc_state_add_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument
487 dc_state_remove_plane( const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *state) argument
557 dc_state_rem_all_planes_for_stream( const struct dc *dc, struct dc_stream_state *stream, struct dc_state *state) argument
589 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
618 dc_state_get_stream_status( struct dc_state *state, const struct dc_stream_state *stream) argument
641 dc_state_get_stream_subvp_type(const struct dc_state *state, const struct dc_stream_state *stream) argument
658 dc_state_get_paired_subvp_stream(const struct dc_state *state, const struct dc_stream_state *stream) argument
906 struct dc_stream_state *stream = NULL; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_dc_resource_mgmt.c108 // The master pipe of a stream is defined as the top pipe in odm slice 0
114 if (state->res_ctx.pipe_ctx[i].stream && state->res_ctx.pipe_ctx[i].stream->stream_id == stream_id) {
131 state->res_ctx.pipe_ctx[i].stream->stream_id,
151 if (!pipe->plane_state || !pipe->stream)
154 get_plane_id(ctx, state, pipe->plane_state, pipe->stream->stream_id,
237 if (!pipe->plane_state && !pipe->stream)
254 * 1. If the existing stream id of the pipe is equivalent to the stream id
255 * of the stream w
496 calculate_odm_slices(const struct dc_stream_state *stream, unsigned int odm_factor, unsigned int *odm_slice_end_x) argument
604 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
638 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
735 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
755 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
798 get_target_mpc_factor(struct dml2_context *ctx, 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
827 get_target_odm_factor( const struct dml2_context *ctx, struct dc_state *state, const struct dml_display_cfg_st *disp_cfg, struct dml2_dml_to_dc_pipe_mapping *mapping, const struct dc_stream_state *stream) argument
854 get_source_odm_factor(const struct dml2_context *ctx, struct dc_state *state, const struct dc_stream_state *stream) argument
910 unmap_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, struct dml2_pipe_combine_factor odm_factor, struct dml2_pipe_combine_factor mpc_factors[MAX_PIPES]) argument
939 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, struct dml2_pipe_combine_factor odm_factor, struct dml2_pipe_combine_factor mpc_factors[MAX_PIPES]) argument
[all...]
H A Ddml2_wrapper.h81 const struct dc_stream_state *stream,
96 const struct dc_stream_state *stream);
105 const struct dc_stream_state *stream);
122 bool (*add_phantom_plane)(const struct dc *dc, struct dc_stream_state *stream, struct dc_plane_state *plane_state, struct dc_state *context);
124 struct dc_stream_state *stream,
129 struct dc_stream_state *stream);
135 struct dc_stream_state *stream);
138 enum mall_stream_type (*get_stream_subvp_type)(const struct dc_state *state, const struct dc_stream_state *stream);
139 struct dc_stream_state *(*get_paired_subvp_stream)(const struct dc_state *state, const struct dc_stream_state *stream);
H A Ddml2_utils.c158 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
561 dml2_is_stereo_timing(const struct dc_stream_state *stream) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.c1034 static void mxl111sf_stream_config_bulk(struct usb_data_stream_properties *stream, u8 endpoint) argument
1037 stream->type = USB_BULK;
1038 stream->count = 5;
1039 stream->endpoint = endpoint;
1040 stream->u.bulk.buffersize = 8192;
1043 static void mxl111sf_stream_config_isoc(struct usb_data_stream_properties *stream, argument
1048 stream->type = USB_ISOC;
1049 stream->count = 5;
1050 stream->endpoint = endpoint;
1051 stream
1062 mxl111sf_get_stream_config_dvbt(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
1112 mxl111sf_get_stream_config_atsc(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
1154 mxl111sf_get_stream_config_mh(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
1196 mxl111sf_get_stream_config_atsc_mh(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
1267 mxl111sf_get_stream_config_mercury(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
1346 mxl111sf_get_stream_config_mercury_mh(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) argument
[all...]
/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c29 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) argument
31 fprintf(stream, "%*srax: 0x%.16llx rbx: 0x%.16llx "
35 fprintf(stream, "%*srsi: 0x%.16llx rdi: 0x%.16llx "
39 fprintf(stream, "%*sr8: 0x%.16llx r9: 0x%.16llx "
43 fprintf(stream, "%*sr12: 0x%.16llx r13: 0x%.16llx "
47 fprintf(stream, "%*srip: 0x%.16llx rfl: 0x%.16llx\n",
52 static void segment_dump(FILE *stream, struct kvm_segment *segment, argument
55 fprintf(stream, "%*sbase: 0x%.16llx limit: 0x%.8x "
59 fprintf(stream, "%*spresent: 0x%.2x dpl: 0x%.2x "
63 fprintf(stream, "
69 dtable_dump(FILE *stream, struct kvm_dtable *dtable, uint8_t indent) argument
78 sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent) argument
325 virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) argument
940 vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c252 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 Dintel_ace2x.c307 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
333 /* Inform DSP about PDI stream number */
358 pconfig, 1, dai_runtime->stream);
360 dev_err(cdns->dev, "add master to stream failed:%d\n", ret);
387 hw_params = &rtd->dpcm[substream->stream].hw_params;
399 /* configure stream */
401 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
410 /* Inform DSP about PDI stream number */
433 * The sdw stream state will transition to RELEASED when stream
456 intel_pcm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) argument
587 intel_pdi_stream_ch_update(struct sdw_intel *sdw, struct sdw_cdns_streams *stream) argument
638 struct sdw_cdns_streams *stream; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_resource.c42 if (pipe->stream && pipe->stream->link && pipe->top_pipe == NULL) {
43 if (pipe->stream->link == link) {
/linux-master/drivers/slimbus/
H A DMakefile6 slimbus-y := core.o messaging.o sched.o stream.o
/linux-master/fs/squashfs/
H A Dzstd_wrapper.c66 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 Ddecompressor.c131 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 Dsh_css_legacy.h63 sh_css_set_black_frame(struct ia_css_stream *stream,
/linux-master/include/sound/
H A Dsdw.h23 * @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 Dsoc-component.h31 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/drivers/gpu/drm/amd/display/dc/hwss/dcn21/
H A Ddcn21_hwseq.h56 struct dc_state *context, struct dc_stream_state *stream);
/linux-master/drivers/block/zram/
H A Dzcomp.h20 struct zcomp_strm __percpu *stream; member in struct:zcomp
/linux-master/sound/firewire/dice/
H A DMakefile2 snd-dice-y := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \
H A Ddice-stream.c155 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 Ddice-proc.c115 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/sound/soc/sof/intel/
H A Dhda-pcm.c199 pos = spcm->stream[substream->stream].posn.host_posn;
203 pos = hda_dsp_stream_get_position(hstream, substream->stream, true);
220 int direction = substream->stream;
245 spcm->stream[substream->stream].d0i3_compatible)
250 dev_err(sdev->dev, "error: no stream available\n");
281 if (spcm->stream[direction].dsp_max_burst_size_in_ms)
284 spcm->stream[direction].dsp_max_burst_size_in_ms * USEC_PER_MSEC * 2,
287 /* binding pcm substream to hda stream */
[all...]
/linux-master/include/net/sctp/
H A Dstructs.h389 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/sound/soc/qcom/qdsp6/
H A Dq6asm-dai.c190 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...]
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c15 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...]

Completed in 271 milliseconds

1234567891011>>