Searched refs:pi_desc (Results 1 – 11 of 11) sorted by relevance
115 static inline int pi_test_pir(uint8_t vector, const struct pi_desc *pi_desc) in pi_test_pir() argument120 static inline int pi_test_and_set_on(struct pi_desc *pi_desc) in pi_test_and_set_on() argument125 static inline void pi_set_on(struct pi_desc *pi_desc) in pi_set_on() argument130 static inline int pi_test_and_clear_on(struct pi_desc *pi_desc) in pi_test_and_clear_on() argument135 static inline int pi_test_on(struct pi_desc *pi_desc) in pi_test_on() argument137 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() argument145 static inline int pi_test_sn(struct pi_desc *pi_desc) in pi_test_sn() argument147 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 …]
84 struct pi_desc { struct152 struct pi_desc pi_desc; member
360 const struct pi_desc *pi_desc; in vmx_intr_assist() local377 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()
112 struct pi_desc *pi_desc = &v->arch.hvm.vmx.pi_desc; in vmx_vcpu_block() local129 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() local146 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() local154 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() local230 pi_set_sn(&vmx->pi_desc); in vmx_pi_desc_fixup()[all …]
1048 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()
117 int pi_update_irte(const struct pi_desc *pi_desc, const struct pirq *pirq,
110 const struct pi_desc *pi_desc; /* pointer to posted descriptor */ member
608 const struct pi_desc *pi_desc = msi_desc->pi_desc; in msi_msg_to_remap_entry() local651 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() argument970 msi_desc->pi_desc = pi_desc; in pi_update_irte()
443 pi_update_irte(vcpu ? &vcpu->arch.hvm.vmx.pi_desc : NULL, in pt_irq_create_bind()
154 struct pi_desc {
506 entry[nr].pi_desc = NULL; in alloc_msi_entry()
Completed in 27 milliseconds