/drivers/hdf_core/adapter/khdf/linux/platform/mipi_dsi/ |
D | mipi_drm_adapter.c | 118 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 …]
|
D | mipi_dsi_define.h | 80 unsigned short dataType; member 87 unsigned short dataType; /* DSI data type */ member
|
D | mipi_tx_hi35xx.c | 763 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/ |
D | mipi_drm_imx8mm.c | 99 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/ |
D | hcs_config_test.c | 285 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/ |
D | mipi_csi_test.c | 168 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 …]
|
D | mipi_csi_test.h | 51 ExtDataType dataType; member
|
D | mipi_dsi_test.c | 18 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/ |
D | mipi_csi_if.c | 34 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType) in MipiCsiSetExtDataType() argument 36 return MipiCsiCntlrSetExtDataType((struct MipiCsiCntlr *)handle, dataType); in MipiCsiSetExtDataType()
|
D | mipi_csi_core.c | 173 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/ |
D | mipi_csi_if.h | 203 short dataType[WDR_VC_NUM]; member 537 int32_t MipiCsiSetExtDataType(DevHandle handle, ExtDataType* dataType);
|
D | mipi_dsi_if.h | 185 uint16_t dataType; member
|
/drivers/interface/camera/metadata/src/ |
D | camera_metadata_operator.cpp | 284 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/ |
D | ModelTypes.idl | 22 enum DataType dataType;
|
D | NnrtTypes.idl | 90 enum DataType dataType;
|
/drivers/interface/nnrt/v2_0/ |
D | ModelTypes.idl | 22 enum DataType dataType;
|
D | NnrtTypes.idl | 91 enum DataType dataType;
|
/drivers/hdf_core/framework/support/platform/include/mipi/ |
D | mipi_csi_core.h | 239 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/ |
D | mipi_csi_dev.c | 188 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()
|
D | mipi_v4l2_adapter.c | 90 static u32 LinuxGetFormatCode(DataType dataType) in LinuxGetFormatCode() argument 94 switch (dataType) { in LinuxGetFormatCode()
|
/drivers/hdf_core/framework/model/display/driver/lcdkit/ |
D | lcdkit_parse_config.c | 55 tmpCmd->dataType = tmpArray[DATA_TYPE]; in ParseDsiCmd()
|