Lines Matching refs:func
68 return container_of(f, struct f_ecm, port.func); in func_to_ecm()
382 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_do_notify()
449 struct usb_composite_dev *cdev = ecm->port.func.config->cdev; in ecm_notify_complete()
663 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open()
665 DBG(ecm->port.func.config->cdev, "%s\n", __func__); in ecm_open()
673 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
675 DBG(ecm->port.func.config->cdev, "%s\n", __func__); in ecm_close()
958 ecm->port.func.name = "cdc_ethernet"; in ecm_alloc()
960 ecm->port.func.bind = ecm_bind; in ecm_alloc()
961 ecm->port.func.unbind = ecm_unbind; in ecm_alloc()
962 ecm->port.func.set_alt = ecm_set_alt; in ecm_alloc()
963 ecm->port.func.get_alt = ecm_get_alt; in ecm_alloc()
964 ecm->port.func.setup = ecm_setup; in ecm_alloc()
965 ecm->port.func.disable = ecm_disable; in ecm_alloc()
966 ecm->port.func.free_func = ecm_free; in ecm_alloc()
968 return &ecm->port.func; in ecm_alloc()