Lines Matching refs:sr
586 #define set_endian(sr) ((sr) |= CXL_PSL_SR_An_LE)
588 #define set_endian(sr) ((sr) &= ~(CXL_PSL_SR_An_LE))
593 u64 sr = 0;
595 set_endian(sr);
597 sr |= CXL_PSL_SR_An_MP;
599 sr |= CXL_PSL_SR_An_TC;
603 sr |= CXL_PSL_SR_An_R;
604 sr |= (mfmsr() & MSR_SF) | CXL_PSL_SR_An_HV;
606 sr |= CXL_PSL_SR_An_PR | CXL_PSL_SR_An_R;
608 sr |= CXL_PSL_SR_An_HV;
610 sr &= ~(CXL_PSL_SR_An_HV);
612 sr |= CXL_PSL_SR_An_SF;
616 sr |= CXL_PSL_SR_An_XLAT_ror;
618 sr |= CXL_PSL_SR_An_XLAT_hpt;
620 return sr;
692 ctx->elem->sr = cpu_to_be64(calculate_sr(ctx));
750 ctx->elem->sr = cpu_to_be64(calculate_sr(ctx));