Home
last modified time | relevance | path

Searched refs:crycbd (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/s390/kvm/
H A Dvsie.c298 const uint32_t crycbd_o = READ_ONCE(scb_o->crycbd); in shadow_crycb()
307 int fmt_h = vcpu->arch.sie_block->crycbd & CRYCB_FORMAT_MASK; in shadow_crycb()
310 scb_s->crycbd = 0; in shadow_crycb()
364 scb_s->crycbd = ((__u32)(__u64) &vsie_page->crycb) | CRYCB_FORMAT2; in shadow_crycb()
H A Dkvm-s390.c3156 kvm->arch.crypto.crycbd = (__u32)(unsigned long) kvm->arch.crypto.crycb; in kvm_s390_set_crycb_format()
3159 kvm->arch.crypto.crycbd &= ~(CRYCB_FORMAT_MASK); in kvm_s390_set_crycb_format()
3166 kvm->arch.crypto.crycbd |= CRYCB_FORMAT2; in kvm_s390_set_crycb_format()
3168 kvm->arch.crypto.crycbd |= CRYCB_FORMAT1; in kvm_s390_set_crycb_format()
3193 switch (kvm->arch.crypto.crycbd & CRYCB_FORMAT_MASK) { in kvm_arch_crypto_set_masks()
3783 vcpu->arch.sie_block->crycbd = vcpu->kvm->arch.crypto.crycbd; in kvm_s390_vcpu_crypto_setup()
H A Dpriv.c662 if (!(vcpu->kvm->arch.crypto.crycbd & 0x02) && (reg0 & 0x0000c0f0UL)) in handle_pqap()
/openbmc/linux/arch/s390/include/asm/
H A Dkvm_host.h343 __u32 crycbd; /* 0x00fc */ member
838 __u32 crycbd; member
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c1594 if (kvm->arch.crypto.crycbd) { in vfio_ap_mdev_set_kvm()
1653 if (kvm && kvm->arch.crypto.crycbd) { in vfio_ap_mdev_unset_kvm()