Searched refs:EBB_SEG_SIZE (Results 1 – 2 of 2) sorted by relevance
43 if (total_banks_count > EBB_SEG_SIZE) { in hp_sram_pm_banks()44 ebb_avail_mask0 = (uint32_t)GENMASK(EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks()46 EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks()53 if (banks > EBB_SEG_SIZE) { in hp_sram_pm_banks()54 ebb_mask0 = (uint32_t)GENMASK(EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks()55 ebb_mask1 = (uint32_t)GENMASK(banks - EBB_SEG_SIZE - 1, in hp_sram_pm_banks()
25 #define EBB_SEG_SIZE 32 macro29 #define HPSRAM_SEGMENTS (HPSRAM_EBB_COUNT + EBB_SEG_SIZE - 1) / EBB_SEG_SIZE30 #define HPSRAM_MEMMASK(idx) ((1ULL << (HPSRAM_EBB_COUNT - EBB_SEG_SIZE * idx)) - 1)