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 …]
643 struct gserial *gser = port->port_usb; in gs_open() local648 if (gser->connect) in gs_open()649 gser->connect(gser); in gs_open()681 struct gserial *gser; in gs_close() local696 gser = port->port_usb; in gs_close()697 if (gser && !port->suspended && gser->disconnect) in gs_close()698 gser->disconnect(gser); in gs_close()703 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()713 gser = port->port_usb; in gs_close()720 if (gser == NULL) in gs_close()[all …]
1 What: /config/usb-gadget/gadget/functions/gser.name8 associated with gser function's instance "name".
626 The function name to use when creating the function directory is "gser".