/* cm_control - update the CM_CTRL register. @mask: bits to change @set: bits to set  */
void cm_control(u32 mask, u32 set)
/* cm_control - update the CM_CTRL register. @mask: bits to change @set: bits to set  */
void cm_control(u32 mask, u32 set)
{
	unsigned long flags;
	u32 val;
	spin_lock_irqsave(&cm_lock, flags);
	val = readl(CM_CTRL) & ~mask;
	writel(val | set, CM_CTRL);
	spin_unlock_irqrestore(&cm_lock, flags);
}