Home
last modified time | relevance | path

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

/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c21 static int get_cache_sram_params(struct sram_parameters *sram_params) in get_cache_sram_params() argument
32 sram_params->sram_offset = addr; in get_cache_sram_params()
33 sram_params->sram_size = size; in get_cache_sram_params()
66 struct sram_parameters sram_params; in mpc85xx_l2ctlr_of_probe() local
80 if (get_cache_sram_params(&sram_params)) in mpc85xx_l2ctlr_of_probe()
83 rem = l2cache_size % sram_params.sram_size; in mpc85xx_l2ctlr_of_probe()
84 ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; in mpc85xx_l2ctlr_of_probe()
100 lower_32_bits(sram_params.sram_offset) & L2SRAM_BAR_MSK_LO18); in mpc85xx_l2ctlr_of_probe()
107 upper_32_bits(sram_params.sram_offset) & L2SRAM_BARE_MSK_HI4); in mpc85xx_l2ctlr_of_probe()
136 rval = instantiate_cache_sram(dev, sram_params); in mpc85xx_l2ctlr_of_probe()
Dfsl_85xx_cache_sram.c71 struct sram_parameters sram_params) in instantiate_cache_sram() argument
86 cache_sram->base_phys = sram_params.sram_offset; in instantiate_cache_sram()
87 cache_sram->size = sram_params.sram_size; in instantiate_cache_sram()
Dfsl_85xx_cache_ctlr.h85 struct sram_parameters sram_params);