• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/

Lines Matching refs:dma

26 #include <linux/dma-mapping.h>
57 * automatically set as dma devices are registered.
84 * @DMA_COMPL_SKIP_SRC_UNMAP - set to disable dma-unmapping the source buffer(s)
85 * @DMA_COMPL_SKIP_DEST_UNMAP - set to disable dma-unmapping the destination(s)
86 * @DMA_COMPL_SRC_UNMAP_SINGLE - set to do the source dma-unmapping as single
87 * (if not set, do the source dma-unmapping as page)
88 * @DMA_COMPL_DEST_UNMAP_SINGLE - set to do the destination dma-unmapping as single
89 * (if not set, do the destination dma-unmapping as page)
169 * @device: ptr to the dma device who supplies this channel, always !%NULL
221 * struct dma_slave_config - dma slave channel runtime config
296 * ---dma generic offload fields---
413 * @dev: struct device reference for dma mapping api
424 * @device_prep_slave_sg: prepares a slave dma operation
527 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue)
529 dma->max_pq = maxpq;
531 dma->max_pq |= DMA_HAS_PQ_CONTINUE;
546 static inline bool dma_dev_has_pq_continue(struct dma_device *dma)
548 return (dma->max_pq & DMA_HAS_PQ_CONTINUE) == DMA_HAS_PQ_CONTINUE;
551 static inline unsigned short dma_dev_to_maxpq(struct dma_device *dma)
553 return dma->max_pq & ~DMA_HAS_PQ_CONTINUE;
557 * @dma - dma device with PQ capability
569 static inline int dma_maxpq(struct dma_device *dma, enum dma_ctrl_flags flags)
571 if (dma_dev_has_pq_continue(dma) || !dmaf_continue(flags))
572 return dma_dev_to_maxpq(dma);
574 return dma_dev_to_maxpq(dma) - 1;
576 return dma_dev_to_maxpq(dma) - 3;