Home
last modified time | relevance | path

Searched refs:sts (Results 1 – 7 of 7) sorted by relevance

/xen/tools/libxc/
A Dxc_core.c332 int sts; in elfnote_dump_none() local
343 if ( sts != 0 ) in elfnote_dump_none()
344 return sts; in elfnote_dump_none()
354 int sts; in elfnote_dump_core_header() local
377 int sts; in elfnote_dump_xen_version() local
403 int sts; in elfnote_dump_format_version() local
436 int sts = -1; in xc_domain_dumpcore_via_callback() local
921 sts = 0; in xc_domain_dumpcore_via_callback()
944 return sts; in xc_domain_dumpcore_via_callback()
980 int sts; in xc_domain_dumpcore() local
[all …]
A Dxg_private.c106 int sts; in xc_inflate_buffer() local
137 sts = inflateInit2(&zStream, (MAX_WBITS+32)); /* +32 means "handle gzip" */ in xc_inflate_buffer()
138 if ( sts != Z_OK ) in xc_inflate_buffer()
140 ERROR("inflateInit failed, sts %d\n", sts); in xc_inflate_buffer()
146 sts = inflate(&zStream, Z_FINISH); in xc_inflate_buffer()
148 if ( sts != Z_STREAM_END ) in xc_inflate_buffer()
150 ERROR("inflate failed, sts %d\n", sts); in xc_inflate_buffer()
/xen/xen/drivers/passthrough/vtd/
A Dqinval.c393 u32 sts; in enable_qinval() local
400 sts = dmar_readl(iommu->reg, DMAR_GSTS_REG); in enable_qinval()
401 if ( (sts & DMA_GSTS_QIES) && iommu->qinval_maddr ) in enable_qinval()
434 sts = dmar_readl(iommu->reg, DMAR_GSTS_REG); in enable_qinval()
435 dmar_writel(iommu->reg, DMAR_GCMD_REG, sts | DMA_GCMD_QIE); in enable_qinval()
439 (sts & DMA_GSTS_QIES), sts); in enable_qinval()
447 u32 sts; in disable_qinval() local
454 sts = dmar_readl(iommu->reg, DMAR_GSTS_REG); in disable_qinval()
455 if ( !(sts & DMA_GSTS_QIES) ) in disable_qinval()
458 dmar_writel(iommu->reg, DMAR_GCMD_REG, sts & (~DMA_GCMD_QIE)); in disable_qinval()
[all …]
A Dintremap.c759 u32 sts, gcmd; in enable_intremap() local
771 sts = dmar_readl(iommu->reg, DMAR_GSTS_REG); in enable_intremap()
774 if ( (sts & DMA_GSTS_IRES) && iommu->intremap.maddr ) in enable_intremap()
777 if ( !(sts & DMA_GSTS_QIES) ) in enable_intremap()
785 if ( !eim && (sts & DMA_GSTS_CFIS) ) in enable_intremap()
820 (sts & DMA_GSTS_SIRTPS), sts); in enable_intremap()
832 (sts & DMA_GSTS_IRES), sts); in enable_intremap()
840 u32 sts; in disable_intremap() local
848 sts = dmar_readl(iommu->reg, DMAR_GSTS_REG); in disable_intremap()
849 if ( !(sts & DMA_GSTS_IRES) ) in disable_intremap()
[all …]
A Diommu.c722 u32 sts; in iommu_set_root_entry() local
733 (sts & DMA_GSTS_RTPS), sts); in iommu_set_root_entry()
741 u32 sts; in iommu_enable_translation() local
777 (sts & DMA_GSTS_TES), sts); in iommu_enable_translation()
789 u32 sts; in iommu_disable_translation() local
801 !(sts & DMA_GSTS_TES), sts); in iommu_disable_translation()
1035 u32 sts; in dma_msi_unmask() local
1040 sts &= ~DMA_FECTL_IM; in dma_msi_unmask()
1050 u32 sts; in dma_msi_mask() local
1055 sts |= DMA_FECTL_IM; in dma_msi_mask()
[all …]
A Ddmar.h111 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ argument
115 sts = op(iommu->reg, offset); \
/xen/tools/firmware/rombios/32bit/tcgbios/
A Dtpm_drivers.c49 uint8_t sts = mmio_readb(&addr[TPM_STS]); in tis_wait_sts() local
50 if ((sts & mask) == expect) { in tis_wait_sts()
134 uint32_t sts; in tis_readresp() local
139 sts = mmio_readb(&tis_addr[TPM_STS]); in tis_readresp()
141 if ((sts & STS_DATA_AVAILABLE) == 0) { in tis_readresp()

Completed in 21 milliseconds