On Thu, Feb 08, 2024 at 09:07:32PM +0100, Andi Shyti wrote:
Hi Lucas, ...+#define REG_GENMASK(__high, __low) GENMASK_U32(__high, __low) +#define REG_GENMASK64(__high, __low) GENMASK_U64(__high, __low) +#define REG_GENMASK16(__high, __low) GENMASK_U16(__high, __low) +#define REG_GENMASK8(__high, __low) GENMASK_U8(__high, __low)I was hoping to use directly GENMASK_U*() functions.
this would be something to be done on top on each drivers' trees, not something to apply here. Lucas De Marchi
Andi