Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 85) 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/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c82 if (stream == state->streams[i]) { in update_link_enc_assignment()
149 stream = state->streams[stream_idx]; in get_stream_using_link_enc()
173 struct dc_stream_state *streams[], in link_enc_cfg_link_encs_assign() argument
181 dc->res_pool->funcs->link_enc_unassign(state, streams[i]); in link_enc_cfg_link_encs_assign()
185 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
202 struct dc_stream_state *stream = streams[i]; in link_enc_cfg_link_encs_assign()
264 link = state->streams[stream_idx]->link; in link_enc_cfg_get_link_using_link_enc()
298 link_enc = state->streams[stream_idx]->link_enc; in link_enc_cfg_get_link_enc_used_by_link()
Ddc.c176 if (ctx->streams[i]->apply_seamless_boot_optimization) in get_seamless_boot_stream_count()
371 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
375 const struct dc_stream_state *stream = streams[0]; in dc_stream_get_crtc_position()
680 struct dc_stream_state **streams, in dc_stream_set_static_screen_params() argument
689 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_params()
981 if (old_stream == context->streams[j]) { in disable_dangling_plane()
1357 if (dc->current_state->streams[i] != context->streams[i]) in context_changed()
1513 struct dc_stream_state *streams[], in dc_enable_stereo() argument
1528 if (should_update_pipe_for_stream(context, pipe, streams[j]) && in dc_enable_stereo()
1587 dc_streams[i] = context->streams[i]; in dc_commit_state_no_check()
[all …]
Ddc_resource.c1354 if (context->streams[i] == stream) { in dc_add_plane_to_context()
1441 if (context->streams[i] == stream) { in dc_remove_plane_from_context()
1512 if (context->streams[i] == stream) { in dc_rem_all_planes_for_stream()
1771 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1833 if (new_ctx->streams[i] == stream) in dc_remove_stream_from_ctx()
1836 if (new_ctx->streams[i] != stream) { in dc_remove_stream_from_ctx()
1841 dc_stream_release(new_ctx->streams[i]); in dc_remove_stream_from_ctx()
1846 new_ctx->streams[i] = new_ctx->streams[i + 1]; in dc_remove_stream_from_ctx()
1850 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
1866 struct dc_stream_state *stream_has_pll = context->streams[i]; in find_pll_sharable_stream()
[all …]
/drivers/media/pci/cx18/
Dcx18-streams.c243 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
298 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
383 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
397 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
417 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
495 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
497 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
498 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
499 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
500 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.c139 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
259 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
528 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input()
529 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input()
530 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input()
765 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
812 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue()
831 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon()
852 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff()
870 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs()
[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()
929 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
956 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
1009 itv->streams[i].vdev.tvnorms = std; in ivtv_s_input()
1058 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1072 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1362 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
1450 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/media/usb/tm6000/
Dtm6000-dvb.c92 if (dev->dvb->streams > 0) { in tm6000_urb_received()
189 if (dvb->streams == 0) { in tm6000_start_feed()
190 dvb->streams = 1; in tm6000_start_feed()
194 ++(dvb->streams); in tm6000_start_feed()
210 printk(KERN_INFO "stream %#x\n", dvb->streams); in tm6000_stop_feed()
211 --(dvb->streams); in tm6000_stop_feed()
212 if (dvb->streams == 0) { in tm6000_stop_feed()
255 dvb->streams = 0; in register_dvb()
/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()
Dvidtv_channel.h59 struct vidtv_psi_table_pmt_stream *streams; member
/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/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/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/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c926 int sid = master->streams[0].id; in arm_smmu_page_response()
991 cmd.cfgi.sid = master->streams[i].id; in arm_smmu_sync_cd()
1441 node = smmu->streams.rb_node; in arm_smmu_find_master()
1788 cmd.atc.sid = master->streams[i].id; in arm_smmu_atc_inv_master()
1834 cmd.atc.sid = master->streams[i].id; in arm_smmu_atc_inv_domain()
2271 u32 sid = master->streams[i].id; in arm_smmu_install_ste_for_dev()
2276 if (master->streams[j].id == sid) in arm_smmu_install_ste_for_dev()
2567 master->streams = kcalloc(fwspec->num_ids, sizeof(*master->streams), in arm_smmu_insert_master()
2569 if (!master->streams) in arm_smmu_insert_master()
2577 new_stream = &master->streams[i]; in arm_smmu_insert_master()
[all …]
/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()
/drivers/gpu/drm/amd/display/dc/inc/
Dlink_enc_cfg.h55 struct dc_stream_state *streams[],

1234