Home
last modified time | relevance | path

Searched refs:l2cache (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dcpu_init.c527 struct ccsr_cluster_l2 __iomem *l2cache; in enable_cluster_l2() local
547 l2cache = (void __iomem *)(CONFIG_SYS_FSL_CLUSTER_1_L2 + i * 0x40000); in enable_cluster_l2()
563 clrsetbits_be32(&l2cache->l2csr1, 0xff, 32 + i * 2 + 1); in enable_cluster_l2()
565 printf("enable l2 for cluster %d %p\n", i, l2cache); in enable_cluster_l2()
567 out_be32(&l2cache->l2csr0, L2CSR0_L2FI|L2CSR0_L2LFC); in enable_cluster_l2()
568 while ((in_be32(&l2cache->l2csr0) in enable_cluster_l2()
571 out_be32(&l2cache->l2csr0, L2CSR0_L2E|L2CSR0_L2PE|L2CSR0_L2REP_MODE); in enable_cluster_l2()
587 ccsr_l2cache_t *l2cache = (void __iomem *)CONFIG_SYS_MPC85xx_L2_ADDR; in l2cache_init() local
589 struct ccsr_cluster_l2 * l2cache = (void __iomem *)CONFIG_SYS_FSL_CLUSTER_1_L2; in l2cache_init() local
602 cache_ctl = l2cache->l2ctl; in l2cache_init()
[all …]
H A Dspl_minimal.c18 ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in cpu_init_f() local
20 out_be32(&l2cache->l2srbar0, CONFIG_SYS_INIT_L2_ADDR); in cpu_init_f()
23 out_be32(&l2cache->l2errdis, in cpu_init_f()
27 out_be32(&l2cache->l2ctl, in cpu_init_f()
H A Dcpu_init_early.c89 ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in cpu_init_early_f() local
143 out_be32(&l2cache->l2srbar0, SRAM_BASE_ADDR); in cpu_init_early_f()
145 out_be32(&l2cache->l2errdis, in cpu_init_early_f()
148 out_be32(&l2cache->l2ctl, in cpu_init_early_f()
168 clrbits_be32(&l2cache->l2ctl, in cpu_init_early_f()
171 out_be32(&l2cache->l2srbar0, 0x0); in cpu_init_early_f()
H A Dfdt.c220 volatile ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR; in l2cache_size() local
221 volatile u32 l2siz_field = (l2cache->l2ctl >> 28) & 0x3; in l2cache_size()
296 struct ccsr_cluster_l2 *l2cache = in ft_fixup_l2cache() local
298 u32 l2cfg0 = in_be32(&l2cache->l2cfg0); in ft_fixup_l2cache()
/OK3568_Linux_fs/kernel/arch/riscv/boot/dts/sifive/
H A Dfu540-c000.dtsi57 next-level-cache = <&l2cache>;
81 next-level-cache = <&l2cache>;
105 next-level-cache = <&l2cache>;
129 next-level-cache = <&l2cache>;
260 l2cache: cache-controller@2010000 { label
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Dsoc.h443 OMAP3_HAS_FEATURE(l2cache, L2CACHE)
H A Did.c258 OMAP3_SHOW_FEATURE(l2cache); in omap3_cpuinfo()