• Home
  • Raw
  • Download

Lines Matching refs:elem

318 			((u64)be32_to_cpu(ctx->elem->common.pid) << 32) |  in slb_invalid()
319 be32_to_cpu(ctx->elem->lpid)); in slb_invalid()
343 ctx->elem->software_state = cpu_to_be32(pe_state); in do_process_element_cmd()
401 if (!(ctx->elem->software_state & cpu_to_be32(CXL_PE_SOFTWARE_STATE_V))) in terminate_process_element()
413 ctx->elem->software_state = 0; /* Remove Valid bit */ in terminate_process_element()
524 ctx->elem->ctxtime = 0; /* disable */ in attach_afu_directed()
525 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in attach_afu_directed()
526 ctx->elem->haurp = 0; /* disable */ in attach_afu_directed()
527 ctx->elem->sdr = cpu_to_be64(mfspr(SPRN_SDR1)); in attach_afu_directed()
532 ctx->elem->common.tid = 0; in attach_afu_directed()
533 ctx->elem->common.pid = cpu_to_be32(pid); in attach_afu_directed()
535 ctx->elem->sr = cpu_to_be64(calculate_sr(ctx)); in attach_afu_directed()
537 ctx->elem->common.csrp = 0; /* disable */ in attach_afu_directed()
538 ctx->elem->common.aurp0 = 0; /* disable */ in attach_afu_directed()
539 ctx->elem->common.aurp1 = 0; /* disable */ in attach_afu_directed()
543 ctx->elem->common.sstp0 = cpu_to_be64(ctx->sstp0); in attach_afu_directed()
544 ctx->elem->common.sstp1 = cpu_to_be64(ctx->sstp1); in attach_afu_directed()
547 ctx->elem->ivte_offsets[r] = cpu_to_be16(ctx->irqs.offset[r]); in attach_afu_directed()
548 ctx->elem->ivte_ranges[r] = cpu_to_be16(ctx->irqs.range[r]); in attach_afu_directed()
551 ctx->elem->common.amr = cpu_to_be64(amr); in attach_afu_directed()
552 ctx->elem->common.wed = cpu_to_be64(wed); in attach_afu_directed()