Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/gadget/legacy/
Dserial.c109 static struct usb_function_instance *fi_serial[MAX_U_SERIAL_PORTS];
110 static struct usb_function *f_serial[MAX_U_SERIAL_PORTS];
/Linux-v5.4/drivers/usb/gadget/function/
Du_serial.h15 #define MAX_U_SERIAL_PORTS 4 macro
Du_serial.c130 } ports[MAX_U_SERIAL_PORTS];
1221 for (port_num = 0; port_num < MAX_U_SERIAL_PORTS; port_num++) { in gserial_alloc_line()
1281 if (port_num >= MAX_U_SERIAL_PORTS) in gserial_connect()
1399 gs_tty_driver = alloc_tty_driver(MAX_U_SERIAL_PORTS); in userial_init()
1422 for (i = 0; i < MAX_U_SERIAL_PORTS; i++) in userial_init()
1434 MAX_U_SERIAL_PORTS, in userial_init()
1435 (MAX_U_SERIAL_PORTS == 1) ? "" : "s"); in userial_init()