Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/legacy/
H A Dmass_storage.c83 static struct usb_function *f_msg; variable
115 f_msg = usb_get_function(fi_msg); in msg_do_config()
116 if (IS_ERR(f_msg)) in msg_do_config()
117 return PTR_ERR(f_msg); in msg_do_config()
119 ret = usb_add_function(c, f_msg); in msg_do_config()
126 usb_put_function(f_msg); in msg_do_config()
210 if (!IS_ERR(f_msg)) in msg_unbind()
211 usb_put_function(f_msg); in msg_unbind()
H A Dacm_ms.c101 static struct usb_function *f_msg; variable
119 f_msg = usb_get_function(fi_msg); in acm_ms_do_config()
120 if (IS_ERR(f_msg)) { in acm_ms_do_config()
121 status = PTR_ERR(f_msg); in acm_ms_do_config()
129 status = usb_add_function(c, f_msg); in acm_ms_do_config()
137 usb_put_function(f_msg); in acm_ms_do_config()
239 usb_put_function(f_msg); in acm_ms_unbind()
H A Dnokia.c150 struct usb_function *f_msg; in nokia_bind_config() local
186 f_msg = usb_get_function(fi_msg); in nokia_bind_config()
187 if (IS_ERR(f_msg)) { in nokia_bind_config()
188 status = PTR_ERR(f_msg); in nokia_bind_config()
220 status = usb_add_function(c, f_msg); in nokia_bind_config()
230 f_msg_cfg1 = f_msg; in nokia_bind_config()
237 f_msg_cfg2 = f_msg; in nokia_bind_config()
252 usb_put_function(f_msg); in nokia_bind_config()