Searched refs:spa_size (Results 1 – 2 of 2) sorted by relevance
168 static int spa_max_procs(int spa_size) in spa_max_procs() argument183 return ((spa_size / 8) - 96) / 17; in spa_max_procs()192 afu->spa_size = (1 << afu->spa_order) * PAGE_SIZE; in cxl_alloc_spa()193 afu->spa_max_procs = spa_max_procs(afu->spa_size); in cxl_alloc_spa()196 WARN_ON(afu->spa_size > 0x100000); /* Max size supported by the hardware */ in cxl_alloc_spa()217 spap |= ((afu->spa_size >> (12 - CXL_PSL_SPAP_Size_Shift)) - 1) & CXL_PSL_SPAP_Size; in attach_spa()
381 unsigned int spa_size; member