intr_type
intrtype_to_str(int intr_type)
switch (intr_type) {
panic("%s: unknown intr_type %d", __func__, intr_type);
svm_eventinject(struct svm_vcpu *vcpu, int intr_type, int vector,
switch (intr_type) {
intr_type, vector);
ctrl->eventinj = vector | (intr_type << 8) | VMCB_EVENTINJ_VALID;
intrtype_to_str(intr_type), vector, error);
intrtype_to_str(intr_type), vector);
uint32_t intr_type, intr_vec, reason;
intr_type = idtvec_info & VMCS_INTR_T_MASK;
if (intr_type == VMCS_INTR_T_NMI) {
if (intr_type == VMCS_INTR_T_SWINTR ||
intr_type == VMCS_INTR_T_PRIV_SWEXCEPTION ||
intr_type == VMCS_INTR_T_SWEXCEPTION) {
intr_type = idtvec_info & VMCS_INTR_T_MASK;
if (intr_type != VMCS_INTR_T_SWINTR &&
intr_type != VMCS_INTR_T_SWEXCEPTION &&
intr_type != VMCS_INTR_T_PRIV_SWEXCEPTION) {
intr_type = intr_info & VMCS_INTR_T_MASK;
if (intr_type == VMCS_INTR_T_NMI)
if (intr_type == VMCS_INTR_T_SWEXCEPTION && intr_vec == IDT_BP &&
if (intr_type == VMCS_INTR_T_SWEXCEPTION)
int intr_type;
sc->intr_type = iaq.intr_type;
sc->intr_count, sc->intr_type == INTR_MSIX ? "MSI-X" :
(sc->intr_type == INTR_MSI ? "MSI" : "INTx"),
if (sc->intr_type == INTR_MSI || sc->intr_type == INTR_MSIX)
iaq->intr_type = itype;
rid = sc->intr_type == INTR_INTX ? 0 : 1;
uint16_t intr_type; /* INTx, MSI, or MSI-X */
if (sc->intr_type == INTR_INTX)
iaq->intr_type = itype;
uint16_t intr_type; /* MSI, or MSI-X */
sc->intr_type = iaq.intr_type;
sc->params.nports, sc->intr_count, sc->intr_type == INTR_MSIX ?
} else if (sc->intr_type == IFLIB_INTR_MSIX) {
if (sc->intr_type == IFLIB_INTR_MSIX)
if (sc->intr_type == IFLIB_INTR_MSIX) {
if (sc->intr_type == IFLIB_INTR_MSIX)
if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
(sc->intr_type == IFLIB_INTR_MSIX)) ? 1 : 4)
sc->intr_type == IFLIB_INTR_MSIX) ? 1 : 16)
int intr_type;
if (sc->intr_type == IFLIB_INTR_MSIX)
if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
if (__predict_true(sc->intr_type == IFLIB_INTR_MSIX)) {
if (sc->intr_type == IFLIB_INTR_MSIX) /* Set up queue routing */
int intr_type;
if (sc->intr_type == IFLIB_INTR_LEGACY &&
if (sc->intr_type == IFLIB_INTR_MSIX) {
if (sc->intr_type == IFLIB_INTR_MSIX) {
if (sc->intr_type == IFLIB_INTR_MSIX)
if (sc->intr_type == IFLIB_INTR_MSIX)
if (sc->intr_type == IFLIB_INTR_MSIX)
softs->intr_type = INTR_TYPE_NONE;
if (INTR_TYPE_FIXED == softs->intr_type) {
if (softs->intr_type == INTR_TYPE_FIXED) {
if (softs->intr_type == INTR_TYPE_FIXED) {
} else if (softs->intr_type == INTR_TYPE_MSIX) {
softs->intr_type = INTR_TYPE_MSIX;
if (!softs->intr_type) {
softs->intr_type = INTR_TYPE_MSI;
if (!softs->intr_type) {
softs->intr_type = INTR_TYPE_FIXED;
switch(softs->intr_type) {
int intr_type;
int intr_type; /* Current event type */
sc->intr_type = -1;
if (sc->intr_type == -1 || (sc->intr_type & status) == 0)
if(sc->interrupts && sc->intr_type != -1) {
sc->intr_type = -1;
sc->intr_type = TPM_INT_STS_LOC_CHANGE;
sc->intr_type = TPM_INT_STS_CMD_RDY;
sc->intr_type = TPM_INT_STS_VALID;
sc->intr_type = TPM_INT_STS_DATA_AVAIL;
sc->intr_type = TPM_INT_STS_DATA_AVAIL;
sc->intr_type = TWS_INTx; /* default */
sc->intr_type = TWS_MSI;
if ( sc->intr_type == TWS_MSI ) {
switch(sc->intr_type) {
u_int8_t intr_type; /* Interrupt type used */
vtmmio_setup_intr(device_t dev, enum intr_type type)
static int vtmmio_setup_intr(device_t, enum intr_type);
vtpci_setup_intx_interrupt(struct vtpci_common *cn, enum intr_type type)
vtpci_setup_pervq_msix_interrupts(struct vtpci_common *cn, enum intr_type type)
enum intr_type);
vtpci_setup_msix_interrupts(struct vtpci_common *cn, enum intr_type type)
enum intr_type);
vtpci_setup_intrs(struct vtpci_common *cn, enum intr_type type)
enum intr_type);
vtpci_setup_interrupts(struct vtpci_common *cn, enum intr_type type)
static int vtpci_setup_intrs(struct vtpci_common *, enum intr_type);
int vtpci_setup_interrupts(struct vtpci_common *cn, enum intr_type type);
vtpci_legacy_setup_interrupts(device_t dev, enum intr_type type)
static int vtpci_legacy_setup_interrupts(device_t, enum intr_type);
static int vtpci_modern_setup_interrupts(device_t, enum intr_type);
vtpci_modern_setup_interrupts(device_t dev, enum intr_type type)
virtio_setup_intr(device_t dev, enum intr_type type)
int virtio_setup_intr(device_t dev, enum intr_type type);
enum intr_type flags, struct xenisrc *isrc,
driver_intr_t handler, void *arg, enum intr_type flags,
driver_intr_t handler, void *arg, enum intr_type flags,
enum intr_type flags, xen_intr_handle_t *port_handlep)
enum intr_type flags, xen_intr_handle_t *port_handlep)
void *arg, enum intr_type flags, xen_intr_handle_t *port_handlep)
enum intr_type flags, xen_intr_handle_t *port_handlep)
enum intr_type flags, xen_intr_handle_t *port_handlep)
void *arg, int pri, enum intr_type flags, void **cookiep)
intr_priority(enum intr_type flags)
enum intr_type flags, void **cookiep)
enum intr_type flags, void **cookiep)
driver_intr_t handler, void *arg, int pri, enum intr_type flags,
driver_intr_t handler, void *arg, int pri, enum intr_type flags,
void *, enum intr_type, void **, int);
filter, driver_intr_t handler, void *arg, enum intr_type flags, void
driver_intr_t handler, void *arg, enum intr_type flags, void **cookiep,
driver_intr_t handler, void *arg, enum intr_type flags, void **cookiep,
u_char intr_priority(enum intr_type flags);
u_char pri, enum intr_type flags, void **cookiep);
driver_intr_t handler, void *arg, int pri, enum intr_type flags,
enum intr_type flags, void **cookiep, int domain);
driver_intr_t handler, void *arg, enum intr_type flags,
driver_intr_t handler, void *arg, enum intr_type flags, void **cookiep,
driver_intr_t handler, void *arg, enum intr_type irqflags,
void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
driver_filter_t filter, enum intr_type irqflags,
driver_intr_t handler, void *arg, enum intr_type flags,
enum intr_type irqflags, xen_intr_handle_t *handlep);
void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);