Ejemplo n.º 1
0
static void tpi_disable_interrupts(struct hdmi_info *hdmi, u8 pattern)
{
/*
	HDMI_DBG("%s, reg=%02x, pat=%02x\n", __func__,
			TPI_INTERRUPT_EN, pattern);
*/
	ReadClearWriteTPI(hdmi, TPI_INTERRUPT_EN, pattern);
}
Ejemplo n.º 2
0
void EnableTMDS(struct hdmi_info *hdmi)
{
#if 1
	/* 0x1A[4] = 0 */
	ReadClearWriteTPI(hdmi, TPI_SYSTEM_CONTROL, BIT_TMDS_OUTPUT);

	if (edid_check_sink_type(hdmi))
		hdmi_write_byte(hdmi->client, 0x26,
			hdmi_read(hdmi->client, 0x26) & ~0x10);

#else
	u8 val;
	struct i2c_client *client = hdmi->i2c_client;

	val = hdmi_read(client, TPI_SYSTEM_CONTROL);
	hdmi_write_byte(client, TPI_SYSTEM_CONTROL, val & ~BIT_TMDS_OUTPUT);
	HDMI_DBG("%s, reg 0x1a: %02x->%02x\n", __func__,
		val, val & ~BIT_TMDS_OUTPUT); 
#endif
	
}
Ejemplo n.º 3
0
static void DisableInterrupts(uint8_t Interrupt_Pattern) 
{
	ReadClearWriteTPI(0x3C, Interrupt_Pattern);
	ReadModifyWriteIndexedRegister(0x01, 0x75, BIT_5, 0);
}
Ejemplo n.º 4
0
void tpi_disable_interrupts(uint8_t pattern)
{
	ReadClearWriteTPI(0x3C, pattern);
}