/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
D | adc_virtual.c | 23 uint32_t devNum; member 86 ret = drsOps->GetUint32(node, "devNum", &virtual->devNum, 0); in VirtualAdcReadDrs() 104 virtual->devNum, virtual->dataWidth, virtual->channels); in VirtualAdcReadDrs() 133 virtual->device.devNum = virtual->devNum; in VirtualAdcInit() 137 HDF_LOGE("VirtualAdcInit: add adc virtual device:%u fail, ret: %d!", virtual->devNum, ret); in VirtualAdcInit() 149 uint32_t devNum; in VirtualAdcRelease() local 165 ret = drsOps->GetUint32(device->property, "devNum", (uint32_t *)&devNum, 0); in VirtualAdcRelease() 171 dev = AdcDeviceGet(devNum); in VirtualAdcRelease()
|
D | dac_virtual.c | 109 virtual->device.devNum = virtual->deviceNum; in VirtualDacParseAndInit() 145 int16_t devNum; in VirtualDacRemoveByNode() local 156 ret = drsOps->GetUint16(node, "devNum", (uint16_t *)&devNum, 0); in VirtualDacRemoveByNode() 162 device = DacDeviceGet(devNum); in VirtualDacRemoveByNode()
|
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/src/ |
D | usb_subscriber_test.cpp | 88 info.devNum = 9999; 95 info.devNum = DEV_ADDR_OK_2; 101 info.devNum = DEV_ADDR_OK_2; 109 info.devNum = DEV_ADDR_OK_2; 115 info.devNum = DEV_ADDR_OK_2; 121 info.devNum = DEV_ADDR_OK; 133 info.devNum = DEV_ADDR_OK_ERR_DESC; 138 info.devNum = DEV_ADDR_OK_NULL_DESC; 144 info.devNum = DEV_ADDR_OK_NULL_DESC;
|
/drivers/hdf_core/framework/support/platform/src/adc/ |
D | adc_core.c | 94 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in AdcDeviceStart() 126 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in AdcDeviceStop() 142 if (device->devNum >= ADC_DEVICES_MAX) { in AdcManagerAddDevice() 143 HDF_LOGE("AdcManagerAddDevice: devNum:%u exceed!", device->devNum); in AdcManagerAddDevice() 157 if (manager->devices[device->devNum] != NULL) { in AdcManagerAddDevice() 158 HDF_LOGE("AdcManagerAddDevice: adc device num:%u already exits!", device->devNum); in AdcManagerAddDevice() 161 manager->devices[device->devNum] = device; in AdcManagerAddDevice() 173 if (device->devNum < 0 || device->devNum >= ADC_DEVICES_MAX) { in AdcManagerRemoveDevice() 174 HDF_LOGE("AdcManagerRemoveDevice: invalid devNum:%u!", device->devNum); in AdcManagerRemoveDevice() 188 if (manager->devices[device->devNum] != device) { in AdcManagerRemoveDevice() [all …]
|
/drivers/hdf_core/framework/support/platform/src/dac/ |
D | dac_core.c | 88 if (device->devNum >= DAC_DEVICES_MAX) { in DacManagerAddDevice() 89 HDF_LOGE("DacManagerAddDevice: devNum:%u exceed!", device->devNum); in DacManagerAddDevice() 103 if (manager->devices[device->devNum] != NULL) { in DacManagerAddDevice() 104 HDF_LOGE("DacManagerAddDevice: dac device num:%u alwritey exits!", device->devNum); in DacManagerAddDevice() 107 manager->devices[device->devNum] = device; in DacManagerAddDevice() 123 if (device->devNum < 0 || device->devNum >= DAC_DEVICES_MAX) { in DacManagerRemoveDevice() 124 HDF_LOGE("DacManagerRemoveDevice: invalid devNum:%u!", device->devNum); in DacManagerRemoveDevice() 138 if (manager->devices[device->devNum] != device) { in DacManagerRemoveDevice() 139 HDF_LOGE("DacManagerRemoveDevice: dac device(%u) not in manager!", device->devNum); in DacManagerRemoveDevice() 141 manager->devices[device->devNum] = NULL; in DacManagerRemoveDevice() [all …]
|
/drivers/hdf_core/framework/model/usb/include/ |
D | hdf_usb_pnp_manage.h | 59 int32_t devNum; member 88 int32_t devNum; member 100 int32_t devNum; member
|
D | usb_ddk_pnp_loader.h | 62 int32_t devNum; member 71 int32_t devNum; member
|
/drivers/peripheral/audio/hal/pathselect/src/ |
D | audio_pathselect.c | 192 int32_t devNum = captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetCapturePathDefaultValue() local 208 …(void)memset_s(captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceSwitchs[devNum].device… in SetCapturePathDefaultValue() 211 …strncpy_s(captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceSwitchs[devNum].deviceSwitc… in SetCapturePathDefaultValue() 217 …captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceSwitchs[devNum].value = captureSwVal-… in SetCapturePathDefaultValue() 219 devNum++; in SetCapturePathDefaultValue() 221 captureParam->captureMode.hwInfo.pathSelect.deviceInfo.deviceNum = devNum; in SetCapturePathDefaultValue() 233 int32_t devNum; in SetRenderPathValue() local 239 devNum = renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceNum; in SetRenderPathValue() 257 …d)memset_s(renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceSwitchs[devNum].deviceSwitch, in SetRenderPathValue() 260 … strncpy_s(renderParam->renderMode.hwInfo.pathSelect.deviceInfo.deviceSwitchs[devNum].deviceSwitch, in SetRenderPathValue() [all …]
|
/drivers/hdf_core/framework/model/display/driver/backlight/ |
D | hdf_bl.c | 42 uint32_t devNum; member 84 uint32_t devNum; in RegisterBlDev() local 94 devNum = blDevManager->devNum; in RegisterBlDev() 95 if (devNum >= MAX_BL_DEV) { in RegisterBlDev() 99 for (i = 0; i < devNum; i++) { in RegisterBlDev() 111 blDevManager->blDev[devNum] = blDev; in RegisterBlDev() 112 blDevManager->devNum++; in RegisterBlDev() 137 for (i = 0; i < blDevManager->devNum; i++) { in GetBacklightDev() 286 if (devId >= blDevManager->devNum) { in HdfGetBrightness() 346 if (devId >= blDevManager->devNum) { in HdfSetBrightness() [all …]
|
/drivers/peripheral/usb/ddk/host/src/ |
D | ddk_uevent_handle.c | 49 const char *devNum; member 110 static int32_t DdkUeventRemoveDevice(const char *busNum, const char *devNum) in DdkUeventRemoveDevice() argument 113 …int32_t ret = DdkDevMgrRemoveDevice(strtol(busNum, NULL, 10), strtol(devNum, NULL, 10), &dev); // … in DdkUeventRemoveDevice() 115 …%{public}s: remove device failed, busNum:%{public}s, devNum:%{public}s", __func__, busNum, devNum); in DdkUeventRemoveDevice() 132 ret = DdkUeventRemoveDevice(info->busNum, info->devNum); in DdkDispatchUevent() 147 .devNum = "", in DdkHandleUevent() 173 info.devNum = msgTmp; in DdkHandleUevent()
|
D | ddk_sysfs_device.c | 39 inline uint64_t DdkSysfsMakeDevAddr(uint32_t busNum, uint32_t devNum) in DdkSysfsMakeDevAddr() argument 41 return (((uint64_t)busNum << 32) | devNum); // 32 means left shift 32 bit in DdkSysfsMakeDevAddr() 184 device->usbDevAddr = DdkSysfsMakeDevAddr(device->busNum, device->devNum); in DdkSysfsStandardizeDevice() 192 device->devNum = (int32_t)value; in DdkSysfsGetDevice()
|
D | ddk_device_manager.c | 84 … if (DdkDevMgrIsDevExists(DdkSysfsMakeDevAddr(device->info.busNum, device->info.devNum)) != NULL) { in DdkDevMgrAddDevice() 86 device->info.busNum, device->info.devNum); in DdkDevMgrAddDevice() 97 int32_t DdkDevMgrRemoveDevice(int32_t busNum, int32_t devNum, struct UsbPnpNotifyMatchInfoTable *in… in DdkDevMgrRemoveDevice() argument 99 uint64_t devAddr = DdkSysfsMakeDevAddr(busNum, devNum); in DdkDevMgrRemoveDevice() 102 … HDF_LOGE("%{public}s: no device busNum:%{public}d, devNum:%{public}d", __func__, busNum, devNum); in DdkDevMgrRemoveDevice()
|
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/include/ |
D | usb_pnp_notify.h | 88 int32_t devNum; member 109 uint8_t devNum; member
|
/drivers/peripheral/usb/ddk_service/src/ |
D | usb_ddk_hash.cpp | 62 if (it->second.busNum == info.busNum && it->second.devNum == info.devNum) { in UsbDdkGetRecordByVal()
|
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/ |
D | usb_pnp_notify.c | 96 … if ((infoPos->info.devNum == queryPara.devNum) && (infoPos->info.busNum == queryPara.busNum)) { in UsbPnpNotifyFindInfo() 168 deviceInfo->info.devNum = infoData.usbDev->devnum; in UsbPnpNotifyAddInitInfo() 271 infoTable.devNum = deviceInfo->info.devNum; in UsbPnpNotifyInitInfo() 321 infoQueryPara.devNum = pnpInfoData->infoData->devNum; in UsbPnpNotifyGetDeviceInfo() 374 …__LINE__, g_usbPnpNotifyCmdType, deviceInfo->info.usbDevAddr, deviceInfo->info.devNum, deviceInfo-… in UsbPnpNotifyHdfSendEvent() 425 deviceInfo->info.devNum, deviceInfo->info.busNum, deviceInfo->info.numInfos, in UsbPnpNotifyFirstGetDevice() 450 infoTable->devNum = g_testUsbPnpInfo->devNum; in TestPnpNotifyFillInfoTable() 502 …__func__, g_usbPnpNotifyCmdType, infoTable.usbDevAddr, infoTable.devNum, infoTable.busNum, infoTab… in TestPnpNotifyHdfSendEvent() 730 g_usbPnpInfo.devNum = usbPnpInfo->devNum; in UsbPnpNotifyReadPnpInfo() 740 infoQueryPara.devNum = usbPnpInfo->devNum; in UsbPnpNotifyReadPnpInfo() [all …]
|
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/ |
D | usb_pnp_notify.c | 135 … if ((infoPos->info.devNum == queryPara.devNum) && (infoPos->info.busNum == queryPara.busNum)) { in UsbPnpNotifyFindInfo() 207 deviceInfo->info.devNum = infoData.usbDev->address; in UsbPnpNotifyAddInitInfo() 299 infoTable.devNum = deviceInfo->info.devNum; in UsbPnpNotifyInitInfo() 371 infoQueryPara.devNum = pnpInfoData->infoData->devNum; in UsbPnpNotifyGetDeviceInfo() 424 deviceInfo->info.devNum, deviceInfo->info.busNum, deviceInfo->info.numInfos, in UsbPnpNotifyHdfSendEvent() 470 infoTable->devNum = g_testUsbPnpInfo->devNum; in TestPnpNotifyFillInfoTable() 523 …__func__, g_usbPnpNotifyCmdType, infoTable.usbDevAddr, infoTable.devNum, infoTable.busNum, infoTab… in TestPnpNotifyHdfSendEvent() 736 if ((pnpNotifyDevicePos->device->address == paraData.devNum) && in UsbPnpNotifyGetUsbDevice() 776 g_usbPnpInfo.devNum = usbPnpInfo->devNum; in UsbPnpNotifyReadPnpInfo() 786 infoQueryPara.devNum = usbPnpInfo->devNum; in UsbPnpNotifyReadPnpInfo() [all …]
|
/drivers/peripheral/usb/ddk/host/include/ |
D | ddk_sysfs_device.h | 24 uint64_t DdkSysfsMakeDevAddr(uint32_t busNum, uint32_t devNum);
|
D | ddk_device_manager.h | 32 int32_t DdkDevMgrRemoveDevice(int32_t busNum, int32_t devNum, struct UsbPnpNotifyMatchInfoTable *in…
|
/drivers/peripheral/usb/test/UsbSubscriberTest/ |
D | UsbSubscriberTest.cpp | 28 devAddr_ = info.devNum; in DeviceEvent()
|
/drivers/peripheral/usb/ddk_service/include/ |
D | usb_ddk_hash.h | 22 uint8_t devNum; member
|
/drivers/hdf_core/framework/test/unittest/platform/common/ |
D | adc_test.h | 21 uint32_t devNum; member
|
D | dac_test.h | 21 uint32_t devNum; member
|
/drivers/hdf_core/framework/model/usb/src/ |
D | usb_wrapper.cpp | 20 "DEVICE_NAME", std::to_string(infoTable->busNum) + "-" + std::to_string(infoTable->devNum), in UsbDDKDriverMatchFailEvent()
|
/drivers/peripheral/input/interfaces/include/ |
D | input_manager.h | 120 int32_t (*GetInputDeviceList)(uint32_t *devNum, InputDeviceInfo **devList, uint32_t size);
|
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/include/ |
D | usb_pnp_notify.h | 67 int32_t devNum; member
|