Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c742 u32 addr, val, eng_sel; in qed_llh_set_ppfid_affinity() local
758 eng_sel = 0; in qed_llh_set_ppfid_affinity()
761 eng_sel = 1; in qed_llh_set_ppfid_affinity()
764 eng_sel = 2; in qed_llh_set_ppfid_affinity()
774 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_NON_ROCE, eng_sel); in qed_llh_set_ppfid_affinity()
790 u32 addr, val, eng_sel; in qed_llh_set_roce_affinity() local
802 eng_sel = 0; in qed_llh_set_roce_affinity()
805 eng_sel = 1; in qed_llh_set_roce_affinity()
808 eng_sel = 2; in qed_llh_set_roce_affinity()
825 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_ROCE, eng_sel); in qed_llh_set_roce_affinity()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_0.c831 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_map_queues() local
845 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v9_0_kiq_map_queues()
861 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_unmap_queues() local
867 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx_v9_0_kiq_unmap_queues()
888 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx_v9_0_kiq_query_status() local
898 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx_v9_0_kiq_query_status()
1000 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
1004 amdgpu_ring_write(ring, WRITE_DATA_ENGINE_SEL(eng_sel) | in gfx_v9_0_write_data_to_reg()
1012 static void gfx_v9_0_wait_reg_mem(struct amdgpu_ring *ring, int eng_sel, in gfx_v9_0_wait_reg_mem() argument
1023 WAIT_REG_MEM_ENGINE(eng_sel))); in gfx_v9_0_wait_reg_mem()
Dgfx_v10_0.c3236 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx10_kiq_map_queues() local
3248 PACKET3_MAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx10_kiq_map_queues()
3262 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx10_kiq_unmap_queues() local
3268 PACKET3_UNMAP_QUEUES_ENGINE_SEL(eng_sel) | in gfx10_kiq_unmap_queues()
3289 uint32_t eng_sel = ring->funcs->type == AMDGPU_RING_TYPE_GFX ? 4 : 0; in gfx10_kiq_query_status() local
3298 PACKET3_QUERY_STATUS_ENG_SEL(eng_sel)); in gfx10_kiq_query_status()
3412 static void gfx_v10_0_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel, in gfx_v10_0_write_data_to_reg() argument
3416 amdgpu_ring_write(ring, WRITE_DATA_ENGINE_SEL(eng_sel) | in gfx_v10_0_write_data_to_reg()
3423 static void gfx_v10_0_wait_reg_mem(struct amdgpu_ring *ring, int eng_sel, in gfx_v10_0_wait_reg_mem() argument
3434 WAIT_REG_MEM_ENGINE(eng_sel))); in gfx_v10_0_wait_reg_mem()