Searched refs:sdma_engine (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/drivers/infiniband/hw/hfi1/
H A Dmsix.h17 int msix_request_sdma_irq(struct sdma_engine *sde);
H A Dsdma.h259 * struct sdma_engine - Data pertaining to each SDMA engine.
265 * This structure has the state for each sdma_engine.
270 struct sdma_engine { struct
391 static inline int sdma_empty(struct sdma_engine *sde)
396 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde)
403 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde)
412 static inline int __sdma_running(struct sdma_engine *engine)
428 static inline int sdma_running(struct sdma_engine *engine)
828 int sdma_send_txreq(struct sdma_engine *sde,
832 int sdma_send_txlist(struct sdma_engine *sd
[all...]
H A 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 *sd
[all...]
H A Dverbs_txreq.h23 struct sdma_engine *sde;
H A Dvnic_sdma.c49 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde,
85 static int build_vnic_tx_desc(struct sdma_engine *sde,
131 struct sdma_engine *sde = vnic_sdma->sde;
186 static int hfi1_vnic_sdma_sleep(struct sdma_engine *sde,
H A 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 =
580 container_of(kobj, struct sdma_engine, kobj);
593 struct sdma_engine *sde =
594 container_of(kobj, struct sdma_engine, kobj);
618 static ssize_t sde_show_cpu_to_sde_map(struct sdma_engine *sde, char *buf)
623 static ssize_t sde_store_cpu_to_sde_map(struct sdma_engine *sde,
629 static ssize_t sde_show_vl(struct sdma_engine *sde, char *buf)
H A Dqp.h80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
H A Dvnic.h44 struct sdma_engine *sde;
H A 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 *sd
[all...]
H A Diowait.h36 struct sdma_engine;
101 struct sdma_engine *sde,
133 int (*sleep)(struct sdma_engine *sde,
H A Diowait.c44 int (*sleep)(struct sdma_engine *sde,
H A Dipoib.h111 struct sdma_engine *sde;
H A Duser_sdma.h134 struct sdma_engine *sde;
H A Dmsix.c185 int msix_request_sdma_irq(struct sdma_engine *sde)
259 struct sdma_engine *sde = &dd->per_sdma[i];
H A Dqp.c26 struct sdma_engine *sde,
437 struct sdma_engine *sde,
539 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5)
542 struct sdma_engine *sde;
603 struct sdma_engine *sde;
H A Daffinity.c741 struct sdma_engine *sde = msix->arg;
839 struct sdma_engine *sde = NULL;
851 sde = (struct sdma_engine *)msix->arg;
H A Dverbs.h117 struct sdma_engine *s_sde; /* current sde */
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dvega20_reg_init.c72 adev->doorbell_index.sdma_engine[0] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE0;
73 adev->doorbell_index.sdma_engine[1] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE1;
74 adev->doorbell_index.sdma_engine[2] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE2;
75 adev->doorbell_index.sdma_engine[3] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE3;
76 adev->doorbell_index.sdma_engine[4] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE4;
77 adev->doorbell_index.sdma_engine[5] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE5;
78 adev->doorbell_index.sdma_engine[6] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE6;
79 adev->doorbell_index.sdma_engine[7] = AMDGPU_VEGA20_DOORBELL_sDMA_ENGINE7;
H A Dvega10_reg_init.c72 adev->doorbell_index.sdma_engine[0] = AMDGPU_DOORBELL64_sDMA_ENGINE0;
73 adev->doorbell_index.sdma_engine[1] = AMDGPU_DOORBELL64_sDMA_ENGINE1;
H A Dta_xgmi_if.h86 enum ta_xgmi_assigned_sdma_engine sdma_engine; member in struct:ta_xgmi_node_info
H A Dnv.c580 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0;
581 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1;
582 adev->doorbell_index.sdma_engine[2] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE2;
583 adev->doorbell_index.sdma_engine[3] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE3;
H A Damdgpu_doorbell.h67 uint32_t sdma_engine[16]; member in struct:amdgpu_doorbell_index
H A Damdgpu_psp.h151 enum ta_xgmi_assigned_sdma_engine sdma_engine; member in struct:psp_xgmi_node_info
H A Dsoc21.c505 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0;
506 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1;
/linux-master/drivers/dma/
H A Dimx-sdma.c369 struct sdma_engine;
438 struct sdma_engine *sdma;
512 struct sdma_engine { struct
681 static inline u32 chnenbl_ofs(struct sdma_engine *sdma, unsigned int event)
690 struct sdma_engine *sdma = sdmac->sdma;
723 static int is_sdma_channel_enabled(struct sdma_engine *sdma, int channel)
728 static void sdma_enable_channel(struct sdma_engine *sdma, int channel)
736 static int sdma_run_channel0(struct sdma_engine *sdma)
758 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
792 struct sdma_engine *sdm
[all...]

Completed in 770 milliseconds

12