Searched refs:geth (Results 1 – 6 of 6) sorted by relevance
255 struct f_gether *geth = func_to_geth(f); in geth_set_alt() local261 if (geth->port.in_ep->enabled) { in geth_set_alt()263 gether_disconnect(&geth->port); in geth_set_alt()267 if (config_ep_by_speed(cdev->gadget, f, geth->port.in_ep) || in geth_set_alt()268 config_ep_by_speed(cdev->gadget, f, geth->port.out_ep)) { in geth_set_alt()269 geth->port.in_ep->desc = NULL; in geth_set_alt()270 geth->port.out_ep->desc = NULL; in geth_set_alt()274 net = gether_connect(&geth->port); in geth_set_alt()280 struct f_gether *geth = func_to_geth(f); in geth_disable() local284 gether_disconnect(&geth->port); in geth_disable()[all …]
622 static void rndis_open(struct gether *geth) in rndis_open() argument624 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_open()625 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()634 static void rndis_close(struct gether *geth) in rndis_close() argument636 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_close()638 DBG(geth->func.config->cdev, "%s\n", __func__); in rndis_close()
647 static void ecm_open(struct gether *geth) in ecm_open() argument 649 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open() 657 static void ecm_close(struct gether *geth) in ecm_close() argument 659 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
1402 static void ncm_open(struct gether *geth) in ncm_open() 1404 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_open() 1414 static void ncm_close(struct gether *geth) in ncm_close() 1416 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_close() 1401 ncm_open(struct gether * geth) ncm_open() argument 1413 ncm_close(struct gether * geth) ncm_close() argument
1 What: /config/usb-gadget/gadget/functions/geth.name
120 The function name to use when creating the function directory is "geth".