LVL_CLK_MASK
if (clk & LVL_CLK_MASK)
unsigned long lvl_clk = clk & LVL_CLK_MASK;
if (pos <= ((LVL_CLK_DIV - lvl_clk) & LVL_CLK_MASK))