Lines Matching refs:func
45 return container_of(f, struct f_obex, port.func); in func_to_obex()
268 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_connect()
274 status = usb_function_activate(&g->func); in obex_connect()
284 struct usb_composite_dev *cdev = g->func.config->cdev; in obex_disconnect()
290 status = usb_function_deactivate(&g->func); in obex_disconnect()
524 obex->port.func.name = "obex"; in obex_alloc()
526 obex->port.func.bind = obex_bind; in obex_alloc()
527 obex->port.func.unbind = obex_unbind; in obex_alloc()
528 obex->port.func.set_alt = obex_set_alt; in obex_alloc()
529 obex->port.func.get_alt = obex_get_alt; in obex_alloc()
530 obex->port.func.disable = obex_disable; in obex_alloc()
531 obex->port.func.free_func = obex_free; in obex_alloc()
533 return &obex->port.func; in obex_alloc()