• Home
  • Raw
  • Download

Lines Matching refs:isc

208 static uint64_t isc_to_isc_bits(int isc)  in isc_to_isc_bits()  argument
210 return (0x80 >> isc) << 24; in isc_to_isc_bits()
213 static inline u32 isc_to_int_word(u8 isc) in isc_to_int_word() argument
215 return ((u32)isc << 27) | 0x80000000; in isc_to_int_word()
349 static inline int isc_to_irq_type(unsigned long isc) in isc_to_irq_type() argument
351 return IRQ_PEND_IO_ISC_0 - isc; in isc_to_irq_type()
1177 u32 isc; in __deliver_io() local
1183 isc = irq_type_to_isc(irq_type); in __deliver_io()
1184 isc_list = &fi->lists[isc]; in __deliver_io()
1217 if (gi->origin && gisa_tac_ipm_gisc(gi->origin, isc)) { in __deliver_io()
1222 VCPU_EVENT(vcpu, 4, "%s isc %u", "deliver: I/O (AI/gisa)", isc); in __deliver_io()
1224 io.io_int_word = isc_to_int_word(isc); in __deliver_io()
1702 int isc, u32 schid) in get_io_int() argument
1705 struct list_head *isc_list = &fi->lists[FIRQ_LIST_IO_ISC_0 + isc]; in get_io_int()
1719 clear_bit(isc_to_irq_type(isc), &fi->pending_irqs); in get_io_int()
1731 int isc; in get_top_io_int() local
1733 for (isc = 0; isc <= MAX_ISC && !inti; isc++) { in get_top_io_int()
1734 if (isc_mask & isc_to_isc_bits(isc)) in get_top_io_int()
1735 inti = get_io_int(kvm, isc, schid); in get_top_io_int()
1744 int isc; in get_top_gisa_isc() local
1753 isc = __fls(active_mask) ^ (BITS_PER_LONG - 1); in get_top_gisa_isc()
1754 if (gisa_tac_ipm_gisc(gi->origin, isc)) in get_top_gisa_isc()
1755 return isc; in get_top_gisa_isc()
1756 clear_bit_inv(isc, &active_mask); in get_top_gisa_isc()
1779 int isc; in kvm_s390_get_io_int() local
1783 isc = get_top_gisa_isc(kvm, isc_mask, schid); in kvm_s390_get_io_int()
1784 if (isc < 0) in kvm_s390_get_io_int()
1793 if (int_word_to_isc(inti->io.io_int_word) <= isc) { in kvm_s390_get_io_int()
1795 gisa_set_ipm_gisc(gi->origin, isc); in kvm_s390_get_io_int()
1802 tmp_inti->io.io_int_word = isc_to_int_word(isc); in kvm_s390_get_io_int()
1807 gisa_set_ipm_gisc(gi->origin, isc); in kvm_s390_get_io_int()
1901 int isc; in __inject_io() local
1904 isc = int_word_to_isc(inti->io.io_int_word); in __inject_io()
1914 VM_EVENT(kvm, 4, "%s isc %1u", "inject: I/O (AI/gisa)", isc); in __inject_io()
1915 gisa_set_ipm_gisc(gi->origin, isc); in __inject_io()
1935 list = &fi->lists[FIRQ_LIST_IO_ISC_0 + isc]; in __inject_io()
1937 set_bit(isc_to_irq_type(isc), &fi->pending_irqs); in __inject_io()
2481 adapter->isc = adapter_info.isc; in register_io_adapter()
2582 if (req.isc > MAX_ISC) in modify_ais_mode()
2585 trace_kvm_s390_modify_ais_mode(req.isc, in modify_ais_mode()
2586 (fi->simm & AIS_MODE_MASK(req.isc)) ? in modify_ais_mode()
2587 (fi->nimm & AIS_MODE_MASK(req.isc)) ? in modify_ais_mode()
2594 fi->simm &= ~AIS_MODE_MASK(req.isc); in modify_ais_mode()
2595 fi->nimm &= ~AIS_MODE_MASK(req.isc); in modify_ais_mode()
2598 fi->simm |= AIS_MODE_MASK(req.isc); in modify_ais_mode()
2599 fi->nimm &= ~AIS_MODE_MASK(req.isc); in modify_ais_mode()
2616 .parm64 = isc_to_int_word(adapter->isc), in kvm_s390_inject_airq()
2624 if (fi->nimm & AIS_MODE_MASK(adapter->isc)) { in kvm_s390_inject_airq()
2625 trace_kvm_s390_airq_suppressed(adapter->id, adapter->isc); in kvm_s390_inject_airq()
2630 if (!ret && (fi->simm & AIS_MODE_MASK(adapter->isc))) { in kvm_s390_inject_airq()
2631 fi->nimm |= AIS_MODE_MASK(adapter->isc); in kvm_s390_inject_airq()
2632 trace_kvm_s390_modify_ais_mode(adapter->isc, in kvm_s390_inject_airq()
3311 gib_alert_irq.isc = nisc; in kvm_s390_gib_init()