Home
last modified time | relevance | path

Searched refs:int_ctl (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dsvm_int_ctl_test.c71 vmcb->control.int_ctl &= ~V_INTR_MASKING_MASK; in l1_guest_code()
77 vmcb->control.int_ctl |= V_IRQ_MASK | (0x1 << V_INTR_PRIO_SHIFT); in l1_guest_code()
/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c139 if (g->int_ctl & V_INTR_MASKING_MASK) { in recalc_intercepts()
346 to->int_ctl = from->int_ctl; in __nested_copy_vmcb_control_to_cache()
417 if (!(svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK) && in nested_sync_control_from_vmcb02()
433 svm->nested.ctl.int_ctl &= ~mask; in nested_sync_control_from_vmcb02()
434 svm->nested.ctl.int_ctl |= svm->vmcb->control.int_ctl & mask; in nested_sync_control_from_vmcb02()
638 if (svm->vgif_enabled && (svm->nested.ctl.int_ctl & V_GIF_ENABLE_MASK)) in nested_vmcb02_prepare_control()
669 vmcb02->control.int_ctl = in nested_vmcb02_prepare_control()
670 (svm->nested.ctl.int_ctl & int_ctl_vmcb12_bits) | in nested_vmcb02_prepare_control()
671 (vmcb01->control.int_ctl & int_ctl_vmcb01_bits); in nested_vmcb02_prepare_control()
765 vmcb12->control.int_ctl, in enter_svm_guest_mode()
[all …]
Dsvm.h138 u32 int_ctl; member
476 return svm->vgif_enabled && (svm->nested.ctl.int_ctl & V_GIF_ENABLE_MASK); in nested_vgif_enabled()
495 vmcb->control.int_ctl |= V_GIF_MASK; in enable_gif()
505 vmcb->control.int_ctl &= ~V_GIF_MASK; in disable_gif()
515 return !!(vmcb->control.int_ctl & V_GIF_MASK); in gif_set()
573 return is_guest_mode(vcpu) && (svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK); in nested_svm_virtualize_tpr()
Davic.c70 vmcb->control.int_ctl &= ~(AVIC_ENABLE_MASK | X2APIC_MODE_MASK); in avic_activate_vmcb()
73 vmcb->control.int_ctl |= AVIC_ENABLE_MASK; in avic_activate_vmcb()
84 vmcb->control.int_ctl |= X2APIC_MODE_MASK; in avic_activate_vmcb()
100 vmcb->control.int_ctl &= ~(AVIC_ENABLE_MASK | X2APIC_MODE_MASK); in avic_deactivate_vmcb()
Dsvm.c1241 control->int_ctl = V_INTR_MASKING_MASK; in init_vmcb()
1304 svm->vmcb->control.int_ctl |= V_GIF_ENABLE_MASK; in init_vmcb()
1576 control->int_ctl &= ~V_INTR_PRIO_MASK; in svm_set_vintr()
1577 control->int_ctl |= V_IRQ_MASK | in svm_set_vintr()
1587 svm->vmcb->control.int_ctl &= ~V_IRQ_INJECTION_BITS_MASK; in svm_clear_vintr()
1589 svm->vmcb01.ptr->control.int_ctl &= ~V_IRQ_INJECTION_BITS_MASK; in svm_clear_vintr()
1591 WARN_ON((svm->vmcb->control.int_ctl & V_TPR_MASK) != in svm_clear_vintr()
1592 (svm->nested.ctl.int_ctl & V_TPR_MASK)); in svm_clear_vintr()
1594 svm->vmcb->control.int_ctl |= svm->nested.ctl.int_ctl & in svm_clear_vintr()
3237 pr_err("%-20s%08x\n", "int_ctl:", control->int_ctl); in dump_vmcb()
[all …]
/linux-6.1.9/drivers/dma/
Dowl-dma.c323 static inline u32 llc_hw_ctrlb(u32 int_ctl) in llc_hw_ctrlb() argument
331 ctl = BIT_FIELD(int_ctl, 7, 0, 18); in llc_hw_ctrlb()
542 u32 int_ctl; in owl_dma_start_next_txd() local
556 int_ctl = OWL_DMA_INTCTL_BLOCK; in owl_dma_start_next_txd()
558 int_ctl = OWL_DMA_INTCTL_SUPER_BLOCK; in owl_dma_start_next_txd()
564 pchan_writel(pchan, OWL_DMAX_INT_CTL, int_ctl); in owl_dma_start_next_txd()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmsc9420.c594 u32 int_cfg, int_sts, int_ctl; in smsc9420_isr() local
639 int_ctl = smsc9420_reg_read(pd, INT_CTL); in smsc9420_isr()
640 int_ctl &= (~INT_CTL_SW_INT_EN_); in smsc9420_isr()
641 smsc9420_reg_write(pd, INT_CTL, int_ctl); in smsc9420_isr()
1268 u32 bus_mode, mac_cr, dmac_control, int_cfg, dma_intr_ena, int_ctl; in smsc9420_open() local
1340 int_ctl = smsc9420_reg_read(pd, INT_CTL) | INT_CTL_SW_INT_EN_; in smsc9420_open()
1341 smsc9420_reg_write(pd, INT_CTL, int_ctl); in smsc9420_open()
/linux-6.1.9/arch/alpha/kernel/
Dcore_mcpcia.c530 unsigned int int_ctl; in mcpcia_print_system_area() member
560 printk(" INT_CTL = %8x\n", iodpp->int_ctl); in mcpcia_print_system_area()
/linux-6.1.9/arch/x86/kvm/
Dtrace.h598 TP_PROTO(__u64 rip, __u64 vmcb, __u64 nested_rip, __u32 int_ctl,
601 TP_ARGS(rip, vmcb, nested_rip, int_ctl, event_inj, tdp_enabled,
608 __field( __u32, int_ctl )
619 __entry->int_ctl = int_ctl;
632 __entry->int_ctl,
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h76 u32 int_ctl; member
/linux-6.1.9/arch/x86/include/asm/
Dsvm.h131 u32 int_ctl; member
/linux-6.1.9/drivers/iommu/amd/
Dinit.c1027 u64 int_ctl, int_tab_len, entry = 0; in __copy_device_table() local
1097 int_ctl = old_devtb[devid].data[2] & DTE_IRQ_REMAP_INTCTL_MASK; in __copy_device_table()
1099 if (irq_v && (int_ctl || int_tab_len)) { in __copy_device_table()
1100 if ((int_ctl != DTE_IRQ_REMAP_INTCTL) || in __copy_device_table()