Home
last modified time | relevance | path

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

/bsp/nxp/mcx/mcxn/Libraries/drivers/
A Ddrv_eth.c102 static struct rt_stm32_eth stm32_eth_device; variable
120 stm32_eth_device.rx_channel = channel; in ENET_IntCallback()
192 SMEMCPY(args, stm32_eth_device.dev_addr, 6); in rt_stm32_eth_control()
391 stm32_eth_device.dev_addr[0] = 0x00; in rt_hw_imxrt_eth_init()
392 stm32_eth_device.dev_addr[1] = 0x80; in rt_hw_imxrt_eth_init()
393 stm32_eth_device.dev_addr[2] = 0xE1; in rt_hw_imxrt_eth_init()
394 stm32_eth_device.dev_addr[3] = 0x01; in rt_hw_imxrt_eth_init()
395 stm32_eth_device.dev_addr[4] = 0x02; in rt_hw_imxrt_eth_init()
396 stm32_eth_device.dev_addr[5] = 0x03; in rt_hw_imxrt_eth_init()
399 stm32_eth_device.parent.parent.open = RT_NULL; in rt_hw_imxrt_eth_init()
[all …]
/bsp/stm32/stm32h750-artpi/board/port/
A Ddrv_eth.c56 static struct rt_stm32_eth stm32_eth_device; variable
312 if (stm32_eth_device.parent.link_status) in rt_stm32_eth_tx()
502 …if (!stm32_eth_device.poll_link_timer || rt_timer_start(stm32_eth_device.poll_link_timer) != RT_EO… in phy_monitor_thread_entry()
519 stm32_eth_device.ETH_Speed = ETH_SPEED_100M; in rt_hw_stm32_eth_init()
520 stm32_eth_device.ETH_Mode = ETH_FULLDUPLEX_MODE; in rt_hw_stm32_eth_init()
523 stm32_eth_device.dev_addr[0] = 0x00; in rt_hw_stm32_eth_init()
524 stm32_eth_device.dev_addr[1] = 0x80; in rt_hw_stm32_eth_init()
525 stm32_eth_device.dev_addr[2] = 0xE1; in rt_hw_stm32_eth_init()
537 stm32_eth_device.parent.parent.user_data = RT_NULL; in rt_hw_stm32_eth_init()
539 stm32_eth_device.parent.eth_rx = rt_stm32_eth_rx; in rt_hw_stm32_eth_init()
[all …]
/bsp/stm32/libraries/HAL_Drivers/drivers/
A Ddrv_eth.c57 static struct rt_stm32_eth stm32_eth_device; variable
177 SMEMCPY(args, stm32_eth_device.dev_addr, 6); in rt_stm32_eth_control()
546 …if (!stm32_eth_device.poll_link_timer || rt_timer_start(stm32_eth_device.poll_link_timer) != RT_EO… in phy_monitor_thread_entry()
591 stm32_eth_device.ETH_Speed = ETH_SPEED_100M; in rt_hw_stm32_eth_init()
592 stm32_eth_device.ETH_Mode = ETH_MODE_FULLDUPLEX; in rt_hw_stm32_eth_init()
595 stm32_eth_device.dev_addr[0] = 0x00; in rt_hw_stm32_eth_init()
596 stm32_eth_device.dev_addr[1] = 0x80; in rt_hw_stm32_eth_init()
597 stm32_eth_device.dev_addr[2] = 0xE1; in rt_hw_stm32_eth_init()
609 stm32_eth_device.parent.parent.user_data = RT_NULL; in rt_hw_stm32_eth_init()
611 stm32_eth_device.parent.eth_rx = rt_stm32_eth_rx; in rt_hw_stm32_eth_init()
[all …]
/bsp/stm32/stm32mp157a-st-ev1/board/ports/eth/
A Ddrv_eth.c101 static struct rt_stm32_eth stm32_eth_device = {0}; variable
204 if (stm32_eth_device.eth_speed & PHY_1000M) in update_mac_mode()
209 else if (stm32_eth_device.eth_speed & PHY_100M) in update_mac_mode()
221 if (stm32_eth_device.eth_mode & PHY_FULL_DUPLEX) in update_mac_mode()
333 uint8_t *macAddr = &stm32_eth_device.dev_addr[0]; in rt_stm32_eth_init()
790 …if (!stm32_eth_device.poll_link_timer || rt_timer_start(stm32_eth_device.poll_link_timer) != RT_EO… in phy_monitor_thread_entry()
825 stm32_eth_device.dev_addr[0] = 0x00; in rt_hw_stm32_eth_init()
826 stm32_eth_device.dev_addr[1] = 0x80; in rt_hw_stm32_eth_init()
827 stm32_eth_device.dev_addr[2] = 0xE1; in rt_hw_stm32_eth_init()
841 stm32_eth_device.parent.eth_rx = rt_stm32_eth_rx; in rt_hw_stm32_eth_init()
[all …]
/bsp/stm32/stm32mp157a-st-discovery/board/ports/
A Ddrv_eth.c101 static struct rt_stm32_eth stm32_eth_device = {0}; variable
734 stm32_eth_device.eth_speed |= PHY_10M; in phy_linkchange()
741 stm32_eth_device.eth_speed |= PHY_100M; in phy_linkchange()
760 update_mac_mode(stm32_eth_device.eth_speed, stm32_eth_device.eth_mode); in phy_linkchange()
802 …if (!stm32_eth_device.poll_link_timer || rt_timer_start(stm32_eth_device.poll_link_timer) != RT_EO… in phy_monitor_thread_entry()
837 stm32_eth_device.dev_addr[0] = 0x00; in rt_hw_stm32_eth_init()
838 stm32_eth_device.dev_addr[1] = 0x80; in rt_hw_stm32_eth_init()
839 stm32_eth_device.dev_addr[2] = 0xE1; in rt_hw_stm32_eth_init()
851 stm32_eth_device.parent.parent.user_data = RT_NULL; in rt_hw_stm32_eth_init()
853 stm32_eth_device.parent.eth_rx = rt_stm32_eth_rx; in rt_hw_stm32_eth_init()
[all …]

Completed in 15 milliseconds