Searched refs:memconfig (Results 1 – 1 of 1) sorted by relevance
25 static inline unsigned long get_bank_addr(unsigned int memconfig) in get_bank_addr() argument27 return ((memconfig & SGIMC_MCONFIG_BASEADDR) << in get_bank_addr()31 static inline unsigned long get_bank_size(unsigned int memconfig) in get_bank_size() argument33 return ((memconfig & SGIMC_MCONFIG_RMASK) + 0x0100) << in get_bank_size()