Home
last modified time | relevance | path

Searched refs:sram_params (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c34 static int get_cache_sram_params(struct sram_parameters *sram_params) in get_cache_sram_params() argument
45 sram_params->sram_offset = addr; in get_cache_sram_params()
46 sram_params->sram_size = size; in get_cache_sram_params()
79 struct sram_parameters sram_params; in mpc85xx_l2ctlr_of_probe() local
93 if (get_cache_sram_params(&sram_params)) { in mpc85xx_l2ctlr_of_probe()
100 rem = l2cache_size % sram_params.sram_size; in mpc85xx_l2ctlr_of_probe()
101 ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; in mpc85xx_l2ctlr_of_probe()
117 lower_32_bits(sram_params.sram_offset) & L2SRAM_BAR_MSK_LO18); in mpc85xx_l2ctlr_of_probe()
124 upper_32_bits(sram_params.sram_offset) & L2SRAM_BARE_MSK_HI4); in mpc85xx_l2ctlr_of_probe()
153 rval = instantiate_cache_sram(dev, sram_params); in mpc85xx_l2ctlr_of_probe()
Dfsl_85xx_cache_sram.c84 struct sram_parameters sram_params) in instantiate_cache_sram() argument
99 cache_sram->base_phys = sram_params.sram_offset; in instantiate_cache_sram()
100 cache_sram->size = sram_params.sram_size; in instantiate_cache_sram()
Dfsl_85xx_cache_ctlr.h98 struct sram_parameters sram_params);