Home
last modified time | relevance | path

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

123

/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.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.c239 struct ivtv_stream *s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_video_command()
443 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay()
553 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay()
934 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
961 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
1014 itv->streams[i].vdev.tvnorms = std; in ivtv_s_input()
1063 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1077 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1367 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
1455 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()
DMakefile5 ivtv-mailbox.o ivtv-queue.o ivtv-streams.o ivtv-udma.o \
/drivers/media/usb/tm6000/
Dtm6000-dvb.c94 if (dev->dvb->streams > 0) { in tm6000_urb_received()
191 if (dvb->streams == 0) { in tm6000_start_feed()
192 dvb->streams = 1; in tm6000_start_feed()
196 ++(dvb->streams); in tm6000_start_feed()
212 printk(KERN_INFO "stream %#x\n", dvb->streams); in tm6000_stop_feed()
213 --(dvb->streams); in tm6000_stop_feed()
214 if (dvb->streams == 0) { in tm6000_stop_feed()
257 dvb->streams = 0; in register_dvb()
/drivers/gpu/drm/amd/display/dc/core/
Ddc.c311 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
315 const struct dc_stream_state *stream = streams[0]; in dc_stream_get_crtc_position()
524 struct dc_stream_state **streams, in dc_stream_set_static_screen_params() argument
534 struct dc_stream_state *stream = streams[i]; in dc_stream_set_static_screen_params()
819 if (old_stream == context->streams[j]) { in disable_dangling_plane()
1156 if (dc->current_state->streams[i] != context->streams[i]) in context_changed()
1283 struct dc_stream_state *streams[], in dc_enable_stereo() argument
1296 if (streams[j] && streams[j] == pipe->stream && in dc_enable_stereo()
1343 dc_streams[i] = context->streams[i]; in dc_commit_state_no_check()
1351 if (context->streams[i]->apply_seamless_boot_optimization) in dc_commit_state_no_check()
[all …]
Ddc_resource.c1430 if (context->streams[i] == stream) { in dc_add_plane_to_context()
1509 if (context->streams[i] == stream) { in dc_remove_plane_from_context()
1580 if (context->streams[i] == stream) { in dc_rem_all_planes_for_stream()
1845 new_ctx->streams[new_ctx->stream_count] = stream; in dc_add_stream_to_ctx()
1907 if (new_ctx->streams[i] == stream) in dc_remove_stream_from_ctx()
1910 if (new_ctx->streams[i] != stream) { in dc_remove_stream_from_ctx()
1915 dc_stream_release(new_ctx->streams[i]); in dc_remove_stream_from_ctx()
1920 new_ctx->streams[i] = new_ctx->streams[i + 1]; in dc_remove_stream_from_ctx()
1924 new_ctx->streams[new_ctx->stream_count] = NULL; in dc_remove_stream_from_ctx()
1940 struct dc_stream_state *stream_has_pll = context->streams[i]; in find_pll_sharable_stream()
[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()
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/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()
237 &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/misc/mei/hdcp/
Dmei_hdcp.c561 cmd_size = struct_size(verify_mprime_in, streams, data->k); in mei_hdcp_verify_mprime()
582 memcpy(verify_mprime_in->streams, data->streams, in mei_hdcp_verify_mprime()
583 array_size(data->k, sizeof(*data->streams))); in mei_hdcp_verify_mprime()
640 enable_auth_in.stream_type = data->streams[0].stream_type; in mei_hdcp_enable_authentication()
/drivers/gpu/drm/i915/display/
Dintel_hdcp.c1468 msgs.stream_manage.streams[0].stream_id = 0; in hdcp2_propagate_stream_management_info()
1469 msgs.stream_manage.streams[0].stream_type = hdcp->content_type; in hdcp2_propagate_stream_management_info()
1483 hdcp->port_data.streams[0].stream_type = hdcp->content_type; in hdcp2_propagate_stream_management_info()
1622 hdcp->port_data.streams[0].stream_type = hdcp->content_type; in hdcp2_authenticate_sink()
1975 if (!data->streams) in initialize_hdcp_port_data()
1976 data->streams = kcalloc(data->k, in initialize_hdcp_port_data()
1979 if (!data->streams) { in initialize_hdcp_port_data()
1984 data->streams[0].stream_id = 0; in initialize_hdcp_port_data()
1985 data->streams[0].stream_type = hdcp->content_type; in initialize_hdcp_port_data()
2061 kfree(hdcp->port_data.streams); in intel_hdcp_init()
[all …]
/drivers/gpu/host1x/
DKconfig20 Say yes if kernel should protect command streams from tampering.
/drivers/media/spi/
DKconfig16 Enable the GS1662 driver which serializes video streams.

123