Changeset 772 for GPL/trunk/include/linux/dma-mapping.h
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/include/linux/dma-mapping.h
r703 r772 5 5 #include <linux/string.h> 6 6 #include <linux/err.h> 7 8 /* These definitions mirror those in pci.h, so they can be used9 * interchangeably with their PCI_ counterparts */10 enum dma_data_direction {11 DMA_BIDIRECTIONAL = 0,12 DMA_TO_DEVICE = 1,13 DMA_FROM_DEVICE = 2,14 DMA_NONE = 3,15 };16 7 17 8 /* … … 144 135 } 145 136 #define pci_set_consistent_dma_mask(p,x) pci_set_dma_mask(p,x) 137 138 static inline int dma_set_max_seg_size(struct device *dev, unsigned int size) 139 { 140 if (dev->dma_parms) { 141 dev->dma_parms->max_segment_size = size; 142 return 0; 143 } 144 return -EIO; 145 } 146 146 #endif
Note:
See TracChangeset
for help on using the changeset viewer.