Searched refs:f_ecm (Results 1 - 7 of 7) sorted by last modified time
/linux-master/drivers/usb/gadget/function/ |
H A D | f_ecm.c | 3 * f_ecm.c -- USB CDC Ethernet (ECM) link function driver 46 struct f_ecm { struct 63 static inline struct f_ecm *func_to_ecm(struct usb_function *f) 65 return container_of(f, struct f_ecm, port.func); 364 static void ecm_do_notify(struct f_ecm *ecm) 421 static void ecm_notify(struct f_ecm *ecm) 434 struct f_ecm *ecm = req->context; 459 struct f_ecm *ecm = func_to_ecm(f); 524 struct f_ecm *ecm = func_to_ecm(f); 602 struct f_ecm *ec [all...] |
H A D | Makefile | 22 usb_f_ecm-y := f_ecm.o
|
/linux-master/drivers/usb/gadget/legacy/ |
H A D | g_ffs.c | 36 static struct usb_function *f_ecm; variable in typeref:struct:usb_function 451 usb_put_function(f_ecm); 535 f_ecm = usb_get_function(fi_ecm); 536 if (IS_ERR(f_ecm)) 537 return PTR_ERR(f_ecm); 539 status = usb_add_function(c, f_ecm); 541 usb_put_function(f_ecm);
|
H A D | multi.c | 213 static struct usb_function *f_ecm; variable in typeref:struct:usb_function 225 f_ecm = usb_get_function(fi_ecm); 226 if (IS_ERR(f_ecm)) 227 return PTR_ERR(f_ecm); 229 ret = usb_add_function(c, f_ecm); 262 usb_remove_function(c, f_ecm); 264 usb_put_function(f_ecm); 470 usb_put_function(f_ecm);
|
H A D | ether.c | 190 static struct usb_function *f_ecm; variable in typeref:struct:usb_function 272 f_ecm = usb_get_function(fi_ecm); 273 if (IS_ERR(f_ecm)) 274 return PTR_ERR(f_ecm); 276 status = usb_add_function(c, f_ecm); 278 usb_put_function(f_ecm); 459 usb_put_function(f_ecm);
|
H A D | nokia.c | 148 struct usb_function *f_ecm; local 180 f_ecm = usb_get_function(fi_ecm); 181 if (IS_ERR(f_ecm)) { 182 status = PTR_ERR(f_ecm); 214 status = usb_add_function(c, f_ecm); 226 f_ecm_cfg1 = f_ecm; 233 f_ecm_cfg2 = f_ecm; 242 usb_remove_function(c, f_ecm); 254 usb_put_function(f_ecm);
|
H A D | cdc2.c | 83 static struct usb_function *f_ecm; variable in typeref:struct:usb_function 98 f_ecm = usb_get_function(fi_ecm); 99 if (IS_ERR(f_ecm)) { 100 status = PTR_ERR(f_ecm); 104 status = usb_add_function(c, f_ecm); 122 usb_remove_function(c, f_ecm); 124 usb_put_function(f_ecm); 216 if (!IS_ERR_OR_NULL(f_ecm)) 217 usb_put_function(f_ecm);
|
Completed in 144 milliseconds