root/include/linux/pch_dma.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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

/* [<][>][^][v][top][bottom][index][help] */