Searched refs:usbh_ch34x (Results 1 – 5 of 5) sorted by relevance
| /components/drivers/usb/cherryusb/class/vendor/serial/ |
| A D | usbh_ch34x.h | 43 struct usbh_ch34x { struct 62 int usbh_ch34x_set_line_coding(struct usbh_ch34x *ch34x_class, struct cdc_line_coding *line_coding); argument 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);
|
| A D | usbh_ch34x.c | 15 static struct usbh_ch34x g_ch34x_class[CONFIG_USBHOST_MAX_CP210X_CLASS]; 18 static struct usbh_ch34x *usbh_ch34x_class_alloc(void) in usbh_ch34x_class_alloc() 25 memset(&g_ch34x_class[devno], 0, sizeof(struct usbh_ch34x)); in usbh_ch34x_class_alloc() 33 static void usbh_ch34x_class_free(struct usbh_ch34x *ch34x_class) in usbh_ch34x_class_free() 40 memset(ch34x_class, 0, sizeof(struct usbh_ch34x)); in usbh_ch34x_class_free() 91 static int usbh_ch34x_get_version(struct usbh_ch34x *ch34x_class) in usbh_ch34x_get_version() 116 static int usbh_ch34x_flow_ctrl(struct usbh_ch34x *ch34x_class) in usbh_ch34x_flow_ctrl() 236 struct usbh_ch34x *ch34x_class = usbh_ch34x_class_alloc(); in usbh_ch34x_connect() 302 struct usbh_ch34x *ch34x_class = (struct usbh_ch34x *)hport->config.intf[intf].priv; in usbh_ch34x_disconnect() 351 __WEAK void usbh_ch34x_run(struct usbh_ch34x *ch34x_class) in usbh_ch34x_run() [all …]
|
| /components/drivers/usb/cherryusb/platform/rtthread/ |
| A D | usbh_serial.c | 235 …ret = usbh_ch34x_bulk_out_transfer((struct usbh_ch34x *)dev->user_data, (uint8_t *)align_buf, size… in usbh_serial_write() 344 struct usbh_ch34x *ch34x_class; in usbh_serial_control() 345 ch34x_class = (struct usbh_ch34x *)dev->user_data; in usbh_serial_control() 739 struct usbh_ch34x *ch34x_class = (struct usbh_ch34x *)arg; in usbh_ch34x_callback() 760 void usbh_ch34x_run(struct usbh_ch34x *ch34x_class) in usbh_ch34x_run() 787 void usbh_ch34x_stop(struct usbh_ch34x *ch34x_class) in usbh_ch34x_stop()
|
| /components/drivers/usb/cherryusb/ |
| A D | SConscript | 294 src += Glob('class/vendor/serial/usbh_ch34x.c')
|
| A D | cherryusb.cmake | 238 list(APPEND cherryusb_srcs ${CMAKE_CURRENT_LIST_DIR}/class/vendor/serial/usbh_ch34x.c)
|
Completed in 13 milliseconds