Home
last modified time | relevance | path

Searched refs:scdc (Results 1 – 6 of 6) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_scdc.c16 static int32_t HdmiScdcRead(const struct HdmiScdc *scdc, enum HdmiScdcsOffset offset, uint8_t *buff… in HdmiScdcRead() argument
21 if (scdc == NULL || scdc->priv == NULL) { in HdmiScdcRead()
25 cntlr = (struct HdmiCntlr *)scdc->priv; in HdmiScdcRead()
36 static int32_t HdmiScdcWrite(const struct HdmiScdc *scdc, enum HdmiScdcsOffset offset, uint8_t *buf… in HdmiScdcWrite() argument
41 if (scdc == NULL || scdc->priv == NULL) { in HdmiScdcWrite()
45 cntlr = (struct HdmiCntlr *)scdc->priv; in HdmiScdcWrite()
56 static int32_t HdmiScdcReadByte(const struct HdmiScdc *scdc, enum HdmiScdcsOffset offset, uint8_t *… in HdmiScdcReadByte() argument
58 return HdmiScdcRead(scdc, offset, byte, sizeof(*byte)); in HdmiScdcReadByte()
61 static int32_t HdmiScdcWriteByte(const struct HdmiScdc *scdc, enum HdmiScdcsOffset offset, uint8_t … in HdmiScdcWriteByte() argument
63 return HdmiScdcWrite(scdc, offset, byte, sizeof(*byte)); in HdmiScdcWriteByte()
[all …]
Dhdmi_frl.c21 static uint8_t HdmiFrlGetSinkVersion(struct HdmiScdc *scdc) in HdmiFrlGetSinkVersion() argument
25 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_SINK_VER, &version, sizeof(version)) != HDF_SUCCE… in HdmiFrlGetSinkVersion()
32 static bool HdmiFrlGetFltUpdate(struct HdmiScdc *scdc) in HdmiFrlGetFltUpdate() argument
37 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_UPDATE, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFltUpdate()
46 static bool HdmiFrlGetFrlStart(struct HdmiScdc *scdc) in HdmiFrlGetFrlStart() argument
51 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_UPDATE, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFrlStart()
60 static bool HdmiFrlGetFltReady(struct HdmiScdc *scdc) in HdmiFrlGetFltReady() argument
65 … if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_READY, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFltReady()
74 static uint8_t HdmiFrlGetTestConfig1(struct HdmiScdc *scdc) in HdmiFrlGetTestConfig1() argument
78 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_TEST_CONFIG_1, &cfg, sizeof(cfg)) != HDF_SUCCESS)… in HdmiFrlGetTestConfig1()
[all …]
Dhdmi_core.c241 if (cntlr->cap.baseCap.bits.scdc == 0) { in HdmiScdcInit()
246 if (cntlr->scdc == NULL) { in HdmiScdcInit()
247 cntlr->scdc = (struct HdmiScdc *)OsalMemCalloc(sizeof(struct HdmiScdc)); in HdmiScdcInit()
248 if (cntlr->scdc == NULL) { in HdmiScdcInit()
254 cntlr->scdc->priv = (void *)cntlr; in HdmiScdcInit()
262 if (cntlr->scdc != NULL) { in HdmiScdcDeinit()
263 OsalMemFree(cntlr->scdc); in HdmiScdcDeinit()
264 cntlr->scdc = NULL; in HdmiScdcDeinit()
571 if (cntlr->cap.baseCap.bits.scdc > 0) { in HdmiCntlrModeSelect()
572 ret = HdmiScdcFillScrambleCap(cntlr->scdc, &scramble, &tmdsMode); in HdmiCntlrModeSelect()
[all …]
/drivers/hdf_core/framework/support/platform/include/hdmi/
Dhdmi_scdc.h307 int32_t HdmiScdcScrambleSet(struct HdmiScdc *scdc, struct HdmiScdcScrambleCap *scramble);
308 int32_t HdmiScdcScrambleGet(struct HdmiScdc *scdc, struct HdmiScdcScrambleCap *scramble);
309 int32_t HdmiScdcReadTestConfig0(const struct HdmiScdc *scdc, uint8_t *testCfg);
310 int32_t HdmiScdcReadStatusFlag1(const struct HdmiScdc *scdc, uint8_t *flag);
311 int32_t HdmiScdcReadStatusFlag2(const struct HdmiScdc *scdc, uint8_t *flag);
312 int32_t HdmiScdcReadConfig0(const struct HdmiScdc *scdc, uint8_t *cfg);
313 bool HdmiScdcSinkSupport(struct HdmiScdc *scdc);
314 void HdmiScdcReset(struct HdmiScdc *scdc);
315 int32_t HdmiScdcOptMsgHandle(const struct HdmiScdc *scdc, enum HdmiScdcOptMsg msg, uint8_t *buffer,…
316 int32_t HdmiScdcFillScrambleCap(struct HdmiScdc *scdc, struct HdmiScdcScrambleCap *scramble,
[all …]
Dhdmi_frl.h165 bool scdc; member
Dhdmi_core.h60 uint32_t scdc : 1; /* bit0: support scdc */ member
212 struct HdmiScdc *scdc; member