Lines Matching refs:pe

64 		u64 pe;  member
99 static void read_irq(struct spa *spa, u64 *dsisr, u64 *dar, u64 *pe) in read_irq() argument
106 *pe = reg & SPA_PE_MASK; in read_irq()
122 trace_ocxl_fault_ack(spa->spa_mem, spa->xsl_fault.pe, in ack_irq()
186 struct ocxl_process_element *pe; in xsl_fault_handler() local
194 pe = spa->spa_mem + pe_handle; in xsl_fault_handler()
195 lpid = be32_to_cpu(pe->lpid); in xsl_fault_handler()
196 pid = be32_to_cpu(pe->pid); in xsl_fault_handler()
197 tid = be32_to_cpu(pe->tid); in xsl_fault_handler()
232 spa->xsl_fault.pe = pe_handle; in xsl_fault_handler()
488 struct ocxl_process_element *pe; in ocxl_link_add_pe() local
498 pe = spa->spa_mem + pe_handle; in ocxl_link_add_pe()
500 if (pe->software_state) { in ocxl_link_add_pe()
515 memset(pe, 0, sizeof(struct ocxl_process_element)); in ocxl_link_add_pe()
516 pe->config_state = cpu_to_be64(calculate_cfg_state(pidr == 0)); in ocxl_link_add_pe()
517 pe->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in ocxl_link_add_pe()
518 pe->pid = cpu_to_be32(pidr); in ocxl_link_add_pe()
519 pe->tid = cpu_to_be32(tidr); in ocxl_link_add_pe()
520 pe->amr = cpu_to_be64(amr); in ocxl_link_add_pe()
521 pe->software_state = cpu_to_be32(SPA_PE_VALID); in ocxl_link_add_pe()
558 struct ocxl_process_element *pe; in ocxl_link_update_pe() local
565 pe = spa->spa_mem + pe_handle; in ocxl_link_update_pe()
569 pe->tid = tid; in ocxl_link_update_pe()
594 struct ocxl_process_element *pe; in ocxl_link_remove_pe() local
620 pe = spa->spa_mem + pe_handle; in ocxl_link_remove_pe()
624 if (!(be32_to_cpu(pe->software_state) & SPA_PE_VALID)) { in ocxl_link_remove_pe()
630 be32_to_cpu(pe->pid), be32_to_cpu(pe->tid)); in ocxl_link_remove_pe()
632 memset(pe, 0, sizeof(struct ocxl_process_element)); in ocxl_link_remove_pe()