Lines Matching +full:short +full:- +full:descriptor
1 // SPDX-License-Identifier: GPL-2.0+
22 static unsigned short expectedCRC;
27 extern unsigned short g_usCalculatedCRC;
28 extern unsigned short g_usDataType;
31 extern unsigned short g_iHeapCounter;
32 extern unsigned short g_iHEAPSize;
33 extern unsigned short g_usIntelDataIndex;
34 extern unsigned short g_usIntelBufferSize;
51 * It is understood that due to a_usTimeDelay is defined as unsigned short, a 16
53 * micro-seconds or 32000 milli-second maximum. The VME file will never pass on
60 void ispVMDelay(unsigned short delay) in ispVMDelay()
73 pfns->jtag_set_tdi(a_ucValue); in writePort()
76 pfns->jtag_set_tck(a_ucValue); in writePort()
79 pfns->jtag_set_tms(a_ucValue); in writePort()
88 return pfns->jtag_get_tdo(); in readPort()
138 * Data over-run. in GetByte()
184 unsigned short crc; in ispVM()
263 if ((desc->family > min_lattice_type) && in lattice_validate()
264 (desc->family < max_lattice_type)) { in lattice_validate()
265 if ((desc->iface > min_lattice_iface_type) && in lattice_validate()
266 (desc->iface < max_lattice_iface_type)) { in lattice_validate()
267 if (desc->size) { in lattice_validate()
274 fn, desc->iface); in lattice_validate()
278 fn, desc->family); in lattice_validate()
281 printf("%s: NULL descriptor!\n", fn); in lattice_validate()
292 printf("%s: Invalid device descriptor\n", __func__); in lattice_load()
294 pfns = desc->iface_fns; in lattice_load()
296 switch (desc->family) { in lattice_load()
313 __func__, desc->family); in lattice_load()
334 switch (desc->family) { in lattice_info()
340 printf("Unknown family type, %d\n", desc->family); in lattice_info()
344 switch (desc->iface) { in lattice_info()
350 printf("Unsupported interface type, %d\n", desc->iface); in lattice_info()
354 desc->size); in lattice_info()
356 if (desc->iface_fns) { in lattice_info()
358 desc->iface_fns); in lattice_info()
359 switch (desc->family) { in lattice_info()
370 if (desc->desc) in lattice_info()
371 printf("Model: \t%s\n", desc->desc); in lattice_info()
375 printf("%s: Invalid device descriptor\n", __func__); in lattice_info()