Searched refs:geth (Results 1 – 4 of 4) sorted by relevance
259 struct f_gether *geth = func_to_geth(f); in geth_set_alt() local265 if (geth->port.in_ep->enabled) { in geth_set_alt()267 gether_disconnect(&geth->port); in geth_set_alt()271 if (config_ep_by_speed(cdev->gadget, f, geth->port.in_ep) || in geth_set_alt()272 config_ep_by_speed(cdev->gadget, f, geth->port.out_ep)) { in geth_set_alt()273 geth->port.in_ep->desc = NULL; in geth_set_alt()274 geth->port.out_ep->desc = NULL; in geth_set_alt()278 net = gether_connect(&geth->port); in geth_set_alt()284 struct f_gether *geth = func_to_geth(f); in geth_disable() local288 gether_disconnect(&geth->port); in geth_disable()[all …]
663 static void rndis_open(struct gether *geth) in rndis_open() argument665 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_open()666 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()675 static void rndis_close(struct gether *geth) in rndis_close() argument677 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_close()679 DBG(geth->func.config->cdev, "%s\n", __func__); in rndis_close()
662 static void ecm_open(struct gether *geth) in ecm_open() argument664 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open()672 static void ecm_close(struct gether *geth) in ecm_close() argument674 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
1312 static void ncm_open(struct gether *geth) in ncm_open() argument1314 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_open()1324 static void ncm_close(struct gether *geth) in ncm_close() argument1326 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_close()