Home
last modified time | relevance | path

Searched refs:pi_desc (Results 1 – 11 of 11) sorted by relevance

/xen/xen/include/asm-x86/hvm/vmx/
A Dvmx.h115 static inline int pi_test_pir(uint8_t vector, const struct pi_desc *pi_desc) in pi_test_pir() argument
120 static inline int pi_test_and_set_on(struct pi_desc *pi_desc) in pi_test_and_set_on() argument
125 static inline void pi_set_on(struct pi_desc *pi_desc) in pi_set_on() argument
130 static inline int pi_test_and_clear_on(struct pi_desc *pi_desc) in pi_test_and_clear_on() argument
135 static inline int pi_test_on(struct pi_desc *pi_desc) in pi_test_on() argument
137 return pi_desc->on; in pi_test_on()
140 static inline unsigned long pi_get_pir(struct pi_desc *pi_desc, int group) in pi_get_pir() argument
145 static inline int pi_test_sn(struct pi_desc *pi_desc) in pi_test_sn() argument
147 return pi_desc->sn; in pi_test_sn()
150 static inline void pi_set_sn(struct pi_desc *pi_desc) in pi_set_sn() argument
[all …]
A Dvmcs.h84 struct pi_desc { struct
152 struct pi_desc pi_desc; member
/xen/xen/arch/x86/hvm/vmx/
A Dintr.c360 const struct pi_desc *pi_desc; in vmx_intr_assist() local
377 pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_intr_assist()
378 if ( pi_desc ) in vmx_intr_assist()
380 word = (const void *)&pi_desc->pir; in vmx_intr_assist()
A Dvmx.c112 struct pi_desc *pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_vcpu_block() local
129 ASSERT(!pi_test_sn(pi_desc)); in vmx_vcpu_block()
133 ASSERT(pi_desc->ndst == in vmx_vcpu_block()
141 struct pi_desc *pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_pi_switch_from() local
146 pi_set_sn(pi_desc); in vmx_pi_switch_from()
151 struct pi_desc *pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_pi_switch_to() local
154 write_atomic(&pi_desc->ndst, in vmx_pi_switch_to()
157 pi_clear_sn(pi_desc); in vmx_pi_switch_to()
164 struct pi_desc *pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_pi_unblock_vcpu() local
230 pi_set_sn(&vmx->pi_desc); in vmx_pi_desc_fixup()
[all …]
A Dvmcs.c1048 v->arch.hvm.vmx.pi_desc.nv = posted_intr_vector; in pi_desc_init()
1054 v->arch.hvm.vmx.pi_desc.ndst = APIC_INVALID_DEST; in pi_desc_init()
1192 __vmwrite(PI_DESC_ADDR, virt_to_maddr(&v->arch.hvm.vmx.pi_desc)); in construct_vmcs()
/xen/xen/include/asm-x86/
A Diommu.h117 int pi_update_irte(const struct pi_desc *pi_desc, const struct pirq *pirq,
A Dmsi.h110 const struct pi_desc *pi_desc; /* pointer to posted descriptor */ member
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c608 const struct pi_desc *pi_desc = msi_desc->pi_desc; in msi_msg_to_remap_entry() local
651 if ( !pi_desc ) in msi_msg_to_remap_entry()
671 new_ire.post.pda_l = virt_to_maddr(pi_desc) >> (32 - PDA_LOW_BIT); in msi_msg_to_remap_entry()
672 new_ire.post.pda_h = virt_to_maddr(pi_desc) >> 32; in msi_msg_to_remap_entry()
953 int pi_update_irte(const struct pi_desc *pi_desc, const struct pirq *pirq, in pi_update_irte() argument
970 msi_desc->pi_desc = pi_desc; in pi_update_irte()
/xen/xen/drivers/passthrough/
A Dio.c443 pi_update_irte(vcpu ? &vcpu->arch.hvm.vmx.pi_desc : NULL, in pt_irq_create_bind()
/xen/docs/misc/
A Dvtd-pi.txt154 struct pi_desc {
/xen/xen/arch/x86/
A Dmsi.c506 entry[nr].pi_desc = NULL; in alloc_msi_entry()

Completed in 27 milliseconds