Searched refs:f_acm (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/gadget/legacy/ |
D | acm_ms.c | 97 static struct usb_function *f_acm; variable 118 f_acm = usb_get_function(f_acm_inst); in acm_ms_do_config() 119 if (IS_ERR(f_acm)) in acm_ms_do_config() 120 return PTR_ERR(f_acm); in acm_ms_do_config() 128 status = usb_add_function(c, f_acm); in acm_ms_do_config() 138 usb_remove_function(c, f_acm); in acm_ms_do_config() 142 usb_put_function(f_acm); in acm_ms_do_config() 242 usb_put_function(f_acm); in acm_ms_unbind()
|
D | cdc2.c | 80 static struct usb_function *f_acm; variable 108 f_acm = usb_get_function(fi_serial); in cdc_do_config() 109 if (IS_ERR(f_acm)) { in cdc_do_config() 110 status = PTR_ERR(f_acm); in cdc_do_config() 114 status = usb_add_function(c, f_acm); in cdc_do_config() 120 usb_put_function(f_acm); in cdc_do_config() 212 usb_put_function(f_acm); in cdc_unbind()
|
D | nokia.c | 146 struct usb_function *f_acm; in nokia_bind_config() local 175 f_acm = usb_get_function(fi_acm); in nokia_bind_config() 176 if (IS_ERR(f_acm)) { in nokia_bind_config() 177 status = PTR_ERR(f_acm); in nokia_bind_config() 211 status = usb_add_function(c, f_acm); in nokia_bind_config() 226 f_acm_cfg1 = f_acm; in nokia_bind_config() 233 f_acm_cfg2 = f_acm; in nokia_bind_config() 245 usb_remove_function(c, f_acm); in nokia_bind_config() 257 usb_put_function(f_acm); in nokia_bind_config()
|
/drivers/usb/gadget/function/ |
D | f_acm.c | 40 struct f_acm { struct 74 static inline struct f_acm *func_to_acm(struct usb_function *f) in func_to_acm() argument 76 return container_of(f, struct f_acm, port.func); in func_to_acm() 79 static inline struct f_acm *port_to_acm(struct gserial *p) in port_to_acm() 81 return container_of(p, struct f_acm, port); in port_to_acm() 308 struct f_acm *acm = ep->driver_data; in acm_complete_set_line_coding() 338 struct f_acm *acm = func_to_acm(f); in acm_setup() 422 struct f_acm *acm = func_to_acm(f); in acm_set_alt() 466 struct f_acm *acm = func_to_acm(f); in acm_disable() 490 static int acm_cdc_notify(struct f_acm *acm, u8 type, u16 value, in acm_cdc_notify() [all …]
|
D | Makefile | 10 usb_f_acm-y := f_acm.o
|