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