Home
last modified time | relevance | path

Searched refs:iova_start (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/rknpu/
H A Drknpu_gem.c459 rknpu_obj->iova_start = rknpu_iommu_dma_alloc_iova( in rknpu_gem_alloc_buf_with_cache()
461 if (!rknpu_obj->iova_start) { in rknpu_gem_alloc_buf_with_cache()
467 &rknpu_obj->iova_start, rknpu_obj->iova_size); in rknpu_gem_alloc_buf_with_cache()
493 ret = iommu_map(domain, rknpu_obj->iova_start, in rknpu_gem_alloc_buf_with_cache()
501 rknpu_obj->dma_addr = rknpu_obj->iova_start; in rknpu_gem_alloc_buf_with_cache()
531 offset = rknpu_obj->iova_start + cache_size; in rknpu_gem_alloc_buf_with_cache()
556 iommu_unmap(domain, rknpu_obj->iova_start + cache_size, in rknpu_gem_alloc_buf_with_cache()
565 iommu_unmap(domain, rknpu_obj->iova_start, cache_size); in rknpu_gem_alloc_buf_with_cache()
569 rknpu_obj->iova_start, rknpu_obj->iova_size); in rknpu_gem_alloc_buf_with_cache()
596 iommu_unmap(domain, rknpu_obj->iova_start, cache_size); in rknpu_gem_free_buf_with_cache()
[all …]
/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dio-pgtable-arm-v7s.c926 unsigned int iova, size, iova_start; in arm_v7s_do_selftests() local
980 iova_start = i * SZ_16M; in arm_v7s_do_selftests()
981 if (ops->unmap(ops, iova_start + size, size, NULL) != size) in arm_v7s_do_selftests()
985 if (ops->map(ops, iova_start + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_v7s_do_selftests()
988 if (ops->iova_to_phys(ops, iova_start + size + 42) in arm_v7s_do_selftests()
H A Drockchip-iommu.c375 static void rk_iommu_zap_lines(struct rk_iommu *iommu, dma_addr_t iova_start, in rk_iommu_zap_lines() argument
379 dma_addr_t iova_end = iova_start + size; in rk_iommu_zap_lines()
387 for (iova = iova_start; iova < iova_end; iova += SPAGE_SIZE) in rk_iommu_zap_lines()
/OK3568_Linux_fs/kernel/drivers/rknpu/include/
H A Drknpu_gem.h53 dma_addr_t iova_start; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/rdma/
H A Dvmw_pvrdma-abi.h259 __aligned_u64 iova_start; member
/OK3568_Linux_fs/kernel/include/uapi/rdma/
H A Dvmw_pvrdma-abi.h271 __aligned_u64 iova_start; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/rdma/
H A Dvmw_pvrdma-abi.h259 __aligned_u64 iova_start; member
/OK3568_Linux_fs/kernel/drivers/bus/mhi/core/
H A Dinit.c458 upper_32_bits(mhi_cntrl->iova_start), in mhi_init_mmio()
462 lower_32_bits(mhi_cntrl->iova_start), in mhi_init_mmio()
466 upper_32_bits(mhi_cntrl->iova_start), in mhi_init_mmio()
470 lower_32_bits(mhi_cntrl->iova_start), in mhi_init_mmio()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmhi.h379 dma_addr_t iova_start; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H A Dmhi.c241 mhi_ctrl->iova_start = 0; in ath11k_mhi_register()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw.h597 u64 *iova_start);
H A Di40iw_verbs.c1868 u64 *iova_start) in i40iw_reg_phys_mr() argument
1887 iwpbl->user_base = *iova_start; in i40iw_reg_phys_mr()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_qp.c659 wqe_hdr->wr.fast_reg.iova_start = mr->ibmr.iova; in set_reg_seg()