/drivers/hdf_core/adapter/uhdf2/shared/src/ |
D | dev_attribute_serialize.c | 39 if (attribute->deviceMatchAttr != NULL) { in DeviceAttributeSerialize() 41 !HdfSbufWriteString(sbuf, attribute->deviceMatchAttr)) { in DeviceAttributeSerialize() 96 const char *deviceMatchAttr = HdfSbufReadString(sbuf); in DeviceAttributeSet() local 97 if (deviceMatchAttr == NULL) { in DeviceAttributeSet() 101 attribute->deviceMatchAttr = strdup(deviceMatchAttr); in DeviceAttributeSet() 148 if (attribute->deviceMatchAttr != NULL) { in DeviceSerializedAttributeRelease() 149 OsalMemFree((void *)attribute->deviceMatchAttr); in DeviceSerializedAttributeRelease()
|
/drivers/hdf_core/framework/core/shared/include/ |
D | hdf_attribute_macro.h | 39 const char *deviceMatchAttr; member 57 deviceNode->deviceMatchAttr = HCS_PROP(node, deviceMatchAttr); \
|
/drivers/hdf_core/framework/model/usb/include/ |
D | usb_ddk_pnp_loader.h | 21 const char *deviceMatchAttr; member 59 const char *deviceMatchAttr; member
|
D | usb_pnp_manager.h | 19 const char *deviceMatchAttr; member
|
/drivers/hdf_core/adapter/platform/watchdog/ |
D | watchdog_stm32f4xx.c | 73 …tic uint32_t GetWatchdogDeviceInfoResource(WatchdogDeviceInfo *device, const char *deviceMatchAttr) in GetWatchdogDeviceInfoResource() argument 76 if (device == NULL || deviceMatchAttr == NULL) { in GetWatchdogDeviceInfoResource() 81 … HCS_FOREACH_CHILD_VARGS(PLATFORM_WATCHDOG_CONFIG, WATCHDOG_FIND_CONFIG, deviceMatchAttr, device); in GetWatchdogDeviceInfoResource() 84 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetWatchdogDeviceInfoResource() 127 if (device == NULL || device->deviceMatchAttr == NULL) { 142 ret = GetWatchdogDeviceInfoResource(watchdogdeviceinfo, device->deviceMatchAttr);
|
/drivers/hdf_core/adapter/uhdf2/hcs/default/ |
D | device_info.hcs | 15 deviceMatchAttr = "";
|
/drivers/hdf_core/framework/sample/config/device_info/ |
D | device_info.hcs | 13 deviceMatchAttr = "sample_uart_5";
|
/drivers/hdf_core/adapter/platform/pwm/ |
D | pwm_bes.c | 99 static uint32_t GetPwmDeviceResource(struct PwmDevice *device, const char *deviceMatchAttr) in GetPwmDeviceResource() argument 103 if (device == NULL || deviceMatchAttr == NULL) { in GetPwmDeviceResource() 109 HCS_FOREACH_CHILD_VARGS(PLATFORM_PWM_CONFIG, PWM_FIND_CONFIG, deviceMatchAttr, resource); in GetPwmDeviceResource() 112 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetPwmDeviceResource() 173 ret = GetPwmDeviceResource(pwmDevice, device->deviceMatchAttr);
|
D | pwm_stm32f4xx.c | 212 static uint32_t GetPwmDeviceResource(PwmDevice *device, const char *deviceMatchAttr) in GetPwmDeviceResource() argument 216 if (device == NULL || deviceMatchAttr == NULL) { in GetPwmDeviceResource() 222 HCS_FOREACH_CHILD_VARGS(PLATFORM_PWM_CONFIG, PWM_FIND_CONFIG, deviceMatchAttr, resource); in GetPwmDeviceResource() 225 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetPwmDeviceResource() 295 ret = GetPwmDeviceResource(pwmDevice, device->deviceMatchAttr);
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/ |
D | Liteos_Device_Info_Hcs.template | 12 deviceMatchAttr = ""; // ����˽������ƥ��Ĺؼ��֣����������˽���������ñ��е�match_attrֵ���
|
D | hdf_driver_manager_config.template | 15 deviceMatchAttr = "";
|
D | exists_model_hcs_info.template | 10 …deviceMatchAttr = ""; // Keyword matching the private data of the driver. Th…
|
D | device_info_hcs.template | 12 …deviceMatchAttr = ""; // Keyword matching the private data of the driver.…
|
/drivers/hdf_core/framework/core/host/src/ |
D | hdf_device_node.c | 273 devNode->deviceObject.deviceMatchAttr = deviceInfo->deviceMatchAttr; in HdfDeviceNodeNewInstance() 275 …e->deviceObject.property = HcsGetNodeByMatchAttr(HdfGetHcsRootNode(), deviceInfo->deviceMatchAttr); in HdfDeviceNodeNewInstance() 278 deviceInfo->moduleName, deviceInfo->deviceMatchAttr); in HdfDeviceNodeNewInstance()
|
/drivers/hdf_core/framework/model/usb/src/ |
D | usb_ddk_pnp_loader.c | 38 const char *deviceMatchAttr, struct UsbPnpNotifyServiceInfo serviceInfo) in UsbDdkPnpLoaderBufCreate() argument 58 if (!HdfSbufWriteString(pnpData, deviceMatchAttr)) { in UsbDdkPnpLoaderBufCreate() 515 … if (devResIface->GetString(node, "deviceMatchAttr", &table->deviceMatchAttr, "") != HDF_SUCCESS) { in UsbDdkPnpLoaderParseIdTable() 682 const char *deviceMatchAttr = HdfSbufReadString(data); in UsbDdkPnpLoaderDispatchPnpDevice() local 683 if (deviceMatchAttr == NULL) { in UsbDdkPnpLoaderDispatchPnpDevice() 695 managerInfo.deviceMatchAttr = deviceMatchAttr; in UsbDdkPnpLoaderDispatchPnpDevice() 719 deviceTableListTemp->deviceMatchAttr = idTable->deviceMatchAttr; in UsbDdkPnpLoaderDeviceListAdd() 754 (strcmp(deviceListTablePos->deviceMatchAttr, idTable->deviceMatchAttr) == 0) && in UsbDdkPnpLoaderAddInterface() 789 …pLoaderBufCreate(idTable->moduleName, idTable->serviceName, idTable->deviceMatchAttr, serviceInfo); in UsbDdkPnpLoaderrAddPnpDevice() 868 deviceListTablePos->deviceMatchAttr, serviceInfo); in UsbDdkPnpLoaderRemoveHandle()
|
/drivers/hdf_core/adapter/platform/i2c/ |
D | i2c_stm32f4xx.c | 79 …tic uint32_t GetI2cDeviceResource(struct RealI2cResource *i2cResource, const char *deviceMatchAttr) in GetI2cDeviceResource() argument 83 if (i2cResource == NULL || deviceMatchAttr == NULL) { in GetI2cDeviceResource() 89 HCS_FOREACH_CHILD_VARGS(PLATFORM_I2C_CONFIG, I2C_FIND_CONFIG, deviceMatchAttr, resource); in GetI2cDeviceResource() 92 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetI2cDeviceResource() 154 ret = GetI2cDeviceResource(i2cResource, device->deviceMatchAttr); in AttachI2cDevice()
|
D | i2c_bes.c | 155 const char *deviceMatchAttr) in GetI2cDeviceResource() argument 160 if (device == NULL || deviceMatchAttr == NULL) { in GetI2cDeviceResource() 166 …HCS_FOREACH_CHILD_VARGS(PLATFORM_I2C_CONFIG, I2C_FIND_CONFIG, deviceMatchAttr, resource, result, t… in GetI2cDeviceResource() 169 HDF_LOGE("resourceNode %s is NULL", deviceMatchAttr); in GetI2cDeviceResource() 256 ret = GetI2cDeviceResource(i2cDevice, device->deviceMatchAttr); in AttachI2cDevice()
|
/drivers/hdf_core/interfaces/inner_api/host/shared/ |
D | hdf_device_info.h | 40 const char *deviceMatchAttr; member
|
D | hdf_device_desc.h | 98 const char *deviceMatchAttr; member
|
/drivers/hdf_core/framework/core/shared/src/ |
D | hdf_device_info.c | 31 deviceInfo->deviceMatchAttr = NULL; in HdfDeviceInfoConstruct()
|
/drivers/hdf_core/framework/core/common/src/ |
D | hdf_attribute_macro.c | 141 deviceNodeInfo->deviceMatchAttr = deviceNode->deviceMatchAttr; in GetDeviceNodeInfo()
|
/drivers/hdf_core/adapter/platform/spi/ |
D | spi_stm32f4xx.c | 437 static int32_t GetSpiDeviceResource(SpiDevice *spiDevice, const char *deviceMatchAttr) in GetSpiDeviceResource() argument 441 if (spiDevice == NULL || deviceMatchAttr == NULL) { in GetSpiDeviceResource() 447 …HCS_FOREACH_CHILD_VARGS(PLATFORM_SPI_CONFIG, SPI_FIND_CONFIG, deviceMatchAttr, resource, spiDevice… in GetSpiDeviceResource() 450 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetSpiDeviceResource() 516 ret = GetSpiDeviceResource(spiDevice, device->deviceMatchAttr);
|
D | spi_bes.c | 447 static int32_t GetSpiDeviceResource(struct SpiDevice *spiDevice, const char *deviceMatchAttr) in GetSpiDeviceResource() argument 452 if (spiDevice == NULL || deviceMatchAttr == NULL) { in GetSpiDeviceResource() 458 HCS_FOREACH_CHILD_VARGS(PLATFORM_SPI_CONFIG, SPI_FIND_CONFIG, deviceMatchAttr, resource); in GetSpiDeviceResource() 462 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetSpiDeviceResource() 579 ret = GetSpiDeviceResource(spiDevice, device->deviceMatchAttr);
|
/drivers/hdf_core/adapter/platform/uart/ |
D | uart_bes.c | 482 static uint32_t GetUartDeviceResource(struct UartDevice *device, const char *deviceMatchAttr) in GetUartDeviceResource() argument 486 if (device == NULL || deviceMatchAttr == NULL) { in GetUartDeviceResource() 492 HCS_FOREACH_CHILD_VARGS(PLATFORM_UART_CONFIG, UART_FIND_CONFIG, deviceMatchAttr, resource); in GetUartDeviceResource() 495 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetUartDeviceResource() 585 ret = GetUartDeviceResource(uartDevice, device->deviceMatchAttr);
|
D | uart_stm32f4xx.c | 446 static uint32_t GetUartDeviceResource(UartDevice *device, const char *deviceMatchAttr) in GetUartDeviceResource() argument 450 if (device == NULL || deviceMatchAttr == NULL) { in GetUartDeviceResource() 456 HCS_FOREACH_CHILD_VARGS(PLATFORM_UART_CONFIG, UART_FIND_CONFIG, deviceMatchAttr, resource); in GetUartDeviceResource() 459 HDF_LOGE("resourceNode %s is NULL\r\n", deviceMatchAttr); in GetUartDeviceResource() 539 ret = GetUartDeviceResource(uartDevice, device->deviceMatchAttr);
|