Lines Matching defs:DdkSysfsReadProperty
45 static int32_t DdkSysfsReadProperty(const char *deviceDir, const char *propName, int64_t *value, uint64_t maxVal)
110 int32_t ret = DdkSysfsReadProperty(intfPath, "bInterfaceClass", &value, UINT8_MAX);
112 ret += DdkSysfsReadProperty(intfPath, "bInterfaceSubClass", &value, UINT8_MAX);
114 ret += DdkSysfsReadProperty(intfPath, "bInterfaceProtocol", &value, UINT8_MAX);
116 ret += DdkSysfsReadProperty(intfPath, "bInterfaceNumber", &value, UINT8_MAX);
134 int32_t ret = DdkSysfsReadProperty(deviceDir, "bConfigurationValue", &configValue, INT8_MAX);
192 int32_t ret = DdkSysfsReadProperty(deviceDir, "devnum", &value, INT32_MAX);
194 ret += DdkSysfsReadProperty(deviceDir, "busnum", &value, INT32_MAX);
196 ret += DdkSysfsReadProperty(deviceDir, "bNumInterfaces", &value, UINT8_MAX);
200 ret += DdkSysfsReadProperty(deviceDir, "idVendor", &value, UINT16_MAX);
202 ret += DdkSysfsReadProperty(deviceDir, "idProduct", &value, UINT16_MAX);
204 ret += DdkSysfsReadProperty(deviceDir, "bcdDevice", &value, UINT16_MAX);
207 ret += DdkSysfsReadProperty(deviceDir, "bDeviceClass", &value, UINT8_MAX);
209 ret += DdkSysfsReadProperty(deviceDir, "bDeviceSubClass", &value, UINT8_MAX);
211 ret += DdkSysfsReadProperty(deviceDir, "bDeviceProtocol", &value, UINT8_MAX);