Searched refs:iommu_base (Results 1 – 4 of 4) sorted by relevance
142 ring->iommu_base = (ring->dma_handle + (len - 1)) & ~(len - 1); in mhi_alloc_aligned_ring()143 ring->base = ring->pre_aligned + (ring->iommu_base - ring->dma_handle); in mhi_alloc_aligned_ring()240 ring->iommu_base = 0; in mhi_deinit_dev_ctxt()256 ring->iommu_base = 0; in mhi_deinit_dev_ctxt()362 er_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()391 cmd_ctxt->rbase = cpu_to_le64(ring->iommu_base); in mhi_init_dev_ctxt()637 chan_ctxt->rbase = cpu_to_le64(tre_ring->iommu_base); in mhi_init_chan_ctxt()
127 db = ring->iommu_base + (ring->wp - ring->base); in mhi_ring_cmd_db()138 db = ring->iommu_base + (ring->wp - ring->base); in mhi_ring_chan_db()246 return (addr - ring->iommu_base) + ring->base; in mhi_to_virtual()271 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()
162 dma_addr_t iommu_base; member
225 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_ready_state_transition()428 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_pm_mission_mode_transition()