Searched refs:fsize (Results 1 - 22 of 22) sorted by relevance

/drivers/staging/line6/
H A Dcapture.h23 int fsize);
H A Dcapture.c143 void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize) argument
149 int frames = fsize / bytes_per_frame;
176 line6pcm->pos_in_done * bytes_per_frame, fbuf, fsize);
233 int fsize; local
242 fsize = fin->actual_length;
244 if (fsize > line6pcm->max_packet_size) {
247 fsize, line6pcm->max_packet_size);
250 length += fsize;
254 line6pcm->prev_fsize = fsize;
260 && (fsize >
[all...]
H A Dplayback.c165 int fsize = 0; local
170 fsize = line6pcm->prev_fsize;
172 if (fsize == 0) {
177 fsize = n * bytes_per_frame;
181 fout->length = fsize;
182 urb_size += fsize;
/drivers/isdn/pcbit/
H A Dpcbit.h87 unsigned short fsize[8]; /* sent layer2 frames size */ member in struct:pcbit_dev
H A Dlayer2.c128 dev->fsize[dev->send_seq] = len;
698 dev->free += dev->fsize[i];
/drivers/media/video/
H A Dtimblogiw.c454 struct v4l2_frmsizeenum *fsize)
460 fsize->index, fsize->pixel_format);
462 if ((fsize->index != 0) ||
463 (fsize->pixel_format != V4L2_PIX_FMT_UYVY))
466 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
467 fsize->discrete.width = fh->cur_norm->width;
468 fsize->discrete.height = fh->cur_norm->height;
453 timblogiw_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument
H A Dnoon010pc30.c368 const struct noon010_frmsize *fsize = &noon010_sizes[0], local
372 int err = abs(fsize->width - mf->width)
373 + abs(fsize->height - mf->height);
377 match = fsize;
379 fsize++;
H A Dsr030pc30.c482 const struct sr030pc30_frmsize *fsize = &sr030pc30_sizes[0], local
485 int err = abs(fsize->width - mf->width)
486 + abs(fsize->height - mf->height);
489 match = fsize;
491 fsize++;
H A Dsoc_camera.c261 struct v4l2_frmsizeenum *fsize)
266 return ici->ops->enum_fsizes(icd, fsize);
1248 struct v4l2_frmsizeenum *fsize)
1253 __u32 pixfmt = fsize->pixel_format;
1254 struct v4l2_frmsizeenum fsize_mbus = *fsize;
1266 *fsize = fsize_mbus;
1267 fsize->pixel_format = pixfmt;
260 soc_camera_enum_fsizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument
1247 default_enum_fsizes(struct soc_camera_device *icd, struct v4l2_frmsizeenum *fsize) argument
H A Dov7670.c928 struct v4l2_frmsizeenum *fsize)
933 __u32 index = fsize->index;
946 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
947 fsize->discrete.width = win->width;
948 fsize->discrete.height = win->height;
927 ov7670_enum_framesizes(struct v4l2_subdev *sd, struct v4l2_frmsizeenum *fsize) argument
H A Dmeye.c617 int fsize; local
625 fsize = (MCHIP_NB_PAGES_MJPEG - pt_start) * PAGE_SIZE +
628 fsize = (pt_end - pt_start) * PAGE_SIZE + trailer * 4;
630 if (fsize > size) {
632 fsize);
636 ptable_copy(buf, pt_start, fsize, MCHIP_NB_PAGES_MJPEG);
648 for (i = fsize - 1; i > 0 && buf[i] == 0xff; i--) ;
655 return fsize;
/drivers/media/video/em28xx/
H A Dem28xx-video.c1812 struct v4l2_frmsizeenum *fsize)
1820 fmt = format_by_fourcc(fsize->pixel_format);
1823 fsize->pixel_format);
1828 if (fsize->index > 1)
1830 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1831 fsize->discrete.width = maxw / (1 + fsize->index);
1832 fsize->discrete.height = maxh / (1 + fsize->index);
1836 if (fsize
1811 vidioc_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument
[all...]
/drivers/video/
H A Damifb.c1127 u_long maxfetchstop, fstrt, fsize, fconst, xres_n, yres_n; local
1383 fsize = ((maxfmode + clk_shift <= 1) ? fconst : 64);
1384 fstrt = downx(fconst, par->diwstrt_h - 4) - fsize;
1395 fsize;
1402 fsize = upx(fconst, xres_n +
1404 if (fstrt + fsize > maxfetchstop)
1407 fsize = upx(fconst, xres_n);
1408 if (fstrt + fsize > maxfetchstop) {
1414 fsize = up64(xres_n + fconst - 1);
1415 if (min_fstrt + fsize
1599 short clk_shift, vshift, fstrt, fsize, fstop, fconst, shift, move, mod; local
[all...]
H A Dacornfb.c360 u_int vcr, fsize; local
400 fsize = var->vsync_len + var->upper_margin + var->lower_margin - 1;
425 iomd_writel(fsize, IOMD_FSIZE);
486 printk(KERN_DEBUG " Fsize : 0x%08X\n", fsize);
/drivers/media/video/pwc/
H A Dpwc-v4l.c1038 struct v4l2_frmsizeenum *fsize)
1041 unsigned int i = 0, index = fsize->index;
1043 if (fsize->pixel_format == V4L2_PIX_FMT_YUV420 ||
1044 (fsize->pixel_format == V4L2_PIX_FMT_PWC1 &&
1046 (fsize->pixel_format == V4L2_PIX_FMT_PWC2 &&
1052 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1053 fsize->discrete.width = pwc_image_sizes[i][0];
1054 fsize->discrete.height = pwc_image_sizes[i][1];
1037 pwc_enum_framesizes(struct file *file, void *fh, struct v4l2_frmsizeenum *fsize) argument
/drivers/media/video/m5mols/
H A Dm5mols_core.c508 const struct m5mols_resolution *fsize = &m5mols_reg_res[0]; local
516 if (stype == fsize->type) {
517 err = abs(fsize->width - mf->width)
518 + abs(fsize->height - mf->height);
522 match = fsize;
525 fsize++;
/drivers/usb/gadget/
H A Dfsl_qe_udc.c804 unsigned int fsize; local
810 fsize = frame_get_length(pframe);
811 if (unlikely(fsize != 8))
814 memcpy(cp, pframe->data, fsize);
901 unsigned int fsize; local
915 fsize = frame_get_length(pframe);
923 memcpy(cp, pframe->data, fsize);
924 req->req.actual += fsize;
925 if ((fsize < ep->ep.maxpacket) ||
1485 u32 vaddr, fsize; local
[all...]
/drivers/media/video/uvc/
H A Duvc_v4l2.c799 struct v4l2_frmsizeenum *fsize = arg; local
807 fsize->pixel_format) {
815 if (fsize->index >= format->nframes)
818 frame = &format->frame[fsize->index];
819 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
820 fsize->discrete.width = frame->wWidth;
821 fsize->discrete.height = frame->wHeight;
/drivers/staging/media/solo6x10/
H A Dv4l2-enc.c1335 struct v4l2_frmsizeenum *fsize)
1340 if (fsize->pixel_format != V4L2_PIX_FMT_MPEG)
1343 switch (fsize->index) {
1345 fsize->discrete.width = solo_dev->video_hsize >> 1;
1346 fsize->discrete.height = solo_dev->video_vsize;
1349 fsize->discrete.width = solo_dev->video_hsize;
1350 fsize->discrete.height = solo_dev->video_vsize << 1;
1356 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1334 solo_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c1063 struct v4l2_frmsizeenum *fsize)
1072 if (fsize->index > 0)
1075 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1076 fsize->discrete.width = go->board_info->sensor_width;
1077 fsize->discrete.height = go->board_info->sensor_height;
1062 vidioc_enum_framesizes(struct file *filp, void *priv, struct v4l2_frmsizeenum *fsize) argument
/drivers/media/video/gspca/
H A Dgspca.c1266 struct v4l2_frmsizeenum *fsize)
1273 if (fsize->pixel_format !=
1277 if (fsize->index == index) {
1278 fsize->type = V4L2_FRMSIZE_TYPE_DISCRETE;
1279 fsize->discrete.width =
1281 fsize->discrete.height =
1265 vidioc_enum_framesizes(struct file *file, void *priv, struct v4l2_frmsizeenum *fsize) argument
/drivers/net/ethernet/tehuti/
H A Dtehuti.c1573 int fsize; local
1576 fsize = f->m.rptr - f->m.wptr;
1577 if (fsize <= 0)
1578 fsize = f->m.memsz + fsize;
1579 return fsize;

Completed in 963 milliseconds