/drivers/media/video/uvc/ |
D | uvc_v4l2.c | 113 if (fmt->type != video->streaming->type) in uvc_v4l2_try_format() 123 for (i = 0; i < video->streaming->nformats; ++i) { in uvc_v4l2_try_format() 124 format = &video->streaming->format[i]; in uvc_v4l2_try_format() 190 video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_try_format() 216 struct uvc_format *format = video->streaming->cur_format; in uvc_v4l2_get_format() 217 struct uvc_frame *frame = video->streaming->cur_frame; in uvc_v4l2_get_format() 219 if (fmt->type != video->streaming->type) in uvc_v4l2_get_format() 230 fmt->fmt.pix.sizeimage = video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_get_format() 245 if (fmt->type != video->streaming->type) in uvc_v4l2_set_format() 255 memcpy(&video->streaming->ctrl, &probe, sizeof probe); in uvc_v4l2_set_format() [all …]
|
D | uvc_driver.c | 284 struct uvc_streaming *streaming, struct uvc_format *format, in uvc_parse_format() argument 287 struct usb_interface *intf = streaming->intf; in uvc_parse_format() 540 struct uvc_streaming *streaming = NULL; in uvc_parse_streaming() local 567 streaming = kzalloc(sizeof *streaming, GFP_KERNEL); in uvc_parse_streaming() 568 if (streaming == NULL) { in uvc_parse_streaming() 573 mutex_init(&streaming->mutex); in uvc_parse_streaming() 574 streaming->intf = usb_get_intf(intf); in uvc_parse_streaming() 575 streaming->intfnum = intf->cur_altsetting->desc.bInterfaceNumber; in uvc_parse_streaming() 613 streaming->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in uvc_parse_streaming() 618 streaming->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in uvc_parse_streaming() [all …]
|
D | uvc_video.c | 71 ctrl->bFormatIndex > video->streaming->nformats) in uvc_fixup_buffer_size() 74 format = &video->streaming->format[ctrl->bFormatIndex - 1]; in uvc_fixup_buffer_size() 101 ret = __uvc_query_ctrl(video->dev, query, 0, video->streaming->intfnum, in uvc_get_video_ctrl() 205 video->streaming->intfnum, in uvc_set_video_ctrl() 227 mutex_lock(&video->streaming->mutex); in uvc_probe_video() 256 if (video->streaming->intf->num_altsetting == 1) in uvc_probe_video() 260 if (bandwidth <= video->streaming->maxpsize) in uvc_probe_video() 276 mutex_unlock(&video->streaming->mutex); in uvc_probe_video() 766 size = video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_init_video_isoc() 828 size = video->streaming->ctrl.dwMaxPayloadTransferSize; in uvc_init_video_bulk() [all …]
|
/drivers/media/video/ |
D | videobuf-core.c | 155 if (q->streaming) { in videobuf_queue_is_busy() 192 q->streaming = 0; in videobuf_queue_cancel() 415 if (q->streaming) { in videobuf_reqbufs() 562 if (q->streaming) { in videobuf_qbuf() 587 if (!q->streaming) { in stream_next_buffer_check_queue() 608 !list_empty(&q->stream) || !q->streaming); in stream_next_buffer_check_queue() 699 if (q->streaming) in videobuf_streamon() 701 q->streaming = 1; in videobuf_streamon() 717 if (!q->streaming) in __videobuf_streamoff() 942 if (q->streaming) in videobuf_stop() [all …]
|
D | stv680.c | 474 stv680->streaming = 0; in stv_init() 518 stv680_file(streaming, streaming, "%d\n"); 630 if (!stv680->streaming) in stv680_video_irq() 685 stv680->streaming = 1; in stv680_start_stream() 755 if (!stv680->streaming || !stv680->udev) in stv680_stop_stream() 758 stv680->streaming = 0; in stv680_stop_stream() 777 int wasstreaming = stv680->streaming; in stv680_set_size() 1043 …while (stv680->streaming && (stv680->frame[framenr].grabstate == FRAME_READY || stv680->frame[fram… in stv680_newframe() 1117 if (stv680->streaming) in stv_close() 1257 if (!stv680->streaming) in stv680_do_ioctl() [all …]
|
D | omap24xxcam.c | 391 struct omap24xxcam_fh *fh = cam->streaming->private_data; in omap24xxcam_vbq_complete() 723 return sprintf(buf, "%s\n", cam->streaming ? "active" : "inactive"); in omap24xxcam_streaming_show() 725 static DEVICE_ATTR(streaming, S_IRUGO, omap24xxcam_streaming_show, NULL); 1034 if (cam->streaming) { in vidioc_s_fmt_vid_cap() 1078 if (cam->streaming) { in vidioc_reqbufs() 1168 if (cam->streaming) { in vidioc_streamon() 1181 cam->streaming = file; in vidioc_streamon() 1205 cam->streaming = NULL; in vidioc_streamoff() 1310 if (cam->streaming) { in vidioc_s_parm() 1352 if (cam->streaming != file) { in omap24xxcam_poll() [all …]
|
D | cpia_usb.c | 79 int streaming; member 123 if (!ucpia->dev || !ucpia->streaming || !ucpia->present || !ucpia->open) in cpia_usb_complete() 272 ucpia->streaming = 1; in cpia_usb_open() 425 if (!ucpia->streaming) in cpia_usb_free_resources() 428 ucpia->streaming = 0; in cpia_usb_free_resources()
|
D | se401.c | 327 if (!se401->streaming) in se401_video_irq() 433 se401->streaming=1; in se401_start_stream() 523 if (!se401->streaming || !se401->dev) in se401_stop_stream() 526 se401->streaming=0; in se401_stop_stream() 549 int wasstreaming=se401->streaming; in se401_set_size() 850 while (se401->streaming && in se401_newframe() 970 if (se401->streaming) in se401_close() 1088 if (!se401->streaming) in se401_do_ioctl() 1167 if (!se401->streaming) in se401_read() 1429 se401->streaming = 0; in se401_disconnect()
|
D | cpia_pp.c | 86 int streaming; /* we are in streaming mode */ member 468 cam->streaming=1; in cpia_pp_streamStart() 485 cam->streaming=0; in cpia_pp_streamStop() 733 cam->streaming = 0; in cpia_pp_register()
|
/drivers/media/video/gspca/ |
D | t613.c | 930 if (gspca_dev->streaming) in sd_setbrightness() 948 if (gspca_dev->streaming) in sd_setwhitebalance() 966 if (gspca_dev->streaming) in sd_setflip() 984 if (gspca_dev->streaming) in sd_seteffect() 1002 if (gspca_dev->streaming) in sd_setcontrast() 1020 if (gspca_dev->streaming) in sd_setcolors() 1038 if (gspca_dev->streaming) in sd_setgamma() 1056 if (gspca_dev->streaming) in sd_setfreq() 1074 if (gspca_dev->streaming) in sd_setsharpness()
|
D | pac7311.c | 889 if (gspca_dev->streaming) in sd_setbrightness() 907 if (gspca_dev->streaming) { in sd_setcontrast() 929 if (gspca_dev->streaming) in sd_setcolors() 947 if (gspca_dev->streaming) in sd_setgain() 965 if (gspca_dev->streaming) in sd_setexposure() 990 if (gspca_dev->streaming) { in sd_setautogain() 1014 if (gspca_dev->streaming) in sd_sethflip() 1032 if (gspca_dev->streaming) in sd_setvflip()
|
D | finepix.c | 60 int streaming; member 229 if (!dev->streaming) { in fpix_sm() 274 dev->streaming = 0; in sd_stopN() 380 dev->streaming = 1; in sd_start()
|
D | spca501.c | 2078 if (gspca_dev->streaming) in sd_setbrightness() 2097 if (gspca_dev->streaming) in sd_setcontrast() 2116 if (gspca_dev->streaming) in sd_setcolors() 2135 if (gspca_dev->streaming) in sd_setblue_balance() 2153 if (gspca_dev->streaming) in sd_setred_balance()
|
D | gspca.c | 191 if (!gspca_dev->streaming) in isoc_irq() 207 if (!gspca_dev->streaming) in bulk_irq() 630 gspca_dev->streaming = 1; in gspca_init_transfer() 642 gspca_dev->streaming = 0; in gspca_init_transfer() 673 gspca_dev->streaming = 0; in gspca_stream_off() 855 if (gspca_dev->streaming) { in vidioc_s_fmt_vid_cap() 938 if (gspca_dev->streaming) { in dev_close() 1177 if (gspca_dev->streaming) { in vidioc_reqbufs() 1236 if (!gspca_dev->streaming) { in vidioc_streamon() 1263 if (!gspca_dev->streaming) in vidioc_streamoff() [all …]
|
D | pac207.c | 435 if (gspca_dev->streaming) in sd_setbrightness() 453 if (gspca_dev->streaming) in sd_setexposure() 471 if (gspca_dev->streaming) in sd_setgain() 496 if (gspca_dev->streaming) { in sd_setautogain()
|
D | spca561.c | 907 if (gspca_dev->streaming) in sd_setbrightness() 926 if (gspca_dev->streaming) in sd_setcontrast() 944 if (gspca_dev->streaming) in sd_setautogain() 962 if (gspca_dev->streaming) in sd_setwhite() 981 if (gspca_dev->streaming) in sd_setexposure() 1000 if (gspca_dev->streaming) in sd_setgain()
|
D | stk014.c | 438 if (gspca_dev->streaming) in sd_setbrightness() 456 if (gspca_dev->streaming) in sd_setcontrast() 474 if (gspca_dev->streaming) in sd_setcolors() 492 if (gspca_dev->streaming) in sd_setfreq()
|
D | sonixj.c | 1563 if (gspca_dev->streaming) in sd_setbrightness() 1581 if (gspca_dev->streaming) in sd_setcontrast() 1599 if (gspca_dev->streaming) in sd_setcolors() 1617 if (gspca_dev->streaming) in sd_setblue_balance() 1635 if (gspca_dev->streaming) in sd_setred_balance() 1653 if (gspca_dev->streaming) in sd_setautogain() 1671 if (gspca_dev->streaming) in sd_setvflip() 1689 if (gspca_dev->streaming) in sd_setinfrared()
|
D | ov519.c | 1702 if (sd->gspca_dev.streaming) in sethvflip() 1708 if (sd->gspca_dev.streaming) in sethvflip() 2041 if (gspca_dev->streaming) in sd_setbrightness() 2059 if (gspca_dev->streaming) in sd_setcontrast() 2077 if (gspca_dev->streaming) in sd_setcolors() 2095 if (gspca_dev->streaming) in sd_sethflip() 2113 if (gspca_dev->streaming) in sd_setvflip()
|
D | spca506.c | 659 if (gspca_dev->streaming) in sd_setbrightness() 678 if (gspca_dev->streaming) in sd_setcontrast() 697 if (gspca_dev->streaming) in sd_setcolors() 716 if (gspca_dev->streaming) in sd_sethue()
|
D | sonixb.c | 1086 if (gspca_dev->streaming) in sd_setbrightness() 1104 if (gspca_dev->streaming) in sd_setgain() 1122 if (gspca_dev->streaming) in sd_setexposure() 1147 if (gspca_dev->streaming) { in sd_setautogain() 1170 if (gspca_dev->streaming) in sd_setfreq()
|
D | vc032x.c | 2323 if (gspca_dev->streaming) in sd_sethflip() 2341 if (gspca_dev->streaming) in sd_setvflip() 2359 if (gspca_dev->streaming) in sd_setfreq() 2377 if (gspca_dev->streaming) in sd_setsharpness()
|
/drivers/media/video/cpia2/ |
D | cpia2_usb.c | 220 if (!cam->streaming || !cam->present || cam->open_count == 0) { in cpia2_usb_complete() 223 cam->streaming, cam->present, cam->open_count); in cpia2_usb_complete() 366 if(cam->streaming) { in cpia2_usb_complete() 708 if(cam->streaming) in cpia2_usb_stream_start() 739 cam->streaming = 1; in cpia2_usb_stream_start() 753 if(cam->streaming) { in cpia2_usb_stream_pause() 768 if(cam->streaming) { in cpia2_usb_stream_resume() 787 cam->streaming = 0; in cpia2_usb_stream_stop()
|
/drivers/staging/go7007/ |
D | go7007-v4l2.c | 79 if (go->streaming) { in go7007_streamoff() 80 go->streaming = 0; in go7007_streamoff() 456 if (go->streaming) 687 if (go->streaming) in vidioc_s_fmt_vid_cap() 701 if (go->streaming) in vidioc_reqbufs() 958 if (!go->streaming) { in vidioc_streamon() 959 go->streaming = 1; in vidioc_streamon() 1141 if (go->streaming) in vidioc_s_std() 1248 if (go->streaming) in vidioc_s_input() 1466 if (go->streaming) [all …]
|
/drivers/media/video/usbvision/ |
D | usbvision-video.c | 272 YES_NO(usbvision->streaming==Stream_On?1:0)); in show_streaming() 274 static DEVICE_ATTR(streaming, S_IRUGO, show_streaming, NULL); 770 if(usbvision->streaming == Stream_On) { in vidioc_reqbufs() 869 if (usbvision->streaming == Stream_Idle) in vidioc_dqbuf() 904 usbvision->streaming = Stream_On; in vidioc_streamon() 919 if(usbvision->streaming == Stream_On) { in vidioc_streamoff() 998 if(usbvision->streaming == Stream_On) { in vidioc_s_fmt_vid_cap() 1042 if(usbvision->streaming != Stream_On) { in usbvision_v4l2_read() 1044 usbvision->streaming = Stream_On; in usbvision_v4l2_read() 1746 usbvision->streaming = Stream_Off; in usbvision_probe()
|