Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/gadget/legacy/
Dmass_storage.c83 static struct usb_function *f_msg; variable
118 f_msg = usb_get_function(fi_msg); in msg_do_config()
119 if (IS_ERR(f_msg)) in msg_do_config()
120 return PTR_ERR(f_msg); in msg_do_config()
122 ret = usb_add_function(c, f_msg); in msg_do_config()
129 usb_put_function(f_msg); in msg_do_config()
211 if (!IS_ERR(f_msg)) in msg_unbind()
212 usb_put_function(f_msg); in msg_unbind()
Dacm_ms.c101 static struct usb_function *f_msg; variable
122 f_msg = usb_get_function(fi_msg); in acm_ms_do_config()
123 if (IS_ERR(f_msg)) { in acm_ms_do_config()
124 status = PTR_ERR(f_msg); in acm_ms_do_config()
132 status = usb_add_function(c, f_msg); in acm_ms_do_config()
140 usb_put_function(f_msg); in acm_ms_do_config()
240 usb_put_function(f_msg); in acm_ms_unbind()
Dnokia.c151 struct usb_function *f_msg; in nokia_bind_config() local
187 f_msg = usb_get_function(fi_msg); in nokia_bind_config()
188 if (IS_ERR(f_msg)) { in nokia_bind_config()
189 status = PTR_ERR(f_msg); in nokia_bind_config()
221 status = usb_add_function(c, f_msg); in nokia_bind_config()
231 f_msg_cfg1 = f_msg; in nokia_bind_config()
238 f_msg_cfg2 = f_msg; in nokia_bind_config()
253 usb_put_function(f_msg); in nokia_bind_config()