Home
last modified time | relevance | path

Searched refs:fi_serial (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/gadget/legacy/
H A Dcdc2.c81 static struct usb_function_instance *fi_serial; variable
108 f_acm = usb_get_function(fi_serial); in cdc_do_config()
162 fi_serial = usb_get_function_instance("acm"); in cdc_bind()
163 if (IS_ERR(fi_serial)) { in cdc_bind()
164 status = PTR_ERR(fi_serial); in cdc_bind()
206 usb_put_function_instance(fi_serial); in cdc_bind()
215 usb_put_function_instance(fi_serial); in cdc_unbind()
H A Dserial.c140 static struct usb_function_instance *fi_serial[MAX_U_SERIAL_PORTS]; variable
155 fi_serial[i] = usb_get_function_instance(f_name); in serial_register_ports()
156 if (IS_ERR(fi_serial[i])) { in serial_register_ports()
157 ret = PTR_ERR(fi_serial[i]); in serial_register_ports()
161 f_serial[i] = usb_get_function(fi_serial[i]); in serial_register_ports()
177 usb_put_function_instance(fi_serial[i]); in serial_register_ports()
184 usb_put_function_instance(fi_serial[i]); in serial_register_ports()
256 usb_put_function_instance(fi_serial[i]); in gs_unbind()