Searched refs:fbmem_len (Results 1 – 6 of 6) sorted by relevance
505 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()
1811 viaparinfo->memsize = vdev->fbmem_len; in via_fb_pci_probe()
99 size_t fbmem_len; /* length of remapped region */ member180 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()
58 unsigned long fbmem_start, unsigned long fbmem_len,
97 long fbmem_len; member
1466 unsigned long fbmem_start, unsigned long fbmem_len, in at32_add_device_lcdc() argument1520 if (fbmem_len) { in at32_add_device_lcdc()1522 pdev->resource[2].end = fbmem_start + fbmem_len - 1; in at32_add_device_lcdc()