Home
last modified time | relevance | path

Searched defs:acm (Results 1 – 25 of 30) sorted by relevance

12

/drivers/peripheral/usb/serial/src/
Dusb_serial_rawapi.c45 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local
77 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo()
114 static void UsbStopIo(struct AcmDevice *acm) in UsbStopIo()
183 static int32_t UsbGetBulkEndpoint(struct AcmDevice *acm, const struct UsbRawEndpointDescriptor *end… in UsbGetBulkEndpoint()
210 static void UsbParseConfigDescriptorProcess(struct AcmDevice *acm, in UsbParseConfigDescriptorProcess()
244 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
272 static void UsbReleaseInterfaces(struct AcmDevice *acm) in UsbReleaseInterfaces()
297 static int32_t UsbAllocWriteRequests(struct AcmDevice *acm) in UsbAllocWriteRequests()
314 static void UsbFreeWriteRequests(struct AcmDevice *acm) in UsbFreeWriteRequests()
328 static int32_t AcmWbAlloc(const struct AcmDevice *acm) in AcmWbAlloc()
[all …]
Dusb_serial.c41 static int32_t AcmWbAlloc(const struct AcmDevice *acm) in AcmWbAlloc()
84 static int32_t AcmWbIsAvail(const struct AcmDevice *acm) in AcmWbIsAvail()
94 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle()
111 static int32_t AcmStartWb(struct AcmDevice *acm, in AcmStartWb()
142 static int32_t AcmStartWbSync(struct AcmDevice *acm, in AcmStartWbSync()
171 static int32_t AcmWriteBufAlloc(const struct AcmDevice *acm) in AcmWriteBufAlloc()
190 static void AcmWriteBufFree(struct AcmDevice *acm) in AcmWriteBufFree()
430 static int32_t SerialCtrlMsg(struct AcmDevice *acm, uint8_t request, in SerialCtrlMsg()
531 static int32_t UsbSerialDeviceAlloc(struct AcmDevice *acm) in UsbSerialDeviceAlloc()
557 static void UsbSeriaDevicelFree(struct AcmDevice *acm) in UsbSeriaDevicelFree()
[all …]
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkapi_speed.c53 static int32_t AcmDbAlloc(struct AcmDevice *acm) in AcmDbAlloc()
72 static int32_t AcmDbIsAvail(struct AcmDevice *acm) in AcmDbIsAvail()
81 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle()
98 static int32_t AcmStartDb(struct AcmDevice *acm, in AcmStartDb()
110 static int32_t AcmDataBufAlloc(struct AcmDevice *acm) in AcmDataBufAlloc()
178 static int32_t SerialBegin(struct AcmDevice *acm) in SerialBegin()
201 static struct UsbInterface *GetUsbInterfaceById(const struct AcmDevice *acm, in GetUsbInterfaceById()
207 static struct UsbPipeInfo *EnumePipe(const struct AcmDevice *acm, in EnumePipe()
242 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, in GetPipe()
305 struct AcmDevice *acm = NULL; in CheckParam() local
[all …]
Dusbhost_sdkraw_speed.c63 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 *acm) in UsbStartIo()
164 static int32_t UsbStopIo(struct AcmDevice *acm) in UsbStopIo()
238 static int32_t UsbGetBulkEndpoint(struct AcmDevice *acm, const struct UsbRawEndpointDescriptor *end… in UsbGetBulkEndpoint()
265 static void UsbParseConfigDescriptorProcess(struct AcmDevice *acm, in UsbParseConfigDescriptorProcess()
299 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
325 static int32_t UsbAllocDataRequests(struct AcmDevice *acm) in UsbAllocDataRequests()
356 static int32_t UsbSerialDeviceAlloc(struct AcmDevice *acm) in UsbSerialDeviceAlloc()
385 static int32_t AcmDbAlloc(struct AcmDevice *acm) in AcmDbAlloc()
[all …]
/drivers/peripheral/usb/gadget/function/acm/
Dcdcacm.c314 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocReadRequests() local
336 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocWriteRequests() local
432 struct UsbAcmDevice *acm = port->acm; in UsbSerialOpen() local
454 struct UsbAcmDevice *acm = NULL; in UsbSerialClose() local
825 static int32_t AcmSerialCmd(struct UsbAcmDevice *acm, int32_t cmd, struct UsbSerial *port, in AcmSerialCmd()
872 struct UsbAcmDevice *acm = NULL; in AcmDeviceDispatch() local
907 static void AcmDeviceDestroy(struct UsbAcmDevice *acm) in AcmDeviceDestroy()
924 struct UsbAcmDevice *acm = ctrlInfo->acm; in AcmCtrlComplete() local
945 static int32_t AcmAllocCtrlRequests(struct UsbAcmDevice *acm, int32_t num) in AcmAllocCtrlRequests()
978 static void AcmFreeCtrlRequests(struct UsbAcmDevice *acm) in AcmFreeCtrlRequests()
[all …]
/drivers/peripheral/usb/test/unittest/device_sdk/
Dusb_device_cdcacm_test.cpp397 struct AcmDevice *acm = ctrlInfo->acm; in CtrlComplete() local
443 static int32_t SendNotifyRequest(struct AcmDevice *acm, uint8_t type, in SendNotifyRequest()
475 static int32_t NotifySerialState(struct AcmDevice *acm) in NotifySerialState()
495 struct AcmDevice *acm = (struct AcmDevice *)req->context; in NotifyComplete() local
526 static void Connect(struct AcmDevice *acm) in Connect()
535 static void Disconnect(struct AcmDevice *acm) in Disconnect()
544 static int32_t SendBreak(struct AcmDevice *acm, int32_t duration) in SendBreak()
566 static uint32_t Enable(struct AcmDevice *acm) in Enable()
586 static uint32_t Disable(struct AcmDevice *acm) in Disable()
591 static struct UsbFnRequest *GetCtrlReq(struct AcmDevice *acm) in GetCtrlReq()
[all …]
Dusb_device_cdcacm_test.h59 struct AcmDevice *acm; member
127 struct AcmDevice *acm; member
/drivers/peripheral/usb/sample/host/liteos_test/src/
Dusbhost_sdkraw_speed.c68 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local
107 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoSendThread() local
121 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo()
170 static int32_t UsbStopIo(struct AcmDevice *acm) in UsbStopIo()
239 static int32_t UsbSpeedGetBulkEndpoint(struct AcmDevice *acm, const struct UsbRawEndpointDescriptor… in UsbSpeedGetBulkEndpoint()
267 struct AcmDevice *acm, const struct UsbRawInterface *interface, uint8_t interfaceIndex) in UsbSpeedParaseInterfaceClass()
302 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
330 static int32_t UsbAllocDataRequests(struct AcmDevice *acm) in UsbAllocDataRequests()
361 static int32_t UsbFreeDataRequests(struct AcmDevice *acm) in UsbFreeDataRequests()
372 static int32_t AcmDbAlloc(struct AcmDevice *acm) in AcmDbAlloc()
[all …]
Dusbhost_sdkapi_speed.c58 static int32_t AcmDbAlloc(struct AcmDevice *acm) in AcmDbAlloc()
80 static int32_t AcmDbIsAvail(const struct AcmDevice *acm) in AcmDbIsAvail()
90 static UsbInterfaceHandle *InterfaceIdToHandle(const struct AcmDevice *acm, uint8_t id) in InterfaceIdToHandle()
107 static int32_t AcmStartDb(struct AcmDevice *acm, 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 *acm) in SerialBegin()
216 static struct UsbInterface *GetUsbInterfaceById(const struct AcmDevice *acm, in GetUsbInterfaceById()
222 static struct UsbPipeInfo *EnumePipe(const struct AcmDevice *acm, in EnumePipe()
257 static struct UsbPipeInfo *GetPipe(const struct AcmDevice *acm, in GetPipe()
Dusbhost_nosdk_speed.c63 static struct AcmDevice *acm = NULL; variable
/drivers/framework/test/unittest/model/usb/device/src/
Dusb_device_lite_cdcacm_test.c389 struct AcmDevice *acm = ctrlInfo->acm; in CtrlComplete() local
436 static int32_t SendNotifyRequest(struct AcmDevice *acm, uint8_t type, in SendNotifyRequest()
471 static int32_t NotifySerialState(struct AcmDevice *acm) in NotifySerialState()
491 struct AcmDevice *acm = (struct AcmDevice *)req->context; in NotifyComplete() local
522 static void Connect(struct AcmDevice *acm) in Connect()
531 static void Disconnect(struct AcmDevice *acm) in Disconnect()
540 static int32_t SendBreak(struct AcmDevice *acm, int32_t duration) in SendBreak()
562 static uint32_t Enable(struct AcmDevice *acm) in Enable()
582 static uint32_t Disable(struct AcmDevice *acm) in Disable()
587 static struct UsbFnRequest *GetCtrlReq(struct AcmDevice *acm) in GetCtrlReq()
[all …]
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test_io.cpp53 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()
175 struct AcmDevice *acm = (struct AcmDevice *)req->userData; in AcmReadBulkCallback() local
218 struct AcmDevice *acm = (struct AcmDevice *)req->userData; in AcmNotifyReqCallback() local
232 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
252 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
Dusb_raw_sdk_if_test.cpp56 struct AcmDevice *acm = (struct AcmDevice *)data; in UsbIoThread() local
91 static int32_t UsbStartIo(struct AcmDevice *acm) in UsbStartIo()
120 static int32_t UsbStopIo(struct AcmDevice *acm) in UsbStopIo()
193 struct AcmDevice *acm = (struct AcmDevice *)req->userData; in AcmReadBulkCallback() local
227 static void AcmProcessNotification(struct AcmDevice *acm, unsigned char *buf) in AcmProcessNotification()
251 struct AcmDevice *acm = (struct AcmDevice *)req->userData; in AcmNotifyReqCallback() local
298 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
323 static int32_t UsbParseConfigDescriptor(struct AcmDevice *acm, struct UsbRawConfigDescriptor *confi… in UsbParseConfigDescriptor()
Dusb_host_sdk_if_test.cpp104 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
123 static void AcmProcessNotification(struct AcmDevice *acm, unsigned char *buf) in AcmProcessNotification()
148 struct AcmDevice *acm = (struct AcmDevice *)req->compInfo.userData; in AcmCtrlIrq() local
Dusb_host_sdk_if_test_io.cpp98 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
Dusb_host_sdk_if_test.h72 struct AcmDevice *acm; member
/drivers/framework/test/unittest/model/usb/host/src/
Dusb_raw_io.c41 struct AcmRawDevice *acm = (struct AcmRawDevice *)data; in UsbIoThread() local
162 struct AcmRawDevice *acm = (struct AcmRawDevice *)req->userData; in AcmReadBulkCallback() local
198 struct AcmRawDevice *acm = (struct AcmRawDevice *)req->userData; in AcmNotifyReqCallback() local
213 static int32_t AcmWriteBufAllocHandle(const struct AcmRawDevice *acm) in AcmWriteBufAllocHandle()
234 int32_t AcmWriteBufAlloc(struct AcmRawDevice *acm) in AcmWriteBufAlloc()
245 void AcmWriteBufFree(struct AcmRawDevice *acm) in AcmWriteBufFree()
265 struct AcmRawDevice * const acm, const struct UsbRawInterface *interface, uint8_t number) in AcmParaseInterfaceClass()
305 int32_t UsbParseConfigDescriptor(struct AcmRawDevice *acm, struct UsbRawConfigDescriptor *config) in UsbParseConfigDescriptor()
Dusb_test.c87 static int32_t AcmWriteBufAllocHandle(const struct AcmDevice *acm) in AcmWriteBufAllocHandle()
108 static int32_t AcmWriteBufAlloc(struct AcmDevice *acm) in AcmWriteBufAlloc()
119 static void AcmWriteBufFree(struct AcmDevice *acm) in AcmWriteBufFree()
/drivers/framework/test/unittest/model/usb/device/include/
Dusb_device_lite_cdcacm_test.h52 struct AcmDevice *acm; member
121 struct AcmDevice *acm; member
/drivers/peripheral/usb/gadget/function/include/
Dcdcacm.h53 struct UsbAcmDevice *acm; member
126 struct UsbAcmDevice *acm; member
/drivers/peripheral/usb/sample/host/liteos_test/include/
Dusbhost_sdkraw_speed.h80 struct AcmDevice *acm; member
Dusbhost_sdkapi_speed.h86 struct AcmDevice *acm; member
Dusbhost_nosdk_speed.h79 struct AcmDevice *acm; member
/drivers/peripheral/usb/sample/host/include/
Dusbhost_sdkraw_speed.h85 struct AcmDevice *acm; member
Dusbhost_sdkapi_speed.h89 struct AcmDevice *acm; member

12