Home
last modified time | relevance | path

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

/bsp/zynqmp-r5-axu4ev/drivers/
A Ddrv_eth.c58 struct xemac_s *xemac = eth_dev->xemac; in rt_zynqmp_eth_link_detect()
103 rt_zynqmp_eth_link_detect(eth_dev); in phy_monitor_thread()
111 struct netif *netif = eth_dev->parent.netif; in rt_zynqmp_eth_init()
118 if (eth_dev->xemac != RT_NULL) in rt_zynqmp_eth_init()
143 xemac->rt_eth_device = &eth_dev->parent; in rt_zynqmp_eth_init()
150 eth_dev->xemac = xemac; in rt_zynqmp_eth_init()
190 eth_device_linkchange(&eth_dev->parent, RT_TRUE); in rt_zynqmp_eth_init()
195 eth_dev, in rt_zynqmp_eth_init()
240 if (args) rt_memcpy(args, eth_dev->dev_addr, 6); in rt_zynqmp_eth_control()
259 struct xemac_s *xemac = eth_dev->xemac; in rt_zynqmp_eth_tx()
[all …]
/bsp/raspberry-pi/raspi4-64/drivers/
A Ddrv_eth.c62 static struct rt_eth_dev eth_dev; variable
85 eth_device_ready(&eth_dev.parent); in eth_rx_irq()
513 struct rt_eth_dev *dev = &eth_dev; in link_task_entry()
680 memset(&eth_dev, 0, sizeof(eth_dev)); in rt_hw_eth_init()
686 eth_dev.name = "e0"; in rt_hw_eth_init()
687 eth_dev.dev_addr[0] = mac_addr[0]; in rt_hw_eth_init()
688 eth_dev.dev_addr[1] = mac_addr[1]; in rt_hw_eth_init()
689 eth_dev.dev_addr[2] = mac_addr[2]; in rt_hw_eth_init()
690 eth_dev.dev_addr[3] = mac_addr[3]; in rt_hw_eth_init()
691 eth_dev.dev_addr[4] = mac_addr[4]; in rt_hw_eth_init()
[all …]
/bsp/raspberry-pi/raspi4-32/driver/
A Ddrv_eth.c73 static struct rt_eth_dev eth_dev; variable
95 eth_device_ready(&eth_dev.parent); in eth_rx_irq()
513 struct rt_eth_dev *dev = &eth_dev; in link_task_entry()
654 memset(&eth_dev, 0, sizeof(eth_dev)); in rt_hw_eth_init()
659 eth_dev.iobase = MAC_REG; in rt_hw_eth_init()
660 eth_dev.name = "e0"; in rt_hw_eth_init()
661 eth_dev.dev_addr[0] = mac_addr[0]; in rt_hw_eth_init()
662 eth_dev.dev_addr[1] = mac_addr[1]; in rt_hw_eth_init()
663 eth_dev.dev_addr[2] = mac_addr[2]; in rt_hw_eth_init()
664 eth_dev.dev_addr[3] = mac_addr[3]; in rt_hw_eth_init()
[all …]
/bsp/loongson/ls1cdev/drivers/net/
A DsynopGMAC.c57 static struct rt_eth_dev eth_dev; variable
287 struct rt_eth_dev *dev = &eth_dev; in eth_init()
543 struct rt_eth_dev *dev = &eth_dev; in rt_eth_rx()
756 struct rt_eth_dev *dev = &eth_dev; in eth_rx_irq()
900 memset(&eth_dev, 0, sizeof(eth_dev)); in rt_hw_eth_init()
934 eth_dev.iobase = base_addr; in rt_hw_eth_init()
935 eth_dev.name = "e0"; in rt_hw_eth_init()
936 eth_dev.priv = synopGMACadapter; in rt_hw_eth_init()
937 eth_dev.dev_addr[0] = mac_addr0[0]; in rt_hw_eth_init()
938 eth_dev.dev_addr[1] = mac_addr0[1]; in rt_hw_eth_init()
[all …]
/bsp/loongson/ls2kdev/drivers/net/
A DsynopGMAC.c81 static struct rt_eth_dev eth_dev; variable
310 struct rt_eth_dev *dev = &eth_dev; in eth_init()
569 struct rt_eth_dev *dev = &eth_dev; in rt_eth_rx()
793 struct rt_eth_dev *dev = &eth_dev; in eth_rx_irq()
926 memset(&eth_dev, 0, sizeof(eth_dev)); in rt_hw_eth_init()
962 eth_dev.iobase = gmac_base; in rt_hw_eth_init()
963 eth_dev.name = "e0"; in rt_hw_eth_init()
964 eth_dev.priv = synopGMACadapter; in rt_hw_eth_init()
965 eth_dev.dev_addr[0] = mac_addr0[0]; in rt_hw_eth_init()
966 eth_dev.dev_addr[1] = mac_addr0[1]; in rt_hw_eth_init()
[all …]
/bsp/hpmicro/hpm6300evk/board/
A Deth_phy_port.c26 struct eth_device *eth_dev; member
46 .eth_dev = &eth0_dev,
62 .eth_dev = &eth1_dev,
157 struct eth_device* eth_dev; in phy_poll_status() local
165 eth_dev = phy_monitor_handle->phy_handle[i]->eth_dev; in phy_poll_status()
184 eth_device_linkchange(eth_dev, status); in phy_poll_status()
/bsp/hpmicro/libraries/drivers/
A Ddrv_enet.c57 .eth_dev = &eth0_dev,
121 .eth_dev = &eth1_dev,
518 eth_rx_callback(obj->eth_dev); in isr_enet()
594 s_geths[i]->eth_dev->parent.init = rt_hpm_eth_init; in SDK_DECLARE_EXT_ISR_M()
595 s_geths[i]->eth_dev->parent.open = rt_hpm_eth_open; in SDK_DECLARE_EXT_ISR_M()
596 s_geths[i]->eth_dev->parent.close = rt_hpm_eth_close; in SDK_DECLARE_EXT_ISR_M()
597 s_geths[i]->eth_dev->parent.read = rt_hpm_eth_read; in SDK_DECLARE_EXT_ISR_M()
598 s_geths[i]->eth_dev->parent.write = rt_hpm_eth_write; in SDK_DECLARE_EXT_ISR_M()
599 s_geths[i]->eth_dev->parent.control = rt_hpm_eth_control; in SDK_DECLARE_EXT_ISR_M()
603 s_geths[i]->eth_dev->eth_rx = rt_hpm_eth_rx; in SDK_DECLARE_EXT_ISR_M()
[all …]
A Ddrv_enet_phy.c28 struct eth_device *eth_dev; member
48 .eth_dev = &eth0_dev,
64 .eth_dev = &eth1_dev,
293 struct eth_device* eth_dev; in phy_poll_status() local
301 eth_dev = phy_monitor_handle->phy_handle[i]->eth_dev; in phy_poll_status()
320 eth_device_linkchange(eth_dev, status); in phy_poll_status()
A Ddrv_enet.h56 struct eth_device *eth_dev; member
/bsp/efm32/
A Ddrv_ethernet.c40 static struct eth_device eth_dev; variable
404 eth_device_ready(&eth_dev); in efm_eth_isr()
992 eth_dev.parent.init = efm_eth_init; in efm_hw_eth_init()
993 eth_dev.parent.open = efm_eth_open; in efm_hw_eth_init()
994 eth_dev.parent.close = efm_eth_close; in efm_hw_eth_init()
995 eth_dev.parent.read = efm_eth_read; in efm_hw_eth_init()
996 eth_dev.parent.write = efm_eth_write; in efm_hw_eth_init()
997 eth_dev.parent.control = efm_eth_control; in efm_hw_eth_init()
998 eth_dev.eth_rx = efm_eth_rx; in efm_hw_eth_init()
999 eth_dev.eth_tx = efm_eth_tx; in efm_hw_eth_init()
[all …]
/bsp/tm4c129x/drivers/
A Ddrv_eth.c272 static net_device_t eth_dev = &eth_dev_entry; variable
1233 tivaif_interrupt(eth_dev, ui32Status); in lwIPEthernetIntHandler()
1465 eth_dev->parent.parent.init = eth_dev_init; in rt_hw_tiva_eth_init()
1466 eth_dev->parent.parent.open = eth_dev_open; in rt_hw_tiva_eth_init()
1467 eth_dev->parent.parent.close = eth_dev_close; in rt_hw_tiva_eth_init()
1468 eth_dev->parent.parent.read = eth_dev_read; in rt_hw_tiva_eth_init()
1469 eth_dev->parent.parent.write = eth_dev_write; in rt_hw_tiva_eth_init()
1470 eth_dev->parent.parent.control = eth_dev_control; in rt_hw_tiva_eth_init()
1471 eth_dev->parent.eth_rx = eth_dev_rx; in rt_hw_tiva_eth_init()
1472 eth_dev->parent.eth_tx = eth_dev_tx; in rt_hw_tiva_eth_init()
[all …]
/bsp/cvitek/drivers/
A Ddrv_eth.c212 struct eth_device *eth_dev; in rt_dw_eth_init() local
215 eth_dev = rt_container_of(dev, struct eth_device, parent); in rt_dw_eth_init()
216 if (eth_dev == RT_NULL) in rt_dw_eth_init()
219 dw_eth = rt_container_of(eth_dev, struct _dw_eth, parent); in rt_dw_eth_init()

Completed in 30 milliseconds