Home
last modified time | relevance | path

Searched refs:flush_type (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.h99 uint32_t (*get_invalidate_req)(unsigned int vmid, uint32_t flush_type);
138 uint32_t vmhub, uint32_t flush_type);
141 uint32_t flush_type, bool all_hub,
442 uint32_t vmhub, uint32_t flush_type);
444 uint32_t flush_type, bool all_hub,
H A Dgmc_v12_0.c202 unsigned int vmhub, uint32_t flush_type) in gmc_v12_0_flush_vm_hub() argument
206 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v12_0_flush_vm_hub()
294 uint32_t vmhub, uint32_t flush_type) in gmc_v12_0_flush_gpu_tlb() argument
309 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v12_0_flush_gpu_tlb()
336 uint16_t pasid, uint32_t flush_type, in gmc_v12_0_flush_gpu_tlb_pasid() argument
354 flush_type); in gmc_v12_0_flush_gpu_tlb_pasid()
357 flush_type); in gmc_v12_0_flush_gpu_tlb_pasid()
H A Damdgpu_gmc.c615 uint32_t vmhub, uint32_t flush_type) in amdgpu_gmc_flush_gpu_tlb() argument
637 if (adev->gmc.flush_tlb_needs_extra_type_0 && flush_type == 2) in amdgpu_gmc_flush_gpu_tlb()
642 flush_type); in amdgpu_gmc_flush_gpu_tlb()
678 uint32_t flush_type, bool all_hub, in amdgpu_gmc_flush_gpu_tlb_pasid() argument
702 if (adev->gmc.flush_tlb_needs_extra_type_0 && flush_type == 2) in amdgpu_gmc_flush_gpu_tlb_pasid()
708 flush_type, all_hub, in amdgpu_gmc_flush_gpu_tlb_pasid()
730 if (flush_type == 2 && adev->gmc.flush_tlb_needs_extra_type_0) in amdgpu_gmc_flush_gpu_tlb_pasid()
733 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, flush_type, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid()
H A Dgmc_v11_0.c212 uint32_t vmhub, uint32_t flush_type) in gmc_v11_0_flush_gpu_tlb() argument
216 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v11_0_flush_gpu_tlb()
316 uint16_t pasid, uint32_t flush_type, in gmc_v11_0_flush_gpu_tlb_pasid() argument
334 flush_type); in gmc_v11_0_flush_gpu_tlb_pasid()
337 flush_type); in gmc_v11_0_flush_gpu_tlb_pasid()
H A Dgmc_v10_0.c254 uint32_t vmhub, uint32_t flush_type) in gmc_v10_0_flush_gpu_tlb() argument
258 u32 inv_req = hub->vmhub_funcs->get_invalidate_req(vmid, flush_type); in gmc_v10_0_flush_gpu_tlb()
351 uint16_t pasid, uint32_t flush_type, in gmc_v10_0_flush_gpu_tlb_pasid() argument
369 flush_type); in gmc_v10_0_flush_gpu_tlb_pasid()
372 flush_type); in gmc_v10_0_flush_gpu_tlb_pasid()
H A Dgmc_v9_0.c768 uint32_t flush_type) in gmc_v9_0_get_invalidate_req() argument
774 req = REG_SET_FIELD(req, VM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gmc_v9_0_get_invalidate_req()
838 uint32_t vmhub, uint32_t flush_type) in gmc_v9_0_flush_gpu_tlb() argument
848 inv_req = gmc_v9_0_get_invalidate_req(vmid, flush_type); in gmc_v9_0_flush_gpu_tlb()
954 uint16_t pasid, uint32_t flush_type, in gmc_v9_0_flush_gpu_tlb_pasid() argument
972 flush_type); in gmc_v9_0_flush_gpu_tlb_pasid()
976 flush_type); in gmc_v9_0_flush_gpu_tlb_pasid()
H A Dgfxhub_v3_0_3.c58 uint32_t flush_type) in gfxhub_v3_0_3_get_invalidate_req() argument
65 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v3_0_3_get_invalidate_req()
H A Dgfxhub_v2_0.c56 uint32_t flush_type) in gfxhub_v2_0_get_invalidate_req() argument
63 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v2_0_get_invalidate_req()
H A Dgfxhub_v11_5_0.c60 uint32_t flush_type) in gfxhub_v11_5_0_get_invalidate_req() argument
67 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v11_5_0_get_invalidate_req()
H A Dmmhub_v3_0_2.c76 uint32_t flush_type) in mmhub_v3_0_2_get_invalidate_req() argument
83 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in mmhub_v3_0_2_get_invalidate_req()
H A Dgfxhub_v3_0.c55 uint32_t flush_type) in gfxhub_v3_0_get_invalidate_req() argument
62 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v3_0_get_invalidate_req()
H A Dgfxhub_v12_0.c62 uint32_t flush_type) in gfxhub_v12_0_get_invalidate_req() argument
69 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v12_0_get_invalidate_req()
H A Dmmhub_v3_0_1.c76 uint32_t flush_type) in mmhub_v3_0_1_get_invalidate_req() argument
83 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in mmhub_v3_0_1_get_invalidate_req()
H A Dmmhub_v3_0.c76 uint32_t flush_type) in mmhub_v3_0_get_invalidate_req() argument
83 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in mmhub_v3_0_get_invalidate_req()
H A Dmmhub_v2_3.c59 uint32_t flush_type) in mmhub_v2_3_get_invalidate_req() argument
66 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in mmhub_v2_3_get_invalidate_req()
H A Dmmhub_v2_0.c120 uint32_t flush_type) in mmhub_v2_0_get_invalidate_req() argument
127 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in mmhub_v2_0_get_invalidate_req()
H A Dmmhub_v3_3.c68 uint32_t flush_type) in mmhub_v3_3_get_invalidate_req() argument
75 req = REG_SET_FIELD(req, MMVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type ? : 1); in mmhub_v3_3_get_invalidate_req()
H A Dgfxhub_v2_1.c59 uint32_t flush_type) in gfxhub_v2_1_get_invalidate_req() argument
66 req = REG_SET_FIELD(req, GCVM_INVALIDATE_ENG0_REQ, FLUSH_TYPE, flush_type); in gfxhub_v2_1_get_invalidate_req()
H A Damdgpu_vm.h512 uint32_t flush_type,
H A Damdgpu_gfx.h140 uint16_t pasid, uint32_t flush_type,
H A Dmmhub_v4_1_0.c76 uint32_t flush_type) in mmhub_v4_1_0_get_invalidate_req() argument
/linux/drivers/infiniband/sw/rxe/
H A Drxe_resp.c216 u32 flush_type = feth_plt(pkt); in check_qp_attr_access() local
218 if ((flush_type & IB_FLUSH_GLOBAL && in check_qp_attr_access()
220 (flush_type & IB_FLUSH_PERSISTENT && in check_qp_attr_access()
454 u32 flush_type = feth_plt(pkt); in check_rkey() local
459 if (flush_type & IB_FLUSH_GLOBAL) in check_rkey()
461 if (flush_type & IB_FLUSH_PERSISTENT) in check_rkey()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_msgs.h148 u32 flush_type; member
H A Dhfi_cmds.h206 u32 flush_type; member
/linux/crypto/
H A Dtestmgr.c224 enum flush_type { enum
278 enum flush_type flush_type; member
438 .flush_type = FLUSH_TYPE_FLUSH,
468 .flush_type = FLUSH_TYPE_REIMPORT,
471 .flush_type = FLUSH_TYPE_REIMPORT,
504 if (divs[i].flush_type != FLUSH_TYPE_NONE) in valid_sg_divisions()
1052 div->flush_type = FLUSH_TYPE_NONE; in generate_random_sgl_divisions()
1056 div->flush_type = FLUSH_TYPE_REIMPORT; in generate_random_sgl_divisions()
1059 div->flush_type = FLUSH_TYPE_FLUSH; in generate_random_sgl_divisions()
1064 if (div->flush_type != FLUSH_TYPE_NONE && in generate_random_sgl_divisions()
[all …]

12