Searched refs:f_phonet (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dnokia.c150 struct usb_function *f_phonet = NULL; nokia_bind_config() local
161 f_phonet = usb_get_function(fi_phonet); nokia_bind_config()
162 if (IS_ERR(f_phonet)) nokia_bind_config()
196 if (!IS_ERR_OR_NULL(f_phonet)) { nokia_bind_config()
197 phonet_stat = usb_add_function(c, f_phonet); nokia_bind_config()
231 f_phonet_cfg1 = f_phonet; nokia_bind_config()
238 f_phonet_cfg2 = f_phonet; nokia_bind_config()
255 usb_remove_function(c, f_phonet); nokia_bind_config()
266 if (!IS_ERR_OR_NULL(f_phonet)) nokia_bind_config()
267 usb_put_function(f_phonet); nokia_bind_config()
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_phonet.c2 * f_phonet.c -- USB CDC Phonet function
40 struct f_phonet *usb;
44 struct f_phonet { struct
59 static inline struct f_phonet *func_to_pn(struct usb_function *f) func_to_pn()
61 return container_of(f, struct f_phonet, function); func_to_pn()
205 struct f_phonet *fp = ep->driver_data; pn_tx_complete()
229 struct f_phonet *fp; pn_net_xmit()
301 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) pn_rx_submit()
322 struct f_phonet *fp = ep->driver_data; pn_rx_complete()
387 struct f_phonet *fp = func_to_pn(f); __pn_reset()
404 struct f_phonet *fp = func_to_pn(f); pn_set_alt()
454 struct f_phonet *fp = func_to_pn(f); pn_get_alt()
474 struct f_phonet *fp = func_to_pn(f); pn_disconnect()
490 struct f_phonet *fp = func_to_pn(f); pn_bind()
651 struct f_phonet *phonet; phonet_free()
659 struct f_phonet *fp = func_to_pn(f); pn_unbind()
674 struct f_phonet *fp; phonet_alloc()
H A DMakefile23 usb_f_phonet-y := f_phonet.o

Completed in 95 milliseconds