Home
last modified time | relevance | path

Searched refs:fb_len (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/hw/display/
H A Dxenfb.c67 size_t fb_len; member
497 xenfb->fbpages = DIV_ROUND_UP(xenfb->fb_len, XEN_PAGE_SIZE); in xenfb_map_fb()
528 size_t fb_len, int offset, int row_stride) in xenfb_configure_fb()
542 if (fb_len_lim && fb_len > fb_len_lim) { in xenfb_configure_fb()
545 fb_len, fb_len_lim); in xenfb_configure_fb()
546 fb_len = fb_len_lim; in xenfb_configure_fb()
554 if (row_stride <= 0 || row_stride > fb_len) { in xenfb_configure_fb()
566 if (offset < 0 || offset >= fb_len) { in xenfb_configure_fb()
569 offset, fb_len - 1); in xenfb_configure_fb()
572 max_height = (fb_len - offset) / row_stride; in xenfb_configure_fb()
[all …]
H A Dexynos4210_fimd.c295 hwaddr fb_len; /* Framebuffer length */ member
1134 cpu_physical_memory_unmap(w->host_fb_addr, w->fb_len, 0, 0); in fimd_update_memory_section()
1136 w->fb_len = 0; in fimd_update_memory_section()
1141 w->fb_len = fb_mapped_len = (w->virtpage_width + w->virtpage_offsize) * in fimd_update_memory_section()
1152 w->mem_section = memory_region_find(s->fbmem, fb_start_addr, w->fb_len); in fimd_update_memory_section()
1156 win, fb_start_addr, w->fb_len); in fimd_update_memory_section()
1158 if (int128_get64(w->mem_section.size) != w->fb_len || in fimd_update_memory_section()
1174 if (fb_mapped_len != w->fb_len) { in fimd_update_memory_section()
1190 w->fb_len = 0; in fimd_update_memory_section()
H A Dsm501.c701 int fb_len = get_width(s, crt) * get_height(s, crt) * get_bpp(s, crt); in sm501_2d_operation() local
932 dst_base <= get_fb_addr(s, crt) + fb_len) { in sm501_2d_operation()
933 int dst_len = MIN(fb_len, ((dst_y + height - 1) * dst_pitch + in sm501_2d_operation()
/openbmc/linux/drivers/video/fbdev/
H A Dau1100fb.c348 fbdev->fb_len); in au1100fb_fb_mmap()
458 fbdev->fb_len = fbdev->panel->xres * fbdev->panel->yres * in au1100fb_drv_probe()
462 PAGE_ALIGN(fbdev->fb_len), in au1100fb_drv_probe()
466 fbdev->fb_len / 1024); in au1100fb_drv_probe()
471 au1100fb_fix.smem_len = fbdev->fb_len; in au1100fb_drv_probe()
474 print_dbg("phys=0x%08x, size=%dK", fbdev->fb_phys, fbdev->fb_len / 1024); in au1100fb_drv_probe()
H A Dau1200fb.c154 unsigned int fb_len; member
1063 if (fbdev->fb_len < screen_size) in au1200fb_fb_check_var()
1240 fbdev->fb_mem, fbdev->fb_phys, fbdev->fb_len); in au1200fb_fb_mmap()
1563 fbi->fix.smem_len = fbdev->fb_len; in au1200fb_init_fbinfo()
1694 fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8; in au1200fb_drv_probe()
1697 PAGE_ALIGN(fbdev->fb_len), in au1200fb_drv_probe()
1701 fbdev->fb_len / 1024); in au1200fb_drv_probe()
1707 print_dbg("phys=0x%08x, size=%dK", fbdev->fb_phys, fbdev->fb_len / 1024); in au1200fb_drv_probe()
H A Dau1100fb.h109 size_t fb_len; member
/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c50 size_t fb_len; member
180 unsigned long size = diu_shared_fb.fb_len; in mpc512x_release_bootmem()
246 diu_shared_fb.fb_len = ((res & 0xfff0000) >> 16) * (res & 0xfff) * bpp; in mpc512x_init_diu()
288 diu_shared_fb.fb_len); in mpc512x_setup_diu()
/openbmc/linux/drivers/video/fbdev/geode/
H A Dgx1fb_core.c199 int fb_len; in gx1fb_map_video_memory() local
223 if ((fb_len = gx1_frame_buffer_size()) < 0) in gx1fb_map_video_memory()
226 info->fix.smem_len = fb_len; in gx1fb_map_video_memory()
/openbmc/linux/drivers/video/
H A Dsticore.c1052 unsigned int fb_len, rom_len; in sticore_pci_init() local
1063 fb_len = pci_resource_len(pd, 0); in sticore_pci_init()
1072 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
/openbmc/linux/fs/overlayfs/
H A Dnamei.c95 int ovl_check_fb_len(struct ovl_fb *fb, int fb_len) in ovl_check_fb_len() argument
97 if (fb_len < sizeof(struct ovl_fb) || fb_len < fb->len) in ovl_check_fb_len()
H A Doverlayfs.h620 int ovl_check_fb_len(struct ovl_fb *fb, int fb_len);
/openbmc/linux/drivers/video/fbdev/via/
H A Dhw.h660 void viafb_get_fb_info(unsigned int *fb_base, unsigned int *fb_len);