Searched refs:seg_pages (Results 1 – 2 of 2) sorted by relevance
92 int seg_pages; in sun3_ioremap() local94 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; in sun3_ioremap()95 if(seg_pages > pages) in sun3_ioremap()96 seg_pages = pages; in sun3_ioremap()98 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()100 pages -= seg_pages; in sun3_ioremap()101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap()102 virt += seg_pages * PAGE_SIZE; in sun3_ioremap()
156 int i, seg_pages; in drm_bufs_info() local168 seg_pages = dma->bufs[i].seg_count * (1 << dma->bufs[i].page_order); in drm_bufs_info()175 seg_pages, in drm_bufs_info()176 seg_pages * PAGE_SIZE / 1024); in drm_bufs_info()