mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 14:05:46 +07:00
c2a70a319a
As the pxa architecture and all its related drivers do not rely anymore on the filter function, thanks to the slave map conversion, make pxad_filter_fn() static, and remove it from the global namespace. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Vinod Koul <vkoul@kernel.org>
27 lines
637 B
C
27 lines
637 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PXA_DMA_H_
|
|
#define _PXA_DMA_H_
|
|
|
|
enum pxad_chan_prio {
|
|
PXAD_PRIO_HIGHEST = 0,
|
|
PXAD_PRIO_NORMAL,
|
|
PXAD_PRIO_LOW,
|
|
PXAD_PRIO_LOWEST,
|
|
};
|
|
|
|
/**
|
|
* struct pxad_param - dma channel request parameters
|
|
* @drcmr: requestor line number
|
|
* @prio: minimal mandatory priority of the channel
|
|
*
|
|
* If a requested channel is granted, its priority will be at least @prio,
|
|
* ie. if PXAD_PRIO_LOW is required, the requested channel will be either
|
|
* PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST.
|
|
*/
|
|
struct pxad_param {
|
|
unsigned int drcmr;
|
|
enum pxad_chan_prio prio;
|
|
};
|
|
|
|
#endif /* _PXA_DMA_H_ */
|