Home
last modified time | relevance | path

Searched refs:new_rdesc (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/hid/
A Dhid-gembird.c63 __u8 *new_rdesc; in gembird_report_fixup() local
72 new_rdesc = devm_kzalloc(&hdev->dev, new_size, GFP_KERNEL); in gembird_report_fixup()
73 if (new_rdesc == NULL) in gembird_report_fixup()
80 memcpy(new_rdesc + delta_size, rdesc, *rsize); in gembird_report_fixup()
83 memcpy(new_rdesc, rdesc, GEMBIRD_START_FAULTY_RDESC); in gembird_report_fixup()
86 memcpy(new_rdesc + GEMBIRD_START_FAULTY_RDESC, in gembird_report_fixup()
91 rdesc = new_rdesc; in gembird_report_fixup()
A Dhid-asus.c1196 __u8 *new_rdesc; in asus_report_fixup() local
1199 new_rdesc = devm_kzalloc(&hdev->dev, new_size, GFP_KERNEL); in asus_report_fixup()
1200 if (new_rdesc == NULL) in asus_report_fixup()
1205 memcpy(new_rdesc, rdesc, 61); in asus_report_fixup()
1207 memcpy(new_rdesc + 61, asus_g752_fixed_rdesc, sizeof(asus_g752_fixed_rdesc)); in asus_report_fixup()
1209 memcpy(new_rdesc + 61 + sizeof(asus_g752_fixed_rdesc), rdesc + 61, *rsize - 61); in asus_report_fixup()
1212 rdesc = new_rdesc; in asus_report_fixup()

Completed in 8 milliseconds