Searched refs:DDR_GET_VAL (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/arch/powerpc/boot/ |
D | 4xx.c | 163 #define DDR_GET_VAL(val, mask, shift) (((val) >> (shift)) & (mask)) macro 195 val = DDR_GET_VAL(val, DDR_CS_MAP, DDR_CS_MAP_SHIFT); in ibm4xx_denali_get_cs() 212 if (!DDR_GET_VAL(val, DDR_START, DDR_START_SHIFT)) in ibm4xx_denali_fixup_memsize() 216 max_cs = DDR_GET_VAL(val, DDR_MAX_CS_REG, DDR_MAX_CS_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 217 max_col = DDR_GET_VAL(val, DDR_MAX_COL_REG, DDR_MAX_COL_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 218 max_row = DDR_GET_VAL(val, DDR_MAX_ROW_REG, DDR_MAX_ROW_REG_SHIFT); in ibm4xx_denali_fixup_memsize() 229 if (DDR_GET_VAL(val, DDR_REDUC, DDR_REDUC_SHIFT)) in ibm4xx_denali_fixup_memsize() 237 row = DDR_GET_VAL(val, DDR_APIN, DDR_APIN_SHIFT); in ibm4xx_denali_fixup_memsize() 245 col = DDR_GET_VAL(val, DDR_COL_SZ, DDR_COL_SZ_SHIFT); in ibm4xx_denali_fixup_memsize() 250 if (DDR_GET_VAL(val, DDR_BANK8, DDR_BANK8_SHIFT)) in ibm4xx_denali_fixup_memsize()
|