Home
last modified time | relevance | path

Searched refs:readFifo (Results 1 - 25 of 26) sorted by relevance

12

/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c146 if (DataFifoIsFull(&port->readFifo)) { in UsbEcmRxPush()
147 DataFifoSkip(&port->readFifo, size); in UsbEcmRxPush()
149 uint32_t count = DataFifoWrite(&port->readFifo, data, size); in UsbEcmRxPush()
311 ret = UsbEcmAllocFifo(&port->readFifo, READ_BUF_SIZE); in UsbEcmOpen()
317 DataFifoReset(&port->readFifo); in UsbEcmOpen()
353 DataFifoReset(&port->readFifo); in UsbEcmClose()
368 if (DataFifoIsEmpty(&port->readFifo)) { in UsbEcmRead()
374 buf = (uint8_t *)OsalMemCalloc(DataFifoLen(&port->readFifo) + sizeof(uint32_t)); in UsbEcmRead()
382 len = DataFifoRead(&port->readFifo, buf, DataFifoLen(&port->readFifo)); in UsbEcmRead()
[all...]
/drivers/peripheral/usb/gadget/function/include/
H A Dcdcecm.h51 struct DataFifo readFifo; member
H A Dcdcacm.h61 struct DataFifo readFifo; member
/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkapi_speed.h92 struct DataFifo readFifo; member
H A Dusbhost_sdkraw_speed.h88 struct DataFifo readFifo; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkapi_speed.h89 struct DataFifo readFifo; member
H A Dusbhost_nosdk_speed.h86 struct DataFifo readFifo; member
H A Dusbhost_sdkraw_speed.h83 struct DataFifo readFifo; member
/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h98 struct DataFifo readFifo; member
H A Dusb_serial.h96 struct DataFifo readFifo; member
/drivers/peripheral/usb/net/include/
H A Dcdc_ether.h105 struct DataFifo readFifo; member
H A Dusb_net_host.h113 struct DataFifo readFifo; member
/drivers/peripheral/usb/net/src/
H A Dcdc_ether.c295 if (DataFifoIsEmpty(&ecm->readFifo)) { in EcmRead()
300 buf = (uint8_t *)OsalMemCalloc(DataFifoLen(&ecm->readFifo) + sizeof(uint32_t)); in EcmRead()
306 len = DataFifoRead(&ecm->readFifo, buf, DataFifoLen(&ecm->readFifo)); in EcmRead()
350 ret = EcmAllocFifo(&ecm->readFifo, READ_BUF_SIZE); in EcmOpen()
371 EcmFreeFifo(&ecm->readFifo); in EcmOpen()
406 EcmFreeFifo(&ecm->readFifo); in EcmClostRelease()
821 if (DataFifoIsFull(&ecm->readFifo)) { in EcmReadBulk()
823 DataFifoSkip(&ecm->readFifo, size); in EcmReadBulk()
825 uint32_t count = DataFifoWrite(&ecm->readFifo, dat in EcmReadBulk()
[all...]
H A Dusb_net_host.c543 if (DataFifoIsFull(&usbNet->readFifo)) { in UsbnetHostReadBulkCallback()
544 DataFifoSkip(&usbNet->readFifo, size); in UsbnetHostReadBulkCallback()
546 uint32_t count = DataFifoWrite(&usbNet->readFifo, data, size); in UsbnetHostReadBulkCallback()
791 ret = UsbnetHostAllocFifo(&usbNet->readFifo, READ_BUF_SIZE); in UsbnetHostAllocRequests()
810 UsbnetHostFreeFifo(&usbNet->readFifo); in UsbnetHostAllocRequests()
829 UsbnetHostFreeFifo(&usbNet->readFifo); in UsbnetHostFreeRequests()
/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c554 if (DataFifoIsEmpty(&port->readFifo)) { in UsbSerialRead()
562 buf = (uint8_t *)OsalMemCalloc(DataFifoLen(&port->readFifo) + 1); in UsbSerialRead()
569 len = DataFifoRead(&port->readFifo, buf, DataFifoLen(&port->readFifo)); in UsbSerialRead()
667 ret = UsbSerialAllocFifo(&port->readFifo, READ_BUF_SIZE); in SerialOpen()
682 UsbSerialFreeFifo(&port->readFifo); in SerialOpen()
711 UsbSerialFreeFifo(&port->readFifo); in SerialClose()
1138 if (DataFifoIsFull(&acm->port->readFifo)) { in AcmReadBulkCallback()
1139 DataFifoSkip(&acm->port->readFifo, size); in AcmReadBulkCallback()
1141 uint32_t count = DataFifoWrite(&acm->port->readFifo, dat in AcmReadBulkCallback()
[all...]
H A Dusb_serial.c594 if (DataFifoIsEmpty(&port->readFifo)) { in UsbSerialRead()
599 len = DataFifoRead(&port->readFifo, g_acmReadBuffer, DataFifoLen(&port->readFifo)); in UsbSerialRead()
916 int32_t ret = UsbSerialAllocFifo((struct DataFifo *)&port->readFifo, READ_BUF_SIZE); in SerialOpen()
932 UsbSerialFreeFifo((struct DataFifo *)&port->readFifo); in SerialOpen()
967 UsbSerialFreeFifo((struct DataFifo *)&port->readFifo); in SerialClose()
1370 if (DataFifoIsFull(&acm->port->readFifo)) { in AcmReadBulk()
1372 DataFifoSkip(&acm->port->readFifo, size); in AcmReadBulk()
1374 uint32_t count = DataFifoWrite(&acm->port->readFifo, data, size); in AcmReadBulk()
/drivers/peripheral/usb/hdi_service/include/
H A Dusbd.h89 struct DataFifo readFifo; member
/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_raw_sdk_if_test.h74 struct DataFifo readFifo; member
H A Dusb_raw_sdk_if_test_io.cpp187 if (DataFifoIsFull(&acm->port->readFifo)) { in AcmReadBulkCallback()
188 DataFifoSkip(&acm->port->readFifo, size); in AcmReadBulkCallback()
190 count = DataFifoWrite(&acm->port->readFifo, data, size); in AcmReadBulkCallback()
H A Dusb_raw_sdk_if_test.cpp194 if (DataFifoIsFull(&acm->port->readFifo)) { in AcmReadBulkCallback()
195 DataFifoSkip(&acm->port->readFifo, size); in AcmReadBulkCallback()
197 count = DataFifoWrite(&acm->port->readFifo, data, size); in AcmReadBulkCallback()
/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h156 struct DataFifo readFifo; member
H A Dusb_raw_test.h207 struct DataFifo readFifo; member
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c146 if (DataFifoIsFull(&port->readFifo)) { in UsbSerialRxPush()
147 DataFifoSkip(&port->readFifo, size); in UsbSerialRxPush()
149 uint32_t count = DataFifoWrite(&port->readFifo, data, size); in UsbSerialRxPush()
415 UsbSerialFreeFifo(&port->readFifo); in UsbSerialStopIo()
445 ret = UsbSerialAllocFifo(&port->readFifo, READ_BUF_SIZE); in UsbSerialOpen()
492 DataFifoReset(&port->readFifo); in UsbSerialClose()
654 if (DataFifoIsEmpty(&port->readFifo)) { in UsbSerialRead()
658 fifoLen = DataFifoLen(&port->readFifo); in UsbSerialRead()
666 len = DataFifoRead(&port->readFifo, buf + i, 1); in UsbSerialRead()
/drivers/peripheral/usb/gadget/function/mtp/include/
H A Dusbfn_mtp_impl.h106 struct DataFifo readFifo; member
/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_dispatcher.cpp906 ret = UsbdAllocFifo(&port->readFifo, READ_BUF_SIZE); in FunAttachDevice()
921 UsbdFreeFifo(&port->readFifo); in FunAttachDevice()
963 UsbdFreeFifo(&port->readFifo); in FunDetachDevice()
1038 UsbdFreeFifo(&tempPort->readFifo); in UsbdRemoveBusDev()

Completed in 25 milliseconds

12