Home
last modified time | relevance | path

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

/drivers/net/ethernet/cortina/
Dgemini.c107 struct gemini_ethernet *geth; member
553 struct gemini_ethernet *geth = port->geth; in gmac_setup_txqs() local
569 desc_ring = dma_alloc_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs()
578 dev_warn(geth->dev, "TX queue base is not aligned\n"); in gmac_setup_txqs()
579 dma_free_coherent(geth->dev, len * sizeof(*desc_ring), in gmac_setup_txqs()
612 struct gemini_ethernet *geth = port->geth; in gmac_clean_txq() local
635 dma_unmap_single(geth->dev, mapping, in gmac_clean_txq()
683 struct gemini_ethernet *geth = port->geth; in gmac_cleanup_txqs() local
700 dma_free_coherent(geth->dev, in gmac_cleanup_txqs()
708 struct gemini_ethernet *geth = port->geth; in gmac_setup_rxq() local
[all …]
/drivers/usb/gadget/function/
Df_subset.c255 struct f_gether *geth = func_to_geth(f); in geth_set_alt() local
261 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() local
284 gether_disconnect(&geth->port); in geth_disable()
[all …]
Df_rndis.c633 static void rndis_open(struct gether *geth) in rndis_open() argument
635 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_open()
636 struct usb_composite_dev *cdev = geth->func.config->cdev; in rndis_open()
645 static void rndis_close(struct gether *geth) in rndis_close() argument
647 struct f_rndis *rndis = func_to_rndis(&geth->func); in rndis_close()
649 DBG(geth->func.config->cdev, "%s\n", __func__); in rndis_close()
Df_ecm.c655 static void ecm_open(struct gether *geth) in ecm_open() argument
657 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_open()
665 static void ecm_close(struct gether *geth) in ecm_close() argument
667 struct f_ecm *ecm = func_to_ecm(&geth->func); in ecm_close()
Df_ncm.c1354 static void ncm_open(struct gether *geth) in ncm_open() argument
1356 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_open()
1366 static void ncm_close(struct gether *geth) in ncm_close() argument
1368 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_close()