printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / platform_data / amd_qdma.h
blob576d952f97edd433e4d1ac867eeaa2d771dd0456
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2023-2024, Advanced Micro Devices, Inc.
4 */
6 #ifndef _PLATDATA_AMD_QDMA_H
7 #define _PLATDATA_AMD_QDMA_H
9 #include <linux/dmaengine.h>
11 /**
12 * struct qdma_queue_info - DMA queue information. This information is used to
13 * match queue when DMA channel is requested
14 * @dir: Channel transfer direction
16 struct qdma_queue_info {
17 enum dma_transfer_direction dir;
20 #define QDMA_FILTER_PARAM(qinfo) ((void *)(qinfo))
22 struct dma_slave_map;
24 /**
25 * struct qdma_platdata - Platform specific data for QDMA engine
26 * @max_mm_channels: Maximum number of MM DMA channels in each direction
27 * @device_map: DMA slave map
28 * @irq_index: The index of first IRQ
30 struct qdma_platdata {
31 u32 max_mm_channels;
32 u32 irq_index;
33 struct dma_slave_map *device_map;
36 #endif /* _PLATDATA_AMD_QDMA_H */