Lines Matching refs:m_rptDesc
82 memset(&m_rptDesc, 0, sizeof(m_rptDesc)); in Open()
89 m_rptDesc.size = desc_size; in Open()
90 rc = ioctl(m_fd, HIDIOCGRDESC, &m_rptDesc); in Open()
147 for (unsigned int i = 0; i < m_rptDesc.size; ++i) { in ParseReportSizes()
149 if (m_rptDesc.value[i] == 0x85 || m_rptDesc.value[i] == 0xc0) { in ParseReportSizes()
176 if (m_rptDesc.value[i] == 0x85) in ParseReportSizes()
181 if (m_rptDesc.value[i] == 0xc0) in ParseReportSizes()
186 if (m_rptDesc.value[i] == 0x75) { in ParseReportSizes()
187 if (i + 1 >= m_rptDesc.size) in ParseReportSizes()
189 reportSize = m_rptDesc.value[++i]; in ParseReportSizes()
193 if (m_rptDesc.value[i] == 0x95) { in ParseReportSizes()
194 if (i + 1 >= m_rptDesc.size) in ParseReportSizes()
196 reportCount = m_rptDesc.value[++i]; in ParseReportSizes()
200 if (m_rptDesc.value[i] == HID_REPORT_TYPE_INPUT) in ParseReportSizes()
203 if (m_rptDesc.value[i] == HID_REPORT_TYPE_OUTPUT) in ParseReportSizes()
206 if (m_rptDesc.value[i] == HID_REPORT_TYPE_FEATURE) { in ParseReportSizes()
212 if (i + 2 >= m_rptDesc.size) in ParseReportSizes()
214 if (m_rptDesc.value[i] == 0x06 && m_rptDesc.value[i + 1] == 0x00 in ParseReportSizes()
215 && m_rptDesc.value[i + 2] == 0xFF) { in ParseReportSizes()