ARM: dma-mapping: New dma_map_ops->iova_get_free_{total,max} functions
authorHiroshi Doyu <hdoyu@nvidia.com>
Tue, 6 Mar 2012 09:24:16 +0000 (11:24 +0200)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 10:20:33 +0000 (13:20 +0300)
commitec50aaafd2507afca090122af2beacc182132e1f
tree67eca9cb1b333e7c1d4d5b2011494210004d45a4
parent7c9d6cbbbcd56a8cf44d24ce1aae524a7c2e8fc8
ARM: dma-mapping: New dma_map_ops->iova_get_free_{total,max} functions

->iova>_get_free_total() returns the sum of available free areas.
->iova>_get_free_max() returns the largest available free area size.

Change-Id: I817ff46bea799a809e2e6b163b2e86cb737cf077
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c
include/linux/dma-mapping.h