Lines Matching refs:ops
17 struct dma_map_ops *ops = get_dma_ops(dev); in dma_supported() local
19 if (ops->dma_supported) in dma_supported()
20 return ops->dma_supported(dev, mask); in dma_supported()
27 struct dma_map_ops *ops = get_dma_ops(dev); in dma_set_mask() local
31 if (ops->set_dma_mask) in dma_set_mask()
32 return ops->set_dma_mask(dev, mask); in dma_set_mask()
47 struct dma_map_ops *ops = get_dma_ops(dev); in dma_mapping_error() local
50 if (ops->mapping_error) in dma_mapping_error()
51 return ops->mapping_error(dev, dma_addr); in dma_mapping_error()
62 struct dma_map_ops *ops = get_dma_ops(dev); in dma_alloc_attrs() local
67 if (!ops->alloc) in dma_alloc_attrs()
70 memory = ops->alloc(dev, size, dma_handle, gfp, attrs); in dma_alloc_attrs()
82 struct dma_map_ops *ops = get_dma_ops(dev); in dma_free_attrs() local
88 if (ops->free) in dma_free_attrs()
89 ops->free(dev, size, vaddr, dma_handle, attrs); in dma_free_attrs()