Home
last modified time | relevance | path

Searched refs:cmdSize (Results 1 – 2 of 2) sorted by relevance

/device/soc/hisilicon/common/platform/mipi_dsi/
Dmipi_tx_hi35xx.c745 static void MipiTxDrvSetPayloadData(const unsigned char *cmd, unsigned short cmdSize) in MipiTxDrvSetPayloadData() argument
753 for (i = 0; i < (cmdSize / 4); i++) { /* 4 cmd once */ in MipiTxDrvSetPayloadData()
765 j = cmdSize % 4; /* remainder of 4 */ in MipiTxDrvSetPayloadData()
802 if ((cmdInfo->cmdSize > 200) || (cmdInfo->cmdSize == 0)) { /* 200 is max cmd size */ in MipiTxDrvSetCmdInfo()
803 HDF_LOGE("%s: set cmd size illegal, size =%hu.", __func__, cmdInfo->cmdSize); in MipiTxDrvSetCmdInfo()
806 cmd = (unsigned char *)OsalMemCalloc(cmdInfo->cmdSize); in MipiTxDrvSetCmdInfo()
808 … HDF_LOGE("%s: OsalMemCalloc fail,please check,need %hu bytes.", __func__, cmdInfo->cmdSize); in MipiTxDrvSetCmdInfo()
811 if (LOS_CopyToKernel(cmd, cmdInfo->cmdSize, cmdInfo->cmd, cmdInfo->cmdSize) != 0) { in MipiTxDrvSetCmdInfo()
818 MipiTxDrvSetPayloadData(cmd, cmdInfo->cmdSize); in MipiTxDrvSetCmdInfo()
823 genHdr.bits.gen_wc_lsbyte = cmdInfo->cmdSize & 0xff; in MipiTxDrvSetCmdInfo()
[all …]
Dmipi_dsi_define.h80 unsigned short cmdSize; member