Searched refs:f_acm (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/ |
D | acm_ms.c | 97 static struct usb_function *f_acm; variable 115 f_acm = usb_get_function(f_acm_inst); in acm_ms_do_config() 116 if (IS_ERR(f_acm)) in acm_ms_do_config() 117 return PTR_ERR(f_acm); in acm_ms_do_config() 125 status = usb_add_function(c, f_acm); in acm_ms_do_config() 135 usb_remove_function(c, f_acm); in acm_ms_do_config() 139 usb_put_function(f_acm); in acm_ms_do_config() 241 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() 214 usb_put_function(f_acm); in cdc_unbind()
|
D | nokia.c | 145 struct usb_function *f_acm; in nokia_bind_config() local 174 f_acm = usb_get_function(fi_acm); in nokia_bind_config() 175 if (IS_ERR(f_acm)) { in nokia_bind_config() 176 status = PTR_ERR(f_acm); in nokia_bind_config() 210 status = usb_add_function(c, f_acm); in nokia_bind_config() 225 f_acm_cfg1 = f_acm; in nokia_bind_config() 232 f_acm_cfg2 = f_acm; in nokia_bind_config() 244 usb_remove_function(c, f_acm); in nokia_bind_config() 256 usb_put_function(f_acm); in nokia_bind_config()
|
/kernel/linux/linux-5.10/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() 468 struct f_acm *acm = func_to_acm(f); in acm_disable() 492 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
|