Lines Matching refs:elem

277 			((u64)be32_to_cpu(ctx->elem->common.pid) << 32) |  in slb_invalid()
278 be32_to_cpu(ctx->elem->lpid)); in slb_invalid()
300 ctx->elem->software_state = cpu_to_be32(pe_state); in do_process_element_cmd()
353 if (!(ctx->elem->software_state & cpu_to_be32(CXL_PE_SOFTWARE_STATE_V))) in terminate_process_element()
360 ctx->elem->software_state = 0; /* Remove Valid bit */ in terminate_process_element()
440 ctx->elem->ctxtime = 0; /* disable */ in attach_afu_directed()
441 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in attach_afu_directed()
442 ctx->elem->haurp = 0; /* disable */ in attach_afu_directed()
443 ctx->elem->sdr = cpu_to_be64(mfspr(SPRN_SDR1)); in attach_afu_directed()
458 ctx->elem->common.pid = cpu_to_be32(current->pid); in attach_afu_directed()
459 ctx->elem->common.tid = 0; in attach_afu_directed()
460 ctx->elem->sr = cpu_to_be64(sr); in attach_afu_directed()
462 ctx->elem->common.csrp = 0; /* disable */ in attach_afu_directed()
463 ctx->elem->common.aurp0 = 0; /* disable */ in attach_afu_directed()
464 ctx->elem->common.aurp1 = 0; /* disable */ in attach_afu_directed()
468 ctx->elem->common.sstp0 = cpu_to_be64(ctx->sstp0); in attach_afu_directed()
469 ctx->elem->common.sstp1 = cpu_to_be64(ctx->sstp1); in attach_afu_directed()
472 ctx->elem->ivte_offsets[r] = cpu_to_be16(ctx->irqs.offset[r]); in attach_afu_directed()
473 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in attach_afu_directed()
476 ctx->elem->common.amr = cpu_to_be64(amr); in attach_afu_directed()
477 ctx->elem->common.wed = cpu_to_be64(wed); in attach_afu_directed()