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;
336 if (size > info->fix.smem_len)
338 if (offset > info->fix.smem_len - size)
343 dev_dbg(info->dev, "mmap() framebuffer addr:%lu size:%lu\n",
344 pos, size);
346 while (size > 0) {
353 if (size > PAGE_SIZE)
354 size -= PAGE_SIZE;
356 size = 0;
417 * To the hardware, 0 for a size byte means 256
1412 * with mode size info, we can now alloc our framebuffer.
1527 .size = EDID_LENGTH,
1839 urb->transfer_buffer_length = dlfb->urbs.size; /* reset to actual */
1871 usb_free_coherent(urb->dev, dlfb->urbs.size,
1880 static int dlfb_alloc_urb_list(struct dlfb_data *dlfb, int count, size_t size)
1885 size_t wanted_size = count * size;
1890 dlfb->urbs.size = size;
1897 while (dlfb->urbs.count * size < wanted_size) {
1910 buf = usb_alloc_coherent(dlfb->udev, size, GFP_KERNEL,
1915 if (size > PAGE_SIZE) {
1916 size /= 2;
1926 buf, size, dlfb_urb_completion, unode);
1972 BUG_ON(len > dlfb->urbs.size);