Lines Matching refs:pe_handle
193 u64 dsisr, dar, pe_handle; in xsl_fault_handler() local
199 read_irq(spa, &dsisr, &dar, &pe_handle); in xsl_fault_handler()
200 trace_ocxl_fault(spa->spa_mem, pe_handle, dsisr, dar, -1); in xsl_fault_handler()
202 WARN_ON(pe_handle > SPA_PE_MASK); in xsl_fault_handler()
203 pe = spa->spa_mem + pe_handle; in xsl_fault_handler()
219 pe_data = radix_tree_lookup(&spa->pe_tree, pe_handle); in xsl_fault_handler()
250 spa->xsl_fault.pe = pe_handle; in xsl_fault_handler()
546 int pe_handle, rc = 0; in ocxl_link_add_pe() local
554 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_add_pe()
555 pe = spa->spa_mem + pe_handle; in ocxl_link_add_pe()
606 radix_tree_insert(&spa->pe_tree, pe_handle, pe_data); in ocxl_link_add_pe()
636 int pe_handle, rc; in ocxl_link_update_pe() local
641 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_update_pe()
642 pe = spa->spa_mem + pe_handle; in ocxl_link_update_pe()
660 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_update_pe()
673 int pe_handle, rc; in ocxl_link_remove_pe() local
696 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_remove_pe()
697 pe = spa->spa_mem + pe_handle; in ocxl_link_remove_pe()
722 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_remove_pe()
725 pe_data = radix_tree_delete(&spa->pe_tree, pe_handle); in ocxl_link_remove_pe()