Searched refs:row_dens (Results 1 – 4 of 4) sorted by relevance
87 unsigned int banksize(unsigned char row_dens) in banksize() argument89 return ((row_dens >> 2) | ((row_dens & 3) << 6)) << 24; in banksize()108 printf ("Row density: %d\n", spd->row_dens); in spd_debug()219 ddr->csbnds[0].csbnds = (banksize(spd.row_dens) >> 24) - 1; in spd_sdram()231 ddr->csbnds[1].csbnds = ( (banksize(spd.row_dens) >> 8) in spd_sdram()232 | ((banksize(spd.row_dens) >> 23) - 1) ); in spd_sdram()244 ddr->csbnds[2].csbnds = (banksize(spd.row_dens) >> 24) - 1; in spd_sdram()256 ddr->csbnds[3].csbnds = ( (banksize(spd.row_dens) >> 8) in spd_sdram()257 | ((banksize(spd.row_dens) >> 23) - 1) ); in spd_sdram()272 memsize = n_ranks * banksize(spd.row_dens) / 0x100000; in spd_sdram()
34 compute_ranksize(unsigned int mem_type, unsigned char row_dens) in compute_ranksize() argument39 bsize = ((row_dens >> 2) | ((row_dens & 3) << 6)); in compute_ranksize()
33 compute_ranksize(unsigned int mem_type, unsigned char row_dens) in compute_ranksize() argument38 bsize = ((row_dens >> 5) | ((row_dens & 31) << 3)); in compute_ranksize()
46 unsigned char row_dens; /* 31 Density of each row on module */ member