/drivers/peripheral/usb/serial/src/ |
D | usb_serial_rawapi.c | 45 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local 76 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo() 110 static void UsbStopIo(struct AcmDevice *acm) in UsbStopIo() 175 static int32_t UsbGetBulkEndpoint(struct AcmDevice *acm, const struct UsbRawEndpointDescriptor *end… in UsbGetBulkEndpoint() 203 struct AcmDevice *acm, const struct UsbRawInterface *interface, uint8_t interfaceIndex) in UsbParseConfigDescriptorProcess() 236 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor() 259 static void UsbReleaseInterfaces(struct AcmDevice *acm) in UsbReleaseInterfaces() 283 static int32_t UsbAllocWriteRequests(struct AcmDevice *acm) in UsbAllocWriteRequests() 300 static void UsbFreeWriteRequests(struct AcmDevice *acm) in UsbFreeWriteRequests() 314 static int32_t AcmWbAlloc(const struct AcmDevice *acm) in AcmWbAlloc() [all …]
|
D | usb_serial.c | 39 static int32_t AcmWbAlloc(const struct AcmDevice *acm) in AcmWbAlloc() 82 static int32_t AcmWbIsAvail(const struct AcmDevice *acm) in AcmWbIsAvail() 92 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 109 static int32_t AcmStartWb(struct AcmDevice *acm, struct AcmWb *wb, struct UsbPipeInfo *pipe) in AcmStartWb() 140 static int32_t AcmStartWbSync(struct AcmDevice *acm, struct AcmWb *wb, struct UsbPipeInfo *pipe) in AcmStartWbSync() 169 static int32_t AcmWriteBufAlloc(const struct AcmDevice *acm) in AcmWriteBufAlloc() 188 static void AcmWriteBufFree(struct AcmDevice *acm) in AcmWriteBufFree() 427 static int32_t SerialCtrlMsg(struct AcmDevice *acm, uint8_t request, uint16_t value, void *buf, uin… in SerialCtrlMsg() 526 static int32_t UsbSerialDeviceAlloc(struct AcmDevice *acm) in UsbSerialDeviceAlloc() 552 static void UsbSeriaDevicelFree(struct AcmDevice *acm) in UsbSeriaDevicelFree() [all …]
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_sdkapi_speed.c | 53 static int32_t AcmDbAlloc(struct AcmDevice * const acm) in AcmDbAlloc() 73 static int32_t AcmDbIsAvail(struct AcmDevice * const acm) in AcmDbIsAvail() 82 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 100 static int32_t AcmStartDb(struct AcmDevice *acm, struct AcmDb *db, struct UsbPipeInfo *pipe) in AcmStartDb() 113 static int32_t AcmDataBufAlloc(struct AcmDevice * const acm) in AcmDataBufAlloc() 180 static int32_t SerialBegin(struct AcmDevice *acm) in SerialBegin() 204 static struct UsbInterface *GetUsbInterfaceById(const struct AcmDevice *acm, uint8_t interfaceIndex) in GetUsbInterfaceById() 210 …const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDi… in EnumePipe() 242 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirect… in GetPipe() 303 struct AcmDevice *acm = NULL; in CheckParam() local [all …]
|
D | usbhost_sdkraw_speed.c | 64 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local 102 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoSendThread() local 115 static int32_t UsbStartIo(struct AcmDevice * const acm) in UsbStartIo() 159 static int32_t UsbStopIo(struct AcmDevice * const acm) in UsbStopIo() 228 static int32_t UsbGetBulkEndpoint(struct AcmDevice * const acm, const struct UsbRawEndpointDescript… in UsbGetBulkEndpoint() 256 …struct AcmDevice * const acm, const struct UsbRawInterface * const interface, uint8_t interfaceInd… in UsbParseConfigDescriptorProcess() 289 static int32_t UsbParseConfigDescriptor(struct AcmDevice * const acm, struct UsbRawConfigDescriptor… in UsbParseConfigDescriptor() 312 static int32_t UsbAllocDataRequests(struct AcmDevice * const acm) in UsbAllocDataRequests() 340 static int32_t UsbSerialDeviceAlloc(struct AcmDevice *acm) in UsbSerialDeviceAlloc() 369 static int32_t AcmDbAlloc(struct AcmDevice * const acm) in AcmDbAlloc() [all …]
|
/drivers/peripheral/usb/gadget/function/acm/ |
D | cdcacm.c | 321 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocReadRequests() local 342 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocWriteRequests() local 452 struct UsbAcmDevice *acm = port->acm; in UsbSerialOpen() local 474 struct UsbAcmDevice *acm = NULL; in UsbSerialClose() local 845 …struct UsbAcmDevice *acm, int32_t cmd, struct UsbSerial *port, struct HdfSBuf *data, struct HdfSBu… in AcmSerialCmd() 896 struct UsbAcmDevice *acm = (struct UsbAcmDevice *)client->device->service; in AcmDeviceDispatch() local 924 static void AcmDeviceDestroy(struct UsbAcmDevice *acm) in AcmDeviceDestroy() 941 struct UsbAcmDevice *acm = ctrlInfo->acm; in AcmCtrlComplete() local 962 static int32_t AcmAllocCtrlRequests(struct UsbAcmDevice *acm, int32_t num) in AcmAllocCtrlRequests() 995 static void AcmFreeCtrlRequests(struct UsbAcmDevice *acm) in AcmFreeCtrlRequests() [all …]
|
/drivers/peripheral/usb/test/unittest/device_sdk/ |
D | usb_device_cdcacm_test.cpp | 395 struct AcmDevice *acm = ctrlInfo->acm; in CtrlComplete() local 441 static int32_t SendNotifyRequest(struct AcmDevice *acm, uint8_t type, uint16_t value, void *data, u… in SendNotifyRequest() 475 static int32_t NotifySerialState(struct AcmDevice *acm) in NotifySerialState() 494 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->context); in NotifyComplete() local 525 static void Connect(struct AcmDevice *acm) in Connect() 534 static void Disconnect(struct AcmDevice *acm) in Disconnect() 543 static int32_t SendBreak(struct AcmDevice *acm, int32_t duration) in SendBreak() 565 static uint32_t Enable(struct AcmDevice *acm) in Enable() 585 static uint32_t Disable(struct AcmDevice *acm) in Disable() 591 static struct UsbFnRequest *GetCtrlReq(struct AcmDevice *acm) in GetCtrlReq() [all …]
|
D | usb_device_cdcacm_test.h | 59 struct AcmDevice *acm; member 127 struct AcmDevice *acm; member
|
/drivers/peripheral/usb/sample/host/liteos_test/src/ |
D | usbhost_sdkraw_speed.c | 67 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local 105 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoSendThread() local 119 static int32_t UsbStartIo(struct AcmDevice * const acm) in UsbStartIo() 164 static int32_t UsbStopIo(struct AcmDevice * const acm) in UsbStopIo() 233 static int32_t UsbSpeedGetBulkEndpoint(struct AcmDevice * const acm, const struct UsbRawEndpointDes… in UsbSpeedGetBulkEndpoint() 261 struct AcmDevice *acm, const struct UsbRawInterface *interface, uint8_t interfaceIndex) in UsbSpeedParaseInterfaceClass() 296 static int32_t UsbParseConfigDescriptor(struct AcmDevice * const acm, struct UsbRawConfigDescriptor… in UsbParseConfigDescriptor() 324 static int32_t UsbAllocDataRequests(struct AcmDevice * const acm) in UsbAllocDataRequests() 353 static int32_t UsbFreeDataRequests(struct AcmDevice *acm) in UsbFreeDataRequests() 364 static int32_t AcmDbAlloc(struct AcmDevice * const acm) in AcmDbAlloc() [all …]
|
D | usbhost_sdkapi_speed.c | 56 static int32_t AcmDbAlloc(struct AcmDevice *acm) in AcmDbAlloc() 79 static int32_t AcmDbIsAvail(const struct AcmDevice *acm) in AcmDbIsAvail() 89 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle() 106 static int32_t AcmStartDb(struct AcmDevice *acm, struct AcmDb * const db, struct UsbPipeInfo *pipe) in AcmStartDb() 119 static int32_t AcmDataBufAlloc(struct AcmDevice *acm) in AcmDataBufAlloc() 144 static int32_t AcmDataBufFree(const struct AcmDevice *acm) in AcmDataBufFree() 194 static int32_t SerialBegin(struct AcmDevice * const acm) in SerialBegin() 215 static struct UsbInterface *GetUsbInterfaceById(const struct AcmDevice *acm, uint8_t interfaceIndex) in GetUsbInterfaceById() 221 …const struct AcmDevice *acm, uint8_t interfaceIndex, UsbPipeType pipeType, UsbPipeDirection pipeDi… in EnumePipe() 253 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, UsbPipeType pipeType, UsbPipeDirect… in GetPipe()
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/ |
D | usb_device_lite_cdcacm_test.c | 383 struct AcmDevice *acm = ctrlInfo->acm; in CtrlComplete() local 431 struct AcmDevice *acm, uint8_t type, uint16_t value, const uint16_t *data, uint32_t length) in SendNotifyRequest() 465 static int32_t NotifySerialState(struct AcmDevice *acm) in NotifySerialState() 484 struct AcmDevice *acm = (struct AcmDevice *)req->context; in NotifyComplete() local 515 static void Connect(struct AcmDevice *acm) in Connect() 524 static void Disconnect(struct AcmDevice *acm) in Disconnect() 533 static int32_t SendBreak(struct AcmDevice *acm, int32_t duration) in SendBreak() 555 static uint32_t Enable(struct AcmDevice *acm) in Enable() 575 static uint32_t Disable(struct AcmDevice *acm) in Disable() 581 static struct UsbFnRequest *GetCtrlReq(struct AcmDevice *acm) in GetCtrlReq() [all …]
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test_io.cpp | 53 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local 87 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo() 116 static int32_t UsbStopIo(struct AcmDevice *acm) in UsbStopIo() 172 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->userData); in AcmReadBulkCallback() local 214 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->userData); in AcmNotifyReqCallback() local 228 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc() 248 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
|
D | usb_raw_sdk_if_test.cpp | 54 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local 88 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo() 116 static int32_t UsbStopIo(struct AcmDevice *acm) in UsbStopIo() 179 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->userData); in AcmReadBulkCallback() local 213 static void AcmProcessNotification(struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmProcessNotification() 236 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->userData); in AcmNotifyReqCallback() local 282 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc() 308 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
|
D | usb_host_sdk_if_test.cpp | 96 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc() 115 static void AcmProcessNotification(struct AcmDevice *acm, struct UsbCdcNotification *dr) in AcmProcessNotification() 137 struct AcmDevice *acm = static_cast<struct AcmDevice *>(req->compInfo.userData); in AcmCtrlIrq() local
|
D | usb_host_sdk_if_test_io.cpp | 76 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
|
D | usb_host_sdk_if_test.h | 72 struct AcmDevice *acm; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_io.c | 41 struct AcmRawDevice *acm = (struct AcmRawDevice *)data; in UsbIoThread() local 162 struct AcmRawDevice *acm = (struct AcmRawDevice *)req->userData; in AcmReadBulkCallback() local 199 struct AcmRawDevice *acm = (struct AcmRawDevice *)req->userData; in AcmNotifyReqCallback() local 214 static int32_t AcmWriteBufAllocHandle(const struct AcmRawDevice *acm) in AcmWriteBufAllocHandle() 235 int32_t AcmWriteBufAlloc(struct AcmRawDevice *acm) in AcmWriteBufAlloc() 246 void AcmWriteBufFree(struct AcmRawDevice *acm) in AcmWriteBufFree() 267 struct AcmRawDevice * const acm, const struct UsbRawInterface *interface, uint8_t number) in AcmParaseInterfaceClass() 307 int32_t UsbParseConfigDescriptor(struct AcmRawDevice *acm, struct UsbRawConfigDescriptor *config) in UsbParseConfigDescriptor()
|
D | usb_test.c | 85 static int32_t AcmWriteBufAllocHandle(const struct AcmDevice *acm) in AcmWriteBufAllocHandle() 106 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc() 117 static void AcmWriteBufFree(struct AcmDevice *acm) in AcmWriteBufFree()
|
/drivers/peripheral/usb/gadget/function/include/ |
D | cdcacm.h | 53 struct UsbAcmDevice *acm; member 126 struct UsbAcmDevice *acm; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/ |
D | usb_device_lite_cdcacm_test.h | 52 struct AcmDevice *acm; member 121 struct AcmDevice *acm; member
|
/drivers/peripheral/usb/sample/host/liteos_test/include/ |
D | usbhost_sdkraw_speed.h | 80 struct AcmDevice *acm; member
|
D | usbhost_sdkapi_speed.h | 86 struct AcmDevice *acm; member
|
D | usbhost_nosdk_speed.h | 83 struct AcmDevice *acm; member
|
/drivers/peripheral/usb/sample/host/include/ |
D | usbhost_sdkraw_speed.h | 85 struct AcmDevice *acm; member
|
D | usbhost_sdkapi_speed.h | 89 struct AcmDevice *acm; member
|
/drivers/peripheral/usb/serial/include/ |
D | usb_serial_rawapi.h | 95 struct AcmDevice *acm; member
|