Searched refs:GET_BUS_NUM (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/drivers/peripheral/usb/ddk_service/src/ |
H A D | usb_ddk_service.cpp | 35 #define GET_BUS_NUM(devHandle) ((uint8_t)((devHandle) >> 32)) macro 149 … UsbRawHandle *rawHandle = UsbRawOpenDevice(nullptr, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId)); in GetDeviceDescriptor() 177 … UsbRawHandle *rawHandle = UsbRawOpenDevice(nullptr, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId)); in GetConfigDescriptor() 220 UsbClaimInterface(nullptr, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId), interfaceIndex); in ClaimInterface() 232 …int32_t ret = UsbDdkHash({(uint64_t)handle, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId)}, interfa… in ClaimInterface() 500 int32_t ret = UsbGetDeviceMemMapFd(nullptr, GET_BUS_NUM(deviceId), GET_DEV_NUM(deviceId)); in GetDeviceMemMapFd()
|