Merge tag 'xfs-6.4-rc1-fixes' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-block.git] / include / linux / pch_dma.h
CommitLineData
82c29810 1/* SPDX-License-Identifier: GPL-2.0-only */
0c42bd0e
YW
2/*
3 * Copyright (c) 2010 Intel Corporation
0c42bd0e
YW
4 */
5
6#ifndef PCH_DMA_H
7#define PCH_DMA_H
8
9#include <linux/dmaengine.h>
10
11enum pch_dma_width {
12 PCH_DMA_WIDTH_1_BYTE,
13 PCH_DMA_WIDTH_2_BYTES,
14 PCH_DMA_WIDTH_4_BYTES,
15};
16
17struct 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