]> www.infradead.org Git - nvme.git/commit
dmaengine: xilinx_dma: Introduce helper macro for preparing dma address
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Sat, 29 Sep 2018 17:17:59 +0000 (11:17 -0600)
committerVinod Koul <vkoul@kernel.org>
Sun, 11 Nov 2018 10:33:30 +0000 (16:03 +0530)
commit4e47d24a908c882b94c3f60cec56f02ac4e9bcea
tree8b39a4a9f1936623708fe96e40793d5fa8c7003b
parent91b438286ef227b5a9148156896175c8e386c6b2
dmaengine: xilinx_dma: Introduce helper macro for preparing dma address

This patch introduces the xilinx_prep_dma_addr_t macro which prepares
dma_addr_t from hardware buffer descriptor LSB and MSB fields. It will
be used in simple dma 64-bit programming sequence.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Reviewed-by: Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c