/* There's no need to wait for the event processing to start as the URC will not clear URCCMD_ACTIVE until (internal) event buffer space is available.  */
static void whcrc_enable_events(struct whcrc *whcrc)
/* There's no need to wait for the event processing to start as the URC will not clear URCCMD_ACTIVE until (internal) event buffer space is available.  */
static void whcrc_enable_events(struct whcrc *whcrc)
{
	u32 urccmd;
	le_writeq(whcrc->evt_dma_buf, whcrc->rc_base + URCEVTADDR);
	spin_lock(&whcrc->irq_lock);
	urccmd = le_readl(whcrc->rc_base + URCCMD) & ~URCCMD_ACTIVE;
	le_writel(urccmd | URCCMD_EARV, whcrc->rc_base + URCCMD);
	spin_unlock(&whcrc->irq_lock);
}