Home
last modified time | relevance | path

Searched refs:SerialDevice (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/drivers/peripheral/usb/sample/host/include/
H A Dusbhost_sdkraw_speed.h84 struct SerialDevice { struct
118 struct SerialDevice *port;
H A Dusbhost_sdkapi_speed.h88 struct SerialDevice { struct
117 struct SerialDevice *port;
/ohos5.0/drivers/peripheral/usb/sample/host/liteos_test/include/
H A Dusbhost_sdkraw_speed.h79 struct SerialDevice { struct
113 struct SerialDevice *port;
H A Dusbhost_nosdk_speed.h82 struct SerialDevice { struct
111 struct SerialDevice *port;
H A Dusbhost_sdkapi_speed.h85 struct SerialDevice { struct
114 struct SerialDevice *port;
/ohos5.0/drivers/peripheral/usb/serial/src/
H A Dusb_serial_rawapi.c499 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc()
506 port = (struct SerialDevice *)OsalMemCalloc(sizeof(*port)); in UsbSerialDeviceAlloc()
529 struct SerialDevice *port = acm->port; in UsbSeriaDevicelFree()
539 static int32_t UsbSerialRead(struct SerialDevice *port, struct HdfSBuf *reply) in UsbSerialRead()
588 static int32_t SerialSetBaudrate(struct SerialDevice *port, const struct HdfSBuf *data) in SerialSetBaudrate()
620 static int32_t SerialGetBaudrate(struct SerialDevice *port, struct HdfSBuf *reply) in SerialGetBaudrate()
634 static int32_t SerialOpen(struct SerialDevice *port, struct HdfSBuf *data) in SerialOpen()
686 static int32_t SerialClose(struct SerialDevice *port, struct HdfSBuf *data) in SerialClose()
719 static int32_t SerialWrite(struct SerialDevice *port, struct HdfSBuf *data) in SerialWrite()
794 static int32_t SerialWriteSync(const struct SerialDevice *port, const struct HdfSBuf *data) in SerialWriteSync()
[all …]
H A Dusb_serial.c529 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc()
534 port = (struct SerialDevice *)OsalMemCalloc(sizeof(*port)); in UsbSerialDeviceAlloc()
557 struct SerialDevice *port = acm->port; in UsbSeriaDevicelFree()
566 static int32_t UsbSerialRead(struct SerialDevice *port, struct HdfSBuf *reply) in UsbSerialRead()
615 static int32_t SerialSetBaudrate(struct SerialDevice *port, const struct HdfSBuf *data) in SerialSetBaudrate()
643 static int32_t UsbCtrlMsg(struct SerialDevice *port, struct HdfSBuf *data) in UsbCtrlMsg()
662 static int32_t SerialGetBaudrate(struct SerialDevice *port, struct HdfSBuf *reply) in SerialGetBaudrate()
879 static int32_t SerialOpen(const struct SerialDevice *port, struct HdfSBuf *data) in SerialOpen()
936 static int32_t SerialClose(const struct SerialDevice *port, struct HdfSBuf *data) in SerialClose()
972 static int32_t SerialWrite(const struct SerialDevice *port, struct HdfSBuf *data) in SerialWrite()
[all …]
/ohos5.0/drivers/peripheral/usb/test/unittest/host_sdk/
H A Dusb_host_sdk_if_test.h71 struct SerialDevice { struct
104 struct SerialDevice *port;
H A Dusb_raw_sdk_if_test.h70 struct SerialDevice { struct
103 struct SerialDevice *port;
/ohos5.0/drivers/peripheral/usb/serial/include/
H A Dusb_serial_rawapi.h94 struct SerialDevice { struct
127 struct SerialDevice *port;
H A Dusb_serial.h92 struct SerialDevice { struct
121 struct SerialDevice *port;
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/usb/host/include/
H A Dusb_test.h152 struct SerialDevice { struct
189 struct SerialDevice *port;
/ohos5.0/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_sdkraw_speed.c342 struct SerialDevice *port = NULL; in UsbSerialDeviceAlloc()
349 port = (struct SerialDevice *)OsalMemCalloc(sizeof(*port)); in UsbSerialDeviceAlloc()