Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/legacy/
Dncm.c89 static struct usb_function *f_ncm; variable
104 f_ncm = usb_get_function(f_ncm_inst); in ncm_do_config()
105 if (IS_ERR(f_ncm)) in ncm_do_config()
106 return PTR_ERR(f_ncm); in ncm_do_config()
108 status = usb_add_function(c, f_ncm); in ncm_do_config()
110 usb_put_function(f_ncm); in ncm_do_config()
188 if (!IS_ERR_OR_NULL(f_ncm)) in gncm_unbind()
189 usb_put_function(f_ncm); in gncm_unbind()
/Linux-v6.6/drivers/usb/gadget/function/
Df_ncm.c47 struct f_ncm { struct
78 static inline struct f_ncm *func_to_ncm(struct usb_function *f) in func_to_ncm() argument
80 return container_of(f, struct f_ncm, port.func); in func_to_ncm()
508 static inline void ncm_reset_values(struct f_ncm *ncm) in ncm_reset_values()
525 static void ncm_do_notify(struct f_ncm *ncm) in ncm_do_notify()
593 static void ncm_notify(struct f_ncm *ncm) in ncm_notify()
611 struct f_ncm *ncm = req->context; in ncm_notify_complete()
642 struct f_ncm *ncm = func_to_ncm(f); in ncm_ep0out_complete()
669 struct f_ncm *ncm = func_to_ncm(f); in ncm_setup()
849 struct f_ncm *ncm = func_to_ncm(f); in ncm_set_alt()
[all …]
DMakefile20 usb_f_ncm-y := f_ncm.o