Lines Matching refs:gisc
309 static inline void gisa_set_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_set_ipm_gisc() argument
311 set_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_set_ipm_gisc()
319 static inline void gisa_clear_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_clear_ipm_gisc() argument
321 clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_clear_ipm_gisc()
324 static inline int gisa_tac_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_tac_ipm_gisc() argument
326 return test_and_clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_tac_ipm_gisc()
3209 int kvm_s390_gisc_register(struct kvm *kvm, u32 gisc) in kvm_s390_gisc_register() argument
3215 if (gisc > MAX_ISC) in kvm_s390_gisc_register()
3219 gi->alert.ref_count[gisc]++; in kvm_s390_gisc_register()
3220 if (gi->alert.ref_count[gisc] == 1) { in kvm_s390_gisc_register()
3221 gi->alert.mask |= 0x80 >> gisc; in kvm_s390_gisc_register()
3248 int kvm_s390_gisc_unregister(struct kvm *kvm, u32 gisc) in kvm_s390_gisc_unregister() argument
3255 if (gisc > MAX_ISC) in kvm_s390_gisc_unregister()
3259 if (gi->alert.ref_count[gisc] == 0) { in kvm_s390_gisc_unregister()
3263 gi->alert.ref_count[gisc]--; in kvm_s390_gisc_unregister()
3264 if (gi->alert.ref_count[gisc] == 0) { in kvm_s390_gisc_unregister()
3265 gi->alert.mask &= ~(0x80 >> gisc); in kvm_s390_gisc_unregister()