/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | sdma.h | 311 struct sdma_engine { struct 432 static inline int sdma_empty(struct sdma_engine *sde) in sdma_empty() argument 437 static inline u16 sdma_descq_freecnt(struct sdma_engine *sde) in sdma_descq_freecnt() 444 static inline u16 sdma_descq_inprocess(struct sdma_engine *sde) in sdma_descq_inprocess() 453 static inline int __sdma_running(struct sdma_engine *engine) in __sdma_running() 469 static inline int sdma_running(struct sdma_engine *engine) in sdma_running() 846 int sdma_send_txreq(struct sdma_engine *sde, 850 int sdma_send_txlist(struct sdma_engine *sde, 855 int sdma_ahg_alloc(struct sdma_engine *sde); 856 void sdma_ahg_free(struct sdma_engine *sde, int ahg_index); [all …]
|
D | sdma.c | 237 static void sdma_set_state(struct sdma_engine *, enum sdma_states); 238 static void sdma_start_hw_clean_up(struct sdma_engine *); 240 static void sdma_sendctrl(struct sdma_engine *, unsigned); 241 static void init_sdma_regs(struct sdma_engine *, u32, uint); 243 struct sdma_engine *sde, 246 struct sdma_engine *sde, 248 static void dump_sdma_state(struct sdma_engine *sde); 249 static void sdma_make_progress(struct sdma_engine *sde, u64 status); 250 static void sdma_desc_avail(struct sdma_engine *sde, uint avail); 251 static void sdma_flush_descq(struct sdma_engine *sde); [all …]
|
D | trace_tx.h | 150 TP_PROTO(struct sdma_engine *sde, 344 TP_PROTO(struct sdma_engine *sde, u64 status), 362 TP_PROTO(struct sdma_engine *sde, u64 status), 367 TP_PROTO(struct sdma_engine *sde, u64 status), 372 TP_PROTO(struct sdma_engine *sde, int aidx), 390 TP_PROTO(struct sdma_engine *sde, int aidx), 394 TP_PROTO(struct sdma_engine *sde, int aidx), 399 TP_PROTO(struct sdma_engine *sde, 437 TP_PROTO(struct sdma_engine *sde, 472 TP_PROTO(struct sdma_engine *sde, u64 sn), [all …]
|
D | vnic_sdma.c | 91 static noinline int build_vnic_ulp_payload(struct sdma_engine *sde, in build_vnic_ulp_payload() 126 static int build_vnic_tx_desc(struct sdma_engine *sde, in build_vnic_tx_desc() 172 struct sdma_engine *sde = vnic_sdma->sde; in hfi1_vnic_send_dma() 227 static int hfi1_vnic_sdma_sleep(struct sdma_engine *sde, in hfi1_vnic_sdma_sleep()
|
D | sysfs.c | 754 ssize_t (*show)(struct sdma_engine *sde, char *buf); 755 ssize_t (*store)(struct sdma_engine *sde, const char *buf, size_t cnt); 762 struct sdma_engine *sde = in sde_show() 763 container_of(kobj, struct sdma_engine, kobj); in sde_show() 776 struct sdma_engine *sde = in sde_store() 777 container_of(kobj, struct sdma_engine, kobj); in sde_store() 801 static ssize_t sde_show_cpu_to_sde_map(struct sdma_engine *sde, char *buf) in sde_show_cpu_to_sde_map() 806 static ssize_t sde_store_cpu_to_sde_map(struct sdma_engine *sde, in sde_store_cpu_to_sde_map() 812 static ssize_t sde_show_vl(struct sdma_engine *sde, char *buf) in sde_show_vl()
|
D | iowait.h | 77 struct sdma_engine; 142 struct sdma_engine *sde, 174 int (*sleep)(struct sdma_engine *sde,
|
D | msix.h | 59 int msix_request_sdma_irq(struct sdma_engine *sde);
|
D | verbs_txreq.h | 65 struct sdma_engine *sde;
|
D | msix.c | 228 int msix_request_sdma_irq(struct sdma_engine *sde) in msix_request_sdma_irq() 302 struct sdma_engine *sde = &dd->per_sdma[i]; in msix_request_irqs()
|
D | vnic.h | 86 struct sdma_engine *sde;
|
D | qp.c | 68 struct sdma_engine *sde, 478 struct sdma_engine *sde, in iowait_sleep() 580 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5) in qp_to_sdma_engine() 583 struct sdma_engine *sde; in qp_to_sdma_engine() 644 struct sdma_engine *sde; in qp_iter_print()
|
D | qp.h | 122 struct sdma_engine *qp_to_sdma_engine(struct rvt_qp *qp, u8 sc5);
|
D | ipoib.h | 84 struct sdma_engine *sde;
|
D | iowait.c | 44 int (*sleep)(struct sdma_engine *sde, in iowait_init()
|
D | user_sdma.h | 185 struct sdma_engine *sde;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | vega20_reg_init.c | 72 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()
|
D | vega10_reg_init.c | 72 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()
|
D | ta_xgmi_if.h | 75 enum ta_xgmi_assigned_sdma_engine sdma_engine; member
|
D | nv.c | 656 adev->doorbell_index.sdma_engine[0] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE0; in nv_init_doorbell_index() 657 adev->doorbell_index.sdma_engine[1] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE1; in nv_init_doorbell_index() 658 adev->doorbell_index.sdma_engine[2] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE2; in nv_init_doorbell_index() 659 adev->doorbell_index.sdma_engine[3] = AMDGPU_NAVI10_DOORBELL_sDMA_ENGINE3; in nv_init_doorbell_index()
|
D | amdgpu_doorbell.h | 55 uint32_t sdma_engine[8]; member
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | imx-sdma.c | 302 struct sdma_engine; 365 struct sdma_engine *sdma; 426 struct sdma_engine { struct 617 static inline u32 chnenbl_ofs(struct sdma_engine *sdma, unsigned int event) in chnenbl_ofs() 626 struct sdma_engine *sdma = sdmac->sdma; in sdma_config_ownership() 659 static void sdma_enable_channel(struct sdma_engine *sdma, int channel) in sdma_enable_channel() 667 static int sdma_run_channel0(struct sdma_engine *sdma) in sdma_run_channel0() 689 static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, in sdma_load_script() 724 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_enable() 736 struct sdma_engine *sdma = sdmac->sdma; in sdma_event_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager_v9.c | 213 unsigned int sdma_engine) in pm_unmap_queues_v9() argument 232 if (sdma_engine < 2) { in pm_unmap_queues_v9() 236 engine_sel__mes_unmap_queues__sdma0 + sdma_engine; in pm_unmap_queues_v9() 240 packet->bitfields2.engine_sel = sdma_engine; in pm_unmap_queues_v9()
|
D | kfd_packet_manager_vi.c | 203 unsigned int sdma_engine) in pm_unmap_queues_vi() argument 221 engine_sel__mes_unmap_queues__sdma0 + sdma_engine; in pm_unmap_queues_vi()
|
D | kfd_packet_manager.c | 380 unsigned int sdma_engine) in pm_send_unmap_queue() argument 396 reset, sdma_engine); in pm_send_unmap_queue()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0017_linux_drivers_dma_dmabuf.patch | 1788 struct sdma_engine *sdma; 1838 struct sdma_engine { 1853 @@ -444,6 +485,11 @@ struct sdma_engine { 1948 @@ -672,7 +765,7 @@ static int sdma_run_channel0(struct sdma_engine *sdma) 1957 @@ -686,36 +779,80 @@ static int sdma_run_channel0(struct sdma_engine *sdma) 1961 -static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, 1968 +static void sdma_add_scripts(struct sdma_engine *sdma, 1992 +static int sdma_load_script(struct sdma_engine *sdma) 2072 + struct sdma_engine *sdma = sdmac->sdma; 2135 struct sdma_engine *sdma = dev_id; [all …]
|