diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-04-24 11:30:02 -0400 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2014-05-05 18:11:13 -0400 |
commit | 18308c94723e162ed121942335bc186e66820a7a (patch) | |
tree | 48ac9d3721d820bdace974332f3925cc5dc2c02b /include/linux/fcntl.h | |
parent | 8febcaa2aac184d7e729acb75e9c4b80b04ad1b9 (diff) |
of: introduce of_dma_get_range() helper
The of_dma_get_range() allows to find "dma-range" property for
the specified device and parse it.
dma-ranges format:
DMA addr (dma_addr) : naddr cells
CPU addr (phys_addr_t) : pna cells
size : nsize cells
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Olof Johansson <olof@lixom.net>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'include/linux/fcntl.h')
0 files changed, 0 insertions, 0 deletions