Lines Matching refs:dma_addr_t
22 dma_addr_t dma_start;
54 static inline dma_addr_t translate_phys_to_dma(struct device *dev, in translate_phys_to_dma()
61 return (dma_addr_t)paddr - m->offset; in translate_phys_to_dma()
68 dma_addr_t dma_addr) in translate_dma_to_phys()
85 static inline dma_addr_t phys_to_dma_unencrypted(struct device *dev, in phys_to_dma_unencrypted()
99 static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma()
104 static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dma_addr) in dma_to_phys()
126 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size, in dma_capable()
129 dma_addr_t end = addr + size - 1; in dma_capable()
141 void *dma_direct_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle,
144 dma_addr_t dma_addr, unsigned long attrs);
146 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp);
148 struct page *page, dma_addr_t dma_addr,
151 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr,