Home
last modified time | relevance | path

Searched refs:dataWidth (Results 1 - 11 of 11) sorted by relevance

/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dadc_virtual.c24 uint32_t dataWidth; member
39 virtual->maxValue = pow(BASE_NUMBER, virtual->dataWidth) - 1; in VirtualAdcStart()
92 ret = drsOps->GetUint32(node, "dataWidth", &virtual->dataWidth, 0); in VirtualAdcReadDrs()
93 if (ret != HDF_SUCCESS || virtual->dataWidth == 0 || virtual->dataWidth >= ADC_MAX_DATA_WIDTH) { in VirtualAdcReadDrs()
94 HDF_LOGE("VirtualAdcReadDrs: read dataWidth fail, ret: %d!", ret); in VirtualAdcReadDrs()
103 HDF_LOGD("VirtualAdcReadDrs: success, devNum=%u, dataWidth=%u, channels=%u!", in VirtualAdcReadDrs()
104 virtual->devNum, virtual->dataWidth, virtual->channels); in VirtualAdcReadDrs()
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dadc_test.h24 uint32_t dataWidth; member
H A Ddac_test.h24 uint32_t dataWidth; member
H A Dadc_driver_test.c70 ret = drsOps->GetUint32(node, "dataWidth", &config->dataWidth, 0); in AdcTestReadConfig()
72 HDF_LOGE("AdcTestReadConfig: read dataWidth fail!"); in AdcTestReadConfig()
H A Ddac_driver_test.c71 ret = drsOps->GetUint32(node, "dataWidth", &config->dataWidth, 0); in DacTestReadConfig()
73 HDF_LOGE("DacTestReadConfig: read dataWidth fail!"); in DacTestReadConfig()
H A Dadc_test.c122 if (ret != HDF_SUCCESS || value[i] >= (1U << tester->config.dataWidth)) { in AdcTestRead()
/drivers/hdf_core/adapter/platform/spi/
H A Dspi_stm32f4xx.c114 SPI_DATA_WIDTH dataWidth; member
138 "dataWidth",
329 if (resource->dataWidth == SPI_DATA_WIDTH_8) { in InitSpiInitStruct()
418 resource->dataWidth = HCS_PROP(node, dataWidth); \
667 if (spiDevice->resource.dataWidth == SPI_DATA_WIDTH_16) {
688 spiDevice->resource.dataWidth = SPI_DATA_WIDTH_8;
690 spiDevice->resource.dataWidth = SPI_DATA_WIDTH_16;
/drivers/peripheral/camera/interfaces/include/
H A Dvideo_key_info.h35 const std::string dataWidth = "dataWidth"; member
/drivers/hdf_core/adapter/platform/uart/
H A Duart_stm32f4xx.c110 USART_DATAWIDTH dataWidth; member
381 if (dri->GetUint8(resourceNode, "dataWidth", &resource->dataWidth, 0) != HDF_SUCCESS) { in GetUartHcs()
431 resource->dataWidth = HCS_PROP(node, dataWidth); \
468 device->initTypedef.DataWidth = g_dataWidthMap[resource->dataWidth]; in GetUartDeviceResource()
508 device->initTypedef.DataWidth = g_dataWidthMap[resource->dataWidth]; in GetUartDeviceResource()
/drivers/hdf_core/adapter/khdf/linux/platform/adc/
H A Dadc_iio_adapter.c42 uint32_t dataWidth; member
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/stream_tunnel/standard/
H A Dstream_tunnel.cpp119 extraData->ExtraSet(OHOS::Camera::dataWidth, static_cast<int32_t>(buffer->GetWidth())); in PrepareBufferBeforeFlush()

Completed in 7 milliseconds