Home
last modified time | relevance | path

Searched refs:deviceNum (Results 1 – 18 of 18) sorted by relevance

/drivers/hdf_core/adapter/khdf/linux/platform/adc/
Dadc_iio_adapter.c41 uint32_t deviceNum; member
155 ret = drsOps->GetUint32(node, "deviceNum", &adcDevice->deviceNum, 0); in AdcIioReadDrs()
216 adcDevice->device.devNum = adcDevice->deviceNum; in AdcIioParseAndDeviceAdd()
221 HDF_LOGE("AdcIioParseAndDeviceAdd: add adc device:%u fail!", adcDevice->deviceNum); in AdcIioParseAndDeviceAdd()
252 int32_t deviceNum; in AdcIioRemoveByNode() local
262 ret = drsOps->GetUint32(node, "deviceNum", (uint32_t *)&deviceNum, 0); in AdcIioRemoveByNode()
268 device = AdcDeviceGet(deviceNum); in AdcIioRemoveByNode()
/drivers/hdf_core/framework/test/unittest/platform/virtual/
Ddac_virtual.c23 uint32_t deviceNum; member
54 HDF_LOGI("VirtualDacDeviceInit: device:%u init done!", virtual->deviceNum); in VirtualDacDeviceInit()
72 if (drsOps->GetUint32(node, "deviceNum", &virtual->deviceNum, 0) != HDF_SUCCESS) { in VirtualDacReadDrs()
109 virtual->device.devNum = virtual->deviceNum; in VirtualDacParseAndInit()
/drivers/hdf_core/framework/model/camera/utils/src/
Dcamera_utils.c291 for (i = 0; i < rootConfig->deviceNum; i++) { in GetSensorNum()
304 for (i = 0; i < rootConfig->deviceNum; i++) { in GetIspNum()
317 for (i = 0; i < rootConfig->deviceNum; i++) { in GetVcmNum()
330 for (i = 0; i < rootConfig->deviceNum; i++) { in GetLensNum()
343 for (i = 0; i < rootConfig->deviceNum; i++) { in GetFlashNum()
420 int32_t deviceNum; in CheckFrameRate() local
428 deviceNum = GetDeviceNum(driverName, camId, type); in CheckFrameRate()
429 if (deviceNum < 0 || deviceNum >= DEVICE_NUM) { in CheckFrameRate()
445 …if (fps > FPS_CALC_COEFF * (rootConfig->deviceConfig[camId].stream.stream[deviceNum].frameRateMaxN… in CheckFrameRate()
446 HDF_LOGE("%s: stream%{public}d wrong fps = %{public}d", __func__, deviceNum, fps); in CheckFrameRate()
/drivers/peripheral/audio/hal/pathselect/src/
Daudio_pathselect.c151 renderDevNum = renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetRenderPathDefaultValue()
180 renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum = renderDevNum; in SetRenderPathDefaultValue()
192 int32_t devNum = captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetCapturePathDefaultValue()
221 captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = devNum; in SetCapturePathDefaultValue()
239 devNum = renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetRenderPathValue()
274 renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum = devNum; in SetRenderPathValue()
405 renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum = 0; in AudioRenderParseUsecase()
474 int32_t devNum = captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetCapturePathValue()
508 captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = devNum; in SetCapturePathValue()
641 captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = 0; in AudioCaptureParseUsecase()
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
Dalsa_mixer_path.c122 int32_t devCount = renderData->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum; in EnableAudioRenderRoute()
162 int32_t devCount = captureData->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum; in EnableAudioCaptureRoute()
/drivers/hdf_core/framework/model/camera/parser/include/
Dcamera_config_parser.h157 uint16_t deviceNum; member
/drivers/peripheral/audio/supportlibs/adm_adapter/src/
Daudio_interface_lib_capture.c514 int32_t deviceNum; in AudioCtlCaptureSceneSelect() local
534 deviceNum = handleData->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum; in AudioCtlCaptureSceneSelect()
535 if (deviceNum < AUDIO_MIN_DEVICENUM) { in AudioCtlCaptureSceneSelect()
543 for (index = 0; index < deviceNum; index++) { in AudioCtlCaptureSceneSelect()
Daudio_interface_lib_render.c464 int32_t deviceNum = handleData->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum; in AudioCtlRenderSceneSelect() local
465 if (deviceNum < AUDIO_MIN_DEVICENUM) { in AudioCtlRenderSceneSelect()
473 for (index = 0; index < deviceNum; index++) { in AudioCtlRenderSceneSelect()
/drivers/hdf_core/framework/model/camera/core/src/
Dcamera_core.c199 for (i = 0; i < rootConfig->deviceNum; i++) { in HdfCameraDriverInit()
/drivers/hdf_core/framework/model/camera/parser/src/
Dcamera_config_parser.c486 cameraConfig->deviceNum++; in ParseCameraConfig()
489 cameraConfig->uvcMode, cameraConfig->deviceNum); in ParseCameraConfig()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
Daudio_internal.h255 int32_t deviceNum; member
/drivers/peripheral/audio/hdi_service/primary_impl/include/
Daudio_internal.h210 int32_t deviceNum; member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
Daudio_internal.h216 int32_t deviceNum; member
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/
Daudio_libcapture_hardwaredependence_test.cpp290 hwCapture->captureParam.captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = 1;
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/
Daudio_alsa_if_lib_capture_test.cpp402 handleData.captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = AUDIO_MIN_CARD_NUM;
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/
Daudio_librender_hardwaredependence_test.cpp415 hwRender->renderParam.renderMode.hwInfo.pathSelect.deviceInfo.deviceNum = 1;
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
Daudio_alsa_libcapture_test.cpp846 hwCapture->captureParam.captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = 1;
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
Daudio_alsa_librender_test.cpp954 hwRender->renderParam.renderMode.hwInfo.pathSelect.deviceInfo.deviceNum = 1;