Home
last modified time | relevance | path

Searched refs:fbmem_len (Results 1 – 3 of 3) sorted by relevance

/drivers/video/via/
Dvia-core.c505 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
510 for (; vdev->fbmem_len >= 8 << 20; vdev->fbmem_len /= 2) { in via_pci_setup_mmio()
511 vdev->fbmem = ioremap_wc(vdev->fbmem_start, vdev->fbmem_len); in via_pci_setup_mmio()
Dviafbdev.c1801 viaparinfo->memsize = vdev->fbmem_len; in via_fb_pci_probe()
/drivers/video/
Dsm501fb.c99 size_t fbmem_len; /* length of remapped region */ member
180 ptr = inf->fbmem_len - size; in sm501_alloc_mem()
181 inf->fbmem_len = ptr; /* adjust available memory. */ in sm501_alloc_mem()
185 if (size > inf->fbmem_len) in sm501_alloc_mem()
188 ptr = inf->fbmem_len - size; in sm501_alloc_mem()
212 end = par->screen.k_addr ? par->screen.sm_addr : inf->fbmem_len; in sm501_alloc_mem()
214 end = inf->fbmem_len; in sm501_alloc_mem()
230 end = inf->fbmem_len; in sm501_alloc_mem()
1606 info->fbmem_len = resource_size(res); in sm501fb_start()
1609 memset(info->fbmem, 0, info->fbmem_len); in sm501fb_start()