Home
last modified time | relevance | path

Searched refs:requestSync (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusb_impl.cpp360 UsbdRequestSync *requestSync = UsbdDispatcher::UsbdFindRequestSync(port, interfaceId, pipeAddr); in UsbdFindRequestSyncAndCreat() local
361 if (requestSync != nullptr) { in UsbdFindRequestSyncAndCreat()
362 *request = requestSync; in UsbdFindRequestSyncAndCreat()
384 requestSync = UsbdDispatcher::UsbdRequestSyncAlloc(); in UsbdFindRequestSyncAndCreat()
385 if (requestSync == nullptr) { in UsbdFindRequestSyncAndCreat()
390 ret = UsbdDispatcher::UsbdRequestSyncInit(port, ifHandle, &pipe, requestSync); in UsbdFindRequestSyncAndCreat()
393 int32_t tRet = UsbdDispatcher::UsbdRequestSyncRelease(requestSync); in UsbdFindRequestSyncAndCreat()
394 requestSync = nullptr; in UsbdFindRequestSyncAndCreat()
400 *request = requestSync; in UsbdFindRequestSyncAndCreat()
413 UsbdRequestSync *requestSync in UsbdFindRequestSyncAndCreatwithLength() local
461 UsbdBulkReadSyncBase( int32_t timeout, uint8_t *buffer, uint32_t size, uint32_t *actlength, UsbdRequestSync *requestSync) UsbdBulkReadSyncBase() argument
503 UsbdBulkWriteSyncBase( HostDevice *port, UsbdRequestSync *requestSync, const uint8_t *buffer, uint32_t length, int32_t timeout) UsbdBulkWriteSyncBase() argument
1480 UsbdRequestSync *requestSync = nullptr; BulkTransferRead() local
1524 UsbdRequestSync *requestSync = nullptr; BulkTransferReadwithLength() local
1562 UsbdRequestSync *requestSync = nullptr; BulkTransferWrite() local
1709 UsbdRequestSync *requestSync = nullptr; InterruptTransferRead() local
1740 UsbdRequestSync *requestSync = nullptr; InterruptTransferWrite() local
1765 UsbdRequestSync *requestSync = nullptr; IsoTransferRead() local
1798 UsbdRequestSync *requestSync = nullptr; IsoTransferWrite() local
[all...]
H A Dusbd_dispatcher.cpp264 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync) in UsbdRequestSyncInit()
266 if (port == nullptr || requestSync == nullptr || ifHandle == nullptr || pipe == nullptr) { in UsbdRequestSyncInit()
271 int32_t ret = memcpy_s(&requestSync->pipe, sizeof(UsbPipeInfo), pipe, sizeof(UsbPipeInfo)); in UsbdRequestSyncInit()
277 requestSync->ifHandle = ifHandle; in UsbdRequestSyncInit()
278 requestSync->request = UsbAllocRequest(requestSync->ifHandle, 0, requestSync->pipe.maxPacketSize); in UsbdRequestSyncInit()
279 if (requestSync->request == nullptr) { in UsbdRequestSyncInit()
283 UsbRequestParamsWSyncInit(&requestSync->params, USB_CTRL_SET_TIMEOUT, &requestSync in UsbdRequestSyncInit()
263 UsbdRequestSyncInit( HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync) UsbdRequestSyncInit() argument
291 UsbdRequestSyncInitwithLength(HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, int32_t length, UsbdRequestSync *requestSync) UsbdRequestSyncInitwithLength() argument
319 UsbdRequestSyncRelease(UsbdRequestSync *requestSync) UsbdRequestSyncRelease() argument
[all...]
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd_dispatcher.h84 HostDevice *port, UsbInterfaceHandle *ifHandle, UsbPipeInfo *pipe, UsbdRequestSync *requestSync);
86 UsbPipeInfo *pipe, int32_t length, UsbdRequestSync *requestSync);
87 static int32_t UsbdRequestSyncRelease(UsbdRequestSync *requestSync);
H A Dusb_impl.h126 int32_t timeout, uint8_t *buffer, uint32_t size, uint32_t *actlength, UsbdRequestSync *requestSync);
128 HostDevice *port, UsbdRequestSync *requestSync, const uint8_t *buffer, uint32_t length, int32_t timeout);

Completed in 4 milliseconds