Searched refs:stream (Results 276 - 300 of 923) sorted by relevance

<<11121314151617181920>>

/linux-master/sound/pci/pcxhr/
H A Dpcxhr_core.c1116 struct pcxhr_stream *stream)
1122 stream_mask = stream->pipe->is_capture ? 1 : 1<<stream->substream->number;
1124 /* get sample count for one stream */
1126 pcxhr_set_pipe_cmd_params(&rmh, stream->pipe->is_capture,
1127 stream->pipe->first_audio, 0, stream_mask);
1128 /* rmh.stat_len = 2; */ /* 2 resp data for each stream of the pipe */
1138 "stream %c%d : abs samples real(%llu) timer(%llu)\n",
1139 stream->pipe->is_capture ? 'C' : 'P',
1140 stream
1115 pcxhr_stream_read_position(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream) argument
1147 pcxhr_update_timer_pos(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream, int samples_to_add) argument
[all...]
/linux-master/sound/core/
H A Dpcm_memory.c109 substream->stream, size, dmab);
119 substream->stream ? 'c' : 'p', substream->number,
144 int stream; local
146 for_each_pcm_substream(pcm, stream, substream)
210 substream->stream,
215 substream->stream ? 'c' : 'p', substream->number,
300 int stream, err; local
302 for_each_pcm_substream(pcm, stream, substream) {
456 substream->stream,
461 substream->stream
[all...]
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c716 sh_css_create_isp_params(struct ia_css_stream *stream,
720 sh_css_init_isp_params_from_global(struct ia_css_stream *stream,
739 struct ia_css_stream *stream,
872 ia_css_process_kernel(struct ia_css_stream *stream, argument
880 for (i = 0; i < stream->num_pipes; i++) {
881 struct ia_css_pipe *pipe = stream->pipes[i];
935 sh_css_set_black_frame(struct ia_css_stream *stream, argument
945 assert(stream);
948 params = stream->isp_params_configs;
1003 ia_css_process_kernel(stream, param
1011 sh_css_params_set_binning_factor(struct ia_css_stream *stream, unsigned int binning_fact) argument
1032 sh_css_set_shading_table(struct ia_css_stream *stream, struct ia_css_isp_parameters *params, const struct ia_css_shading_table *table) argument
1822 ia_css_stream_set_isp_config( struct ia_css_stream *stream, const struct ia_css_isp_config *config) argument
1830 ia_css_stream_set_isp_config_on_pipe( struct ia_css_stream *stream, const struct ia_css_isp_config *config, struct ia_css_pipe *pipe) argument
1903 sh_css_set_per_frame_isp_config_on_pipe( struct ia_css_stream *stream, const struct ia_css_isp_config *config, struct ia_css_pipe *pipe) argument
2032 ia_css_stream_get_isp_config( const struct ia_css_stream *stream, struct ia_css_isp_config *config) argument
2263 ia_css_stream_isp_parameters_init(struct ia_css_stream *stream) argument
2332 sh_css_create_isp_params(struct ia_css_stream *stream, struct ia_css_isp_parameters **isp_params_out) argument
2389 sh_css_init_isp_params_from_global(struct ia_css_stream *stream, struct ia_css_isp_parameters *params, bool use_default_config, struct ia_css_pipe *pipe_in) argument
2805 ia_css_stream_isp_parameters_uninit(struct ia_css_stream *stream) argument
3633 ia_css_get_fpn_table(struct ia_css_stream *stream) argument
3646 ia_css_get_shading_table(struct ia_css_stream *stream) argument
3899 sh_css_invalidate_params(struct ia_css_stream *stream) argument
4458 ia_css_dvs2_6axis_config_allocate(const struct ia_css_stream *stream) argument
4530 ia_css_en_dz_capt_pipe(struct ia_css_stream *stream, bool enable) argument
[all...]
/linux-master/sound/pci/mixart/
H A Dmixart_core.c457 struct mixart_stream *stream; local
467 stream = &chip->capture_stream[pcm_number];
469 stream = &chip->playback_stream[pcm_number][sub_number];
471 if (stream->substream && (stream->status == MIXART_STREAM_STATUS_RUNNING)) {
472 struct snd_pcm_runtime *runtime = stream->substream->runtime;
478 u64 new_elapse_pos = stream->abs_period_elapsed + runtime->period_size;
485 stream->buf_periods++;
486 if (stream->buf_periods >= runtime->periods)
487 stream
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c1009 const struct dc_stream_state *stream = pipe_ctx->stream; local
1010 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz;
1011 pixel_clk_params->encoder_object_id = stream->link->link_enc->id;
1012 pixel_clk_params->signal_type = pipe_ctx->stream->signal;
1019 stream->timing.display_color_depth;
1021 pixel_clk_params->pixel_encoding = stream->timing.pixel_encoding;
1023 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR422)
1026 if (stream->timing.pixel_encoding == PIXEL_ENCODING_YCBCR420)
1028 if (stream
1033 build_clamping_params(struct dc_stream_state *stream) argument
1057 build_mapped_resource( const struct dc *dc, struct dc_state *context, struct dc_stream_state *stream) argument
1238 dcn10_find_first_free_match_stream_enc_for_link( struct resource_context *res_ctx, const struct resource_pool *pool, struct dc_stream_state *stream) argument
[all...]
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_context.c69 void *stream; local
72 stream = kzalloc(stream_size, GFP_KERNEL);
73 if (!stream)
76 if (copy_from_user(stream, u64_to_user_ptr(stream_user_ptr), stream_size)) {
81 err = pvr_stream_process(pvr_dev, cmd_defs, stream, stream_size, dest);
85 kfree(stream);
90 kfree(stream);
/linux-master/sound/soc/codecs/
H A Dmax98363.c211 struct sdw_stream_runtime *stream; local
216 stream = snd_soc_dai_get_dma_data(dai, substream);
218 if (!stream)
224 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)
243 &port_config, 1, stream);
260 struct sdw_stream_runtime *stream = local
266 sdw_stream_remove_slave(max98363->slave, stream);
/linux-master/sound/soc/meson/
H A Daxg-tdm-formatter.c17 struct axg_tdm_stream *stream; member in struct:axg_tdm_formatter
40 * in the stream. This is why the odd algorithm below is used.
45 * Distribute the channels of the stream over the available slots
63 * the stream has more channels than we can accommodate and we should
82 struct axg_tdm_stream *ts = formatter->stream;
91 * On the g12a (and possibly other SoCs), when a stream using
118 /* Setup the stream parameter in the formatter */
121 formatter->stream);
157 struct axg_tdm_stream *ts = formatter->stream;
162 /* Catch up if the stream i
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c395 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) {
398 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) {
406 if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_PQ) {
409 } else if (top_pipe_ctx->stream->out_transfer_func->tf == TRANSFER_FUNCTION_GAMMA22) {
533 if (pipe->stream && dc_state_get_paired_subvp_stream(context, pipe->stream) &&
539 if (pipe_ctx->stream == pipe->stream)
546 if (pipe_ctx->stream->allow_freesync == 1) {
566 struct dc_stream_state *stream local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c529 int err, map, stream = 0, dgram = 0, zero = 0; local
538 stream = xsocket(AF_UNIX, SOCK_STREAM, 0);
539 if (stream < 0)
544 close(stream);
548 err = bpf_map_update_elem(map, &zero, &stream, BPF_ANY);
549 ASSERT_ERR(err, "bpf_map_update_elem(stream)");
554 close(stream);
561 int stream[2], dgram, udp, tcp; local
591 err = socketpair(AF_UNIX, SOCK_STREAM, 0, stream);
597 err = bpf_map_update_elem(map, &entry, &stream[
629 int stream[2], dgram, udp, tcp; local
701 int stream[2], dgram, udp, tcp; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c199 for (modes = 0; modes < pipe_ctx->stream->audio_info.mode_count; modes++) {
418 stream->timing.display_color_depth;
438 pipe_ctx->stream->bit_depth_params = params;
476 resource_build_bit_depth_reduction_params(pipe_ctx->stream, &params);
477 pipe_ctx->stream->bit_depth_params = params;
597 if (pipes[i].stream == NULL)
601 pipes[i].stream->link == link) {
653 /* Blank stream if running test pattern */
659 /* Blank stream */
808 if (pipe_ctx->stream
[all...]
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1746 struct felix_stream *stream)
1762 ether_addr_copy(stream->dmac, match.key->dst);
1774 stream->prio = match.key->vlan_priority;
1776 stream->prio = -1;
1780 stream->vid = match.key->vlan_id;
1785 stream->id = f->cookie;
1791 struct felix_stream *stream,
1799 ether_addr_copy(mac, stream->dmac);
1800 vid = stream->vid;
1802 /* Stream identification desn't support to add a stream wit
1745 vsc9959_stream_identify(struct flow_cls_offload *f, struct felix_stream *stream) argument
1790 vsc9959_mact_stream_set(struct ocelot *ocelot, struct felix_stream *stream, struct netlink_ext_ack *extack) argument
1826 vsc9959_stream_table_lookup(struct list_head *stream_list, struct felix_stream *stream) argument
1839 vsc9959_stream_table_add(struct ocelot *ocelot, struct list_head *stream_list, struct felix_stream *stream, struct netlink_ext_ack *extack) argument
1876 vsc9959_stream_table_del(struct ocelot *ocelot, struct felix_stream *stream) argument
2238 struct felix_stream stream = {0}; local
2386 struct felix_stream *stream, tmp, *stream_entry; local
2484 struct felix_stream *stream; local
[all...]
/linux-master/fs/btrfs/
H A Dzstd.c382 zstd_cstream *stream; local
399 /* Initialize the stream */
400 stream = zstd_init_cstream(&params, len, workspace->mem,
402 if (!stream) {
428 ret2 = zstd_compress_stream(stream, &workspace->out_buf,
494 ret2 = zstd_end_stream(stream, &workspace->out_buf);
550 zstd_dstream *stream; local
557 stream = zstd_init_dstream(
559 if (!stream) {
576 ret2 = zstd_decompress_stream(stream,
628 zstd_dstream *stream; local
[all...]
/linux-master/sound/soc/intel/avs/
H A Dloader.c366 substream.stream = SNDRV_PCM_STREAM_PLAYBACK;
379 /* enable SPIB for hda stream */
410 /* disable SPIB for hda stream */
426 struct hdac_stream *stream; local
433 substream.stream = SNDRV_PCM_STREAM_PLAYBACK;
438 stream = hdac_stream(estream);
442 ret = snd_hdac_dsp_prepare(stream, sdfmt, lib->size, &dmab);
446 /* enable SPIB for hda stream */
447 snd_hdac_stream_spbcap_enable(bus, true, stream->index);
448 snd_hdac_stream_set_spib(bus, stream, li
[all...]
/linux-master/sound/soc/cirrus/
H A Dep93xx-i2s.c108 static void ep93xx_i2s_enable(struct ep93xx_i2s_info *info, int stream) argument
124 if (stream == SNDRV_PCM_STREAM_PLAYBACK)
132 stream == SNDRV_PCM_STREAM_PLAYBACK)
138 static void ep93xx_i2s_disable(struct ep93xx_i2s_info *info, int stream) argument
144 stream == SNDRV_PCM_STREAM_PLAYBACK)
148 if (stream == SNDRV_PCM_STREAM_PLAYBACK)
169 * the whole stream is shifted by one byte. The watchdog below disables the TX
217 ep93xx_i2s_enable(info, substream->stream);
227 ep93xx_i2s_disable(info, substream->stream);
331 if (substream->stream
[all...]
/linux-master/sound/soc/fsl/
H A Dfsl_asrc_dma.c58 u8 dir = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? OUT : IN;
134 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
147 int stream = substream->stream; local
156 for_each_dpcm_be(rtd, stream, dpcm) {
164 substream_be = snd_soc_dpcm_get_substream(be, stream);
209 be_chan = soc_component_to_pcm(component_be)->chan[substream->stream];
311 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
332 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
/linux-master/sound/firewire/tascam/
H A Dtascam-pcm.c15 struct amdtp_stream *stream; local
18 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) {
20 stream = &tscm->tx_stream;
24 stream = &tscm->rx_stream;
40 return amdtp_tscm_add_pcm_hw_constraints(stream, runtime);
64 // When source of clock is not internal or any stream is reserved for
/linux-master/sound/hda/ext/
H A Dhdac_ext_controller.c255 * snd_hdac_ext_bus_link_set_stream_id - maps stream id to link output
257 * @stream: stream id
260 int stream)
262 snd_hdac_updatew(link->ml_addr, AZX_REG_ML_LOSIDV, (1 << stream), 1 << stream);
267 * snd_hdac_ext_bus_link_clear_stream_id - maps stream id to link output
269 * @stream: stream id
272 int stream)
259 snd_hdac_ext_bus_link_set_stream_id(struct hdac_ext_link *link, int stream) argument
271 snd_hdac_ext_bus_link_clear_stream_id(struct hdac_ext_link *link, int stream) argument
[all...]
/linux-master/sound/soc/apple/
H A Dmca.c196 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
233 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
308 int stream, i; local
317 for_each_pcm_streams(stream) {
318 if (be_cl->clocks_in_use[stream]) {
353 cl->clocks_in_use[substream->stream] = true;
377 cl->clocks_in_use[substream->stream] = false;
554 for_each_dpcm_be(fe, substream->stream, dpcm) {
573 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
603 dev_err(dev, "missing TDM for stream wit
692 int stream; local
896 mca_request_dma_channel(struct mca_cluster *cl, unsigned int stream) argument
[all...]
/linux-master/sound/soc/kirkwood/
H A Dkirkwood-dma.c143 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
164 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
185 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
206 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
/linux-master/tools/perf/util/
H A Ddata-convert-bt.c16 #include <babeltrace/ctf-writer/stream.h>
57 struct bt_ctf_stream *stream; member in struct:ctf_stream
65 struct ctf_stream **stream; member in struct:ctf_writer
677 err = bt_ctf_stream_flush(cs->stream);
679 pr_err("CTF stream %d flush failed\n", cs->cpu);
681 pr("Flush stream for cpu %d (%u samples)\n",
695 struct bt_ctf_stream *stream = NULL; local
700 pr_err("Failed to allocate ctf stream\n");
704 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class);
705 if (!stream) {
1338 struct ctf_stream **stream; local
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/debug/src/
H A Dia_css_debug.c239 assert(!"Unknown stream format");
240 return "unknown-stream-format";
362 debug_print_fifo_channel_state(&sp_to_s2m, "SP to stream-to-memory");
863 #define FIND_DMEM_PARAMS_TYPE(stream, kernel, type) \
865 findf_dmem_params(stream, offsetof(struct ia_css_memory_offsets, dmem.kernel))
867 #define FIND_DMEM_PARAMS(stream, kernel) FIND_DMEM_PARAMS_TYPE(stream, kernel, kernel)
871 findf_dmem_params(struct ia_css_stream *stream, short idx) argument
875 for (i = 0; i < stream->num_pipes; i++) {
876 struct ia_css_pipe *pipe = stream
895 ia_css_debug_dump_isp_params(struct ia_css_stream *stream, unsigned int enable) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c422 input->dest.vactive = pipe->stream->timing.v_addressable + pipe->stream->timing.v_border_top
423 + pipe->stream->timing.v_border_bottom;
431 input->dest.htotal = pipe->stream->timing.h_total;
432 input->dest.hblank_start = input->dest.htotal - pipe->stream->timing.h_front_porch;
434 - pipe->stream->timing.h_addressable
435 - pipe->stream->timing.h_border_left
436 - pipe->stream->timing.h_border_right;
438 input->dest.vtotal = pipe->stream->timing.v_total;
439 input->dest.vblank_start = input->dest.vtotal - pipe->stream
[all...]
/linux-master/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c590 struct hva_stream *stream)
610 unsigned int payload = stream->bytesused;
775 td->addr_output_bitstream_end = (u32)stream->paddr + stream->size;
777 td->addr_output_bitstream_start = (u32)stream->paddr;
778 td->bitstream_offset = (((u32)stream->paddr & 0xF) << 3) &
818 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME;
821 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME;
841 * during qbuf of stream buffer
843 if ((stream
587 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) argument
1007 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c508 if (dc->current_state->res_ctx.pipe_ctx[i].stream) {
509 if (dc->current_state->res_ctx.pipe_ctx[i].stream->link == link) {
658 const struct dc_stream_state *stream, struct psr_config *psr_config,
746 if (dc->current_state->res_ctx.pipe_ctx[i].stream
747 == stream) {
763 psr_context->crtcTimingVerticalTotal = stream->timing.v_total;
764 psr_context->vsync_rate_hz = div64_u64(div64_u64((stream->
766 stream->timing.v_total),
767 stream->timing.h_total);
789 psr_context->hyst_lines = stream
657 edp_setup_psr(struct dc_link *link, const struct dc_stream_state *stream, struct psr_config *psr_config, struct psr_context *psr_context) argument
931 edp_setup_replay(struct dc_link *link, const struct dc_stream_state *stream) argument
1110 struct dc_stream_state *stream = pipe_ctx.stream; local
[all...]

Completed in 245 milliseconds

<<11121314151617181920>>