Lines Matching refs:pCECArgs
188 stCEC_PORT_SELECT pCECArgs = {0}; in MApi_CEC_PortSelcet() local
190 pCECArgs.InputPort = InputPort; in MApi_CEC_PortSelcet()
196 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_PORT_SELECT, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_PortSelcet()
235 stCEC_DDC2BI_GET_INFO pCECArgs = {0}; in MApi_DDC2BI_GetInfo() local
237 pCECArgs.eInfo = pInfo; in MApi_DDC2BI_GetInfo()
238 pCECArgs.bGetInfo = FALSE; in MApi_DDC2BI_GetInfo()
244 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_DDC2BI_GET_INFO, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_DDC2BI_GetInfo()
249 return pCECArgs.bGetInfo; in MApi_DDC2BI_GetInfo()
325 stCEC_INIT pCECArgs = {0}; in MApi_CEC_Init() local
327 pCECArgs.u32XTAL_CLK_Hz = pCECInfo->u32XTAL_CLK_Hz; in MApi_CEC_Init()
333 else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_INIT, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCESS) in MApi_CEC_Init()
352 stCEC_INIT_CHIP pCECArgs = {0}; in MApi_CEC_InitChip() local
354 pCECArgs.u32XTAL_CLK_Hz = pCECInfo->u32XTAL_CLK_Hz; in MApi_CEC_InitChip()
368 … if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_INIT_CHIP, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCESS) in MApi_CEC_InitChip()
387 stCEC_SET_MY_LOGICAL_ADDRESS pCECArgs = {0}; in MApi_CEC_SetMyLogicalAddress() local
389 pCECArgs.myLA = myLA; in MApi_CEC_SetMyLogicalAddress()
395 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_MY_LOGICAL_ADDRESS, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_SetMyLogicalAddress()
439 stCEC_TX_SEND_MSG pCECArgs = {0}; in MApi_CEC_TxSendMsg() local
441 pCECArgs.eDetAddr = dst_address; in MApi_CEC_TxSendMsg()
442 pCECArgs.eMsg = msg; in MApi_CEC_TxSendMsg()
443 pCECArgs.ucCmd = cmd; in MApi_CEC_TxSendMsg()
444 pCECArgs.ucLen = len; in MApi_CEC_TxSendMsg()
445 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_TxSendMsg()
451 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_TX_SEND_MSG, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_TxSendMsg()
456 return pCECArgs.eErrorCode; in MApi_CEC_TxSendMsg()
474 stCEC_TX_SEND_MSG2 pCECArgs = {0}; in MApi_CEC_TxSendMsg2() local
476 pCECArgs.eDetAddr = dst_address; in MApi_CEC_TxSendMsg2()
477 pCECArgs.eMsg = msg; in MApi_CEC_TxSendMsg2()
478 pCECArgs.ucCmd = cmd; in MApi_CEC_TxSendMsg2()
479 pCECArgs.ucLen = len; in MApi_CEC_TxSendMsg2()
480 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_TxSendMsg2()
486 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_TX_SEND_MSG2, (void*)&pCECArgs) != UTOPIA_STATUS_SUCC… in MApi_CEC_TxSendMsg2()
491 return pCECArgs.eErrorCode; in MApi_CEC_TxSendMsg2()
506 stCEC_TX_SEND_POLLING_MSG pCECArgs = {0}; in MsAPI_CecTxSendPollingMsg() local
508 pCECArgs.eDetAddr = dst_address; in MsAPI_CecTxSendPollingMsg()
509 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MsAPI_CecTxSendPollingMsg()
515 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_TX_SEND_POLLING_MSG, (void*)&pCECArgs) != UTOPIA_STAT… in MsAPI_CecTxSendPollingMsg()
520 return pCECArgs.eErrorCode; in MsAPI_CecTxSendPollingMsg()
540 stCEC_TX_SEND_POLLING_MSG pCECArgs = {0}; in MApi_CEC_Msg_ActiveSource() local
542 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ActiveSource()
548 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_ACTIVE_SOURCE, (void*)&pCECArgs) != UTOPIA_STATUS… in MApi_CEC_Msg_ActiveSource()
553 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ActiveSource()
573 stCEC_MSG_ROUTING_CHANGE pCECArgs = {0}; in MApi_CEC_Msg_RoutingChange() local
575 pCECArgs.ucOrigAddr = orig_address; in MApi_CEC_Msg_RoutingChange()
576 pCECArgs.ucNewAddr = new_address; in MApi_CEC_Msg_RoutingChange()
577 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_RoutingChange()
583 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_ROUTING_CHANGE, (void*)&pCECArgs) != UTOPIA_STATU… in MApi_CEC_Msg_RoutingChange()
588 return pCECArgs.eErrorCode; in MApi_CEC_Msg_RoutingChange()
607 stCEC_MSG_REQ_ACTIVE_SOURCE pCECArgs = {0}; in MApi_CEC_Msg_ReqActiveSource() local
609 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReqActiveSource()
615 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_ACTIVE_SOURCE, (void*)&pCECArgs) != UTOPIA_ST… in MApi_CEC_Msg_ReqActiveSource()
620 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReqActiveSource()
639 stCEC_MSG_SET_STREAM_PATH pCECArgs = {0}; in MApi_CEC_Msg_SetStreamPath() local
641 pCECArgs.ucNewAddr = new_address; in MApi_CEC_Msg_SetStreamPath()
642 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_SetStreamPath()
648 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_SET_STREAM_PATH, (void*)&pCECArgs) != UTOPIA_STAT… in MApi_CEC_Msg_SetStreamPath()
653 return pCECArgs.eErrorCode; in MApi_CEC_Msg_SetStreamPath()
674 stCEC_MSG_STANDBY pCECArgs = {0}; in MApi_CEC_Msg_Standby() local
676 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_Standby()
677 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_Standby()
683 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_STANDBY, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_Msg_Standby()
688 return pCECArgs.eErrorCode; in MApi_CEC_Msg_Standby()
707 stCEC_MSG_RECORD_OFF pCECArgs = {0}; in MApi_CEC_Msg_RecordOff() local
709 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_RecordOff()
710 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_RecordOff()
716 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_RECORD_OFF, (void*)&pCECArgs) != UTOPIA_STATUS_SU… in MApi_CEC_Msg_RecordOff()
721 return pCECArgs.eErrorCode; in MApi_CEC_Msg_RecordOff()
740 stCEC_MSG_RECORD_ON pCECArgs = {0}; in MsAPI_CEC_Msg_RecordOn() local
742 pCECArgs.eDetAddr = dst_address; in MsAPI_CEC_Msg_RecordOn()
743 pCECArgs.eCmd = cmd; in MsAPI_CEC_Msg_RecordOn()
744 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MsAPI_CEC_Msg_RecordOn()
750 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_RECORD_ON, (void*)&pCECArgs) != UTOPIA_STATUS_SUC… in MsAPI_CEC_Msg_RecordOn()
755 return pCECArgs.eErrorCode; in MsAPI_CEC_Msg_RecordOn()
775 stCEC_MSG_REPORT_CEC_VERSION pCECArgs = {0}; in MApi_CEC_Msg_ReportCECVersion() local
777 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReportCECVersion()
778 pCECArgs.ucVersion = version; in MApi_CEC_Msg_ReportCECVersion()
779 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReportCECVersion()
785 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REPORT_CEC_VERSION, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_Msg_ReportCECVersion()
790 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReportCECVersion()
809 stCEC_MSG_REQ_CEC_VERSION pCECArgs = {0}; in MApi_CEC_Msg_ReqCECVersion() local
811 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReqCECVersion()
812 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReqCECVersion()
818 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_CEC_VERSION, (void*)&pCECArgs) != UTOPIA_STAT… in MApi_CEC_Msg_ReqCECVersion()
823 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReqCECVersion()
842 stCEC_MSG_REPORT_PHYCAL_ADDRESS pCECArgs = {0}; in MApi_CEC_Msg_ReportPhycalAddress() local
844 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReportPhycalAddress()
850 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REPORT_PHYCAL_ADDRESS, (void*)&pCECArgs) != UTOPI… in MApi_CEC_Msg_ReportPhycalAddress()
855 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReportPhycalAddress()
874 stCEC_MSG_REQ_PHYCAL_ADDRESS pCECArgs = {0}; in MApi_CEC_Msg_ReqPhycalAddress() local
876 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReqPhycalAddress()
877 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReqPhycalAddress()
883 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_PHYCAL_ADDRESS, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_Msg_ReqPhycalAddress()
888 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReqPhycalAddress()
908 stCEC_MSG_DECK_CONTROL pCECArgs = {0}; in MApi_CEC_Msg_DeckControl() local
910 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_DeckControl()
911 pCECArgs.eCmd = cmd; in MApi_CEC_Msg_DeckControl()
912 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_DeckControl()
918 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_DECK_CONTROL, (void*)&pCECArgs) != UTOPIA_STATUS_… in MApi_CEC_Msg_DeckControl()
923 return pCECArgs.eErrorCode; in MApi_CEC_Msg_DeckControl()
943 stCEC_MSG_DEC_STATUS pCECArgs = {0}; in MApi_CEC_Msg_DecStatus() local
945 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_DecStatus()
946 pCECArgs.eCmd = cmd; in MApi_CEC_Msg_DecStatus()
947 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_DecStatus()
953 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_DEC_STATUS, (void*)&pCECArgs) != UTOPIA_STATUS_SU… in MApi_CEC_Msg_DecStatus()
958 return pCECArgs.eErrorCode; in MApi_CEC_Msg_DecStatus()
978 stCEC_MSG_GIVE_DECK_STATUS pCECArgs = {0}; in MApi_CEC_MSg_GiveDeckStatus() local
980 pCECArgs.eDetAddr = dst_address; in MApi_CEC_MSg_GiveDeckStatus()
981 pCECArgs.eCmd = cmd; in MApi_CEC_MSg_GiveDeckStatus()
982 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_MSg_GiveDeckStatus()
988 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_GIVE_DECK_STATUS, (void*)&pCECArgs) != UTOPIA_STA… in MApi_CEC_MSg_GiveDeckStatus()
993 return pCECArgs.eErrorCode; in MApi_CEC_MSg_GiveDeckStatus()
1013 stCEC_MSG_DC_PLAY pCECArgs = {0}; in MApi_CEC_MSg_DCPlay() local
1015 pCECArgs.eDetAddr = dst_address; in MApi_CEC_MSg_DCPlay()
1016 pCECArgs.eCmd = cmd; in MApi_CEC_MSg_DCPlay()
1017 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_MSg_DCPlay()
1023 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_DC_PLAY, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_MSg_DCPlay()
1028 return pCECArgs.eErrorCode; in MApi_CEC_MSg_DCPlay()
1048 stCEC_MSG_REQ_MENU_STATUS pCECArgs = {0}; in MApi_CEC_Msg_ReqMenuStatus() local
1050 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReqMenuStatus()
1051 pCECArgs.eCmd = cmd; in MApi_CEC_Msg_ReqMenuStatus()
1052 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReqMenuStatus()
1058 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_MENU_STATUS, (void*)&pCECArgs) != UTOPIA_STAT… in MApi_CEC_Msg_ReqMenuStatus()
1063 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReqMenuStatus()
1083 stCEC_MSG_USER_CTRL_PRESSED pCECArgs = {0}; in MApi_CEC_Msg_UserCtrlPressed() local
1085 pCECArgs.bUserCtrlEn = bUserCtrlEn; in MApi_CEC_Msg_UserCtrlPressed()
1086 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_UserCtrlPressed()
1087 pCECArgs.eCmd = cmd; in MApi_CEC_Msg_UserCtrlPressed()
1088 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_UserCtrlPressed()
1094 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_USER_CTRL_PRESSED, (void*)&pCECArgs) != UTOPIA_ST… in MApi_CEC_Msg_UserCtrlPressed()
1099 return pCECArgs.eErrorCode; in MApi_CEC_Msg_UserCtrlPressed()
1118 stCEC_MSG_USER_CTRL_RELEASED pCECArgs = {0}; in MApi_CEC_Msg_UserCtrlReleased() local
1120 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_UserCtrlReleased()
1121 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_UserCtrlReleased()
1127 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_USER_CTRL_RELEASED, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_Msg_UserCtrlReleased()
1132 return pCECArgs.eErrorCode; in MApi_CEC_Msg_UserCtrlReleased()
1151 stCEC_MSG_REPORT_POWER_STATUS pCECArgs = {0}; in MApi_CEC_Msg_ReportPowerStatus() local
1153 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReportPowerStatus()
1154 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReportPowerStatus()
1160 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REPORT_POWER_STATUS, (void*)&pCECArgs) != UTOPIA_… in MApi_CEC_Msg_ReportPowerStatus()
1165 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReportPowerStatus()
1184 stCEC_MSG_REQ_POWER_STATUS pCECArgs = {0}; in MApi_CEC_Msg_ReqPowerStatus() local
1186 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_ReqPowerStatus()
1187 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReqPowerStatus()
1193 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_POWER_STATUS, (void*)&pCECArgs) != UTOPIA_STA… in MApi_CEC_Msg_ReqPowerStatus()
1198 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReqPowerStatus()
1219 stCEC_MSG_FEATURE_ABORT pCECArgs = {0}; in MApi_CEC_Msg_FeatureAbort() local
1221 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_FeatureAbort()
1222 pCECArgs.eMsg = msg; in MApi_CEC_Msg_FeatureAbort()
1223 pCECArgs.eCmd = cmd; in MApi_CEC_Msg_FeatureAbort()
1224 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_FeatureAbort()
1230 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_FEATURE_ABORT, (void*)&pCECArgs) != UTOPIA_STATUS… in MApi_CEC_Msg_FeatureAbort()
1235 return pCECArgs.eErrorCode; in MApi_CEC_Msg_FeatureAbort()
1254 stCEC_MSG_ABORT pCECArgs = {0}; in MApi_CEC_Msg_Abort() local
1256 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_Abort()
1257 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_Abort()
1263 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_ABORT, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCESS) in MApi_CEC_Msg_Abort()
1268 return pCECArgs.eErrorCode; in MApi_CEC_Msg_Abort()
1287 stCEC_MSG_SEND_MENU_LANGUAGE pCECArgs = {0}; in MApi_CEC_Msg_SendMenuLanguage() local
1289 pCECArgs.pu8MenulanguageCode = pu8MenuLanguageCode; in MApi_CEC_Msg_SendMenuLanguage()
1290 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_SendMenuLanguage()
1296 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_SEND_MENU_LANGUAGE, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_Msg_SendMenuLanguage()
1301 return pCECArgs.eErrorCode; in MApi_CEC_Msg_SendMenuLanguage()
1321 stCEC_MSG_REQ_ARC_INITIATION pCECArgs = {0}; in MsAPI_CecMsg_ReqARCInitiation() local
1323 pCECArgs.eDetAddr = dst_address; in MsAPI_CecMsg_ReqARCInitiation()
1324 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MsAPI_CecMsg_ReqARCInitiation()
1330 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_ARC_INITIATION, (void*)&pCECArgs) != UTOPIA_S… in MsAPI_CecMsg_ReqARCInitiation()
1335 return pCECArgs.eErrorCode; in MsAPI_CecMsg_ReqARCInitiation()
1355 stCEC_MSG_REQ_ARC_TERMINATION pCECArgs = {0}; in MsAPI_CecMsg_ReqARCTermination() local
1357 pCECArgs.eDetAddr = dst_address; in MsAPI_CecMsg_ReqARCTermination()
1358 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MsAPI_CecMsg_ReqARCTermination()
1364 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REQ_ARC_TERMINATION, (void*)&pCECArgs) != UTOPIA_… in MsAPI_CecMsg_ReqARCTermination()
1369 return pCECArgs.eErrorCode; in MsAPI_CecMsg_ReqARCTermination()
1391 stCEC_MSG_AUDIO_MODE_REQ pCECArgs = {0}; in MsAPI_CecMsg_AudioModeReq() local
1393 pCECArgs.eDetAddr = dst_address; in MsAPI_CecMsg_AudioModeReq()
1394 pCECArgs.bAmpSwitch = amp_switch; in MsAPI_CecMsg_AudioModeReq()
1395 pCECArgs.ucMyAddress = my_address; in MsAPI_CecMsg_AudioModeReq()
1396 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MsAPI_CecMsg_AudioModeReq()
1402 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_AUDIO_MODE_REQ, (void*)&pCECArgs) != UTOPIA_STATU… in MsAPI_CecMsg_AudioModeReq()
1407 return pCECArgs.eErrorCode; in MsAPI_CecMsg_AudioModeReq()
1426 stCEC_MSG_GIVE_AUDIO_STATUS pCECArgs = {0}; in MApi_CEC_Msg_GiveAudioStatus() local
1428 pCECArgs.eDetAddr = dst_address; in MApi_CEC_Msg_GiveAudioStatus()
1429 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_GiveAudioStatus()
1435 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_GIVE_AUDIO_STATUS, (void*)&pCECArgs) != UTOPIA_ST… in MApi_CEC_Msg_GiveAudioStatus()
1440 return pCECArgs.eErrorCode; in MApi_CEC_Msg_GiveAudioStatus()
1455 stCEC_GET_HEADER pCECArgs = {0}; in MApi_CEC_Get_Header() local
1457 pCECArgs.ucValue = 0; in MApi_CEC_Get_Header()
1463 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_HEADER, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCES… in MApi_CEC_Get_Header()
1468 return pCECArgs.ucValue; in MApi_CEC_Get_Header()
1483 stCEC_GET_OPCODE pCECArgs = {0}; in MApi_CEC_Get_OpCode() local
1485 pCECArgs.ucValue = 0; in MApi_CEC_Get_OpCode()
1491 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_OPCODE, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCES… in MApi_CEC_Get_OpCode()
1496 return pCECArgs.ucValue; in MApi_CEC_Get_OpCode()
1511 stCEC_GET_PARA pCECArgs = {0}; in MApi_CEC_Get_Para() local
1513 pCECArgs.ucIdx = u8Idx; in MApi_CEC_Get_Para()
1514 pCECArgs.ucValue = 0; in MApi_CEC_Get_Para()
1520 … else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_PARA, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCESS) in MApi_CEC_Get_Para()
1525 return pCECArgs.ucValue; in MApi_CEC_Get_Para()
1540 stCEC_GET_CMD_LEN pCECArgs = {0}; in MApi_CEC_GetCmdLen() local
1542 pCECArgs.ucValue = 0; in MApi_CEC_GetCmdLen()
1548 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_CMD_LEN, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_GetCmdLen()
1553 return pCECArgs.ucValue; in MApi_CEC_GetCmdLen()
1568 stCEC_SET_ACTIVE_LOGICAL_ADDRESS pCECArgs = {0}; in MApi_CEC_SetActiveLogicalAddress() local
1570 pCECArgs.eAddr = Addr; in MApi_CEC_SetActiveLogicalAddress()
1576 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_ACTIVE_LOGICAL_ADDRESS, (void*)&pCECArgs) != UTOP… in MApi_CEC_SetActiveLogicalAddress()
1594 stCEC_GET_ACTIVE_LOGICAL_ADDRESS pCECArgs = {0}; in MApi_CEC_GetActiveLogicalAddress() local
1596 pCECArgs.eAddr = E_LA_UNREGISTERED; in MApi_CEC_GetActiveLogicalAddress()
1602 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_ACTIVE_LOGICAL_ADDRESS, (void*)&pCECArgs) != UTOP… in MApi_CEC_GetActiveLogicalAddress()
1607 return pCECArgs.eAddr; in MApi_CEC_GetActiveLogicalAddress()
1622 stCEC_GET_POWER_STATUS pCECArgs = {0}; in MApi_CEC_GetPowerStatus() local
1624 pCECArgs.ePowerStatus = E_MSG_PWRSTA_UNKNOW; in MApi_CEC_GetPowerStatus()
1630 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_POWER_STATUS, (void*)&pCECArgs) != UTOPIA_STATUS_… in MApi_CEC_GetPowerStatus()
1635 return pCECArgs.ePowerStatus; in MApi_CEC_GetPowerStatus()
1650 stCEC_GET_FIFO_IDX pCECArgs = {0}; in MApi_CEC_GetFifoIdx() local
1652 pCECArgs.ucFifoIdx = 0; in MApi_CEC_GetFifoIdx()
1658 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_FIFO_IDX, (void*)&pCECArgs) != UTOPIA_STATUS_SUCC… in MApi_CEC_GetFifoIdx()
1663 return pCECArgs.ucFifoIdx; in MApi_CEC_GetFifoIdx()
1678 stCEC_SET_FIFO_IDX pCECArgs = {0}; in MApi_CEC_SetFifoIdx() local
1680 pCECArgs.ucIdx = u8Idx; in MApi_CEC_SetFifoIdx()
1686 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_FIFO_IDX, (void*)&pCECArgs) != UTOPIA_STATUS_SUCC… in MApi_CEC_SetFifoIdx()
1704 stCEC_SET_ACTIVE_POWER_STATUS pCECArgs = {0}; in MApi_CEC_SetActivePowerStatus() local
1706 pCECArgs.eStatus = Status; in MApi_CEC_SetActivePowerStatus()
1712 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_ACTIVE_POWER_STATUS, (void*)&pCECArgs) != UTOPIA_… in MApi_CEC_SetActivePowerStatus()
1730 stCEC_GET_ACTIVE_POWER_STATUS pCECArgs = {0}; in MApi_CEC_GetActivePowerStatus() local
1732 pCECArgs.ePowerStatus = E_MSG_PWRSTA_UNKNOW; in MApi_CEC_GetActivePowerStatus()
1738 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_ACTIVE_POWER_STATUS, (void*)&pCECArgs) != UTOPIA_… in MApi_CEC_GetActivePowerStatus()
1743 return pCECArgs.ePowerStatus; in MApi_CEC_GetActivePowerStatus()
1758 stCEC_SET_ACTIVE_PHYSICAL_ADDRESS pCECArgs = {0}; in MApi_CEC_SetActivePhysicalAddress() local
1760 pCECArgs.ucPara1 = u8Para1; in MApi_CEC_SetActivePhysicalAddress()
1761 pCECArgs.ucPara2 = u8Para2; in MApi_CEC_SetActivePhysicalAddress()
1767 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_ACTIVE_PHYSICAL_ADDRESS, (void*)&pCECArgs) != UTO… in MApi_CEC_SetActivePhysicalAddress()
1785 stCEC_SET_ACTIVE_DEVICE_CEC_VERSION pCECArgs = {0}; in MApi_CEC_SetActiveDeviceCECVersion() local
1787 pCECArgs.ucVer = u8Ver; in MApi_CEC_SetActiveDeviceCECVersion()
1793 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_ACTIVE_DEVICE_CEC_VERSION, (void*)&pCECArgs) != U… in MApi_CEC_SetActiveDeviceCECVersion()
1811 stCEC_SET_ACTIVE_DEVICE_TYPE pCECArgs = {0}; in MApi_CEC_SetActiveDeviceType() local
1813 pCECArgs.eType = Type; in MApi_CEC_SetActiveDeviceType()
1819 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_ACTIVE_DEVICE_TYPE, (void*)&pCECArgs) != UTOPIA_S… in MApi_CEC_SetActiveDeviceType()
1837 stCEC_GET_MSG_CNT pCECArgs = {0}; in MApi_CEC_GetMsgCnt() local
1839 pCECArgs.ucMsgCnt = 0; in MApi_CEC_GetMsgCnt()
1845 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_MSG_CNT, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_GetMsgCnt()
1850 return pCECArgs.ucMsgCnt; in MApi_CEC_GetMsgCnt()
1865 stCEC_SET_MSG_CNT pCECArgs = {0}; in MApi_CEC_SetMsgCnt() local
1867 pCECArgs.ucCnt = u8Cnt; in MApi_CEC_SetMsgCnt()
1873 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_MSG_CNT, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_SetMsgCnt()
1891 stCEC_GET_RX_DATA pCECArgs = {0}; in MApi_CEC_GetRxData() local
1893 pCECArgs.ucFifoIdx = u8Fifoidx; in MApi_CEC_GetRxData()
1894 pCECArgs.ucIdx = u8Idx; in MApi_CEC_GetRxData()
1895 pCECArgs.ucRxData = 0; in MApi_CEC_GetRxData()
1901 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_RX_DATA, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_GetRxData()
1906 return pCECArgs.ucRxData; in MApi_CEC_GetRxData()
1921 stCEC_CHECK_FRAME pCECArgs = {0}; in MApi_CEC_CheckFrame() local
1923 pCECArgs.eMsgType = msg_type; in MApi_CEC_CheckFrame()
1924 pCECArgs.ucLen = ucLen; in MApi_CEC_CheckFrame()
1925 pCECArgs.bValid = FALSE; in MApi_CEC_CheckFrame()
1931 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_CHECK_FRAME, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_CheckFrame()
1936 return pCECArgs.bValid; in MApi_CEC_CheckFrame()
1995 stCEC_ENABLED pCECArgs = {0}; in MApi_CEC_Enabled() local
1997 pCECArgs.bEnableFlag = bEnableFlag; in MApi_CEC_Enabled()
2003 … else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_ENABLED, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCESS) in MApi_CEC_Enabled()
2021 stCEC_SET_MY_PHYSICAL_ADDRESS pCECArgs = {0}; in MApi_CEC_SetMyPhysicalAddress() local
2023 pCECArgs.ucData = pdata; in MApi_CEC_SetMyPhysicalAddress()
2029 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_MY_PHYSICAL_ADDRESS, (void*)&pCECArgs) != UTOPIA_… in MApi_CEC_SetMyPhysicalAddress()
2048 stCEC_SET_MY_LOGICAL_ADDRESS2 pCECArgs = {0}; in MApi_CEC_SetMyLogicalAddress2() local
2050 pCECArgs.myLA = myLA; in MApi_CEC_SetMyLogicalAddress2()
2056 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_MY_LOGICAL_ADDRESS2, (void*)&pCECArgs) != UTOPIA_… in MApi_CEC_SetMyLogicalAddress2()
2074 stCEC_MSG_REPORT_PHYCAL_ADDRESS2 pCECArgs = {0}; in MApi_CEC_Msg_ReportPhycalAddress2() local
2076 pCECArgs.eErrorCode = E_CEC_FEATURE_ABORT; in MApi_CEC_Msg_ReportPhycalAddress2()
2082 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_MSG_REPORT_PHYCAL_ADDRESS2, (void*)&pCECArgs) != UTOP… in MApi_CEC_Msg_ReportPhycalAddress2()
2087 return pCECArgs.eErrorCode; in MApi_CEC_Msg_ReportPhycalAddress2()
2102 stCEC_SET_MY_PHYSICAL_ADDRESS2 pCECArgs = {0}; in MApi_CEC_SetMyPhysicalAddress2() local
2104 pCECArgs.ucData = pdata; in MApi_CEC_SetMyPhysicalAddress2()
2110 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_MY_PHYSICAL_ADDRESS2, (void*)&pCECArgs) != UTOPIA… in MApi_CEC_SetMyPhysicalAddress2()
2128 stCEC_SET_INITIATOR pCECArgs = {0}; in MApi_CEC_SetInitiator() local
2130 pCECArgs.eIniLa = IniLA; in MApi_CEC_SetInitiator()
2136 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_INITIATOR, (void*)&pCECArgs) != UTOPIA_STATUS_SUC… in MApi_CEC_SetInitiator()
2156 stCEC_GET_TX_STATUS pCECArgs = {0}; in MApi_CEC_GetTxStatus() local
2158 pCECArgs.ucTxStatus = 0; in MApi_CEC_GetTxStatus()
2164 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_TX_STATUS, (void*)&pCECArgs) != UTOPIA_STATUS_SUC… in MApi_CEC_GetTxStatus()
2169 return pCECArgs.ucTxStatus; in MApi_CEC_GetTxStatus()
2184 stCEC_SET_POWER_STATE pCECArgs = {0}; in MApi_CEC_SetPowerState() local
2186 pCECArgs.ePowerState = u16PowerState; in MApi_CEC_SetPowerState()
2187 pCECArgs.u32Status = 0; in MApi_CEC_SetPowerState()
2193 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_POWER_STATE, (void*)&pCECArgs) != UTOPIA_STATUS_S… in MApi_CEC_SetPowerState()
2198 return pCECArgs.u32Status; in MApi_CEC_SetPowerState()
2213 stCEC_SET_RETRY_COUNT pCECArgs = {0}; in MApi_CEC_SetRetryCount() local
2215 pCECArgs.ucRetryCount = u8RetryCount; in MApi_CEC_SetRetryCount()
2221 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_SET_RETRY_COUNT, (void*)&pCECArgs) != UTOPIA_STATUS_S… in MApi_CEC_SetRetryCount()
2239 stCEC_CONFIG_WAKEUP_INFO_VENDOR_ID pCECArgs = {0}; in MApi_CEC_ConfigWakeupInfoVendorID() local
2241 pCECArgs.ucVendorID = u8CecVendorID; in MApi_CEC_ConfigWakeupInfoVendorID()
2247 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_CONFIG_WAKEUP_INFO_VENDOR_ID, (void*)&pCECArgs) != UT… in MApi_CEC_ConfigWakeupInfoVendorID()
2265 stCEC_NEXT_DEVICE pCECArgs = {0}; in MApi_CEC_NextDevice() local
2267 pCECArgs.eNextDeviceLA = E_LA_UNREGISTERED; in MApi_CEC_NextDevice()
2273 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_NEXT_DEVICE, (void*)&pCECArgs) != UTOPIA_STATUS_SUCCE… in MApi_CEC_NextDevice()
2278 return pCECArgs.eNextDeviceLA; in MApi_CEC_NextDevice()
2293 stCEC_IS_RX_BUF_EMPTY pCECArgs = {0}; in MApi_CEC_IsRxBufEmpty() local
2295 pCECArgs.bEmpty = FALSE; in MApi_CEC_IsRxBufEmpty()
2301 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_IS_RX_BUF_EMPTY, (void*)&pCECArgs) != UTOPIA_STATUS_S… in MApi_CEC_IsRxBufEmpty()
2306 return pCECArgs.bEmpty; in MApi_CEC_IsRxBufEmpty()
2321 stCEC_DEVICE_IS_TX pCECArgs = {0}; in MApi_CEC_CheckDeviceIsTx() local
2323 pCECArgs.bIsTx = FALSE; in MApi_CEC_CheckDeviceIsTx()
2329 …else if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_CHECK_DEVICE_IS_TX, (void*)&pCECArgs) != UTOPIA_STATU… in MApi_CEC_CheckDeviceIsTx()
2334 return pCECArgs.bIsTx; in MApi_CEC_CheckDeviceIsTx()
2350 stCEC_ATTACH_DRIVER_ISR pCECArgs = {0}; in MApi_CEC_AttachDriverISR() local
2352 pCECArgs.bAttachDrvFlag = bAttachDrvFlag; in MApi_CEC_AttachDriverISR()
2366 …if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_ATTACH_DRIVER_ISR, (void*)&pCECArgs) != UTOPIA_STATUS_SUCC… in MApi_CEC_AttachDriverISR()
2424 stCEC_GET_CONFIGURATION pCECArgs; in mapi_CEC_GetConfig() local
2426 pCECArgs.stInitialConfigInfo.ulReturnValue = UTOPIA_STATUS_ERR_NOT_AVAIL; in mapi_CEC_GetConfig()
2440 …if(UtopiaIoctl(pulCECInst, MAPI_CMD_CEC_GET_CONFIGURATION, (void*)&pCECArgs) != UTOPIA_STATUS_SUCC… in mapi_CEC_GetConfig()
2446 stInitialConfig->bAttachDrvISR = pCECArgs.stInitialConfigInfo.bAttachDrvISR; in mapi_CEC_GetConfig()
2447 stInitialConfig->ulXTAL_CLK_Hz = pCECArgs.stInitialConfigInfo.ulXTAL_CLK_Hz; in mapi_CEC_GetConfig()
2449 ulReturnValue = pCECArgs.stInitialConfigInfo.ulReturnValue; in mapi_CEC_GetConfig()