Home
last modified time | relevance | path

Searched refs:ch34x_class (Results 1 – 3 of 3) sorted by relevance

/components/drivers/usb/cherryusb/class/vendor/serial/
A Dusbh_ch34x.c96 if (!ch34x_class || !ch34x_class->hport) { in usbh_ch34x_get_version()
120 if (!ch34x_class || !ch34x_class->hport) { in usbh_ch34x_flow_ctrl()
142 if (!ch34x_class || !ch34x_class->hport) { in usbh_ch34x_set_line_coding()
217 if (!ch34x_class || !ch34x_class->hport) { in usbh_ch34x_set_line_state()
237 if (ch34x_class == NULL) { in usbh_ch34x_connect()
242 ch34x_class->hport = hport; in usbh_ch34x_connect()
243 ch34x_class->intf = intf; in usbh_ch34x_connect()
294 usbh_ch34x_run(ch34x_class); in usbh_ch34x_connect()
304 if (ch34x_class) { in usbh_ch34x_disconnect()
353 (void)ch34x_class; in usbh_ch34x_run()
[all …]
A Dusbh_ch34x.h62 int usbh_ch34x_set_line_coding(struct usbh_ch34x *ch34x_class, struct cdc_line_coding *line_coding);
63 int usbh_ch34x_get_line_coding(struct usbh_ch34x *ch34x_class, struct cdc_line_coding *line_coding);
64 int usbh_ch34x_set_line_state(struct usbh_ch34x *ch34x_class, bool dtr, bool rts);
66 int usbh_ch34x_bulk_in_transfer(struct usbh_ch34x *ch34x_class, uint8_t *buffer, uint32_t buflen, u…
67 int usbh_ch34x_bulk_out_transfer(struct usbh_ch34x *ch34x_class, uint8_t *buffer, uint32_t buflen, …
69 void usbh_ch34x_run(struct usbh_ch34x *ch34x_class);
70 void usbh_ch34x_stop(struct usbh_ch34x *ch34x_class);
/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_serial.c344 struct usbh_ch34x *ch34x_class; in usbh_serial_control() local
742 struct usbh_urb *urb = &ch34x_class->bulkin_urb; in usbh_ch34x_callback()
752ch34x_class->hport, ch34x_class->bulkin, g_usbh_serial_vendor_rx_buf[serial->minor], sizeof(g_usbh… in usbh_ch34x_callback()
760 void usbh_ch34x_run(struct usbh_ch34x *ch34x_class) in usbh_ch34x_run() argument
764 struct usbh_urb *urb = &ch34x_class->bulkin_urb; in usbh_ch34x_run()
767 ch34x_class->user_data = serial; in usbh_ch34x_run()
769 usbh_serial_register(serial, ch34x_class); in usbh_ch34x_run()
776 usbh_ch34x_set_line_coding(ch34x_class, &linecoding); in usbh_ch34x_run()
778ch34x_class->hport, ch34x_class->bulkin, g_usbh_serial_vendor_rx_buf[serial->minor], sizeof(g_usbh… in usbh_ch34x_run()
787 void usbh_ch34x_stop(struct usbh_ch34x *ch34x_class) in usbh_ch34x_stop() argument
[all …]

Completed in 7 milliseconds