]> www.infradead.org Git - nvme.git/commit
dmaengine: idxd: Update calculation of group offset to be more readable
authorDave Jiang <dave.jiang@intel.com>
Fri, 30 Oct 2020 15:49:06 +0000 (08:49 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Nov 2020 11:47:46 +0000 (17:17 +0530)
commit5a71270197f39ff3e526cf130bc5d6e84db8f2d7
tree199b53ce5a48e8638095a9bfafedbe752b31b900
parent4749f51ddd8aee5c7aa11e6593a54f96374a77ad
dmaengine: idxd: Update calculation of group offset to be more readable

Create helper macros to make group offset calculation more readable.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/160407294683.839093.10740868559754142070.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c
drivers/dma/idxd/registers.h