1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (c) 2010 Intel Corporation 3 * Copyright (c) 2010 Intel Corporation 4 */ 4 */ 5 5 6 #ifndef PCH_DMA_H 6 #ifndef PCH_DMA_H 7 #define PCH_DMA_H 7 #define PCH_DMA_H 8 8 9 #include <linux/dmaengine.h> 9 #include <linux/dmaengine.h> 10 10 11 enum pch_dma_width { 11 enum pch_dma_width { 12 PCH_DMA_WIDTH_1_BYTE, 12 PCH_DMA_WIDTH_1_BYTE, 13 PCH_DMA_WIDTH_2_BYTES, 13 PCH_DMA_WIDTH_2_BYTES, 14 PCH_DMA_WIDTH_4_BYTES, 14 PCH_DMA_WIDTH_4_BYTES, 15 }; 15 }; 16 16 17 struct pch_dma_slave { 17 struct pch_dma_slave { 18 struct device *dma_dev; 18 struct device *dma_dev; 19 unsigned int chan_id; 19 unsigned int chan_id; 20 dma_addr_t tx_reg; 20 dma_addr_t tx_reg; 21 dma_addr_t rx_reg; 21 dma_addr_t rx_reg; 22 enum pch_dma_width width; 22 enum pch_dma_width width; 23 }; 23 }; 24 24 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.