Searched refs:sram_params (Results 1 – 3 of 3) sorted by relevance
21 static int get_cache_sram_params(struct sram_parameters *sram_params) in get_cache_sram_params() argument32 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() local80 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()
71 struct sram_parameters sram_params) in instantiate_cache_sram() argument86 cache_sram->base_phys = sram_params.sram_offset; in instantiate_cache_sram()87 cache_sram->size = sram_params.sram_size; in instantiate_cache_sram()
85 struct sram_parameters sram_params);