Home
last modified time | relevance | path

Searched refs:device (Results 1 – 5 of 5) sorted by relevance

/rkdeveloptool/
H A DRKScan.cpp405 bool CRKScan::MutexWait(UINT_VECTOR &vecExistedDevice, STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYP… in MutexWait() argument
418 device.uiLocationID = 0; in MutexWait()
431 device.uiLocationID = 0; in MutexWait()
435 if (device.uiLocationID == 0) { in MutexWait()
437 device.uiLocationID = (*iter).uiLocationID; in MutexWait()
439 if (device.uiLocationID == (*iter).uiLocationID) { in MutexWait()
442 device.uiLocationID = 0; in MutexWait()
448 device.uiLocationID = 0; in MutexWait()
459 bFound = Wait(device, usbType, usVid, usPid); in MutexWait()
496 bool CRKScan::Wait(STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid, USHORT usPi… in Wait() argument
[all …]
H A DReadme.txt1 rkdeveloptool gives you a simple way to read/write rockusb device.let's start.
15 sudo ./rkdeveloptool db RKXXLoader.bin //download usbplug to device
17 sudo ./rkdeveloptool rd //reset device
H A DRKScan.h32 …bool Wait(STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid = 0, USHORT usPid = …
34 …bool MutexWait(UINT_VECTOR &vecExistedDevice, STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbTyp…
36 bool GetDevice(STRUCT_RKDEVICE_DESC &device, int pos);
H A DRKDevice.cpp115 CRKDevice::CRKDevice(STRUCT_RKDEVICE_DESC &device) in CRKDevice() argument
158 m_vid = device.usVid; in CRKDevice()
159 m_pid = device.usPid; in CRKDevice()
160 m_usb = device.emUsbType; in CRKDevice()
161 m_device = device.emDeviceType; in CRKDevice()
162 m_bcdUsb = device.usbcdUsb; in CRKDevice()
163 m_locationID = device.uiLocationID; in CRKDevice()
H A DRKDevice.h99 CRKDevice(STRUCT_RKDEVICE_DESC &device);