Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c1669 int usb_width, usb_height; in usbvision_set_output() local
1677 usb_width = width / 2; in usbvision_set_output()
1680 usb_width = width; in usbvision_set_output()
1692 RESTRICT_TO_RANGE(usb_width, MIN_FRAME_WIDTH, MAX_USB_WIDTH); in usbvision_set_output()
1693 usb_width &= ~(MIN_FRAME_WIDTH-1); in usbvision_set_output()
1698 usb_width, usb_height, width, height, in usbvision_set_output()
1702 if ((usb_width != usbvision->curwidth) || (usb_height != usbvision->curheight)) { in usbvision_set_output()
1703 value[0] = usb_width & 0xff; /* LSB */ in usbvision_set_output()
1704 value[1] = (usb_width >> 8) & 0x03; /* MSB */ in usbvision_set_output()
1718 usbvision->curwidth = usbvision->stretch_width * usb_width; in usbvision_set_output()
[all …]