Home
last modified time | relevance | path

Searched refs:geth (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/gadget/function/
Df_subset.c259 struct f_gether *geth = func_to_geth(f); in geth_set_alt() local
265 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() local
288 gether_disconnect(&geth->port); in geth_disable()
[all …]
Df_rndis.c663 static void rndis_open(struct gether *geth) in rndis_open() argument
665 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() argument
677 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_close()
679 DBG(geth->func.config->cdev, "%s\n", __func__); in rndis_close()
Df_ecm.c662 static void ecm_open(struct gether *geth) in ecm_open() argument
664 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open()
672 static void ecm_close(struct gether *geth) in ecm_close() argument
674 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
Df_ncm.c1312 static void ncm_open(struct gether *geth) in ncm_open() argument
1314 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_open()
1324 static void ncm_close(struct gether *geth) in ncm_close() argument
1326 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_close()