Lines Matching refs:mapsize
4178 unsigned int *mapsize, unsigned int min) in sisfb_post_map_vram() argument
4180 if (*mapsize < (min << 20)) in sisfb_post_map_vram()
4183 ivideo->video_vbase = ioremap_wc(ivideo->video_base, (*mapsize)); in sisfb_post_map_vram()
4188 (*mapsize) >>= 1; in sisfb_post_map_vram()
4189 while((!(ivideo->video_vbase = ioremap_wc(ivideo->video_base, (*mapsize))))) { in sisfb_post_map_vram()
4190 (*mapsize) >>= 1; in sisfb_post_map_vram()
4191 if((*mapsize) < (min << 20)) in sisfb_post_map_vram()
4197 (int)((*mapsize) >> 20)); in sisfb_post_map_vram()
4270 int PseudoAdrPinCount, unsigned int mapsize) in sisfb_post_300_rwtest() argument
4313 if ((BankNumHigh + PhysicalAdrHigh >= mapsize) || in sisfb_post_300_rwtest()
4314 (BankNumMid + PhysicalAdrHigh >= mapsize) || in sisfb_post_300_rwtest()
4315 (BankNumHigh + PhysicalAdrHalfPage >= mapsize) || in sisfb_post_300_rwtest()
4316 (BankNumHigh + PhysicalAdrOtherPage >= mapsize)) in sisfb_post_300_rwtest()
4337 static void sisfb_post_300_ramsize(struct pci_dev *pdev, unsigned int mapsize) in sisfb_post_300_ramsize() argument
4355 mapsize)) in sisfb_post_300_ramsize()
4368 unsigned int mapsize; in sisfb_post_sis300() local
4516 mapsize = ivideo->video_size; in sisfb_post_sis300()
4517 sisfb_post_map_vram(ivideo, &mapsize, 4); in sisfb_post_sis300()
4520 sisfb_post_300_ramsize(pdev, mapsize); in sisfb_post_sis300()
4616 unsigned int enda, unsigned int mapsize) in sisfb_post_xgi_rwtest() argument
4625 if(pos < mapsize) in sisfb_post_xgi_rwtest()
4636 if(pos < mapsize) { in sisfb_post_xgi_rwtest()
4648 unsigned int buswidth, ranksize, channelab, mapsize; in sisfb_post_xgi_ramsize() local
4683 mapsize = ivideo->video_size; in sisfb_post_xgi_ramsize()
4684 sisfb_post_map_vram(ivideo, &mapsize, 32); in sisfb_post_xgi_ramsize()
4709 if(sisfb_post_xgi_rwtest(ivideo, 23, 24, mapsize)) in sisfb_post_xgi_ramsize()
4715 if(sisfb_post_xgi_rwtest(ivideo, 23, 23, mapsize)) in sisfb_post_xgi_ramsize()
4723 if(sisfb_post_xgi_rwtest(ivideo, 22, 23, mapsize)) in sisfb_post_xgi_ramsize()
4733 if(sisfb_post_xgi_rwtest(ivideo, 22, 23, mapsize)) in sisfb_post_xgi_ramsize()
4739 if(sisfb_post_xgi_rwtest(ivideo, 22, 22, mapsize)) in sisfb_post_xgi_ramsize()
4747 if(sisfb_post_xgi_rwtest(ivideo, 21, 22, mapsize)) in sisfb_post_xgi_ramsize()
4769 if(sisfb_post_xgi_rwtest(ivideo, 23, 24, mapsize)) in sisfb_post_xgi_ramsize()
4774 if(sisfb_post_xgi_rwtest(ivideo, 22, 23, mapsize)) in sisfb_post_xgi_ramsize()
4781 if(sisfb_post_xgi_rwtest(ivideo, 22, 23, mapsize)) in sisfb_post_xgi_ramsize()
4792 if(sisfb_post_xgi_rwtest(ivideo, 23, 25, mapsize)) in sisfb_post_xgi_ramsize()
4799 if(sisfb_post_xgi_rwtest(ivideo, 23, 24, mapsize)) in sisfb_post_xgi_ramsize()
4806 if(sisfb_post_xgi_rwtest(ivideo, 23, 24, mapsize)) { in sisfb_post_xgi_ramsize()
4825 if(sisfb_post_xgi_rwtest(ivideo, 23, 24, mapsize)) in sisfb_post_xgi_ramsize()
4836 if(sisfb_post_xgi_rwtest(ivideo, 24, 25, mapsize)) in sisfb_post_xgi_ramsize()
4887 if (sisfb_post_xgi_rwtest(ivideo, j, ((reg >> 4) + channelab - 2 + 20), mapsize)) { in sisfb_post_xgi_ramsize()