Lines Matching refs:reportDesc
122 void PrintHIDDescriptor(const uint8_t *reportDesc, uint32_t length)
124 const uint8_t * end = reportDesc + length;
139 PrintBytesAtIndentLevel(0, reportDesc, length);
145 while (reportDesc < end)
151 size = UnpackReportSize(*reportDesc);
154 type = UnpackReportType(*reportDesc);
155 tag = UnpackReportTag(*reportDesc);
157 sprintf((char *)tempbuf, "0x%02X, ", *(reportDesc++));
163 size = *reportDesc;
164 sprintf((char *)tempbuf, "0x%02X, ", *(reportDesc++));
166 tag = *reportDesc;
167 sprintf((char *)tempbuf, "0x%02X, ", *(reportDesc++));
179 value += (*(reportDesc)) << (i * 8);
180 sprintf((char *)tempbuf, "0x%02X, ", *(reportDesc++));
662 sprintf((char *)tempbufvalue, "%02X ", *(reportDesc++));