Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 10 of 10) sorted by relevance

/drivers/media/video/pwc/
Dpwc-v4l.c1199 struct v4l2_frmsizeenum *fsize = arg; in pwc_video_do_ioctl() local
1200 unsigned int i = 0, index = fsize->index; in pwc_video_do_ioctl()
1202 if (fsize->pixel_format == V4L2_PIX_FMT_YUV420) { in pwc_video_do_ioctl()
1206 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in pwc_video_do_ioctl()
1207 fsize->discrete.width = pwc_image_sizes[i].x; in pwc_video_do_ioctl()
1208 fsize->discrete.height = pwc_image_sizes[i].y; in pwc_video_do_ioctl()
1213 } else if (fsize->index == 0 && in pwc_video_do_ioctl()
1214 ((fsize->pixel_format == V4L2_PIX_FMT_PWC1 && DEVICE_USE_CODEC1(pdev->type)) || in pwc_video_do_ioctl()
1215 (fsize->pixel_format == V4L2_PIX_FMT_PWC2 && DEVICE_USE_CODEC23(pdev->type)))) { in pwc_video_do_ioctl()
1217 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in pwc_video_do_ioctl()
[all …]
/drivers/video/
Damifb.c2546 u_long maxfetchstop, fstrt, fsize, fconst, xres_n, yres_n; in ami_decode_var() local
2797 fsize = ((maxfmode+clk_shift <= 1) ? fconst : 64); in ami_decode_var()
2798 fstrt = downx(fconst, par->diwstrt_h-4) - fsize; in ami_decode_var()
2808 fstrt = downx(fconst, par->diwstrt_h-fconst+(1<<clk_shift)-4) - fsize; in ami_decode_var()
2815 fsize = upx(fconst, xres_n + modx(fconst, downx(1<<clk_shift, par->diwstrt_h-4))); in ami_decode_var()
2816 if (fstrt + fsize > maxfetchstop) in ami_decode_var()
2819 fsize = upx(fconst, xres_n); in ami_decode_var()
2820 if (fstrt + fsize > maxfetchstop) { in ami_decode_var()
2826 fsize = up64(xres_n + fconst - 1); in ami_decode_var()
2827 if (min_fstrt + fsize - 64 > maxfetchstop) in ami_decode_var()
[all …]
Dacornfb.c360 u_int vcr, fsize; in acornfb_set_timing() local
400 fsize = var->vsync_len + var->upper_margin + var->lower_margin - 1; in acornfb_set_timing()
425 iomd_writel(fsize, IOMD_FSIZE); in acornfb_set_timing()
486 printk(KERN_DEBUG " Fsize : 0x%08X\n", fsize); in acornfb_set_timing()
/drivers/media/video/uvc/
Duvc_v4l2.c714 struct v4l2_frmsizeenum *fsize = arg; in uvc_v4l2_do_ioctl() local
722 fsize->pixel_format) { in uvc_v4l2_do_ioctl()
730 if (fsize->index >= format->nframes) in uvc_v4l2_do_ioctl()
733 frame = &format->frame[fsize->index]; in uvc_v4l2_do_ioctl()
734 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in uvc_v4l2_do_ioctl()
735 fsize->discrete.width = frame->wWidth; in uvc_v4l2_do_ioctl()
736 fsize->discrete.height = frame->wHeight; in uvc_v4l2_do_ioctl()
/drivers/usb/gadget/
Dfsl_qe_udc.c803 unsigned int fsize; in ep0_setup_handle() local
809 fsize = frame_get_length(pframe); in ep0_setup_handle()
810 if (unlikely(fsize != 8)) in ep0_setup_handle()
813 memcpy(cp, pframe->data, fsize); in ep0_setup_handle()
900 unsigned int fsize; in qe_ep_rxframe_handle() local
914 fsize = frame_get_length(pframe); in qe_ep_rxframe_handle()
922 memcpy(cp, pframe->data, fsize); in qe_ep_rxframe_handle()
923 req->req.actual += fsize; in qe_ep_rxframe_handle()
924 if ((fsize < ep->ep.maxpacket) || in qe_ep_rxframe_handle()
1468 u32 vaddr, fsize; in ep_req_rx() local
[all …]
/drivers/media/video/
Dmeye.c614 int fsize; in mchip_comp_read_frame() local
622 fsize = (MCHIP_NB_PAGES_MJPEG - pt_start) * PAGE_SIZE + in mchip_comp_read_frame()
625 fsize = (pt_end - pt_start) * PAGE_SIZE + trailer * 4; in mchip_comp_read_frame()
627 if (fsize > size) { in mchip_comp_read_frame()
629 fsize); in mchip_comp_read_frame()
633 ptable_copy(buf, pt_start, fsize, MCHIP_NB_PAGES_MJPEG); in mchip_comp_read_frame()
645 for (i = fsize - 1; i > 0 && buf[i] == 0xff; i--) ; in mchip_comp_read_frame()
652 return fsize; in mchip_comp_read_frame()
/drivers/isdn/pcbit/
Dpcbit.h87 unsigned short fsize[8]; /* sent layer2 frames size */ member
Dlayer2.c128 dev->fsize[dev->send_seq] = len; in pcbit_tx_update()
700 dev->free += dev->fsize[i]; in pcbit_recv_ack()
/drivers/net/
Dtehuti.c1604 int fsize; in bdx_tx_space() local
1607 fsize = f->m.rptr - f->m.wptr; in bdx_tx_space()
1608 if (fsize <= 0) in bdx_tx_space()
1609 fsize = f->m.memsz + fsize; in bdx_tx_space()
1610 return (fsize); in bdx_tx_space()
/drivers/staging/go7007/
Dgo7007-v4l2.c1095 struct v4l2_frmsizeenum *fsize) in vidioc_enum_framesizes() argument
1105 if (fsize->index > 0) in vidioc_enum_framesizes()
1108 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE; in vidioc_enum_framesizes()
1109 fsize->discrete.width = go->board_info->sensor_width; in vidioc_enum_framesizes()
1110 fsize->discrete.height = go->board_info->sensor_height; in vidioc_enum_framesizes()