Searched defs:size (Results 51 - 75 of 2434) sorted by last modified time

1234567891011>>

/drivers/video/fbdev/
H A Dpvr2fb.c209 int val, int size);
998 int size)
1002 for (i = 0 ; i < size ; i++ ) {
1078 int size; local
1087 size = sizeof(struct fb_info) + sizeof(struct pvr2fb_par) + 16 * sizeof(u32);
997 pvr2_get_param(const struct pvr2_params *p, const char *s, int val, int size) argument
H A Dpxa3xx-gcu.c484 unsigned int size = vma->vm_end - vma->vm_start; local
490 if (size != SHARED_SIZE)
494 priv->shared, priv->shared_phys, size);
499 if (size != resource_size(priv->resource_mem))
506 size, vma->vm_page_prot);
H A Dpxafb.c87 unsigned long offset, size_t size);
611 int size = ofb->fb.fix.line_length * ofb->fb.var.yres_virtual; local
613 setup_frame_dma(ofb->fbi, DMA_OV1, PAL_NONE, start, size);
652 int size, div = 1, pfor = NONSTD_TO_PFOR(ofb->fb.var.nonstd); local
656 size = ofb->fb.fix.line_length * ofb->fb.var.yres_virtual;
657 setup_frame_dma(ofb->fbi, DMA_OV2_Y, -1, start[0], size);
659 size = ofb->fb.var.xres_virtual * ofb->fb.var.yres_virtual;
665 start[1] = start[0] + size;
666 start[2] = start[1] + size / div;
667 setup_frame_dma(ofb->fbi, DMA_OV2_Y, -1, start[0], size);
816 int size, bpp = 0; local
1062 setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, unsigned long start, size_t size) argument
1711 int size = PAGE_ALIGN(fbi->video_mem_size); local
[all...]
H A Ds1d13xxxfb.c118 const unsigned int size)
122 for (i = 0; i < size; i++) {
116 s1d13xxxfb_runinit(struct s1d13xxxfb_par *par, const struct s1d13xxxfb_regval *initregs, const unsigned int size) argument
H A Ds3c-fb.c78 * @buf_size: Offset of buffer size registers.
390 * vidosd_set_size() - set OSD size for a window
392 * @win: the window to set OSD size for
393 * @size: OSD size register value
395 static void vidosd_set_size(struct s3c_fb_win *win, u32 size) argument
401 writel(size, sfb->regs + OSD_BASE(win->index, sfb->variant)
408 * @win: the window to set OSD size for
1086 unsigned int real_size, virt_size, size; local
1099 size
[all...]
H A Ds3c2410fb.c157 /* it is always the size as the display */
659 dprintk("map_video_memory: dma=%08lx cpu=%p size=%08x\n",
833 int size; local
874 size = resource_size(res);
875 info->mem = request_mem_region(res->start, size, pdev->name);
882 info->io = ioremap(res->start, size);
942 /* find maximum required memory size for display */
1006 release_mem_region(res->start, size);
H A Dsbuslib.c33 static unsigned long sbusfb_mmapsize(long size, unsigned long fbsize) argument
35 if (size == SBUS_MMAP_EMPTY) return 0;
36 if (size >= 0) return size;
37 return fbsize * (-size);
46 unsigned int size, page, r, map_size; local
54 size = vma->vm_end - vma->vm_start;
65 for (page = 0; page < size; ){
67 for (i = 0; map[i].size; i++)
69 map_size = sbusfb_mmapsize(map[i].size, fbsiz
[all...]
H A Dsbuslib.h8 unsigned long size; member in struct:sbus_mmap_map
H A Dsh_mobile_lcdcfb.c160 * @fb_size: Frame buffer size in bytes
1986 * distance between two modes is defined as the size of the
2566 /* The default Y virtual resolution is twice the panel size to allow for
2626 unsigned int size = mode->yres * mode->xres; local
2636 if (size > max_size) {
2638 max_size = size;
2657 * twice the panel size to allow for double-buffering.
H A Dsh_mobile_meram.c113 * @size: MERAM block size in KiB
122 unsigned int size; member in struct:sh_mobile_meram_icb
201 static unsigned long meram_alloc(struct sh_mobile_meram_priv *priv, size_t size) argument
203 return gen_pool_alloc(priv->pool, size);
207 size_t size)
209 gen_pool_free(priv->pool, mem, size);
219 size_t size)
234 mem = meram_alloc(priv, size * 1024);
242 plane->marker->size
206 meram_free(struct sh_mobile_meram_priv *priv, unsigned long mem, size_t size) argument
217 meram_plane_alloc(struct sh_mobile_meram_priv *priv, struct sh_mobile_meram_fb_plane *plane, size_t size) argument
407 sh_mobile_meram_alloc(struct sh_mobile_meram_info *pdata, size_t size) argument
416 sh_mobile_meram_free(struct sh_mobile_meram_info *pdata, unsigned long mem, size_t size) argument
[all...]
H A Dsm501fb.c78 unsigned long size; member in struct:sm501_mem
171 unsigned int why, size_t size, u32 smem_len)
180 ptr = inf->fbmem_len - size;
185 if (size > inf->fbmem_len)
188 ptr = inf->fbmem_len - size;
216 if ((ptr + size) > end)
232 if ((ptr + size) > end)
241 mem->size = size;
246 __func__, mem->sm_addr, mem->k_addr, why, size);
170 sm501_alloc_mem(struct sm501fb_info *inf, struct sm501_mem *mem, unsigned int why, size_t size, u32 smem_len) argument
[all...]
H A Dsmscufx.c92 size_t size; member in struct:urb_list
140 static int ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size);
781 unsigned long size = vma->vm_end - vma->vm_start; local
787 if (size > info->fix.smem_len)
789 if (offset > info->fix.smem_len - size)
794 pr_debug("mmap() framebuffer addr:%lu size:%lu\n",
795 pos, size);
797 while (size > 0) {
804 if (size > PAGE_SIZE)
805 size
1868 ufx_alloc_urb_list(struct ufx_data *dev, int count, size_t size) argument
[all...]
H A Dtdfxfb.c54 * reorg, hwcursor address page size alignment
87 static inline int mtrr_add(unsigned long base, unsigned long size, argument
93 unsigned long size)
271 static inline void banshee_make_room(struct tdfx_par *par, int size) argument
275 while ((tdfx_inl(par, STATUS) & 0x1f) < size - 1)
966 int size = image->height * ((image->width * image->depth + 7) >> 3); local
979 banshee_make_room(par, 6 + ((size + 3) >> 2));
1030 for (i = (size >> 2); i > 0; i--) {
1041 switch (size % 4) {
92 mtrr_del(int reg, unsigned long base, unsigned long size) argument
H A Dtridentfb.c220 unsigned size = ((w + 31) >> 5) * h; local
229 memcpy(par->io_virt + 0x10000, data, 4 * size);
783 /* Try detecting the video memory size */
789 /* If memory size provided by user */
860 output("framebuffer size = %d Kb\n", k / Kb);
1054 * on flat panels with native size larger
1491 info->pixmap.size = 4096;
H A Dudlfb.c81 static int dlfb_alloc_urb_list(struct dlfb_data *dev, int count, size_t size);
323 unsigned long size = vma->vm_end - vma->vm_start; local
329 if (size > info->fix.smem_len)
331 if (offset > info->fix.smem_len - size)
336 pr_notice("mmap() framebuffer addr:%lu size:%lu\n",
337 pos, size);
339 while (size > 0) {
346 if (size > PAGE_SIZE)
347 size -= PAGE_SIZE;
349 size
1861 dlfb_alloc_urb_list(struct dlfb_data *dev, int count, size_t size) argument
[all...]
H A Dvfb.c28 * size
44 static void *rvmalloc(unsigned long size) argument
49 size = PAGE_ALIGN(size);
50 mem = vmalloc_32(size);
54 memset(mem, 0, size); /* Clear the ram out, no junk to the user */
56 while (size > 0) {
59 size -= PAGE_SIZE;
65 static void rvfree(void *mem, unsigned long size) argument
73 while ((long) size >
418 unsigned long size = vma->vm_end - vma->vm_start; local
[all...]
H A Dxilinxfb.c356 dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",
416 int size; local
454 prop = of_get_property(pdev->dev.of_node, "phys-size", &size);
455 if ((prop) && (size >= sizeof(u32)*2)) {
460 prop = of_get_property(pdev->dev.of_node, "resolution", &size);
461 if ((prop) && (size >= sizeof(u32)*2)) {
466 prop = of_get_property(pdev->dev.of_node, "virtual-resolution", &size);
467 if ((prop) && (size >= sizeof(u32)*2)) {
/drivers/video/fbdev/riva/
H A Dfbdev.c1507 int i, size; local
1551 size = width * image->height;
1552 while (size >= 16) {
1560 size -= 16;
1562 if (size) {
1563 RIVA_FIFO_FREE(par->riva, Bitmap, size);
1564 for (i = 0; i < size; i++) {
1729 info->pixmap.size = 8 * 1024;
/drivers/video/fbdev/savage/
H A Dsavagefb_accel.c95 int fg, bg, size, i, width; local
123 size = (width * image->height)/8;
124 size >>= 2;
126 par->SavageWaitFifo(par, size + 5);
133 for (i = 0; i < size; i++)
/drivers/video/fbdev/sis/
H A Dsis.h396 u32 size; member in struct:SIS_OH
509 u32 cmdQueueSize; /* Total size in KB */
H A Dsis_main.c3078 * higher than the size of the UMA memory.
3083 * (results in a heap of size 0)
3152 printk(KERN_INFO "sisfb: Memory heap starting at %dK, size %dK\n",
3166 poh->size = ivideo->sisfb_heap_size;
3171 ivideo->sisfb_heap.oh_free.size = 0;
3172 ivideo->sisfb_heap.max_freesize = poh->size;
3176 ivideo->sisfb_heap.oh_used.size = SENTINEL;
3223 sisfb_poh_allocate(struct SIS_HEAP *memheap, u32 size) argument
3229 if(size > memheap->max_freesize) {
3231 (unsigned int) size / 102
[all...]
/drivers/video/fbdev/vermilion/
H A Dvermilion.h157 /* Pipe A Source Image size (minus one - equal to active size)
208 unsigned long size; member in struct:vram_area
/drivers/video/fbdev/via/
H A Dhw.c1388 static struct via_pll_config get_pll_config(struct pll_limit *limits, int size, argument
1395 for (i = 0; i < size; i++) {
H A Dviafbdev.c857 int size = ((cursor->image.width + 7) >> 3) * local
881 for (i = 0; i < size; i++)
886 for (i = 0; i < size; i++)
894 for (i = 0; i < size; i++) {
900 for (i = 0; i < size; i++) {
2147 "Set secondary device memory size");
/drivers/video/
H A Dhdmi.c31 static void hdmi_infoframe_checksum(void *buffer, size_t size) argument
38 for (i = 0; i < size; i++)
66 * @size: size of buffer
77 size_t size)
84 if (size < length)
87 memset(buffer, 0, size);
173 * @size: size of buffer
184 size_t size)
76 hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, size_t size) argument
183 hdmi_spd_infoframe_pack(struct hdmi_spd_infoframe *frame, void *buffer, size_t size) argument
247 hdmi_audio_infoframe_pack(struct hdmi_audio_infoframe *frame, void *buffer, size_t size) argument
329 hdmi_vendor_infoframe_pack(struct hdmi_vendor_infoframe *frame, void *buffer, size_t size) argument
386 hdmi_vendor_any_infoframe_pack(union hdmi_vendor_any_infoframe *frame, void *buffer, size_t size) argument
411 hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size) argument
[all...]

Completed in 595 milliseconds

1234567891011>>