Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 97) sorted by relevance

1234

/drivers/staging/greybus/
Dcamera.c524 struct gb_camera_stream_config *streams, in gb_camera_configure_streams() argument
556 cfg->width = cpu_to_le16(streams[i].width); in gb_camera_configure_streams()
557 cfg->height = cpu_to_le16(streams[i].height); in gb_camera_configure_streams()
558 cfg->format = cpu_to_le16(streams[i].format); in gb_camera_configure_streams()
592 streams[i].width = le16_to_cpu(cfg->width); in gb_camera_configure_streams()
593 streams[i].height = le16_to_cpu(cfg->height); in gb_camera_configure_streams()
594 streams[i].format = le16_to_cpu(cfg->format); in gb_camera_configure_streams()
595 streams[i].vc = cfg->virtual_channel; in gb_camera_configure_streams()
596 streams[i].dt[0] = cfg->data_type[0]; in gb_camera_configure_streams()
597 streams[i].dt[1] = cfg->data_type[1]; in gb_camera_configure_streams()
[all …]
Dgb-camera.h92 unsigned int *flags, struct gb_camera_stream *streams,
95 unsigned int streams, unsigned int num_frames,
/drivers/media/pci/cx18/
Dcx18-streams.c237 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
304 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
395 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
409 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
429 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
507 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
509 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
510 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
511 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
512 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
[all …]
Dcx18-fileops.c33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
73 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream()
75 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream()
125 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_release_stream()
132 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
173 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
485 struct cx18_stream *s = &cx->streams[id->type]; in cx18_start_capture()
507 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
508 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
576 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_read()
[all …]
Dcx18-ioctl.c57 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
129 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
548 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input()
549 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input()
550 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input()
625 if (cx->streams[CX18_ENC_STREAM_TYPE_YUV].pixelformat == V4L2_PIX_FMT_NV12_16L16) { in cx18_s_std()
626 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_frame = in cx18_s_std()
628 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_line = 720; in cx18_s_std()
630 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_frame = in cx18_s_std()
632 cx->streams[CX18_ENC_STREAM_TYPE_YUV].vb_bytes_per_line = 1440; in cx18_s_std()
[all …]
Dcx18-alsa-pcm.c146 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_open()
191 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_close()
/drivers/media/pci/ivtv/
Divtv-fileops.c35 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
76 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
117 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
119 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
196 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
418 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
447 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_start_capture()
497 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read()
514 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding()
540 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write()
[all …]
Divtv-streams.c170 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
200 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev()
269 if (itv->streams[type].vdev.v4l2_dev == NULL) in ivtv_streams_setup()
273 if (ivtv_stream_alloc(&itv->streams[type])) in ivtv_streams_setup()
286 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev()
297 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev()
363 struct video_device *vdev = &itv->streams[type].vdev; in ivtv_streams_cleanup()
369 ivtv_stream_free(&itv->streams[type]); in ivtv_streams_cleanup()
370 itv->streams[type].vdev.v4l2_dev = NULL; in ivtv_streams_cleanup()
778 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures()
[all …]
Divtv-irq.c31 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler()
60 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler()
450 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start()
541 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_read()
605 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_enc_dma_complete()
633 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_dma_complete()
649 s = &itv->streams[itv->cur_pio_stream]; in ivtv_irq_enc_pio_complete()
662 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_pio_complete()
694 struct ivtv_stream *s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_err()
756 s = &itv->streams[ivtv_stream_map[data[0]]]; in ivtv_irq_enc_start_cap()
[all …]
Divtv-ioctl.c234 struct ivtv_stream *s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_video_command()
438 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay()
548 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay()
928 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
955 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
1008 itv->streams[i].vdev.tvnorms = std; in ivtv_s_input()
1057 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1071 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1361 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
1449 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_fbuf()
[all …]
Divtv-alsa-pcm.c149 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in snd_ivtv_pcm_capture_open()
195 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in snd_ivtv_pcm_capture_close()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c91 stream = state->streams[i]; in get_stream_using_link_enc()
149 if (stream == state->streams[i]) { in add_link_enc_assignment()
299 struct dc_stream_state *streams[], in link_enc_cfg_link_encs_assign() argument
311 dc->res_pool->funcs->link_enc_unassign(state, dc->current_state->streams[i]); in link_enc_cfg_link_encs_assign()
318 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
340 struct dc_stream_state *stream = state->streams[i]; in link_enc_cfg_link_encs_assign()
351 struct dc_stream_state *prev_stream = prev_state->streams[j]; in link_enc_cfg_link_encs_assign()
368 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
657 if (is_dig_link_enc_stream(state->streams[i])) in link_enc_cfg_validate()
668 if (assignment.stream != state->streams[i]) in link_enc_cfg_validate()
[all …]
Ddc.c175 if (ctx->streams[i]->apply_seamless_boot_optimization) in get_seamless_boot_stream_count()
472 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
476 const struct dc_stream_state *stream = streams[0]; in dc_stream_get_crtc_position()
777 struct dc_stream_state **streams, in dc_stream_set_static_screen_params() argument
786 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_params()
1128 if (old_stream == context->streams[j]) { in disable_dangling_plane()
1554 struct dc_stream_state *streams[], in streams_changed() argument
1563 if (dc->current_state->streams[i] != streams[i]) in streams_changed()
1565 if (!streams[i]->link->link_state_valid) in streams_changed()
1743 struct dc_stream_state *streams[], in dc_enable_stereo() argument
[all …]
/drivers/media/test-drivers/vidtv/
Dvidtv_channel.c100 s302m->streams = vidtv_psi_pmt_stream_init(NULL, in vidtv_channel_s302m_init()
103 if (!s302m->streams) in vidtv_channel_s302m_init()
106 s302m->streams->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init()
111 if (!s302m->streams->descriptor) in vidtv_channel_s302m_init()
145 vidtv_psi_pmt_stream_destroy(s302m->streams); in vidtv_channel_s302m_init()
336 s = cur_chnl->streams; in vidtv_channel_pmt_match_sections()
538 vidtv_psi_pmt_stream_destroy(curr->streams); in vidtv_channels_destroy()
/drivers/media/pci/cobalt/
Dcobalt-driver.c130 if (sd == cobalt->streams[i].sd) in cobalt_get_sd_nr()
141 struct cobalt_stream *s = &cobalt->streams[sd_nr]; in cobalt_notify()
420 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_stream_struct_init()
490 struct cobalt_stream *s = cobalt->streams; in cobalt_subdevs_init()
540 cobalt->streams[i + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_init()
598 struct cobalt_stream *s = &cobalt->streams[COBALT_HSMA_IN_NODE]; in cobalt_subdevs_hsma_init()
619 cobalt->streams[4 + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init()
650 cobalt->streams[COBALT_AUDIO_OUT_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init()
767 struct v4l2_subdev *sd = cobalt->streams[i].sd; in cobalt_remove()
Dcobalt-irq.c149 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_handler()
206 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_work_handler()
211 v4l2_subdev_call(cobalt->streams[i].sd, core, in cobalt_irq_work_handler()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c1093 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_link()
1230 stream = dc_state->streams[i]; in is_dsc_need_re_compute()
1276 stream = dc->current_state->streams[i]; in is_dsc_need_re_compute()
1319 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_state()
1350 if (dc_state->streams[j]->link == stream->link) in compute_mst_dsc_configs_for_state()
1356 stream = dc_state->streams[i]; in compute_mst_dsc_configs_for_state()
1382 stream = dc_state->streams[i]; in pre_compute_mst_dsc_configs_for_state()
1408 if (dc_state->streams[j]->link == stream->link) in pre_compute_mst_dsc_configs_for_state()
1499 struct dc_stream_state *stream = dm_state->context->streams[i]; in pre_validate_dsc()
1517 local_dc_state->streams[i] = in pre_validate_dsc()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c295 if (context->streams[i]->mall_stream_config.type != SUBVP_PHANTOM) in dcn32_determine_det_override()
302 if (context->streams[i]->mall_stream_config.type == SUBVP_PHANTOM) in dcn32_determine_det_override()
311 if (context->res_ctx.pipe_ctx[j].stream == context->streams[i] && in dcn32_determine_det_override()
321 if (k != j && context->res_ctx.pipe_ctx[k].stream == context->streams[i] && in dcn32_determine_det_override()
330 if (k != j && context->res_ctx.pipe_ctx[k].stream == context->streams[i] && in dcn32_determine_det_override()
582 fpo_candidate_stream = context->streams[0]; in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
/drivers/staging/media/av7110/
Daudio-set-bypass-mode.rst52 forward the stream without decoding. This mode shall be used if streams
54 DigitalTM streams are automatically forwarded by the Digital TV subsystem if
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c729 int sid = master->streams[0].id; in arm_smmu_page_response()
794 cmd.cfgi.sid = master->streams[i].id; in arm_smmu_sync_cd()
1242 node = smmu->streams.rb_node; in arm_smmu_find_master()
1588 cmd.atc.sid = master->streams[i].id; in arm_smmu_atc_inv_master()
1634 cmd.atc.sid = master->streams[i].id; in arm_smmu_atc_inv_domain()
2045 u32 sid = master->streams[i].id; in arm_smmu_install_ste_for_dev()
2050 if (master->streams[j].id == sid) in arm_smmu_install_ste_for_dev()
2352 master->streams = kcalloc(fwspec->num_ids, sizeof(*master->streams), in arm_smmu_insert_master()
2354 if (!master->streams) in arm_smmu_insert_master()
2362 new_stream = &master->streams[i]; in arm_smmu_insert_master()
[all …]
/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c68 …ots_per_mtp = link_calculate_sst_avg_time_slots_per_mtp(state->streams[i], state->streams[i]->link… in dp_fpga_hpo_enable_link_and_stream()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c98 struct dc_stream_state *stream = context->streams[j]; in dce110_get_min_vblank_time_us()
129 const struct dc_stream_state *stream = context->streams[j]; in dce110_fill_display_configs()
238 &context->streams[0]->timing; in dce11_pplib_apply_display_requirements()
/drivers/net/wireless/ath/ath9k/
Dcommon.c356 int streams = 0; in ath9k_cmn_count_streams() local
359 if (++streams == max) in ath9k_cmn_count_streams()
363 return streams; in ath9k_cmn_count_streams()
/drivers/block/zram/
DKconfig83 bool "Enable multiple compression streams"
86 This will enable multi-compression streams, so that ZRAM can
/drivers/misc/mei/hdcp/
Dmei_hdcp.c561 cmd_size = struct_size(verify_mprime_in, streams, data->k); in mei_hdcp_verify_mprime()
581 memcpy(verify_mprime_in->streams, data->streams, in mei_hdcp_verify_mprime()
582 array_size(data->k, sizeof(*data->streams))); in mei_hdcp_verify_mprime()
639 enable_auth_in.stream_type = data->streams[0].stream_type; in mei_hdcp_enable_authentication()

1234