Searched refs:memtotal (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/4xx/ |
D | ocm.c | 50 int memtotal; member 65 int memtotal; member 141 ocm->memtotal = (rsrc.end - rsrc.start + 1); in ocm_init_node() 144 ocm->index, ocm->memtotal, in ocm_init_node() 152 if (!request_mem_region(ocm->phys, ocm->memtotal, "ppc4xx_ocm")) { in ocm_init_node() 161 ocm->nc.memtotal = ocm->memtotal - ocm->cache_size; in ocm_init_node() 162 ocm->nc.memfree = ocm->nc.memtotal; in ocm_init_node() 164 ocm->c.phys = ocm->phys + ocm->nc.memtotal; in ocm_init_node() 165 ocm->c.memtotal = ocm->cache_size; in ocm_init_node() 166 ocm->c.memfree = ocm->c.memtotal; in ocm_init_node() [all …]
|
/Linux-v4.19/tools/power/pm-graph/ |
D | bootgraph.py | 88 bs = min(self.memtotal / 2, 2*1024*1024) / self.cpucount
|
D | sleepgraph.py | 93 memtotal = 204800 variable in SystemValues 324 (m, p, c, b, self.cpucount, self.memtotal, self.memfree) 334 print fmt % ('memtotal', ('%d kB' % self.memtotal)) 347 self.memtotal = int(m.group('sz'))
|