Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
805 int sdma_send_txreq(struct sdma_engine *sde,
809 int sdma_send_txlist(struct sdma_engine *sde,
814 int sdma_ahg_alloc(struct sdma_engine *sde);
815 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 …]
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()
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 …]
Dvnic_sdma.c49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, in build_vnic_ulp_payload()
84 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc()
130 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma()
185 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);
Dverbs_txreq.h23 struct sdma_engine *sde;
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()
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()
Dvnic.h44 struct sdma_engine *sde;
Dipoib.h111 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.h145 struct sdma_engine *sde;
Daffinity.c743 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity()
841 struct sdma_engine *sde = NULL; in get_irq_affinity()
853 sde = (struct sdma_engine *)msix->arg; in get_irq_affinity()
Dverbs.h117 struct sdma_engine *s_sde; /* current sde */
/linux-6.1.9/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
Dnv.c617 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in nv_init_doorbell_index()
618 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in nv_init_doorbell_index()
619 adev->doorbell_index.sdma_engine[2] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE2; in nv_init_doorbell_index()
620 adev->doorbell_index.sdma_engine[3] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE3; in nv_init_doorbell_index()
Damdgpu_doorbell.h57 uint32_t sdma_engine[8]; member
Dsoc21.c483 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in soc21_init_doorbell_index()
484 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in soc21_init_doorbell_index()
Damdgpu_psp.h144 enum ta_xgmi_assigned_sdma_engine sdma_engine; member
/linux-6.1.9/drivers/dma/
Dimx-sdma.c370 struct sdma_engine;
441 struct sdma_engine *sdma;
517 struct sdma_engine { struct
686 static inline u32 chnenbl_ofs(struct sdma_engine *sdma, unsigned int event) in chnenbl_ofs()
695 struct sdma_engine *sdma = sdmac->sdma; in sdma_config_ownership()
728 static int is_sdma_channel_enabled(struct sdma_engine *sdma, int channel) in is_sdma_channel_enabled()
733 static void sdma_enable_channel(struct sdma_engine *sdma, int channel) in sdma_enable_channel()
741 static int sdma_run_channel0(struct sdma_engine *sdma) in sdma_run_channel0()
763 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, in sdma_load_script()
797 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_enable()
[all …]

12