Lines Matching full:cam

366 	if (gspca_dev->cam.bulk_nurbs != 0) {  in bulk_irq()
539 if (!gspca_dev->cam.needs_full_bandwidth && in which_bandwidth()
670 if (!gspca_dev->cam.bulk) { /* isoc */ in create_urbs()
677 npkt = gspca_dev->cam.npkt; in create_urbs()
687 bsize = gspca_dev->cam.bulk_size; in create_urbs()
691 if (gspca_dev->cam.bulk_nurbs != 0) in create_urbs()
692 nurbs = gspca_dev->cam.bulk_nurbs; in create_urbs()
773 gspca_dev->alt = gspca_dev->cam.bulk ? intf->num_altsetting : 0; in gspca_init_transfer()
779 xfer = gspca_dev->cam.bulk ? USB_ENDPOINT_XFER_BULK in gspca_init_transfer()
824 if (!gspca_dev->cam.no_urb_create) { in gspca_init_transfer()
837 if (gspca_dev->cam.bulk) in gspca_init_transfer()
841 /* start the cam */ in gspca_init_transfer()
851 if (gspca_dev->cam.bulk && gspca_dev->cam.bulk_nurbs == 0) in gspca_init_transfer()
903 i = gspca_dev->cam.nmodes - 1; /* take the highest mode */ in gspca_set_default_mode()
905 gspca_dev->pixfmt = gspca_dev->cam.cam_mode[i]; in gspca_set_default_mode()
916 for (i = 0; i < gspca_dev->cam.nmodes; i++) { in wxh_to_mode()
917 if (width == gspca_dev->cam.cam_mode[i].width in wxh_to_mode()
918 && height == gspca_dev->cam.cam_mode[i].height in wxh_to_mode()
919 && pixelformat == gspca_dev->cam.cam_mode[i].pixelformat) in wxh_to_mode()
930 for (i = gspca_dev->cam.nmodes; --i >= 0; ) { in wxh_to_nearest_mode()
931 if (width >= gspca_dev->cam.cam_mode[i].width in wxh_to_nearest_mode()
932 && height >= gspca_dev->cam.cam_mode[i].height in wxh_to_nearest_mode()
933 && pixelformat == gspca_dev->cam.cam_mode[i].pixelformat) in wxh_to_nearest_mode()
936 for (i = gspca_dev->cam.nmodes; --i > 0; ) { in wxh_to_nearest_mode()
937 if (width >= gspca_dev->cam.cam_mode[i].width in wxh_to_nearest_mode()
938 && height >= gspca_dev->cam.cam_mode[i].height) in wxh_to_nearest_mode()
954 while ((modeU < gspca_dev->cam.nmodes) || modeD >= 0) { in gspca_get_mode()
956 if (gspca_dev->cam.cam_mode[modeD].pixelformat in gspca_get_mode()
960 if (++modeU < gspca_dev->cam.nmodes) { in gspca_get_mode()
961 if (gspca_dev->cam.cam_mode[modeU].pixelformat in gspca_get_mode()
1009 for (i = gspca_dev->cam.nmodes; --i >= 0; ) { in vidioc_enum_fmt_vid_cap()
1010 fmt_tb[index] = gspca_dev->cam.cam_mode[i].pixelformat; in vidioc_enum_fmt_vid_cap()
1059 if (gspca_dev->cam.cam_mode[mode].pixelformat in try_fmt_vid_cap()
1068 fmt->fmt.pix = gspca_dev->cam.cam_mode[mode]; in try_fmt_vid_cap()
1110 gspca_dev->pixfmt = gspca_dev->cam.cam_mode[mode]; in vidioc_s_fmt_vid_cap()
1126 for (i = 0; i < gspca_dev->cam.nmodes; i++) { in vidioc_enum_framesizes()
1128 gspca_dev->cam.cam_mode[i].pixelformat) in vidioc_enum_framesizes()
1134 gspca_dev->cam.cam_mode[i].width; in vidioc_enum_framesizes()
1136 gspca_dev->cam.cam_mode[i].height; in vidioc_enum_framesizes()
1157 if (gspca_dev->cam.mode_framerates == NULL || in vidioc_enum_frameintervals()
1158 gspca_dev->cam.mode_framerates[mode].nrates == 0) in vidioc_enum_frameintervals()
1162 gspca_dev->cam.cam_mode[mode].pixelformat) in vidioc_enum_frameintervals()
1165 for (i = 0; i < gspca_dev->cam.mode_framerates[mode].nrates; i++) { in vidioc_enum_frameintervals()
1170 gspca_dev->cam.mode_framerates[mode].rates[i]; in vidioc_enum_frameintervals()
1218 input->status = gspca_dev->cam.input_flags; in vidioc_enum_input()