Lines Matching refs:line_size
166 u32 line_size, num_ways, size, num_sets; in ft_fixup_l3cache() local
172 line_size = CPC_CFG0_LINE_SZ(cfg0); in ft_fixup_l3cache()
173 num_sets = size / (line_size * num_ways); in ft_fixup_l3cache()
176 fdt_setprop_cell(blob, off, "cache-block-size", line_size); in ft_fixup_l3cache()
259 const u32 line_size = 32; in ft_fixup_l2cache() local
262 const u32 num_sets = size / (line_size * num_ways); in ft_fixup_l2cache()
285 fdt_setprop_cell(blob, off, "cache-block-size", line_size); in ft_fixup_l2cache()
305 u32 size, line_size, num_ways, num_sets; in ft_fixup_l2cache() local
314 line_size = (((l2cfg0 >> 23) & 0x3) + 1) * 32; in ft_fixup_l2cache()
315 num_sets = size / (line_size * num_ways); in ft_fixup_l2cache()
352 line_size); in ft_fixup_l2cache()