Searched refs:ranksize (Results 1 – 2 of 2) sorted by relevance
1630 int ret = 0, ranksize; in sisusb_set_rank() local1638 ranksize = dramtype[index][3] / 2 * bw / 32; in sisusb_set_rank()1640 if ((ranksize * rankno) > 128) in sisusb_set_rank()1644 while ((ranksize >>= 1) > 0) tmp += 0x10; in sisusb_set_rank()
4638 unsigned int buswidth, ranksize, channelab, mapsize; in sisfb_post_xgi_ramsize() local4852 ranksize = (ivideo->chip == XGI_20) ? in sisfb_post_xgi_ramsize()4856 if(reg & 0x80) ranksize <<= 1; in sisfb_post_xgi_ramsize()4859 if(buswidth == 16) ranksize <<= 1; in sisfb_post_xgi_ramsize()4860 else if(buswidth == 32) ranksize <<= 2; in sisfb_post_xgi_ramsize()4862 if(buswidth == 64) ranksize <<= 1; in sisfb_post_xgi_ramsize()4868 if((ranksize * l) <= 256) { in sisfb_post_xgi_ramsize()4869 while((ranksize >>= 1)) reg += 0x10; in sisfb_post_xgi_ramsize()