Lines Matching defs:vector
199 * apix_lock is used for cpu selection and vector re-binding
204 * Mapping between device interrupt and the allocated vector. Indexed
453 * Presence of an invalid vector with delivery mode AV_FIXED can
455 * write a valid vector to LVT entries along with the mask bit
577 * On UniSys Model 6520, the BIOS leaves vector 0x20 isr
579 * uses vector 0x20 to interrupt itself, so softint will
653 uchar_t vector;
658 * The real vector delivered is (*vectorp + 0x20), but our caller
659 * subtracts 0x20 from the vector before passing it to us.
662 vector = *vectorp = (uchar_t)*vectorp + APIC_BASE_VECT;
665 if (vector == APIC_SPUR_INTR) {
670 vecp = xv_vector(cpuid, vector);
672 if (APIX_IS_FAKE_INTR(vector))
680 if (vector == (apic_clkvect + APIC_BASE_VECT)) {
705 cpu_infop->aci_current[nipl] = vector;
712 if (vector >= APIX_IPI_MIN)
715 APIC_DEBUG_BUF_PUT(vector);
784 uchar_t vector = (uchar_t)APIX_VIRTVEC_VECTOR(virtvec);
785 apix_vector_t *vecp = xv_vector(cpuid, vector);
817 uchar_t vector = (uchar_t)APIX_VIRTVEC_VECTOR(virtvec);
818 apix_vector_t *vecp = xv_vector(cpuid, vector);
903 cmn_err(CE_WARN, "apix: failed to rebind vector %x/%x",
968 * Allocate vector for IPI
975 uchar_t vector;
977 if ((vector = apix_alloc_ipi(ipl)) > 0) {
979 apic_resv_vector[ipl] = vector;
980 return (vector);
989 int vector;
991 if ((vector = apix_get_ipivect(ipl, -1)) == -1)
994 apic_clkvect = vector - APIC_BASE_VECT;
995 APIC_VERBOSE(IPI, (CE_CONT, "apix: clock vector = %x\n",
997 return (vector);
1170 /* allocate or share vector for fixed */
1189 * XLATE finds and returns APIX_VIRTVEC_VECTOR(cpu, vector).
1200 * No vector to device mapping exists. If this is FIXED type
1202 * then return the vector number for it (i.e. shared IRQ case).
1283 "[grp]_set_cpu: invalid vector 0x%x\n",
1665 APIC_VERBOSE(INTR, (CE_CONT, "apix_grp_set_cpu: oldcpu: %x, vector: %x,"
1720 /* MSI Per vector masking is supported. */
1736 /* Reenable vectors if per vector masking is supported. */
1748 apix_intx_set_vector(int irqno, uint32_t cpuid, uchar_t vector)
1755 irqp->airq_vector = vector;
1765 uchar_t vector;
1774 vector = irqp->airq_vector;
1777 return (xv_vector(cpuid, vector));
1811 /* Write the vector, trigger, and polarity portion of the RDT */
1879 apix_intx_rebind(int irqno, processorid_t cpuid, uchar_t vector)
2022 apix_intx_set_vector(irqno, cpuid, vector);
2161 * Change the vector to reserved unused vector, so that
2178 * or restore the original vector number.
2201 /* clear the mask or restore the vector */
2526 "irqno=0x%x cpuid=%d vector=0x%x\n",
2534 * Return the vector number if the translated IRQ for this device
2535 * has a vector mapping setup. If no IRQ setup exists or no vector is
2548 /* get the vector number if a vector is allocated to this irqno */