Lines Matching refs:gisc
305 static inline void gisa_set_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_set_ipm_gisc() argument
307 set_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_set_ipm_gisc()
315 static inline void gisa_clear_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_clear_ipm_gisc() argument
317 clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_clear_ipm_gisc()
320 static inline int gisa_tac_ipm_gisc(struct kvm_s390_gisa *gisa, u32 gisc) in gisa_tac_ipm_gisc() argument
322 return test_and_clear_bit_inv(IPM_BIT_OFFSET + gisc, (unsigned long *) gisa); in gisa_tac_ipm_gisc()
3205 int kvm_s390_gisc_register(struct kvm *kvm, u32 gisc) in kvm_s390_gisc_register() argument
3211 if (gisc > MAX_ISC) in kvm_s390_gisc_register()
3215 gi->alert.ref_count[gisc]++; in kvm_s390_gisc_register()
3216 if (gi->alert.ref_count[gisc] == 1) { in kvm_s390_gisc_register()
3217 gi->alert.mask |= 0x80 >> gisc; in kvm_s390_gisc_register()
3244 int kvm_s390_gisc_unregister(struct kvm *kvm, u32 gisc) in kvm_s390_gisc_unregister() argument
3251 if (gisc > MAX_ISC) in kvm_s390_gisc_unregister()
3255 if (gi->alert.ref_count[gisc] == 0) { in kvm_s390_gisc_unregister()
3259 gi->alert.ref_count[gisc]--; in kvm_s390_gisc_unregister()
3260 if (gi->alert.ref_count[gisc] == 0) { in kvm_s390_gisc_unregister()
3261 gi->alert.mask &= ~(0x80 >> gisc); in kvm_s390_gisc_unregister()