/drivers/hdf_core/framework/support/platform/include/hdmi/ |
D | hdmi_core.h | 55 struct HdmiCntlr; 141 void (*hardWareInit)(struct HdmiCntlr *cntlr); 142 void (*hardWareStatusGet)(struct HdmiCntlr *cntlr, struct HdmiHardwareStatus *status); 143 void (*controllerReset)(struct HdmiCntlr *cntlr); 144 bool (*hotPlugStateGet)(struct HdmiCntlr *cntlr); 145 bool (*hotPlugInterruptStateGet)(struct HdmiCntlr *cntlr); 146 void (*lowPowerSet)(struct HdmiCntlr *cntlr, bool enable); 147 void (*tmdsModeSet)(struct HdmiCntlr *cntlr, enum HdmiTmdsModeType mode); 148 int32_t (*tmdsConfigSet)(struct HdmiCntlr *cntlr, struct HdmiTmdsConfig mode); 149 … void (*infoFrameEnable)(struct HdmiCntlr *cntlr, enum HdmiPacketType infoFrameType, bool enable); [all …]
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
D | hdmi_dispatch.c | 37 int32_t (*func)(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply); 40 static int32_t HdmiCmdOpen(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdOpen() 48 static int32_t HdmiCmdClose(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdClose() 57 static int32_t HdmiCmdStart(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStart() 65 static int32_t HdmiCmdStop(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStop() 73 static int32_t HdmiCmdAvmuteSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *repl… in HdmiCmdAvmuteSet() 87 static int32_t HdmiCmdDeepColorSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdDeepColorSet() 100 static int32_t HdmiCmdDeepColorGet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdDeepColorGet() 122 static int32_t HdmiCmdVideoAttrSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdVideoAttrSet() 135 static int32_t HdmiCmdAudioAttrSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *r… in HdmiCmdAudioAttrSet() [all …]
|
D | hdmi_event.c | 15 static int32_t HdmiEventPostMsg(struct HdmiCntlr *cntlr, struct HdmiEventMsg *event) in HdmiEventPostMsg() 43 static bool HdmiHpdStatusGet(struct HdmiCntlr *cntlr) in HdmiHpdStatusGet() 57 bool HdmiHpdStatusDelayGet(struct HdmiCntlr *cntlr) in HdmiHpdStatusDelayGet() 74 static int32_t HdmiAddEventMsgToQueue(struct HdmiCntlr *cntlr, int32_t code, bool block, void *data) in HdmiAddEventMsgToQueue() 94 static int32_t HdmiEventHotPlugHandleComm(struct HdmiCntlr *cntlr) in HdmiEventHotPlugHandleComm() 138 static int32_t HdmiEventHotPlugHandle(struct HdmiCntlr *cntlr) in HdmiEventHotPlugHandle() 152 static int32_t HdmiEventHotUnplugHandle(struct HdmiCntlr *cntlr) in HdmiEventHotUnplugHandle() 169 static int32_t HdmiEventDetectSinkHandle(struct HdmiCntlr *cntlr) in HdmiEventDetectSinkHandle() 178 static int32_t HdmiEventCecMsgHandle(struct HdmiCntlr *cntlr, struct HdmiCecMsg *msg) in HdmiEventCecMsgHandle() 187 static int32_t HdmiEventHdrZeroDrmIfTimeout(struct HdmiCntlr *cntlr) in HdmiEventHdrZeroDrmIfTimeout() [all …]
|
D | hdmi_frl.c | 134 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlSetTrainRate() 150 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlCheckFrlCapability() 226 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdnmiFrlCheckFrlMode() 272 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlIsCtsMode() 314 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlAudioNctsSet() 337 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlTxffeSet() 354 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlphyConfigSet() 397 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlTrainingReadyCheck() 410 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlConfigAndStartTraining() 446 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)frl->priv; in HdmiFrlTrainingResultCheck() [all …]
|
D | hdmi_core.c | 19 int32_t HdmiCntlrAllocDev(struct HdmiCntlr *cntlr) in HdmiCntlrAllocDev() 33 void HdmiCntlrFreeDev(struct HdmiCntlr *cntlr) in HdmiCntlrFreeDev() 43 static void HdmiCecInit(struct HdmiCntlr *cntlr) in HdmiCecInit() 64 static void HdmiCecDeinit(struct HdmiCntlr *cntlr) in HdmiCecDeinit() 75 static void HdmiDdcInit(struct HdmiCntlr *cntlr) in HdmiDdcInit() 96 static void HdmiDdcDeinit(struct HdmiCntlr *cntlr) in HdmiDdcDeinit() 111 static void HdmiFrlInit(struct HdmiCntlr *cntlr) in HdmiFrlInit() 132 static void HdmiFrlDeinit(struct HdmiCntlr *cntlr) in HdmiFrlDeinit() 143 static void HdmiHdcpInit(struct HdmiCntlr *cntlr) in HdmiHdcpInit() 171 static void HdmiHdcpDeinit(struct HdmiCntlr *cntlr) in HdmiHdcpDeinit() [all …]
|
D | hdmi_hdr.c | 35 static void HdmiHdrZeroDrmInfoFrameTimerSet(struct HdmiCntlr *cntlr, bool start) in HdmiHdrZeroDrmInfoFrameTimerSet() 60 static void HdmiHdrModeChangeTimerSet(struct HdmiCntlr *cntlr, bool start) in HdmiHdrModeChangeTimerSet() 76 static int32_t HdmiDisableHdr(struct HdmiCntlr *cntlr, const struct HdmiHdrAttr *curAttr) in HdmiDisableHdr() 123 static void HdmiChangeToHdr(struct HdmiCntlr *cntlr, struct HdmiCommonAttr *commAttr) in HdmiChangeToHdr() 152 static int32_t HdmiHdrModeSelect(struct HdmiCntlr *cntlr) in HdmiHdrModeSelect() 191 struct HdmiCntlr *cntlr = NULL; in HdmiHdrAttrHandle() 199 cntlr = (struct HdmiCntlr *)hdr->priv; in HdmiHdrAttrHandle() 239 struct HdmiCntlr *cntlr = NULL; in HdmiHdrDrmInfoFrameStop() 246 cntlr = (struct HdmiCntlr *)hdr->priv; in HdmiHdrDrmInfoFrameStop() 256 struct HdmiCntlr *cntlr = NULL; in HdmiHdrModeChangeTimeout() [all …]
|
D | hdmi_if.c | 451 ret = HdmiCntlrOpen((struct HdmiCntlr *)obj); in HdmiOpen() 464 return HdmiCntlrStart((struct HdmiCntlr *)handle); in HdmiStart() 473 return HdmiCntlrStop((struct HdmiCntlr *)handle); in HdmiStop() 482 HdmiCntlrAvmuteSet((struct HdmiCntlr *)handle, enable); in HdmiAvmuteSet() 492 return HdmiCntlrDeepColorSet((struct HdmiCntlr *)handle, color); in HdmiDeepColorSet() 501 return HdmiCntlrDeepColorGet((struct HdmiCntlr *)handle, color); in HdmiDeepColorGet() 510 return HdmiCntlrSetVideoAttribute((struct HdmiCntlr *)handle, attr); in HdmiSetVideoAttribute() 519 return HdmiCntlrSetAudioAttribute((struct HdmiCntlr *)handle, attr); in HdmiSetAudioAttribute() 528 return HdmiCntlrSetHdrAttribute((struct HdmiCntlr *)handle, attr); in HdmiSetHdrAttribute() 537 return HdmiCntlrGetSinkEdid((struct HdmiCntlr *)handle, buffer, len); in HdmiReadSinkEdid() [all …]
|
D | hdmi_hdcp.c | 17 struct HdmiCntlr *cntlr = NULL; in HdmiHdcpRead() 23 cntlr = (struct HdmiCntlr *)hdcp->priv; in HdmiHdcpRead() 37 struct HdmiCntlr *cntlr = NULL; in HdmiHdcpWrite() 43 cntlr = (struct HdmiCntlr *)hdcp->priv; in HdmiHdcpWrite() 77 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)hdcp->priv; in HdmiHdcpWriteMsgToReg() 158 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)hdcp->priv; in HdmiHdcpAuthenticationGenerateAksvAn() 168 struct HdmiCntlr *cntlr = (struct HdmiCntlr *)hdcp->priv; in HdmiHdcpRegPrepare()
|
D | hdmi_scdc.c | 19 struct HdmiCntlr *cntlr = NULL; in HdmiScdcRead() 25 cntlr = (struct HdmiCntlr *)scdc->priv; in HdmiScdcRead() 39 struct HdmiCntlr *cntlr = NULL; in HdmiScdcWrite() 45 cntlr = (struct HdmiCntlr *)scdc->priv; in HdmiScdcWrite() 159 static bool HdmiCntlrScdcSourceScrambleGet(struct HdmiCntlr *cntlr) in HdmiCntlrScdcSourceScrambleGet() 172 static int32_t HdmiCntlrScdcSourceScrambleSet(struct HdmiCntlr *cntlr, bool enable) in HdmiCntlrScdcSourceScrambleSet() 221 ret = HdmiCntlrScdcSourceScrambleSet((struct HdmiCntlr *)scdc->priv, scramble->sourceScramble); in HdmiScdcScrambleSet() 351 struct HdmiCntlr *cntlr = NULL; in HdmiScdcFillScrambleCap() 360 cntlr = (struct HdmiCntlr *)scdc->priv; in HdmiScdcFillScrambleCap()
|
D | hdmi_infoframe.c | 370 struct HdmiCntlr *cntlr = NULL; in HdmiInfoFrameSend() 377 cntlr = (struct HdmiCntlr *)frame->priv; in HdmiInfoFrameSend() 501 struct HdmiCntlr *cntlr = NULL; in HdmiAviInfoFrameSend() 508 cntlr = (struct HdmiCntlr *)frame->priv; in HdmiAviInfoFrameSend() 571 struct HdmiCntlr *cntlr = NULL; in HdmiAudioInfoFrameSend() 578 cntlr = (struct HdmiCntlr *)frame->priv; in HdmiAudioInfoFrameSend() 611 struct HdmiCntlr *cntlr = NULL; in HdmiDrmInfoFrameSend() 618 cntlr = (struct HdmiCntlr *)frame->priv; in HdmiDrmInfoFrameSend() 706 struct HdmiCntlr *cntlr = NULL; in HdmiVsInfoFrameSend() 713 cntlr = (struct HdmiCntlr *)frame->priv; in HdmiVsInfoFrameSend() [all …]
|
D | hdmi_ddc.c | 13 static int32_t HdmiCntlrDdcTransfer(struct HdmiCntlr *cntlr, struct HdmiDdcCfg *ddcCfg) in HdmiCntlrDdcTransfer()
|
D | hdmi_cec.c | 18 typedef void (*HdmiCecHandleMsgFunc)(struct HdmiCntlr *cntlr, struct HdmiCecMsg *oldMsg, struct Hdm… 1414 static int32_t HdmiCecSendMsg(struct HdmiCntlr *cntlr, struct HdmiCecMsg *msg) in HdmiCecSendMsg() 1469 static void HdmiCecHandleReportPhyAddressMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleReportPhyAddressMsg() 1483 static void HdmiCecHandleUserControlPrtessedMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleUserControlPrtessedMsg() 1496 static void HdmiCecHandleUserControlReleasedMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleUserControlReleasedMsg() 1509 static void HdmiCecHandleGetCecVersionMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleGetCecVersionMsg() 1519 static void HdmiCecHandleGivePhyAddressMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleGivePhyAddressMsg() 1534 static void HdmiCecHandleGiveDeviceVendorIdMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleGiveDeviceVendorIdMsg() 1552 static void HdmiCecHandleAbortMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleAbortMsg() 1565 static void HdmiCecHandleGiveOsdNameMsg(struct HdmiCntlr *cntlr, in HdmiCecHandleGiveOsdNameMsg() [all …]
|