Searched refs:spa_size (Results 1 – 2 of 2) sorted by relevance
134 static int spa_max_procs(int spa_size) in spa_max_procs() argument149 return ((spa_size / 8) - 96) / 17; in spa_max_procs()160 afu->spa_size = (1 << afu->spa_order) * PAGE_SIZE; in alloc_spa()161 afu->spa_max_procs = spa_max_procs(afu->spa_size); in alloc_spa()164 WARN_ON(afu->spa_size > 0x100000); /* Max size supported by the hardware */ in alloc_spa()178 spap |= ((afu->spa_size >> (12 - CXL_PSL_SPAP_Size_Shift)) - 1) & CXL_PSL_SPAP_Size; in alloc_spa()
364 unsigned int spa_size; member