Home
last modified time | relevance | path

Searched refs:intr_info (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmcs.h75 static inline bool is_intr_type(u32 intr_info, u32 type) in is_intr_type() argument
79 return (intr_info & mask) == (INTR_INFO_VALID_MASK | type); in is_intr_type()
82 static inline bool is_intr_type_n(u32 intr_info, u32 type, u8 vector) in is_intr_type_n() argument
87 return (intr_info & mask) == (INTR_INFO_VALID_MASK | type | vector); in is_intr_type_n()
90 static inline bool is_exception_n(u32 intr_info, u8 vector) in is_exception_n() argument
92 return is_intr_type_n(intr_info, INTR_TYPE_HARD_EXCEPTION, vector); in is_exception_n()
95 static inline bool is_debug(u32 intr_info) in is_debug() argument
97 return is_exception_n(intr_info, DB_VECTOR); in is_debug()
100 static inline bool is_breakpoint(u32 intr_info) in is_breakpoint() argument
102 return is_exception_n(intr_info, BP_VECTOR); in is_breakpoint()
[all …]
Dvmx.c1737 u32 intr_info = nr | INTR_INFO_VALID_MASK; in vmx_queue_exception() local
1753 intr_info |= INTR_INFO_DELIVER_CODE_MASK; in vmx_queue_exception()
1769 intr_info |= INTR_TYPE_SOFT_EXCEPTION; in vmx_queue_exception()
1771 intr_info |= INTR_TYPE_HARD_EXCEPTION; in vmx_queue_exception()
1773 vmcs_write32(VM_ENTRY_INTR_INFO_FIELD, intr_info); in vmx_queue_exception()
4869 u32 intr_info, ex_no, error_code; in handle_exception_nmi() local
4874 intr_info = vmx_get_intr_info(vcpu); in handle_exception_nmi()
4876 if (is_machine_check(intr_info) || is_nmi(intr_info)) in handle_exception_nmi()
4879 if (is_invalid_opcode(intr_info)) in handle_exception_nmi()
4883 if (intr_info & INTR_INFO_DELIVER_CODE_MASK) in handle_exception_nmi()
[all …]
Dnested.c2804 u32 intr_info = vmcs12->vm_entry_intr_info_field; in nested_check_vm_entry_controls() local
2805 u8 vector = intr_info & INTR_INFO_VECTOR_MASK; in nested_check_vm_entry_controls()
2806 u32 intr_type = intr_info & INTR_INFO_INTR_TYPE_MASK; in nested_check_vm_entry_controls()
2807 bool has_error_code = intr_info & INTR_INFO_DELIVER_CODE_MASK; in nested_check_vm_entry_controls()
2838 if (CC(intr_info & INTR_INFO_RESVD_BITS_MASK)) in nested_check_vm_entry_controls()
3794 u32 intr_info = nr | INTR_INFO_VALID_MASK; in nested_vmx_inject_exception_vmexit() local
3807 intr_info |= INTR_INFO_DELIVER_CODE_MASK; in nested_vmx_inject_exception_vmexit()
3811 intr_info |= INTR_TYPE_SOFT_EXCEPTION; in nested_vmx_inject_exception_vmexit()
3813 intr_info |= INTR_TYPE_HARD_EXCEPTION; in nested_vmx_inject_exception_vmexit()
3817 intr_info |= INTR_INFO_UNBLOCK_NMI; in nested_vmx_inject_exception_vmexit()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad.c1440 bnad_txrx_irq_free(struct bnad *bnad, struct bna_intr_info *intr_info) in bnad_txrx_irq_free() argument
1442 kfree(intr_info->idl); in bnad_txrx_irq_free()
1443 intr_info->idl = NULL; in bnad_txrx_irq_free()
1449 u32 txrx_id, struct bna_intr_info *intr_info) in bnad_txrx_irq_alloc() argument
1460 intr_info->intr_type = BNA_INTR_T_MSIX; in bnad_txrx_irq_alloc()
1461 intr_info->idl = kcalloc(intr_info->num, in bnad_txrx_irq_alloc()
1464 if (!intr_info->idl) in bnad_txrx_irq_alloc()
1482 for (i = 0; i < intr_info->num; i++) in bnad_txrx_irq_alloc()
1483 intr_info->idl[i].vector = vector_start + i; in bnad_txrx_irq_alloc()
1485 intr_info->intr_type = BNA_INTR_T_INTX; in bnad_txrx_irq_alloc()
[all …]
Dbna_tx_rx.c2245 res_info[BNA_RX_RES_T_INTR].res_u.intr_info.intr_type = BNA_INTR_T_MSIX; in bna_rx_res_req()
2246 res_info[BNA_RX_RES_T_INTR].res_u.intr_info.num = q_cfg->num_paths; in bna_rx_res_req()
2261 struct bna_intr_info *intr_info; in bna_rx_create() local
2283 intr_info = &res_info[BNA_RX_RES_T_INTR].res_u.intr_info; in bna_rx_create()
2353 if (1 == intr_info->num) in bna_rx_create()
2354 rxp->vector = intr_info->idl[0].vector; in bna_rx_create()
2356 rxp->vector = intr_info->idl[i].vector; in bna_rx_create()
2366 rxp->cq.ib.intr_type = intr_info->intr_type; in bna_rx_create()
2367 if (intr_info->intr_type == BNA_INTR_T_MSIX) in bna_rx_create()
3357 res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info.intr_type = in bna_tx_res_req()
[all …]
Dbna_types.h288 struct bna_intr_info intr_info; member
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_hw.c3114 const struct intr_info *acts) in csio_handle_intr_status()
3143 static struct intr_info tp_intr_info[] = { in csio_tp_intr_handler()
3160 static struct intr_info sge_intr_info[] = { in csio_sge_intr_handler()
3213 static struct intr_info cim_intr_info[] = { in csio_cim_intr_handler()
3223 static struct intr_info cim_upintr_info[] = { in csio_cim_intr_handler()
3270 static struct intr_info ulprx_intr_info[] = { in csio_ulprx_intr_handler()
3285 static struct intr_info ulptx_intr_info[] = { in csio_ulptx_intr_handler()
3307 static struct intr_info pmtx_intr_info[] = { in csio_pmtx_intr_handler()
3330 static struct intr_info pmrx_intr_info[] = { in csio_pmrx_intr_handler()
3350 static struct intr_info cplsw_intr_info[] = { in csio_cplsw_intr_handler()
[all …]
Dcsio_hw_chip.h111 struct intr_info { struct
Dcsio_hw_t5.c74 static struct intr_info pcie_intr_info[] = { in csio_t5_pcie_intr_handler()
Dcsio_hw.h638 const struct intr_info *);
/kernel/linux/linux-5.10/include/linux/
Dsdla.h211 struct intr_info { struct
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4293 struct intr_info { struct
4315 const struct intr_info *acts) in t4_handle_intr_status() argument
4346 static const struct intr_info sysbus_intr_info[] = { in pcie_intr_handler()
4354 static const struct intr_info pcie_port_intr_info[] = { in pcie_intr_handler()
4366 static const struct intr_info pcie_intr_info[] = { in pcie_intr_handler()
4401 static struct intr_info t5_pcie_intr_info[] = { in pcie_intr_handler()
4465 static const struct intr_info tp_intr_info[] = { in tp_intr_handler()
4483 static const struct intr_info sge_intr_info[] = { in sge_intr_handler()
4507 static struct intr_info t4t5_sge_intr_info[] = { in sge_intr_handler()
4570 static const struct intr_info cim_intr_info[] = { in cim_intr_handler()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c1410 struct intr_info { struct
1434 const struct intr_info *acts, in t3_handle_intr_status() argument
1522 static const struct intr_info pcix1_intr_info[] = { in pci_intr_handler()
1558 static const struct intr_info pcie_intr_info[] = { in pcie_intr_handler()
1592 static const struct intr_info tp_intr_info[] = { in tp_intr_handler()
1599 static const struct intr_info tp_intr_info_t3c[] = { in tp_intr_handler()
1617 static const struct intr_info cim_intr_info[] = { in cim_intr_handler()
1655 static const struct intr_info ulprx_intr_info[] = { in ulprx_intr_handler()
1677 static const struct intr_info ulptx_intr_info[] = { in ulptx_intr_handler()
1705 static const struct intr_info pmtx_intr_info[] = { in pmtx_intr_handler()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dsdla.c942 struct intr_info intr; in sdla_close()
980 sdla_cmd(dev, SDLA_SET_IRQ_TRIGGER, 0, 0, &intr, sizeof(struct intr_info), NULL, NULL); in sdla_close()
1003 struct intr_info intr; in sdla_open()
1063 sdla_cmd(dev, SDLA_SET_IRQ_TRIGGER, 0, 0, &intr, sizeof(struct intr_info), NULL, NULL); in sdla_open()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddp_tx.c798 cmd->intr_info = FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
801 cmd->intr_info |= FIELD_PREP( in ath11k_dp_tx_htt_srng_setup()
819 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath11k_dp_tx_htt_srng_setup()
Ddp.h475 u32 intr_info; member
/kernel/linux/linux-5.10/arch/x86/kvm/
Dtrace.h249 __field( u32, intr_info ) \
261 &__entry->intr_info, \
270 __entry->intr_info, __entry->error_code) \
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c3063 u32 *intr_info, u32 *error_code) in svm_get_exit_info() argument
3069 *intr_info = control->exit_int_info; in svm_get_exit_info()
3070 if ((*intr_info & SVM_EXITINTINFO_VALID) && in svm_get_exit_info()
3071 (*intr_info & SVM_EXITINTINFO_VALID_ERR)) in svm_get_exit_info()