PCI: rockchip: dw: Support dma_debug for DMA debug

Change-Id: Ia7b0392675f62fcbd9ba4e2205c55cd78dc9fa65
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2023-09-13 17:31:13 +08:00
committed by Tao Huang
parent dfe5e67967
commit db3e6bd550

View File

@@ -192,6 +192,7 @@ struct dma_trx_obj {
void (*config_dma_func)(struct dma_table *table);
int (*get_dma_status)(struct dma_trx_obj *obj, u8 chn, enum dma_dir dir);
int (*cb)(struct dma_trx_obj *obj, u32 chn, enum dma_dir dir);
void (*dma_debug)(struct dma_trx_obj *obj, struct dma_table *table);
ktime_t begin;
ktime_t end;
u64 cache_time_total;