Searched refs:dev (Results 1 – 3 of 3) sorted by relevance
| /rkdeveloptool/ |
| H A D | main.cpp | 814 bool check_device_type(STRUCT_RKDEVICE_DESC &dev, UINT uiSupportType) in check_device_type() argument 816 if (((UINT)dev.emUsbType & uiSupportType) == (UINT)dev.emUsbType) in check_device_type() 869 bool write_parameter(STRUCT_RKDEVICE_DESC &dev, char *szParameter) in write_parameter() argument 875 if (!check_device_type(dev, RKUSB_MASKROM|RKUSB_LOADER)) in write_parameter() 878 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_parameter() 921 bool write_gpt(STRUCT_RKDEVICE_DESC &dev, char *szParameter) in write_gpt() argument 930 if (!check_device_type(dev, RKUSB_MASKROM)) in write_gpt() 933 pComm = new CRKUsbComm(dev, g_pLogObject, bRet); in write_gpt() 1763 bool download_boot(STRUCT_RKDEVICE_DESC &dev, char *szLoader) in download_boot() argument 1765 if (!check_device_type(dev, RKUSB_MASKROM)) in download_boot() [all …]
|
| H A D | Readme.txt | 5 sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf
|
| H A D | RKScan.cpp | 236 libusb_device *dev; in EnumerateUsbDevice() local 245 dev = pDevs[i]; in EnumerateUsbDevice() 246 if (dev) { in EnumerateUsbDevice() 247 ret = libusb_get_device_descriptor (dev, &descriptor); in EnumerateUsbDevice() 256 desc.pUsbHandle = (void *)dev; in EnumerateUsbDevice() 260 desc.uiLocationID = libusb_get_bus_number(dev); in EnumerateUsbDevice() 262 desc.uiLocationID += libusb_get_port_number(dev); in EnumerateUsbDevice() 263 libusb_ref_device(dev); in EnumerateUsbDevice()
|