Beispiel #1
0
//////////////////////////////////////////////////////////////////////////////
// FUNCTION      :  EnableInterrupts()
// PURPOSE       :  Enable the interrupts specified in the input parameter
// INPUT PARAMS  :  A bit pattern with "1" for each interrupt that needs to be
//                  set in the Interrupt Enable Register (TPI offset 0x3C)
// OUTPUT PARAMS :  void
// GLOBALS USED  :  None
// RETURNS       :  TRUE
//////////////////////////////////////////////////////////////////////////////
bool tpi_enable_interrupts(struct hdmi_info *hdmi, u8 Interrupt_Pattern)
{
	HDMI_DBG("%s, reg=%02x, pat=%02x\n", __func__, TPI_INTERRUPT_EN, Interrupt_Pattern);
	ReadSetWriteTPI(hdmi, TPI_INTERRUPT_EN, Interrupt_Pattern);
	return true;
}
Beispiel #2
0
bool tpi_enable_interrupts(uint8_t Interrupt_Pattern)
{
	TPI_DEBUG_PRINT(("%s, reg=%02x, pat=%02x\n", __func__, 0x3C, Interrupt_Pattern));
	ReadSetWriteTPI(0x3C, Interrupt_Pattern);
	return true;
}
Beispiel #3
0
void DisableTMDS(struct hdmi_info *hdmi)
{
	/* 0x1A[4] = 1 */
	//ReadClearWriteTPI(hdmi, TPI_SYSTEM_CONTROL, BIT_TMDS_OUTPUT);
	ReadSetWriteTPI(hdmi, TPI_SYSTEM_CONTROL, BIT_TMDS_OUTPUT);
}