static void GoToD3 (void) { printk("%s\n", __func__); mhl_tpi_info->change_hdmi_state(false); hdcp_off(); TxPowerStateD3(); MHLCableConnected = false; hdmiCableConnected = false; dsRxPoweredUp = false; bInTpiMode = false; mhl_tpi_info->cable_status_update(false); }
bool TPI_Init(void) { TPI_DEBUG_PRINT(("9232 SK ")); TPI_DEBUG_PRINT(("(X04)")); TPI_DEBUG_PRINT((" FW 0.22\n")); txPowerState = TX_POWER_STATE_D0; InitializeStateVariables(); TxHW_Reset(); WriteInitialRegisterValues(); I2C_WriteByte(TPI_SLAVE_ADDR, 0x7A, 0x14); if (!StartTPI()) { return false; } if (!ProductID_Read()) { return false; } hdcp_init(mhl_tpi_info); MHLCableConnected = FALSE; hdmiCableConnected = false; OnDownstreamRxPoweredDown(); WriteIndexedRegister(0x01, 0xA0, 0xD0); TPI_DEBUG_PRINT(("\ncalling CpCbusInitialize\n\n")); CpCbusInitialize(mhl_tpi_info); hdcp_off(); TxPowerStateD3(); MHLCableConnected = false; hdmiCableConnected = false; dsRxPoweredUp = false; bInTpiMode =false; txPowerState = txpsD3; return true; }
static void OnDownstreamRxPoweredDown(struct hdmi_info *hdmi) { HDMI_DBG("%s\n", __func__); dsRxPoweredUp = false; hdcp_off(hdmi); }