Lines Matching refs:psize
1444 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument
1451 return stream->urb_size / psize; in uvc_alloc_urb_buffers()
1456 npackets = DIV_ROUND_UP(size, psize); in uvc_alloc_urb_buffers()
1463 stream->urb_size = psize * npackets; in uvc_alloc_urb_buffers()
1481 psize); in uvc_alloc_urb_buffers()
1487 "per packet).\n", psize); in uvc_alloc_urb_buffers()
1521 u16 psize; in uvc_endpoint_max_bpi() local
1527 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi()
1528 return (psize & 0x07ff) * (1 + ((psize >> 11) & 3)); in uvc_endpoint_max_bpi()
1530 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi()
1531 return psize; in uvc_endpoint_max_bpi()
1533 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi()
1534 return psize & 0x07ff; in uvc_endpoint_max_bpi()
1547 u16 psize; in uvc_init_video_isoc() local
1550 psize = uvc_endpoint_max_bpi(stream->dev->udev, ep); in uvc_init_video_isoc()
1553 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc()
1557 size = npackets * psize; in uvc_init_video_isoc()
1583 urb->iso_frame_desc[j].offset = j * psize; in uvc_init_video_isoc()
1584 urb->iso_frame_desc[j].length = psize; in uvc_init_video_isoc()
1602 u16 psize; in uvc_init_video_bulk() local
1605 psize = usb_endpoint_maxp(&ep->desc) & 0x7ff; in uvc_init_video_bulk()
1609 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_bulk()
1613 size = npackets * psize; in uvc_init_video_bulk()
1685 unsigned int psize; in uvc_init_video() local
1694 psize = uvc_endpoint_max_bpi(stream->dev->udev, ep); in uvc_init_video()
1695 if (psize >= bandwidth && psize <= best_psize) { in uvc_init_video()
1697 best_psize = psize; in uvc_init_video()