Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 21 of 21) sorted by relevance

/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/
Dmipi_drm_adapter.c118 if ((cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM) || // 0x13, in MipiDsiAdapterSetCmd()
119 (cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM) || // 0x23 in MipiDsiAdapterSetCmd()
120 (cmd->dataType == MIPI_DSI_GENERIC_LONG_WRITE)) { // 0x29 in MipiDsiAdapterSetCmd()
123 cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
128 } else if ((cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE) || // 0x05 in MipiDsiAdapterSetCmd()
129 (cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE_PARAM) || // 0x15 in MipiDsiAdapterSetCmd()
130 (cmd->dataType == MIPI_DSI_DCS_LONG_WRITE)) { // 0x39 in MipiDsiAdapterSetCmd()
133 cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
142 ret = mipi_dsi_dcs_write(linuxPanel, cmd->dataType, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
144 cmd->dataType, cmd->dataLen); in MipiDsiAdapterSetCmd()
[all …]
Dmipi_dsi_define.h80 unsigned short dataType; member
87 unsigned short dataType; /* DSI data type */ member
Dmipi_tx_hi35xx.c763 genHdr.bits.gen_dt = cmdInfo->dataType; in MipiTxDrvSetCmdInfo()
832 short unsigned dataType, unsigned short dataParam) in MipiTxSendShortPacket() argument
837 genHdr.bits.gen_dt = dataType; in MipiTxSendShortPacket()
911 if (MipiTxSendShortPacket(0, getCmdInfo->dataType, getCmdInfo->dataParam) != HDF_SUCCESS) { in MipiTxDrvGetCmdInfo()
1187 cmdInfo.dataType = cmd->dataType; /* 0x29: long data type */ in Hi35xxSetCmd()
1195 cmdInfo.dataType = cmd->dataType; /* 0x23: short data type */ in Hi35xxSetCmd()
1199 cmdInfo.dataType = cmd->dataType; /* 0x05: short data type */ in Hi35xxSetCmd()
1256 cmdInfo.dataType = cmd->dataType; in Hi35xxGetCmd()
/drivers/hdf_core/adapter/platform/mipi_dsi/
Dmipi_drm_imx8mm.c99 if ((cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_1_PARAM) || // 0x13, in MipiDsiAdapterSetCmd()
100 (cmd->dataType == MIPI_DSI_GENERIC_SHORT_WRITE_2_PARAM) || // 0x23 in MipiDsiAdapterSetCmd()
101 (cmd->dataType == MIPI_DSI_GENERIC_LONG_WRITE)) { // 0x29 in MipiDsiAdapterSetCmd()
107 } else if ((cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE) || // 0x05 in MipiDsiAdapterSetCmd()
108 (cmd->dataType == MIPI_DSI_DCS_SHORT_WRITE_PARAM) || // 0x15 in MipiDsiAdapterSetCmd()
109 (cmd->dataType == MIPI_DSI_DCS_LONG_WRITE)) { // 0x39 in MipiDsiAdapterSetCmd()
112 __func__, cmd->dataType, cmd->payload[0], cmd->dataLen); in MipiDsiAdapterSetCmd()
121 ret = mipi_dsi_dcs_write(linuxPanel, cmd->dataType, cmd->payload, cmd->dataLen); in MipiDsiAdapterSetCmd()
123 __func__, cmd->dataType, cmd->dataLen); in MipiDsiAdapterSetCmd()
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/
Dhcs_config_test.c285 const struct DeviceResourceNode *dataType = NULL; in HcsTestGetUint8ArrayElemSuccess() local
294 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemSuccess()
295 count = g_devResInstance->GetElemNum(dataType, TEST_U8_ELEM_DATA); in HcsTestGetUint8ArrayElemSuccess()
300 int32_t ret = g_devResInstance->GetUint8ArrayElem(dataType, TEST_U8_ELEM_DATA, i, &data[i], in HcsTestGetUint8ArrayElemSuccess()
312 const struct DeviceResourceNode *dataType = NULL; in HcsTestGetUint8ArrayElemFail() local
321 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemFail()
323 …ret = g_devResInstance->GetUint8ArrayElem(dataType, TEST_U8_ELEM_DATA, 8, &data, DEFAULT_UINT8_MAX… in HcsTestGetUint8ArrayElemFail()
328 dataType = g_devResInstance->GetNodeByMatchAttr(g_testRoot, HW_DATA_TYPE_TEST); in HcsTestGetUint8ArrayElemFail()
329 count = g_devResInstance->GetElemNum(dataType, READ_FOUR_DATA_TYPE); in HcsTestGetUint8ArrayElemFail()
334 …ret = g_devResInstance->GetUint8ArrayElem(dataType, READ_FOUR_DATA_TYPE, i, &data1[i], DEFAULT_UIN… in HcsTestGetUint8ArrayElemFail()
[all …]
/drivers/hdf_core/framework/test/unittest/platform/common/
Dmipi_csi_test.c168 attr.dataType[0] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
169 attr.dataType[1] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
170 attr.dataType[2] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
171 attr.dataType[3] = 0x39; /* 0x39 -- data type reserved */ in InitMipiDevAttr()
398 ExtDataType dataType; in MipiCsiSetExtDataTypeTest() local
399 dataType.devno = 0; in MipiCsiSetExtDataTypeTest()
400 dataType.num = 0; in MipiCsiSetExtDataTypeTest()
404 dataType.extDataBitWidth[i++] = 12; /* 12:magic bit width */ in MipiCsiSetExtDataTypeTest()
405 dataType.extDataBitWidth[i++] = 12; /* 12:magic bit width */ in MipiCsiSetExtDataTypeTest()
406 dataType.extDataBitWidth[i] = 12; /* 12:magic bit width */ in MipiCsiSetExtDataTypeTest()
[all …]
Dmipi_csi_test.h51 ExtDataType dataType; member
Dmipi_dsi_test.c18 test->msgs.dataType = 0x05; /* 0x05: data type */ in MipiDsiTestMallocBuf()
101 .dataType = 0x06, /* 0x06: read data type */ in MipiDsiTxRxTest()
/drivers/hdf_core/framework/support/platform/src/mipi/
Dmipi_csi_if.c34 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType) in MipiCsiSetExtDataType() argument
36 return MipiCsiCntlrSetExtDataType((struct MipiCsiCntlr *)handle, dataType); in MipiCsiSetExtDataType()
Dmipi_csi_core.c173 int32_t MipiCsiCntlrSetExtDataType(struct MipiCsiCntlr *cntlr, ExtDataType* dataType) in MipiCsiCntlrSetExtDataType() argument
182 if (dataType == NULL) { in MipiCsiCntlrSetExtDataType()
192 ret = cntlr->ops->setExtDataType(cntlr, dataType); in MipiCsiCntlrSetExtDataType()
/drivers/hdf_core/framework/include/platform/
Dmipi_csi_if.h203 short dataType[WDR_VC_NUM]; member
537 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType);
Dmipi_dsi_if.h185 uint16_t dataType; member
/drivers/interface/camera/metadata/src/
Dcamera_metadata_operator.cpp284 int32_t GetCameraMetadataItemType(uint32_t item, uint32_t *dataType) in GetCameraMetadataItemType() argument
287 if (dataType == nullptr) { in GetCameraMetadataItemType()
309 *dataType = g_ohosItemInfo[section][itemIndex].item_type; in GetCameraMetadataItemType()
378 uint32_t dataType; in AddCameraMetadataItem() local
379 int32_t ret = GetCameraMetadataItemType(item, &dataType); in AddCameraMetadataItem()
386 CalculateCameraMetadataItemDataSize(dataType, dataCount); in AddCameraMetadataItem()
393 dataCount * OHOS_CAMERA_METADATA_TYPE_SIZE[dataType]; in AddCameraMetadataItem()
401 metadataItem->data_type = dataType; in AddCameraMetadataItem()
/drivers/interface/nnrt/v1_0/
DModelTypes.idl22 enum DataType dataType;
DNnrtTypes.idl90 enum DataType dataType;
/drivers/interface/nnrt/v2_0/
DModelTypes.idl22 enum DataType dataType;
DNnrtTypes.idl91 enum DataType dataType;
/drivers/hdf_core/framework/support/platform/include/mipi/
Dmipi_csi_core.h239 int32_t (*setExtDataType)(struct MipiCsiCntlr *cntlr, ExtDataType* dataType);
457 int32_t MipiCsiCntlrSetExtDataType(struct MipiCsiCntlr *cntlr, ExtDataType* dataType);
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
Dmipi_csi_dev.c188 static int MipiSetExtDataType(struct MipiCsiVfsPara *vfsPara, ExtDataType *dataType) in MipiSetExtDataType() argument
195 if (dataType == NULL) { in MipiSetExtDataType()
204 MipiCsiCntlrSetExtDataType(vfsPara->cntlr, dataType); in MipiSetExtDataType()
510 DataType dataType; in ProcShowMipiDevice() local
532 dataType = pdevAttr->mipiAttr.inputDataType; in ProcShowMipiDevice()
535 dataType = pdevAttr->lvdsAttr.inputDataType; in ProcShowMipiDevice()
543 MipiGetRawDataTypeName(dataType), in ProcShowMipiDevice()
Dmipi_v4l2_adapter.c90 static u32 LinuxGetFormatCode(DataType dataType) in LinuxGetFormatCode() argument
94 switch (dataType) { in LinuxGetFormatCode()
/drivers/hdf_core/framework/model/display/driver/lcdkit/
Dlcdkit_parse_config.c55 tmpCmd->dataType = tmpArray[DATA_TYPE]; in ParseDsiCmd()