Lines Matching refs:width
233 dev->width = 720; in set_tvnorm()
269 static int tw68_set_scale(struct tw68_dev *dev, unsigned int width, in tw68_set_scale() argument
284 width, height, V4L2_FIELD_HAS_BOTH(field), in tw68_set_scale()
301 hscale = (hactive * 256) / (width); in tw68_set_scale()
308 width, height, in tw68_set_scale()
344 tw68_set_scale(dev, dev->width, dev->height, dev->field); in tw68_video_start_dma()
386 sizes[0] = (dev->fmt->depth * dev->width * dev->height) >> 3; in tw68_queue_setup()
466 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in tw68_buf_prepare()
471 bpl = (dev->width * dev->fmt->depth) >> 3; in tw68_buf_prepare()
594 f->fmt.pix.width = dev->width; in tw68_g_fmt_vid_cap()
599 (f->fmt.pix.width * (dev->fmt->depth)) >> 3; in tw68_g_fmt_vid_cap()
639 if (f->fmt.pix.width < 48) in tw68_try_fmt_vid_cap()
640 f->fmt.pix.width = 48; in tw68_try_fmt_vid_cap()
643 if (f->fmt.pix.width > 720) in tw68_try_fmt_vid_cap()
644 f->fmt.pix.width = 720; in tw68_try_fmt_vid_cap()
647 f->fmt.pix.width &= ~0x03; in tw68_try_fmt_vid_cap()
649 (f->fmt.pix.width * (fmt->depth)) >> 3; in tw68_try_fmt_vid_cap()
673 dev->width = f->fmt.pix.width; in tw68_s_fmt_vid_cap()
967 dev->width = 720; in tw68_video_init2()