Searched refs:input_device (Results 1 – 1 of 1) sorted by relevance
189 static void mousevsc_on_receive_device_info(struct mousevsc_dev *input_device, in mousevsc_on_receive_device_info() argument196 input_device->dev_info_status = -ENOMEM; in mousevsc_on_receive_device_info()198 input_device->hid_dev_info = device_info->hid_dev_info; in mousevsc_on_receive_device_info()203 input_device->hid_desc = kmemdup(desc, desc->bLength, GFP_ATOMIC); in mousevsc_on_receive_device_info()205 if (!input_device->hid_desc) in mousevsc_on_receive_device_info()208 input_device->report_desc_size = desc->desc[0].wDescriptorLength; in mousevsc_on_receive_device_info()209 if (input_device->report_desc_size == 0) { in mousevsc_on_receive_device_info()210 input_device->dev_info_status = -EINVAL; in mousevsc_on_receive_device_info()214 input_device->report_desc = kzalloc(input_device->report_desc_size, in mousevsc_on_receive_device_info()217 if (!input_device->report_desc) { in mousevsc_on_receive_device_info()[all …]