Searched refs:iommu_base (Results 1 – 4 of 4) sorted by relevance
173 ring->iommu_base = (ring->dma_handle + (len - 1)) & ~(len - 1); in mhi_alloc_aligned_ring()174 ring->base = ring->pre_aligned + (ring->iommu_base - ring->dma_handle); in mhi_alloc_aligned_ring()271 ring->iommu_base = 0; in mhi_deinit_dev_ctxt()287 ring->iommu_base = 0; in mhi_deinit_dev_ctxt()393 er_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()422 cmd_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()678 chan_ctxt->rbase = cpu_to_le64(tre_ring->iommu_base); in mhi_init_chan_ctxt()
129 db = ring->iommu_base + (ring->wp - ring->base); in mhi_ring_cmd_db()140 db = ring->iommu_base + (ring->wp - ring->base); in mhi_ring_chan_db()248 return (addr - ring->iommu_base) + ring->base; in mhi_to_virtual()273 return addr >= ring->iommu_base && addr < ring->iommu_base + ring->len && in is_valid_ring_ptr()556 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + (ring->wp - ring->base)); in mhi_recycle_ev_ring_element()
202 dma_addr_t iommu_base; member
240 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_ready_state_transition()443 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_pm_mission_mode_transition()