Lines Matching refs:func
43 return container_of(f, struct f_obex, port.func); in func_to_obex()
266 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
269 status = usb_function_activate(&g->func); in obex_connect()
279 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
282 status = usb_function_deactivate(&g->func); in obex_disconnect()
479 obex->port.func.name = "obex"; in obex_alloc()
481 obex->port.func.bind = obex_bind; in obex_alloc()
482 obex->port.func.unbind = obex_unbind; in obex_alloc()
483 obex->port.func.set_alt = obex_set_alt; in obex_alloc()
484 obex->port.func.get_alt = obex_get_alt; in obex_alloc()
485 obex->port.func.disable = obex_disable; in obex_alloc()
486 obex->port.func.free_func = obex_free; in obex_alloc()
487 obex->port.func.bind_deactivated = true; in obex_alloc()
489 return &obex->port.func; in obex_alloc()