Searched refs:lpc_emac_device (Results 1 – 3 of 3) sorted by relevance
| /bsp/nxp/lpc/lpc54608-LPCXpresso/drivers/ |
| A D | drv_emac.c | 91 static struct lpc_emac lpc_emac_device; variable 280 status = PHY_Init(lpc_emac_device.base, lpc_emac_device.phyAddr, 0); in lpc_emac_phy_init() 295 PHY_GetLinkStatus(lpc_emac_device.base, lpc_emac_device.phyAddr, &link); in lpc_emac_phy_init() 304 PHY_GetLinkStatus(lpc_emac_device.base, lpc_emac_device.phyAddr, &link); in lpc_emac_phy_init() 307 PHY_GetLinkSpeedDuplex(lpc_emac_device.base, lpc_emac_device.phyAddr, speed, duplex); in lpc_emac_phy_init() 361 …ENET_Init(lpc_emac_device.base, &config, &lpc_emac_device.dev_addr[0], CLOCK_GetFreq(kCLOCK_CoreSy… in lpc_emac_init() 449 lpc_emac_device.txIdx = (lpc_emac_device.txIdx + 1) / ENET_TXBD_NUM; in lpc_emac_tx() 514 lpc_emac_device.phyAddr = 0; in lpc_emac_hw_init() 515 lpc_emac_device.txIdx = 0; in lpc_emac_hw_init() 516 lpc_emac_device.base = ENET; in lpc_emac_hw_init() [all …]
|
| /bsp/nxp/lpc/lpc408x/drivers/ |
| A D | drv_emac.c | 54 static struct lpc_emac lpc_emac_device; variable 255 switch (lpc_emac_device.phy_mode) in lpc_emac_init() 300 LPC_EMAC->SA0 = (lpc_emac_device.dev_addr[1] << 8) | lpc_emac_device.dev_addr[0]; in lpc_emac_init() 301 LPC_EMAC->SA1 = (lpc_emac_device.dev_addr[3] << 8) | lpc_emac_device.dev_addr[2]; in lpc_emac_init() 302 LPC_EMAC->SA2 = (lpc_emac_device.dev_addr[5] << 8) | lpc_emac_device.dev_addr[4]; in lpc_emac_init() 471 lpc_emac_device.dev_addr[0] = 0x00; in rt_hw_emac_init() 472 lpc_emac_device.dev_addr[1] = 0x60; in rt_hw_emac_init() 473 lpc_emac_device.dev_addr[2] = 0x37; in rt_hw_emac_init() 475 lpc_emac_device.dev_addr[3] = 0x12; in rt_hw_emac_init() 476 lpc_emac_device.dev_addr[4] = 0x34; in rt_hw_emac_init() [all …]
|
| /bsp/nxp/lpc/lpc43xx/drivers/ |
| A D | drv_emac.c | 54 static struct lpc_emac lpc_emac_device; variable 77 eth_device_ready(&(lpc_emac_device.parent)); in ENET_IRQHandler() 276 switch (lpc_emac_device.phy_mode) in lpc_emac_init() 321 LPC_EMAC->SA0 = (lpc_emac_device.dev_addr[1] << 8) | lpc_emac_device.dev_addr[0]; in lpc_emac_init() 322 LPC_EMAC->SA1 = (lpc_emac_device.dev_addr[3] << 8) | lpc_emac_device.dev_addr[2]; in lpc_emac_init() 323 LPC_EMAC->SA2 = (lpc_emac_device.dev_addr[5] << 8) | lpc_emac_device.dev_addr[4]; in lpc_emac_init() 491 lpc_emac_device.phy_mode = EMAC_PHY_AUTO; in lpc_emac_hw_init() 494 lpc_emac_device.dev_addr[0] = 0x00; in lpc_emac_hw_init() 495 lpc_emac_device.dev_addr[1] = 0x60; in lpc_emac_hw_init() 496 lpc_emac_device.dev_addr[2] = 0x37; in lpc_emac_hw_init() [all …]
|
Completed in 17 milliseconds