Home
last modified time | relevance | path

Searched refs:sdma_engine (Results 1 – 25 of 43) sorted by relevance

12

/drivers/infiniband/hw/hfi1/
Dsdma.h270 struct sdma_engine { struct
391 static inline int sdma_empty(struct sdma_engine *sde) in sdma_empty() argument
396 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) in sdma_descq_freecnt()
403 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) in sdma_descq_inprocess()
412 static inline int __sdma_running(struct sdma_engine *engine) in __sdma_running()
428 static inline int sdma_running(struct sdma_engine *engine) in sdma_running()
828 int sdma_send_txreq(struct sdma_engine *sde,
832 int sdma_send_txlist(struct sdma_engine *sde,
837 int sdma_ahg_alloc(struct sdma_engine *sde);
838 void sdma_ahg_free(struct sdma_engine *sde, int ahg_index);
[all …]
Dsdma.c195 static void sdma_set_state(struct sdma_engine *, enum sdma_states);
196 static void sdma_start_hw_clean_up(struct sdma_engine *);
198 static void sdma_sendctrl(struct sdma_engine *, unsigned);
199 static void init_sdma_regs(struct sdma_engine *, u32, uint);
201 struct sdma_engine *sde,
204 struct sdma_engine *sde,
206 static void dump_sdma_state(struct sdma_engine *sde);
207 static void sdma_make_progress(struct sdma_engine *sde, u64 status);
208 static void sdma_desc_avail(struct sdma_engine *sde, uint avail);
209 static void sdma_flush_descq(struct sdma_engine *sde);
[all …]
Dtrace_tx.h110 TP_PROTO(struct sdma_engine *sde,
304 TP_PROTO(struct sdma_engine *sde, u64 status),
322 TP_PROTO(struct sdma_engine *sde, u64 status),
327 TP_PROTO(struct sdma_engine *sde, u64 status),
332 TP_PROTO(struct sdma_engine *sde, int aidx),
350 TP_PROTO(struct sdma_engine *sde, int aidx),
354 TP_PROTO(struct sdma_engine *sde, int aidx),
359 TP_PROTO(struct sdma_engine *sde,
397 TP_PROTO(struct sdma_engine *sde,
432 TP_PROTO(struct sdma_engine *sde, u64 sn),
[all …]
Dsysfs.c571 ssize_t (*show)(struct sdma_engine *sde, char *buf);
572 ssize_t (*store)(struct sdma_engine *sde, const char *buf, size_t cnt);
579 struct sdma_engine *sde = in sde_show()
580 container_of(kobj, struct sdma_engine, kobj); in sde_show()
593 struct sdma_engine *sde = in sde_store()
594 container_of(kobj, struct sdma_engine, kobj); in sde_store()
618 static ssize_t sde_show_cpu_to_sde_map(struct sdma_engine *sde, char *buf) in sde_show_cpu_to_sde_map()
623 static ssize_t sde_store_cpu_to_sde_map(struct sdma_engine *sde, in sde_store_cpu_to_sde_map()
629 static ssize_t sde_show_vl(struct sdma_engine *sde, char *buf) in sde_show_vl()
Dvnic_sdma.c49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, in build_vnic_ulp_payload()
85 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc()
131 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma()
186 static int hfi1_vnic_sdma_sleep(struct sdma_engine *sde, in hfi1_vnic_sdma_sleep()
Diowait.h36 struct sdma_engine;
101 struct sdma_engine *sde,
133 int (*sleep)(struct sdma_engine *sde,
Dmsix.h17 int msix_request_sdma_irq(struct sdma_engine *sde);
Dqp.c26 struct sdma_engine *sde,
437 struct sdma_engine *sde, in iowait_sleep()
539 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5) in qp_to_sdma_engine()
542 struct sdma_engine *sde; in qp_to_sdma_engine()
603 struct sdma_engine *sde; in qp_iter_print()
Dmsix.c185 int msix_request_sdma_irq(struct sdma_engine *sde) in msix_request_sdma_irq()
259 struct sdma_engine *sde = &dd->per_sdma[i]; in msix_request_irqs()
Dverbs_txreq.h23 struct sdma_engine *sde;
Dipoib.h84 struct sdma_engine *sde;
Dvnic.h44 struct sdma_engine *sde;
Dqp.h80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
Diowait.c44 int (*sleep)(struct sdma_engine *sde, in iowait_init()
Duser_sdma.h139 struct sdma_engine *sde;
Daffinity.c744 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity()
842 struct sdma_engine *sde = NULL; in get_irq_affinity()
854 sde = (struct sdma_engine *)msix->arg; in get_irq_affinity()
/drivers/gpu/drm/amd/amdgpu/
Dvega20_reg_init.c72 adev->doorbell_index.sdma_engine[0] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE0; in vega20_doorbell_index_init()
73 adev->doorbell_index.sdma_engine[1] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE1; in vega20_doorbell_index_init()
74 adev->doorbell_index.sdma_engine[2] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE2; in vega20_doorbell_index_init()
75 adev->doorbell_index.sdma_engine[3] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE3; in vega20_doorbell_index_init()
76 adev->doorbell_index.sdma_engine[4] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE4; in vega20_doorbell_index_init()
77 adev->doorbell_index.sdma_engine[5] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE5; in vega20_doorbell_index_init()
78 adev->doorbell_index.sdma_engine[6] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE6; in vega20_doorbell_index_init()
79 adev->doorbell_index.sdma_engine[7] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE7; in vega20_doorbell_index_init()
Dvega10_reg_init.c72 adev->doorbell_index.sdma_engine[0] = AMDGPU_DOORBELL64_sDMA_ENGINE0; in vega10_doorbell_index_init()
73 adev->doorbell_index.sdma_engine[1] = AMDGPU_DOORBELL64_sDMA_ENGINE1; in vega10_doorbell_index_init()
Dta_xgmi_if.h76 enum ta_xgmi_assigned_sdma_engine sdma_engine; member
Damdgpu_doorbell.h55 uint32_t sdma_engine[8]; member
Dnv.c973 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in nv_init_doorbell_index()
974 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in nv_init_doorbell_index()
975 adev->doorbell_index.sdma_engine[2] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE2; in nv_init_doorbell_index()
976 adev->doorbell_index.sdma_engine[3] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE3; in nv_init_doorbell_index()
/drivers/dma/
Dimx-sdma.c360 struct sdma_engine;
423 struct sdma_engine *sdma;
493 struct sdma_engine { struct
662 static inline u32 chnenbl_ofs(struct sdma_engine *sdma, unsigned int event) in chnenbl_ofs()
671 struct sdma_engine *sdma = sdmac->sdma; in sdma_config_ownership()
704 static void sdma_enable_channel(struct sdma_engine *sdma, int channel) in sdma_enable_channel()
712 static int sdma_run_channel0(struct sdma_engine *sdma) in sdma_run_channel0()
734 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, in sdma_load_script()
769 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_enable()
781 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_disable()
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager_v9.c252 unsigned int sdma_engine) in pm_unmap_queues_v9() argument
271 if (sdma_engine < 2) { in pm_unmap_queues_v9()
275 engine_sel__mes_unmap_queues__sdma0 + sdma_engine; in pm_unmap_queues_v9()
279 packet->bitfields2.engine_sel = sdma_engine; in pm_unmap_queues_v9()
Dkfd_packet_manager_vi.c203 unsigned int sdma_engine) in pm_unmap_queues_vi() argument
221 engine_sel__mes_unmap_queues__sdma0 + sdma_engine; in pm_unmap_queues_vi()
Dkfd_packet_manager.c389 unsigned int sdma_engine) in pm_send_unmap_queue() argument
405 reset, sdma_engine); in pm_send_unmap_queue()

12