Lines Matching refs:pe_handle
192 u64 dsisr, dar, pe_handle; in xsl_fault_handler() local
198 read_irq(spa, &dsisr, &dar, &pe_handle); in xsl_fault_handler()
199 trace_ocxl_fault(spa->spa_mem, pe_handle, dsisr, dar, -1); in xsl_fault_handler()
201 WARN_ON(pe_handle > SPA_PE_MASK); in xsl_fault_handler()
202 pe = spa->spa_mem + pe_handle; in xsl_fault_handler()
218 pe_data = radix_tree_lookup(&spa->pe_tree, pe_handle); in xsl_fault_handler()
249 spa->xsl_fault.pe = pe_handle; in xsl_fault_handler()
545 int pe_handle, rc = 0; in ocxl_link_add_pe() local
553 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_add_pe()
554 pe = spa->spa_mem + pe_handle; in ocxl_link_add_pe()
605 radix_tree_insert(&spa->pe_tree, pe_handle, pe_data); in ocxl_link_add_pe()
635 int pe_handle, rc; in ocxl_link_update_pe() local
640 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_update_pe()
641 pe = spa->spa_mem + pe_handle; in ocxl_link_update_pe()
659 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_update_pe()
672 int pe_handle, rc; in ocxl_link_remove_pe() local
695 pe_handle = pasid & SPA_PE_MASK; in ocxl_link_remove_pe()
696 pe = spa->spa_mem + pe_handle; in ocxl_link_remove_pe()
721 rc = pnv_ocxl_spa_remove_pe_from_cache(link->platform_data, pe_handle); in ocxl_link_remove_pe()
724 pe_data = radix_tree_delete(&spa->pe_tree, pe_handle); in ocxl_link_remove_pe()