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()
657 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open()
659 DBG(ecm->port.func.config->cdev, "%s\n", __func__); in ecm_open()
667 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
669 DBG(ecm->port.func.config->cdev, "%s\n", __func__); in ecm_close()
941 ecm->port.func.name = "cdc_ethernet"; in ecm_alloc()
943 ecm->port.func.bind = ecm_bind; in ecm_alloc()
944 ecm->port.func.unbind = ecm_unbind; in ecm_alloc()
945 ecm->port.func.set_alt = ecm_set_alt; in ecm_alloc()
946 ecm->port.func.get_alt = ecm_get_alt; in ecm_alloc()
947 ecm->port.func.setup = ecm_setup; in ecm_alloc()
948 ecm->port.func.disable = ecm_disable; in ecm_alloc()
949 ecm->port.func.free_func = ecm_free; in ecm_alloc()
951 return &ecm->port.func; in ecm_alloc()