Searched refs:gser (Results 1 – 4 of 4) sorted by relevance
148 struct f_gser *gser = func_to_gser(f); in gser_set_alt() local153 if (gser->port.in->enabled) { in gser_set_alt()155 "reset generic ttyGS%d\n", gser->port_num); in gser_set_alt()156 gserial_disconnect(&gser->port); in gser_set_alt()158 if (!gser->port.in->desc || !gser->port.out->desc) { in gser_set_alt()160 "activate generic ttyGS%d\n", gser->port_num); in gser_set_alt()161 if (config_ep_by_speed(cdev->gadget, f, gser->port.in) || in gser_set_alt()162 config_ep_by_speed(cdev->gadget, f, gser->port.out)) { in gser_set_alt()163 gser->port.in->desc = NULL; in gser_set_alt()164 gser->port.out->desc = NULL; in gser_set_alt()[all …]
647 struct gserial *gser = port->port_usb; in gs_open() local652 if (gser->connect) in gs_open()653 gser->connect(gser); in gs_open()685 struct gserial *gser; in gs_close() local700 gser = port->port_usb; in gs_close()701 if (gser && !port->suspended && gser->disconnect) in gs_close()702 gser->disconnect(gser); in gs_close()707 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()717 gser = port->port_usb; in gs_close()724 if (gser == NULL) in gs_close()[all …]
1 What: /config/usb-gadget/gadget/functions/gser.name8 associated with gser function's instance "name".
636 The function name to use when creating the function directory is "gser".