Lines Matching refs:pe_handle
184 u64 dsisr, dar, pe_handle; in xsl_fault_handler() local
190 read_irq(spa, &dsisr, &dar, &pe_handle); in xsl_fault_handler()
191 trace_ocxl_fault(spa->spa_mem, pe_handle, dsisr, dar, -1); in xsl_fault_handler()
193 WARN_ON(pe_handle > SPA_PE_MASK); in xsl_fault_handler()
194 pe = spa->spa_mem + pe_handle; in xsl_fault_handler()
212 pe_data = radix_tree_lookup(&spa->pe_tree, pe_handle); in xsl_fault_handler()
232 spa->xsl_fault.pe = pe_handle; in xsl_fault_handler()
489 int pe_handle, rc = 0; in ocxl_link_add_pe() local
497 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_add_pe()
498 pe = spa->spa_mem + pe_handle; in ocxl_link_add_pe()
530 radix_tree_insert(&spa->pe_tree, pe_handle, pe_data); in ocxl_link_add_pe()
559 int pe_handle, rc; in ocxl_link_update_pe() local
564 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_update_pe()
565 pe = spa->spa_mem + pe_handle; in ocxl_link_update_pe()
583 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_update_pe()
596 int pe_handle, rc; in ocxl_link_remove_pe() local
619 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_remove_pe()
620 pe = spa->spa_mem + pe_handle; in ocxl_link_remove_pe()
645 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_remove_pe()
648 pe_data = radix_tree_delete(&spa->pe_tree, pe_handle); in ocxl_link_remove_pe()