Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/legacy/
H A Dnokia.c146 struct usb_function *f_phonet = NULL; in nokia_bind_config() local
157 f_phonet = usb_get_function(fi_phonet); in nokia_bind_config()
158 if (IS_ERR(f_phonet)) in nokia_bind_config()
192 if (!IS_ERR_OR_NULL(f_phonet)) { in nokia_bind_config()
193 phonet_stat = usb_add_function(c, f_phonet); in nokia_bind_config()
227 f_phonet_cfg1 = f_phonet; in nokia_bind_config()
234 f_phonet_cfg2 = f_phonet; in nokia_bind_config()
251 usb_remove_function(c, f_phonet); in nokia_bind_config()
262 if (!IS_ERR_OR_NULL(f_phonet)) in nokia_bind_config()
263 usb_put_function(f_phonet); in nokia_bind_config()
/linux/drivers/usb/gadget/function/
H A Df_phonet.c37 struct f_phonet *usb;
41 struct f_phonet { struct
56 static inline struct f_phonet *func_to_pn(struct usb_function *f) in func_to_pn() argument
58 return container_of(f, struct f_phonet, function); in func_to_pn()
202 struct f_phonet *fp = ep->driver_data; in pn_tx_complete()
227 struct f_phonet *fp; in pn_net_xmit()
295 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit()
316 struct f_phonet *fp = ep->driver_data; in pn_rx_complete()
382 struct f_phonet *fp = func_to_pn(f); in __pn_reset()
399 struct f_phonet *fp = func_to_pn(f); in pn_set_alt()
[all …]