Searched refs:DDR_GET_VAL (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/arch/powerpc/boot/ |
D | 4xx.c | 159 #define DDR_GET_VAL(val, mask, shift) (((val) >> (shift)) & (mask)) macro 191 val = DDR_GET_VAL(val, DDR_CS_MAP, DDR_CS_MAP_SHIFT); in ibm4xx_denali_get_cs() 208 if (!DDR_GET_VAL(val, DDR_START, DDR_START_SHIFT)) in ibm4xx_denali_fixup_memsize() 212 max_cs = DDR_GET_VAL(val, DDR_MAX_CS_REG, DDR_MAX_CS_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 213 max_col = DDR_GET_VAL(val, DDR_MAX_COL_REG, DDR_MAX_COL_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 214 max_row = DDR_GET_VAL(val, DDR_MAX_ROW_REG, DDR_MAX_ROW_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 225 if (DDR_GET_VAL(val, DDR_REDUC, DDR_REDUC_SHIFT)) in ibm4xx_denali_fixup_memsize() 233 row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT); in ibm4xx_denali_fixup_memsize() 241 col = DDR_GET_VAL(val, DDR_COL_SZ, DDR_COL_SZ_SHIFT); in ibm4xx_denali_fixup_memsize() 246 if (DDR_GET_VAL(val, DDR_BANK8, DDR_BANK8_SHIFT)) in ibm4xx_denali_fixup_memsize()
|