Home
last modified time | relevance | path

Searched refs:UsbAcmDevice (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/peripheral/usb/gadget/function/include/
H A Dcdcacm.h53 struct UsbAcmDevice *acm;
74 void (*Connect)(struct UsbAcmDevice *acm);
75 void (*Disconnect)(struct UsbAcmDevice *acm);
76 int32_t (*SendBreak)(struct UsbAcmDevice *acm, int32_t duration);
90 struct UsbAcmDevice { struct
126 struct UsbAcmDevice *acm; argument
/ohos5.0/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c323 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocReadRequests()
344 struct UsbAcmDevice *acm = port->acm; in UsbSerialAllocWriteRequests()
454 struct UsbAcmDevice *acm = port->acm; in UsbSerialOpen()
476 struct UsbAcmDevice *acm = NULL; in UsbSerialClose()
902 struct UsbAcmDevice *acm = (struct UsbAcmDevice *)client->device->service; in AcmDeviceDispatch()
946 struct UsbAcmDevice *acm = ctrlInfo->acm; in AcmCtrlComplete()
1017 struct UsbAcmDevice *acm = (struct UsbAcmDevice *)req->context; in AcmNotifyComplete()
1167 static void AcmResume(struct UsbAcmDevice *acm) in AcmResume()
1195 struct UsbAcmDevice *acm = NULL; in UsbAcmEventCallback()
1509 struct UsbAcmDevice *acm = NULL; in AcmDriverBind()
[all …]
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-usb-des.md385 struct UsbAcmDevice *acm = NULL;
390 acm = (struct UsbAcmDevice *)event->context;
1481 static int32_t AcmCreateFuncDevice(struct UsbAcmDevice *acm, struct DeviceResourceIface *iface)
1512 static int32_t AcmParseEachPipe(struct UsbAcmDevice *acm, struct UsbAcmInterface *iface)
1551 static int32_t AcmParseEachIface(struct UsbAcmDevice *acm, struct UsbFnDevice *fnDev)
1583 static int32_t AcmAllocCtrlRequests(struct UsbAcmDevice *acm, int32_t num)
1622 struct UsbAcmDevice *acm, uint8_t type, uint16_t value, const void *data, uint32_t length)
1662 static int32_t AcmReleaseFuncDevice(struct UsbAcmDevice *acm)
1677 static int32_t AcmReleaseFuncDevice(struct UsbAcmDevice *acm)
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-usb-des.md389 struct UsbAcmDevice *acm = NULL;
395 acm = (struct UsbAcmDevice *)event->context;
1413 static int32_t AcmCreateFuncDevice(struct UsbAcmDevice *acm, struct DeviceResourceIface *iface)
1438 static int32_t AcmParseEachPipe(struct UsbAcmDevice *acm, struct UsbAcmInterface *iface)
1450 static int32_t AcmParseEachIface(struct UsbAcmDevice *acm, struct UsbFnDevice *fnDev)
1468 static int32_t AcmAllocCtrlRequests(struct UsbAcmDevice *acm, int32_t num)
1487 static int32_t AcmSendNotifyRequest(struct UsbAcmDevice *acm, uint8_t type,
1500 static int32_t AcmReleaseFuncDevice(struct UsbAcmDevice *acm)