Home
last modified time | relevance | path

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

/components/drivers/usb/cherryusb/platform/rtthread/
A Dusbh_lwip.c397 static struct eth_device g_rtl8152_dev; variable
437 usbh_lwip_eth_input_common(g_rtl8152_dev.netif, buf, buflen); in usbh_rtl8152_eth_input()
442 memset(&g_rtl8152_dev, 0, sizeof(struct eth_device)); in usbh_rtl8152_run()
444 g_rtl8152_dev.parent.control = rt_usbh_rtl8152_control; in usbh_rtl8152_run()
445 g_rtl8152_dev.eth_rx = NULL; in usbh_rtl8152_run()
446 g_rtl8152_dev.eth_tx = rt_usbh_rtl8152_eth_tx; in usbh_rtl8152_run()
447 g_rtl8152_dev.parent.user_data = rtl8152_class; in usbh_rtl8152_run()
449 eth_device_init(&g_rtl8152_dev, "u4"); in usbh_rtl8152_run()
450 eth_device_linkchange(&g_rtl8152_dev, RT_TRUE); in usbh_rtl8152_run()
459 eth_device_deinit(&g_rtl8152_dev); in usbh_rtl8152_stop()

Completed in 3 milliseconds