X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2FDMA-API.txt;h=e865279cec5855818d83eb281fcce06ee0510040;hb=5dc4b0ea1abf5270a18f19bad9de171f62e89167;hp=78a6c569d204bc0073e33fe093d34a8137e5eaf4;hpb=86feff3f3eb643cc5735d414e46a8201a8c67b8f;p=karo-tx-linux.git diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt index 78a6c569d204..e865279cec58 100644 --- a/Documentation/DMA-API.txt +++ b/Documentation/DMA-API.txt @@ -141,6 +141,14 @@ won't change the current mask settings. It is more intended as an internal API for use by the platform than an external API for use by driver writers. +int +dma_set_mask_and_coherent(struct device *dev, u64 mask) + +Checks to see if the mask is possible and updates the device +streaming and coherent DMA mask parameters if it is. + +Returns: 0 if successful and a negative error if not. + int dma_set_mask(struct device *dev, u64 mask)