Searched refs:USHORT (Results 1 – 11 of 11) sorted by relevance
| /rkdeveloptool/ |
| H A D | DefineHeader.h | 28 typedef unsigned short USHORT; typedef 80 USHORT major_version; /* (0x1) - reject images with higher major versions */ 81 USHORT minor_version; /* (0x0) - allow images with higer minor versions */ 82 USHORT file_hdr_sz; /* 28 bytes for first revision of the file format */ 83 USHORT chunk_hdr_sz; /* 12 bytes for first revision of the file format */ 98 USHORT chunk_type; /* 0xCAC1 -> raw; 0xCAC2 -> fill; 0xCAC3 -> don't care */ 99 USHORT reserved1; 105 USHORT usYear; 124 USHORT usVid; 125 USHORT usPid; [all …]
|
| H A D | RKScan.h | 7 USHORT usVid; 8 USHORT usPid; 28 void SetVidPid(USHORT mscVid = 0, USHORT mscPid = 0); 29 void AddRockusbVidPid(USHORT newVid, USHORT newPid, USHORT oldVid, USHORT oldPid); 30 bool FindRockusbVidPid(ENUM_RKDEVICE_TYPE type, USHORT &usVid, USHORT &usPid); 32 …bool Wait(STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid = 0, USHORT usPid = … 34 …dDevice, STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid = 0, USHORT usPid = 0… 46 int FindConfigSetPos(RKDEVICE_CONFIG_SET &devConfigSet, USHORT vid, USHORT pid); 47 int FindWaitSetPos(const RKDEVICE_CONFIG_SET &waitDeviceSet, USHORT vid, USHORT pid); 50 bool IsRockusbDevice(ENUM_RKDEVICE_TYPE &type, USHORT vid, USHORT pid);
|
| H A D | RKDevice.h | 22 USHORT usBlockSize; 30 USHORT usValidSecPerBlock; 31 USHORT usPhyBlokcPerIDB; 36 USHORT usBlockSize; 49 USHORT GetVendorID(); 50 void SetVendorID(USHORT value); 51 property<CRKDevice, USHORT, READ_WRITE> VendorID; 53 USHORT GetProductID(); 54 void SetProductID(USHORT value); 55 property<CRKDevice, USHORT, READ_WRITE> ProductID; [all …]
|
| H A D | RKScan.cpp | 55 bool CRKScan::FindRockusbVidPid(ENUM_RKDEVICE_TYPE type, USHORT &usVid, USHORT &usPid) in FindRockusbVidPid() 69 void CRKScan::AddRockusbVidPid(USHORT newVid, USHORT newPid, USHORT oldVid, USHORT oldPid) in AddRockusbVidPid() 88 void CRKScan::SetVidPid(USHORT mscVid, USHORT mscPid) in SetVidPid() 204 int CRKScan::FindWaitSetPos(const RKDEVICE_CONFIG_SET &waitDeviceSet, USHORT vid, USHORT pid) in FindWaitSetPos() 216 int CRKScan::FindConfigSetPos(RKDEVICE_CONFIG_SET &devConfigSet, USHORT vid, USHORT pid) in FindConfigSetPos() 284 bool CRKScan::IsRockusbDevice(ENUM_RKDEVICE_TYPE &type, USHORT vid, USHORT pid) in IsRockusbDevice() 394 USHORT usTemp; in Search() 405 …ecExistedDevice, STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid, USHORT usPid) in MutexWait() 496 bool CRKScan::Wait(STRUCT_RKDEVICE_DESC &device, ENUM_RKUSB_TYPE usbType, USHORT usVid, USHORT usPi… in Wait()
|
| H A D | RKComm.cpp | 290 USHORT usCount; in RKU_EraseBlock() 483 USHORT wSectorSize; in RKU_ReadLBA() 484 USHORT usSectorLen; in RKU_ReadLBA() 701 USHORT wSectorSize; in RKU_WriteLBA() 702 USHORT usCount; in RKU_WriteLBA() 742 USHORT usCount; in RKU_EraseLBA() 777 USHORT wSectorSize; in RKU_WriteSector() 778 USHORT usCount; in RKU_WriteSector() 827 USHORT crcValue = 0xffff; in RKU_DeviceRequest()
|
| H A D | RKImage.cpp | 32 USHORT CRKImage::GetBackupSize() in GetBackupSize() 34 USHORT *pBackupSize; in GetBackupSize() 35 pBackupSize = (USHORT *)&m_reserved[12]; in GetBackupSize() 122 void CRKImage::GetReservedData(PBYTE &lpData, USHORT &usSize) in GetReservedData()
|
| H A D | RKImage.h | 9 USHORT usSize; 52 void GetReservedData(PBYTE &lpData, USHORT &usSize);
|
| H A D | RKBoot.h | 9 USHORT usSize; 86 USHORT m_BootHeadSize;
|
| H A D | RKDevice.cpp | 22 void CRKDevice::SetVendorID(USHORT value) in SetVendorID() 26 void CRKDevice::SetProductID(USHORT value) in SetProductID() 43 void CRKDevice::SetBcdUsb(USHORT value) in SetBcdUsb() 73 USHORT CRKDevice::GetVendorID() in GetVendorID() 77 USHORT CRKDevice::GetProductID() in GetProductID() 95 USHORT CRKDevice::GetBcdUsb() in GetBcdUsb()
|
| H A D | RKComm.h | 65 USHORT usLength;
|
| H A D | main.cpp | 722 bool MakeSector0(PBYTE pSector, USHORT usFlashDataSec, USHORT usFlashBootSec, bool rc4Flag) in MakeSector0() 767 int MakeIDBlockData(PBYTE pDDR, PBYTE pLoader, PBYTE lpIDBlock, USHORT usFlashDataSec, USHORT usFla… in MakeIDBlockData() 1840 USHORT usFlashDataSec, usFlashBootSec, usFlashHeadSec; in upgrade_loader()
|