Lines Matching defs:size
89 size_t size;
136 static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size);
779 unsigned long size = vma->vm_end - vma->vm_start;
788 if (size > info->fix.smem_len)
790 if (offset > info->fix.smem_len - size)
795 pr_debug("mmap() framebuffer addr:%lu size:%lu\n",
796 pos, size);
798 while (size > 0) {
805 if (size > PAGE_SIZE)
806 size -= PAGE_SIZE;
808 size = 0;
1233 /* TODO: support dynamically changing framebuffer size */
1599 /* with mode size info, we can now alloc our framebuffer */
1825 urb->transfer_buffer_length = dev->urbs.size; /* reset to actual */
1869 usb_free_coherent(urb->dev, dev->urbs.size,
1876 static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size)
1885 dev->urbs.size = size;
1904 buf = usb_alloc_coherent(dev->udev, size, GFP_KERNEL,
1914 buf, size, ufx_urb_completion, unode);
1926 pr_debug("allocated %d %d byte urbs\n", i, (int) size);
1968 BUG_ON(len > dev->urbs.size);