Home | History | Annotate | Download | only in UefiUsbLib

Lines Matching refs:Request

20 //  Hid RequestType Bits specifying characteristics of request.

35 Submit a USB get HID descriptor request for the USB device specified by UsbIo
46 @retval EFI_SUCCESS The request executed successfully.
47 @retval EFI_TIMEOUT A timeout occurred executing the request.
48 @retval EFI_DEVICE_ERROR The request failed due to a device error.
61 EFI_USB_DEVICE_REQUEST Request;
66 Request.RequestType = USB_HID_GET_DESCRIPTOR_REQ_TYPE;
67 Request.Request = USB_REQ_GET_DESCRIPTOR;
68 Request.Value = (UINT16) (USB_DESC_TYPE_HID << 8);
69 Request.Index = Interface;
70 Request.Length = (UINT16) sizeof (EFI_USB_HID_DESCRIPTOR);
74 &Request,
89 Submit a USB get HID report descriptor request for the USB device specified by
99 @retval EFI_SUCCESS The request executed successfully.
100 @retval EFI_OUT_OF_RESOURCES The request could not be completed because the
102 is not large enough to hold the result of the request.
103 @retval EFI_TIMEOUT A timeout occurred executing the request.
104 @retval EFI_DEVICE_ERROR The request failed due to a device error.
118 EFI_USB_DEVICE_REQUEST Request;
124 // Fill Device request packet
126 Request.RequestType = USB_HID_GET_DESCRIPTOR_REQ_TYPE;
127 Request.Request = USB_REQ_GET_DESCRIPTOR;
128 Request.Value = (UINT16) (USB_DESC_TYPE_REPORT << 8);
129 Request.Index = Interface;
130 Request.Length = DescriptorLength;
134 &Request,
149 Submit a USB get HID protocol request for the USB device specified by UsbIo
158 @retval EFI_SUCCESS The request executed successfully.
159 @retval EFI_TIMEOUT A timeout occurred executing the request.
160 @retval EFI_DEVICE_ERROR The request failed due to a device error.
173 EFI_USB_DEVICE_REQUEST Request;
179 // Fill Device request packet
181 Request.RequestType = USB_HID_CLASS_GET_REQ_TYPE;
182 Request.Request = EFI_USB_GET_PROTOCOL_REQUEST;
183 Request.Value = 0;
184 Request.Index = Interface;
185 Request.Length = 1;
189 &Request,
205 Submit a USB set HID protocol request for the USB device specified by UsbIo
213 @retval EFI_SUCCESS The request executed successfully.
214 @retval EFI_TIMEOUT A timeout occurred executing the request.
215 @retval EFI_DEVICE_ERROR The request failed due to a device error.
228 EFI_USB_DEVICE_REQUEST Request;
233 // Fill Device request packet
235 Request.RequestType = USB_HID_CLASS_SET_REQ_TYPE;
236 Request.Request = EFI_USB_SET_PROTOCOL_REQUEST;
237 Request.Value = Protocol;
238 Request.Index = Interface;
239 Request.Length = 0;
243 &Request,
257 Submit a USB set HID report idle request for the USB device specified by UsbIo,
266 @retval EFI_SUCCESS The request executed successfully.
267 @retval EFI_TIMEOUT A timeout occurred executing the request.
268 @retval EFI_DEVICE_ERROR The request failed due to a device error.
282 EFI_USB_DEVICE_REQUEST Request;
286 // Fill Device request packet
288 Request.RequestType = USB_HID_CLASS_SET_REQ_TYPE;
289 Request.Request = EFI_USB_SET_IDLE_REQUEST;
290 Request.Value = (UINT16) ((Duration << 8) | ReportId);
291 Request.Index = Interface;
292 Request.Length = 0;
296 &Request,
310 Submit a USB get HID report idle request for the USB device specified by UsbIo,
320 @retval EFI_SUCCESS The request executed successfully.
321 @retval EFI_TIMEOUT A timeout occurred executing the request.
322 @retval EFI_DEVICE_ERROR The request failed due to a device error.
336 EFI_USB_DEVICE_REQUEST Request;
341 // Fill Device request packet
343 Request.RequestType = USB_HID_CLASS_GET_REQ_TYPE;
344 Request.Request = EFI_USB_GET_IDLE_REQUEST;
345 Request.Value = ReportId;
346 Request.Index = Interface;
347 Request.Length = 1;
351 &Request,
367 Submit a USB set HID report request for the USB device specified by UsbIo,
380 @retval EFI_SUCCESS The request executed successfully.
381 @retval EFI_TIMEOUT A timeout occurred executing the request.
382 @retval EFI_DEVICE_ERROR The request failed due to a device error.
398 EFI_USB_DEVICE_REQUEST Request;
404 // Fill Device request packet
406 Request.RequestType = USB_HID_CLASS_SET_REQ_TYPE;
407 Request.Request = EFI_USB_SET_REPORT_REQUEST;
408 Request.Value = (UINT16) ((ReportType << 8) | ReportId);
409 Request.Index = Interface;
410 Request.Length = ReportLen;
414 &Request,
429 Submit a USB get HID report request for the USB device specified by UsbIo,
442 @retval EFI_SUCCESS The request executed successfully.
443 @retval EFI_OUT_OF_RESOURCES The request could not be completed because the
445 large enough to hold the result of the request.
446 @retval EFI_TIMEOUT A timeout occurred executing the request.
447 @retval EFI_DEVICE_ERROR The request failed due to a device error.
463 EFI_USB_DEVICE_REQUEST Request;
469 // Fill Device request packet
471 Request.RequestType = USB_HID_CLASS_GET_REQ_TYPE;
472 Request.Request = EFI_USB_GET_REPORT_REQUEST;
473 Request.Value = (UINT16) ((ReportType << 8) | ReportId);
474 Request.Index = Interface;
475 Request.Length = ReportLen;
479 &Request,