Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A 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 …]
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 *sde);
[all …]
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 = 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()
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 *sde, u64 sn),
[all …]
H A 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()
H A Diowait.h36 struct sdma_engine;
101 struct sdma_engine *sde,
133 int (*sleep)(struct sdma_engine *sde,
H A Dmsix.h17 int msix_request_sdma_irq(struct sdma_engine *sde);
H A Dverbs_txreq.h23 struct sdma_engine *sde;
H A 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()
H A 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()
H A Dvnic.h44 struct sdma_engine *sde;
H A Dipoib.h111 struct sdma_engine *sde;
H A Dqp.h80 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
H A Diowait.c44 int (*sleep)(struct sdma_engine *sde, in iowait_init()
H A Duser_sdma.h134 struct sdma_engine *sde;
H A Daffinity.c741 struct sdma_engine *sde = msix->arg; in hfi1_update_sdma_affinity()
839 struct sdma_engine *sde = NULL; in get_irq_affinity()
851 sde = (struct sdma_engine *)msix->arg; in get_irq_affinity()
H A Dverbs.h117 struct sdma_engine *s_sde; /* current sde */
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
H A 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()
H A Dta_xgmi_if.h76 enum ta_xgmi_assigned_sdma_engine sdma_engine; member
H A Dnv.c581 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in nv_init_doorbell_index()
582 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in nv_init_doorbell_index()
583 adev->doorbell_index.sdma_engine[2] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE2; in nv_init_doorbell_index()
584 adev->doorbell_index.sdma_engine[3] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE3; in nv_init_doorbell_index()
H A Damdgpu_doorbell.h67 uint32_t sdma_engine[16]; member
H A Dsoc21.c497 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in soc21_init_doorbell_index()
498 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in soc21_init_doorbell_index()
H A Damdgpu_psp.h150 enum ta_xgmi_assigned_sdma_engine sdma_engine; member
/openbmc/linux/drivers/dma/
H A Dimx-sdma.c369 struct sdma_engine;
440 struct sdma_engine *sdma;
516 struct sdma_engine { struct
685 static inline u32 chnenbl_ofs(struct sdma_engine *sdma, unsigned int event) in chnenbl_ofs()
694 struct sdma_engine *sdma = sdmac->sdma; in sdma_config_ownership()
727 static int is_sdma_channel_enabled(struct sdma_engine *sdma, int channel) in is_sdma_channel_enabled()
732 static void sdma_enable_channel(struct sdma_engine *sdma, int channel) in sdma_enable_channel()
740 static int sdma_run_channel0(struct sdma_engine *sdma) in sdma_run_channel0()
762 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, in sdma_load_script()
796 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_enable()
[all …]

12