Home
last modified time | relevance | path

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

12

/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.h93 unsigned int *flags, struct gb_camera_stream *streams,
96 unsigned int streams, unsigned int num_frames,
/drivers/media/pci/cx18/
Dcx18-streams.c257 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
314 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
399 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
413 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
432 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
511 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
513 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
514 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
515 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
516 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
[all …]
Dcx18-fileops.c47 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
88 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream()
90 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream()
140 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_release_stream()
147 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
188 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl()
500 struct cx18_stream *s = &cx->streams[id->type]; in cx18_start_capture()
522 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
523 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
591 struct cx18_stream *s = &cx->streams[id->type]; in cx18_v4l2_read()
[all …]
Dcx18-ioctl.c153 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
273 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
534 cx->streams[CX18_ENC_STREAM_TYPE_MPG].video_dev.tvnorms = std; in cx18_s_input()
535 cx->streams[CX18_ENC_STREAM_TYPE_YUV].video_dev.tvnorms = std; in cx18_s_input()
536 cx->streams[CX18_ENC_STREAM_TYPE_VBI].video_dev.tvnorms = std; in cx18_s_input()
771 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_g_enc_index()
818 struct cx18_stream *s = &cx->streams[id->type]; in cx18_vb_queue()
837 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamon()
858 struct cx18_stream *s = &cx->streams[id->type]; in cx18_streamoff()
876 struct cx18_stream *s = &cx->streams[id->type]; in cx18_reqbufs()
[all …]
Dcx18-alsa-pcm.c161 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_open()
206 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_close()
DMakefile2 cx18-queue.o cx18-streams.o cx18-fileops.o cx18-ioctl.o cx18-controls.o \
Dcx18-alsa-main.c218 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in cx18_alsa_load()
/drivers/media/pci/ivtv/
Divtv-fileops.c47 struct ivtv_stream *s = &itv->streams[type]; in ivtv_claim_stream()
88 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
129 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
131 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
208 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_get_buffer()
430 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture()
459 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_start_capture()
509 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_v4l2_read()
526 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_decoding()
552 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_write()
[all …]
Divtv-streams.c163 struct ivtv_stream *s = &itv->streams[type]; in ivtv_stream_init()
193 struct ivtv_stream *s = &itv->streams[type]; in ivtv_prep_dev()
262 if (itv->streams[type].vdev.v4l2_dev == NULL) in ivtv_streams_setup()
266 if (ivtv_stream_alloc(&itv->streams[type])) in ivtv_streams_setup()
279 struct ivtv_stream *s = &itv->streams[type]; in ivtv_reg_dev()
290 struct ivtv_stream *s_mpg = &itv->streams[IVTV_ENC_STREAM_TYPE_MPG]; in ivtv_reg_dev()
351 struct video_device *vdev = &itv->streams[type].vdev; in ivtv_streams_cleanup()
357 ivtv_stream_free(&itv->streams[type]); in ivtv_streams_cleanup()
358 itv->streams[type].vdev.v4l2_dev = NULL; in ivtv_streams_cleanup()
766 struct ivtv_stream *s = &itv->streams[i]; in ivtv_stop_all_captures()
[all …]
Divtv-irq.c43 struct ivtv_stream *s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_pcm_work_handler()
72 struct ivtv_stream *s = &itv->streams[itv->cur_pio_stream]; in ivtv_pio_work_handler()
462 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start()
553 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_read()
617 s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_enc_dma_complete()
645 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_dma_complete()
661 s = &itv->streams[itv->cur_pio_stream]; in ivtv_irq_enc_pio_complete()
674 s = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_irq_enc_pio_complete()
706 struct ivtv_stream *s = &itv->streams[itv->cur_dma_stream]; in ivtv_irq_dma_err()
768 s = &itv->streams[ivtv_stream_map[data[0]]]; in ivtv_irq_enc_start_cap()
[all …]
Divtv-ioctl.c247 struct ivtv_stream *s = &itv->streams[IVTV_DEC_STREAM_TYPE_MPG]; in ivtv_video_command()
451 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fmt_vid_out_overlay()
561 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_try_fmt_vid_out_overlay()
745 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_querycap()
947 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_cap()
973 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_enum_fmt_vid_out()
1026 itv->streams[i].vdev.tvnorms = std; in ivtv_s_input()
1075 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_frequency()
1089 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_s_frequency()
1379 struct ivtv_stream *s = &itv->streams[fh2id(fh)->type]; in ivtv_g_fbuf()
[all …]
Divtv-alsa-pcm.c168 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in snd_ivtv_pcm_capture_open()
213 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in snd_ivtv_pcm_capture_close()
DMakefile4 ivtv-mailbox.o ivtv-queue.o ivtv-streams.o ivtv-udma.o \
/drivers/media/usb/tm6000/
Dtm6000-dvb.c108 if (dev->dvb->streams > 0) { in tm6000_urb_received()
199 if (dvb->streams == 0) { in tm6000_start_feed()
200 dvb->streams = 1; in tm6000_start_feed()
204 ++(dvb->streams); in tm6000_start_feed()
220 printk(KERN_INFO "stream %#x\n", dvb->streams); in tm6000_stop_feed()
221 --(dvb->streams); in tm6000_stop_feed()
222 if (dvb->streams == 0) { in tm6000_stop_feed()
265 dvb->streams = 0; in register_dvb()
/drivers/media/pci/cobalt/
Dcobalt-driver.c141 if (sd == cobalt->streams[i].sd) in cobalt_get_sd_nr()
152 struct cobalt_stream *s = &cobalt->streams[sd_nr]; in cobalt_notify()
441 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_stream_struct_init()
511 struct cobalt_stream *s = cobalt->streams; in cobalt_subdevs_init()
561 cobalt->streams[i + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_init()
619 struct cobalt_stream *s = &cobalt->streams[COBALT_HSMA_IN_NODE]; in cobalt_subdevs_hsma_init()
640 cobalt->streams[4 + COBALT_AUDIO_IN_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init()
671 cobalt->streams[COBALT_AUDIO_OUT_STREAM].is_dummy = false; in cobalt_subdevs_hsma_init()
792 struct v4l2_subdev *sd = cobalt->streams[i].sd; in cobalt_remove()
Dcobalt-irq.c161 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_handler()
218 struct cobalt_stream *s = &cobalt->streams[i]; in cobalt_irq_work_handler()
223 v4l2_subdev_call(cobalt->streams[i].sd, core, in cobalt_irq_work_handler()
/drivers/net/wireless/ath/ath9k/
Dcommon.c355 int streams = 0; in ath9k_cmn_count_streams() local
358 if (++streams == max) in ath9k_cmn_count_streams()
362 return streams; in ath9k_cmn_count_streams()
Dxmit.c822 int width, streams, half_gi, ndelim, mindelim; in ath_compute_num_delims() local
872 streams = HT_RC_2_STREAMS(rix); in ath_compute_num_delims()
873 nsymbits = bits_per_symbol[rix % 8][width] * streams; in ath_compute_num_delims()
1056 int streams; in ath_pkt_duration() local
1059 streams = HT_RC_2_STREAMS(rix); in ath_pkt_duration()
1061 nsymbits = bits_per_symbol[rix % 8][width] * streams; in ath_pkt_duration()
1070 duration += L_STF + L_LTF + L_SIG + HT_SIG + HT_STF + HT_LTF(streams); in ath_pkt_duration()
1077 int streams = HT_RC_2_STREAMS(mcs); in ath_max_framelen() local
1081 usec -= L_STF + L_LTF + L_SIG + HT_SIG + HT_STF + HT_LTF(streams); in ath_max_framelen()
1083 bits = symbols * bits_per_symbol[mcs % 8][ht40] * streams; in ath_max_framelen()
/drivers/uwb/
Drsv.c156 streams_bm = rsv->target.dev->streams; in uwb_rsv_get_stream()
159 streams_bm = rc->uwb_dev.streams; in uwb_rsv_get_stream()
187 streams_bm = rsv->target.dev->streams; in uwb_rsv_put_stream()
190 streams_bm = rc->uwb_dev.streams; in uwb_rsv_put_stream()
993 bitmap_complement(rc->uwb_dev.streams, rc->uwb_dev.streams, UWB_NUM_STREAMS); in uwb_rsv_init()
/drivers/media/spi/
DKconfig10 Enable the GS1662 driver which serializes video streams.
/drivers/gpu/host1x/
DKconfig18 Say yes if kernel should protect command streams from tampering.
/drivers/media/pci/netup_unidvb/
DKconfig15 Card can receive two independent streams in following standards:
/drivers/media/pci/solo6x10/
Dsolo6x10-g723.c88 &solo_dev->snd_pcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in solo_g723_isr()
334 for (i = 0, ss = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in solo_snd_pcm_init()
/drivers/media/usb/uvc/
Duvc_driver.c339 list_for_each_entry(stream, &dev->streams, list) { in uvc_stream_by_id()
851 list_add_tail(&streaming->list, &dev->streams); in uvc_parse_streaming()
1803 list_for_each_safe(p, n, &dev->streams) { in uvc_delete()
1843 list_for_each_entry(stream, &dev->streams, list) { in uvc_unregister_video()
1997 INIT_LIST_HEAD(&dev->streams); in uvc_probe()
2123 list_for_each_entry(stream, &dev->streams, list) { in uvc_suspend()
2158 list_for_each_entry(stream, &dev->streams, list) { in __uvc_resume()

12