/linux-6.1.9/drivers/memory/ |
D | renesas-rpc-if.c | 601 const int maxw = (IS_ENABLED(CONFIG_64BIT)) ? 8 : 4; in memcpy_fromio_readw() local 611 while (count >= 2 && !IS_ALIGNED((unsigned long)from, maxw)) { in memcpy_fromio_readw() 617 while (count >= maxw) { in memcpy_fromio_readw() 623 from += maxw; in memcpy_fromio_readw() 624 to += maxw; in memcpy_fromio_readw() 625 count -= maxw; in memcpy_fromio_readw()
|
/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-video.c | 1379 unsigned int maxw = norm_maxw(dev); in size_to_scale() local 1382 *hscale = (((unsigned long)maxw) << 12) / width - 4096L; in size_to_scale() 1395 unsigned int maxw = norm_maxw(dev); in scale_to_size() local 1398 *width = (((unsigned long)maxw) << 12) / (hscale + 4096L); in scale_to_size() 1452 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local 1467 width = width > (3 * maxw / 4) ? maxw : maxw / 2; in vidioc_try_fmt_vid_cap() 1473 if (width == maxw && height == maxh) in vidioc_try_fmt_vid_cap() 1480 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, in vidioc_try_fmt_vid_cap() 2006 unsigned int maxw = norm_maxw(dev); in vidioc_enum_framesizes() local 2020 fsize->discrete.width = maxw / (1 + fsize->index); in vidioc_enum_framesizes() [all …]
|
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/ |
D | saa7146_video.c | 617 int maxw, maxh; in vidioc_try_fmt_vid_cap() local 627 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_cap() 655 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_vid_cap() 656 f->fmt.pix.width = maxw; in vidioc_try_fmt_vid_cap() 683 int maxw, maxh; in vidioc_try_fmt_vid_overlay() local 706 maxw = vv->standard->h_max_out; in vidioc_try_fmt_vid_overlay() 728 if (win->w.width > maxw) in vidioc_try_fmt_vid_overlay() 729 win->w.width = maxw; in vidioc_try_fmt_vid_overlay()
|
/linux-6.1.9/drivers/staging/media/deprecated/fsl-viu/ |
D | fsl-viu.c | 593 unsigned int maxw, maxh; in vidioc_try_fmt_cap() local 602 maxw = norm_maxw(); in vidioc_try_fmt_cap() 612 if (f->fmt.pix.width > maxw) in vidioc_try_fmt_cap() 613 f->fmt.pix.width = maxw; in vidioc_try_fmt_cap() 654 int maxw, maxh; in verify_preview() local 664 maxw = dev->crop_current.width; in verify_preview() 684 if (win->w.width > maxw) in verify_preview() 685 win->w.width = maxw; in verify_preview()
|
/linux-6.1.9/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 659 int maxw, maxh; in verify_preview() local 673 maxw = dev->crop_current.width; in verify_preview() 692 if (win->w.width > maxw) in verify_preview() 693 win->w.width = maxw; in verify_preview() 1298 unsigned int maxw, maxh; in saa7134_try_fmt_vid_cap() local 1305 maxw = min(dev->crop_current.width*4, dev->crop_bounds.width); in saa7134_try_fmt_vid_cap() 1328 if (f->fmt.pix.width > maxw) in saa7134_try_fmt_vid_cap() 1329 f->fmt.pix.width = maxw; in saa7134_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/pci/cx88/ |
D | cx88-blackbird.c | 833 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 841 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap() 862 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
D | cx88-video.c | 731 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 737 maxw = norm_maxw(core->tvnorm); in vidioc_try_fmt_vid_cap() 758 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 554 unsigned int maxw, maxh; in vidioc_try_fmt_vid_cap() local 561 maxw = 720; in vidioc_try_fmt_vid_cap() 585 v4l_bound_align_image(&f->fmt.pix.width, 48, maxw, 2, in vidioc_try_fmt_vid_cap()
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1403 unsigned int maxh, maxw; in cx231xx_init_dev() local 1466 maxw = norm_maxw(dev); in cx231xx_init_dev() 1470 dev->width = maxw; in cx231xx_init_dev()
|
D | cx231xx-video.c | 863 unsigned int maxw = norm_maxw(dev); in vidioc_try_fmt_vid_cap() local 876 v4l_bound_align_image(&width, 48, maxw, 1, &height, 32, maxh, 1, 0); in vidioc_try_fmt_vid_cap()
|