Home
last modified time | relevance | path

Searched refs:eng_sel (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c726 u32 addr, val, eng_sel; in qed_llh_set_ppfid_affinity() local
742 eng_sel = 0; in qed_llh_set_ppfid_affinity()
745 eng_sel = 1; in qed_llh_set_ppfid_affinity()
748 eng_sel = 2; in qed_llh_set_ppfid_affinity()
758 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_NON_ROCE, eng_sel); in qed_llh_set_ppfid_affinity()
774 u32 addr, val, eng_sel; in qed_llh_set_roce_affinity() local
786 eng_sel = 0; in qed_llh_set_roce_affinity()
789 eng_sel = 1; in qed_llh_set_roce_affinity()
792 eng_sel = 2; in qed_llh_set_roce_affinity()
809 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_ROCE, eng_sel); in qed_llh_set_roce_affinity()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v12_1.c116 uint32_t me = 0, eng_sel = 0; in gfx_v12_1_kiq_map_queues() local
121 eng_sel = 0; in gfx_v12_1_kiq_map_queues()
125 eng_sel = 5; in gfx_v12_1_kiq_map_queues()
140 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v12_1_kiq_map_queues()
155 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v12_1_kiq_unmap_queues() local
167 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v12_1_kiq_unmap_queues()
187 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v12_1_kiq_query_status() local
196 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx_v12_1_kiq_query_status()
233 static void gfx_v12_1_wait_reg_mem(struct amdgpu_ring *ring, int eng_sel, in gfx_v12_1_wait_reg_mem() argument
H A Dgfx_v12_0.c311 uint32_t me = 0, eng_sel = 0; in gfx_v12_0_kiq_map_queues() local
316 eng_sel = 0; in gfx_v12_0_kiq_map_queues()
320 eng_sel = 4; in gfx_v12_0_kiq_map_queues()
324 eng_sel = 5; in gfx_v12_0_kiq_map_queues()
340 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v12_0_kiq_map_queues()
355 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v12_0_kiq_unmap_queues() local
367 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v12_0_kiq_unmap_queues()
387 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v12_0_kiq_query_status() local
396 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx_v12_0_kiq_query_status()
429 static void gfx_v12_0_wait_reg_mem(struct amdgpu_ring *ring, int eng_sel, in gfx_v12_0_wait_reg_mem() argument
[all …]
H A Dgfx_v11_0.c381 uint32_t me = 0, eng_sel = 0; in gfx11_kiq_map_queues() local
386 eng_sel = 0; in gfx11_kiq_map_queues()
390 eng_sel = 4; in gfx11_kiq_map_queues()
394 eng_sel = 5; in gfx11_kiq_map_queues()
410 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx11_kiq_map_queues()
425 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx11_kiq_unmap_queues() local
437 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx11_kiq_unmap_queues()
458 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx11_kiq_query_status() local
467 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx11_kiq_query_status()
520 static void gfx_v11_0_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel, in gfx_v11_0_write_data_to_reg() argument
[all …]
H A Dgfx_v9_0.c956 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_map_queues() local
970 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v9_0_kiq_map_queues()
986 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_unmap_queues() local
992 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v9_0_kiq_unmap_queues()
1014 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_query_status() local
1024 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx_v9_0_kiq_query_status()
1160 static void gfx_v9_0_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel, in gfx_v9_0_write_data_to_reg() argument
1164 amdgpu_ring_write(ring, WRITE_DATA_ENGINE_SEL(eng_sel) | in gfx_v9_0_write_data_to_reg()
1172 static void gfx_v9_0_wait_reg_mem(struct amdgpu_ring *ring, int eng_sel, in gfx_v9_0_wait_reg_mem() argument
1183 WAIT_REG_MEM_ENGINE(eng_sel))); in gfx_v9_0_wait_reg_mem()