Home
last modified time | relevance | path

Searched refs:consumer_rdesc (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-logitech-hidpp.c3138 char *consumer_rdesc, *rdesc = (char *)_rdesc; in hidpp10_consumer_keys_report_fixup() local
3141 consumer_rdesc = strnstr(rdesc, consumer_rdesc_start, *rsize); in hidpp10_consumer_keys_report_fixup()
3142 size = *rsize - (consumer_rdesc - rdesc); in hidpp10_consumer_keys_report_fixup()
3143 if (consumer_rdesc && size >= 25) { in hidpp10_consumer_keys_report_fixup()
3144 consumer_rdesc[15] = 0x7f; in hidpp10_consumer_keys_report_fixup()
3145 consumer_rdesc[16] = 0x10; in hidpp10_consumer_keys_report_fixup()
3146 consumer_rdesc[20] = 0x7f; in hidpp10_consumer_keys_report_fixup()
3147 consumer_rdesc[21] = 0x10; in hidpp10_consumer_keys_report_fixup()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-logitech-hidpp.c3649 char *consumer_rdesc, *rdesc = (char *)_rdesc; in hidpp10_consumer_keys_report_fixup() local
3652 consumer_rdesc = strnstr(rdesc, consumer_rdesc_start, *rsize); in hidpp10_consumer_keys_report_fixup()
3653 size = *rsize - (consumer_rdesc - rdesc); in hidpp10_consumer_keys_report_fixup()
3654 if (consumer_rdesc && size >= 25) { in hidpp10_consumer_keys_report_fixup()
3655 consumer_rdesc[15] = 0x7f; in hidpp10_consumer_keys_report_fixup()
3656 consumer_rdesc[16] = 0x10; in hidpp10_consumer_keys_report_fixup()
3657 consumer_rdesc[20] = 0x7f; in hidpp10_consumer_keys_report_fixup()
3658 consumer_rdesc[21] = 0x10; in hidpp10_consumer_keys_report_fixup()

Completed in 12 milliseconds