Searched refs:new_rdesc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | hid-gembird.c | 63 __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()
|
H A D | hid-asus.c | 1211 __u8 *new_rdesc; in asus_report_fixup() local 1214 new_rdesc = devm_kzalloc(&hdev->dev, new_size, GFP_KERNEL); in asus_report_fixup() 1215 if (new_rdesc == NULL) in asus_report_fixup() 1220 memcpy(new_rdesc, rdesc, 61); in asus_report_fixup() 1222 memcpy(new_rdesc + 61, asus_g752_fixed_rdesc, sizeof(asus_g752_fixed_rdesc)); in asus_report_fixup() 1224 memcpy(new_rdesc + 61 + sizeof(asus_g752_fixed_rdesc), rdesc + 61, *rsize - 61); in asus_report_fixup() 1227 rdesc = new_rdesc; in asus_report_fixup()
|