Home
last modified time | relevance | path

Searched refs:mni (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_hmm.c66 static bool amdgpu_hmm_invalidate_gfx(struct mmu_interval_notifier *mni, in amdgpu_hmm_invalidate_gfx() argument
70 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_gfx()
79 mmu_interval_set_seq(mni, cur_seq); in amdgpu_hmm_invalidate_gfx()
103 static bool amdgpu_hmm_invalidate_hsa(struct mmu_interval_notifier *mni, in amdgpu_hmm_invalidate_hsa() argument
107 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_hsa()
112 amdgpu_amdkfd_evict_userptr(mni, cur_seq, bo->kfd_bo); in amdgpu_hmm_invalidate_hsa()
H A Damdgpu_amdkfd.h192 int amdgpu_amdkfd_evict_userptr(struct mmu_interval_notifier *mni,
214 int amdgpu_amdkfd_evict_userptr(struct mmu_interval_notifier *mni, in amdgpu_amdkfd_evict_userptr() argument
H A Damdgpu_amdkfd_gpuvm.c2393 int amdgpu_amdkfd_evict_userptr(struct mmu_interval_notifier *mni, in amdgpu_amdkfd_evict_userptr() argument
2406 mmu_interval_set_seq(mni, cur_seq); in amdgpu_amdkfd_evict_userptr()
2411 r = kgd2kfd_quiesce_mm(mni->mm, in amdgpu_amdkfd_evict_userptr()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c23 static bool tid_rb_invalidate(struct mmu_interval_notifier *mni,
26 static bool tid_cover_invalidate(struct mmu_interval_notifier *mni,
892 static bool tid_rb_invalidate(struct mmu_interval_notifier *mni, in tid_rb_invalidate() argument
897 container_of(mni, struct tid_rb_node, notifier); in tid_rb_invalidate()
942 static bool tid_cover_invalidate(struct mmu_interval_notifier *mni, in tid_cover_invalidate() argument
947 container_of(mni, struct tid_user_buf, notifier); in tid_cover_invalidate()
952 mmu_interval_set_seq(mni, cur_seq); in tid_cover_invalidate()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_userptr.c60 static bool i915_gem_userptr_invalidate(struct mmu_interval_notifier *mni, in i915_gem_userptr_invalidate() argument
64 struct drm_i915_gem_object *obj = container_of(mni, struct drm_i915_gem_object, userptr.notifier); in i915_gem_userptr_invalidate()
73 mmu_interval_set_seq(mni, cur_seq); in i915_gem_userptr_invalidate()
/openbmc/linux/lib/
H A Dtest_hmm.c257 static bool dmirror_interval_invalidate(struct mmu_interval_notifier *mni, in dmirror_interval_invalidate() argument
261 struct dmirror *dmirror = container_of(mni, struct dmirror, notifier); in dmirror_interval_invalidate()
276 mmu_interval_set_seq(mni, cur_seq); in dmirror_interval_invalidate()
1080 static bool dmirror_snapshot_invalidate(struct mmu_interval_notifier *mni, in dmirror_snapshot_invalidate() argument
1085 container_of(mni, struct dmirror_interval, notifier); in dmirror_snapshot_invalidate()
1097 mmu_interval_set_seq(mni, cur_seq); in dmirror_snapshot_invalidate()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c73 svm_range_cpu_invalidate_pagetables(struct mmu_interval_notifier *mni,
2534 if (!mmget_not_zero(mni->mm)) in svm_range_cpu_invalidate_pagetables()
2537 start = mni->interval_tree.start; in svm_range_cpu_invalidate_pagetables()
2538 last = mni->interval_tree.last; in svm_range_cpu_invalidate_pagetables()
2544 mni->interval_tree.start >> PAGE_SHIFT, in svm_range_cpu_invalidate_pagetables()
2545 mni->interval_tree.last >> PAGE_SHIFT, range->event); in svm_range_cpu_invalidate_pagetables()
2547 prange = container_of(mni, struct svm_range, notifier); in svm_range_cpu_invalidate_pagetables()
2550 mmu_interval_set_seq(mni, cur_seq); in svm_range_cpu_invalidate_pagetables()
2554 svm_range_unmap_from_cpu(mni->mm, prange, start, last); in svm_range_cpu_invalidate_pagetables()
2557 svm_range_evict(prange, mni->mm, start, last, range->event); in svm_range_cpu_invalidate_pagetables()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c509 static bool nouveau_svm_range_invalidate(struct mmu_interval_notifier *mni, in nouveau_svm_range_invalidate() argument
514 container_of(mni, struct svm_notifier, notifier); in nouveau_svm_range_invalidate()
531 mmu_interval_set_seq(mni, cur_seq); in nouveau_svm_range_invalidate()
/openbmc/linux/drivers/video/fbdev/sis/
H A Dsis_main.c607 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate()
631 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate()
1265 ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]; in sisfb_do_set_var()
1286 ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]; in sisfb_do_set_var()
1563 if(ivideo->sisfb_lastrates[sisbios_mode[search_idx].mode_no[ivideo->mni]]) { in sisfb_check_var()
1565 ivideo->sisfb_lastrates[sisbios_mode[search_idx].mode_no[ivideo->mni]]; in sisfb_check_var()
1591 sisbios_mode[search_idx].mode_no[ivideo->mni], in sisfb_check_var()
1594 sisbios_mode[search_idx].mode_no[ivideo->mni], in sisfb_check_var()
5915 ivideo->mni = chipinfo->mni; in sisfb_probe()
6206 ((sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni]) != 0xFF)) { in sisfb_probe()
[all …]
H A Dsis_main.h84 int mni; member
H A Dsis.h510 int mni; /* Mode number index */ member
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dodp.c226 static bool mlx5_ib_invalidate_range(struct mmu_interval_notifier *mni, in mlx5_ib_invalidate_range() argument
231 container_of(mni, struct ib_umem_odp, notifier); in mlx5_ib_invalidate_range()
245 mmu_interval_set_seq(mni, cur_seq); in mlx5_ib_invalidate_range()