Home
last modified time | relevance | path

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

/u-boot/include/configs/
A Dtam3517-common.h262 char buf[80], ethname[20]; \
275 sprintf(ethname, "eth%daddr", i); \
277 strcpy(ethname, "ethaddr"); \
278 printf("Setting %s from EEPROM with %s\n", ethname, buf);\
279 env_set(ethname, buf); \
/u-boot/drivers/net/phy/
A Dmv88e6352.c270 const char *cmd, *ethname; in do_mvsw_reg() local
282 ethname = argv[1]; in do_mvsw_reg()
285 ret = do_mvsw_reg_read(ethname, argc, argv); in do_mvsw_reg()
289 ethname = argv[1]; in do_mvsw_reg()
292 ret = do_mvsw_reg_write(ethname, argc, argv); in do_mvsw_reg()
/u-boot/include/
A Dexports.h60 struct phy_device *mdio_phydev_for_ethname(const char *ethname);
A D_exports.h83 mdio_phydev_for_ethname, const char *ethname)
/u-boot/common/
A Dmiiphyutil.c187 struct phy_device *mdio_phydev_for_ethname(const char *ethname) in mdio_phydev_for_ethname() argument
200 if (strcmp(bus->phymap[i]->dev->name, ethname) == 0) in mdio_phydev_for_ethname()
205 printf("%s is not a known ethernet\n", ethname); in mdio_phydev_for_ethname()
/u-boot/test/dm/
A Deth.c106 const char *ethname[DM_TEST_ETH_NUM] = {"eth@10002000", "eth@10003000", in dm_test_eth_act() local
119 ethname[i], &dev[i])); in dm_test_eth_act()
130 env_set("ethact", ethname[0]); in dm_test_eth_act()
/u-boot/board/freescale/lx2160a/
A Deth_lx2160aqds.c780 char ethname[ETH_NAME_LEN]; in fdt_fixup_board_phy() local
818 snprintf(ethname, ETH_NAME_LEN, "DPMAC%d@%s", in fdt_fixup_board_phy()
821 if (strcmp(ethname, phy_dev->dev->name) == 0) in fdt_fixup_board_phy()
A Deth_lx2162aqds.c792 char ethname[ETH_NAME_LEN]; in fdt_fixup_board_phy() local
830 snprintf(ethname, ETH_NAME_LEN, "DPMAC%d@%s", in fdt_fixup_board_phy()
833 if (strcmp(ethname, phy_dev->dev->name) == 0) in fdt_fixup_board_phy()
/u-boot/drivers/net/fsl-mc/
A Dmc.c424 char ethname[ETH_NAME_LEN]; in mc_fixup_mac_addrs() local
431 snprintf(ethname, ETH_NAME_LEN, "DPMAC%d@%s", i, in mc_fixup_mac_addrs()
434 eth_dev = eth_get_dev_by_name(ethname); in mc_fixup_mac_addrs()
451 ethname); in mc_fixup_mac_addrs()

Completed in 24 milliseconds