Lines Matching refs:rdesc
342 static __u8 *lg_report_fixup(struct hid_device *hdev, __u8 *rdesc, in lg_report_fixup() argument
349 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup()
350 rdesc[84] == 0x8c && rdesc[85] == 0x02) { in lg_report_fixup()
353 rdesc[84] = rdesc[89] = 0x4d; in lg_report_fixup()
354 rdesc[85] = rdesc[90] = 0x10; in lg_report_fixup()
357 rdesc[32] == 0x81 && rdesc[33] == 0x06 && in lg_report_fixup()
358 rdesc[49] == 0x81 && rdesc[50] == 0x06) { in lg_report_fixup()
361 rdesc[33] = rdesc[50] = 0x02; in lg_report_fixup()
382 rdesc = df_rdesc_fixed; in lg_report_fixup()
391 rdesc = momo_rdesc_fixed; in lg_report_fixup()
400 rdesc = momo2_rdesc_fixed; in lg_report_fixup()
409 rdesc = fv_rdesc_fixed; in lg_report_fixup()
418 rdesc = dfp_rdesc_fixed; in lg_report_fixup()
424 if (*rsize >= 101 && rdesc[41] == 0x95 && rdesc[42] == 0x0B && in lg_report_fixup()
425 rdesc[47] == 0x05 && rdesc[48] == 0x09) { in lg_report_fixup()
427 rdesc[41] = 0x05; in lg_report_fixup()
428 rdesc[42] = 0x09; in lg_report_fixup()
429 rdesc[47] = 0x95; in lg_report_fixup()
430 rdesc[48] = 0x0B; in lg_report_fixup()
435 return rdesc; in lg_report_fixup()