Home
last modified time | relevance | path

Searched refs:gser (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/function/
Df_serial.c148 struct f_gser *gser = func_to_gser(f); in gser_set_alt() local
153 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 …]
Du_serial.c643 struct gserial *gser = port->port_usb; in gs_open() local
648 if (gser->connect) in gs_open()
649 gser->connect(gser); in gs_open()
681 struct gserial *gser; in gs_close() local
696 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 …]
/Linux-v6.6/Documentation/ABI/testing/
Dconfigfs-usb-gadget-serial1 What: /config/usb-gadget/gadget/functions/gser.name
8 associated with gser function's instance "name".
/Linux-v6.6/Documentation/usb/
Dgadget-testing.rst626 The function name to use when creating the function directory is "gser".