Re: [PATCH v1 3/5] dmaengine: dw: introduce register mappings for iDMA 32-bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 09, 2016 at 10:57:34PM +0300, Andy Shevchenko wrote:
> +/* iDMA 32-bit support */

Btw whats 32 bit here? AFAIR IP block was 64bit capable..

> +
> +/* Bitfields in CTL_HI */
> +#define IDMA32C_CTLH_BLOCK_TS_MASK	GENMASK(16, 0)
> +#define IDMA32C_CTLH_BLOCK_TS(x)	((x) & IDMA32C_CTLH_BLOCK_TS_MASK)
> +#define IDMA32C_CTLH_DONE		(1 << 17)

BIT() here and other places pls

> +#define IDMA32C_CTLH_CH_WEIGHT_MASK	GENMASK(28, 18)	/* weight mask */
> +#define IDMA32C_CTLH_CH_WEIGHT(x)	((x) << 18)	/* weight */

BIT(x)?

-- 
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux