rem: ENG_REG32(RG32_FUNCSEL) &= ~0x00001000; ENG_REG32(RG32_2FUNCSEL) |= 0x00001000;
context: status_t eng_bes_to_crtc(bool crtc){	if (si->ps.secondary_head)	{		if (crtc)		{			LOG(4,("Overlay: switching overlay to CRTC2\n"));			/* switch overlay engine to CRTC2 */			ENG_REG32(RG32_FUNCSEL) &= ~0x00001000;			ENG_REG32(RG32_2FUNCSEL) |= 0x00001000;			si->overlay.crtc = !si->crtc_switch_mode;		}		else		{			LOG(4,("Overlay: switching overlay to CRTC1\n"));			/* switch overlay engine to CRTC1 */			ENG_REG32(RG32_2FUNCSEL) &= ~0x00001000;			ENG_REG32(RG32_FUNCSEL) |= 0x00001000;			si->overlay.crtc = si->crtc_switch_mode;		}		return B_OK;	}	else	{		return B_ERROR;	}}