Lines Matching refs:size
85 static int dlfb_alloc_urb_list(struct dlfb_data *dlfb, int count, size_t size);
327 unsigned long size = vma->vm_end - vma->vm_start;
333 if (size > info->fix.smem_len)
335 if (offset > info->fix.smem_len - size)
340 dev_dbg(info->dev, "mmap() framebuffer addr:%lu size:%lu\n",
341 pos, size);
343 while (size > 0) {
350 if (size > PAGE_SIZE)
351 size -= PAGE_SIZE;
353 size = 0;
414 * To the hardware, 0 for a size byte means 256
1411 * with mode size info, we can now alloc our framebuffer.
1526 .size = EDID_LENGTH,
1846 urb->transfer_buffer_length = dlfb->urbs.size; /* reset to actual */
1878 usb_free_coherent(urb->dev, dlfb->urbs.size,
1887 static int dlfb_alloc_urb_list(struct dlfb_data *dlfb, int count, size_t size)
1892 size_t wanted_size = count * size;
1897 dlfb->urbs.size = size;
1904 while (dlfb->urbs.count * size < wanted_size) {
1917 buf = usb_alloc_coherent(dlfb->udev, size, GFP_KERNEL,
1922 if (size > PAGE_SIZE) {
1923 size /= 2;
1933 buf, size, dlfb_urb_completion, unode);
1979 BUG_ON(len > dlfb->urbs.size);