Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebieder...
[platform/kernel/linux-starfive.git] / include / linux / pch_dma.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2010 Intel Corporation
4  */
5
6 #ifndef PCH_DMA_H
7 #define PCH_DMA_H
8
9 #include <linux/dmaengine.h>
10
11 enum pch_dma_width {
12         PCH_DMA_WIDTH_1_BYTE,
13         PCH_DMA_WIDTH_2_BYTES,
14         PCH_DMA_WIDTH_4_BYTES,
15 };
16
17 struct pch_dma_slave {
18         struct device           *dma_dev;
19         unsigned int            chan_id;
20         dma_addr_t              tx_reg;
21         dma_addr_t              rx_reg;
22         enum pch_dma_width      width;
23 };
24
25 #endif