Lines Matching refs:cfg
89 u32 cfg; in pl172_setup_static() local
93 if (!of_property_read_u32(np, "mpmc,memory-width", &cfg)) { in pl172_setup_static()
94 if (cfg == 8) { in pl172_setup_static()
95 cfg = MPMC_STATIC_CFG_MW_8BIT; in pl172_setup_static()
96 } else if (cfg == 16) { in pl172_setup_static()
97 cfg = MPMC_STATIC_CFG_MW_16BIT; in pl172_setup_static()
98 } else if (cfg == 32) { in pl172_setup_static()
99 cfg = MPMC_STATIC_CFG_MW_32BIT; in pl172_setup_static()
110 cfg |= MPMC_STATIC_CFG_PM; in pl172_setup_static()
113 cfg |= MPMC_STATIC_CFG_PC; in pl172_setup_static()
116 cfg |= MPMC_STATIC_CFG_PB; in pl172_setup_static()
119 cfg |= MPMC_STATIC_CFG_EW; in pl172_setup_static()
123 cfg |= MPMC_STATIC_CFG_B; in pl172_setup_static()
126 cfg |= MPMC_STATIC_CFG_P; in pl172_setup_static()
128 writel(cfg, pl172->base + MPMC_STATIC_CFG(cs)); in pl172_setup_static()
129 dev_dbg(&adev->dev, "mpmc static config cs%u: 0x%08x\n", cs, cfg); in pl172_setup_static()