Home
last modified time | relevance | path

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

/openbmc/u-boot/include/configs/
H A Dtam3517-common.h282 char buf[80], ethname[20]; \
295 sprintf(ethname, "eth%daddr", i); \
297 strcpy(ethname, "ethaddr"); \
298 printf("Setting %s from EEPROM with %s\n", ethname, buf);\
299 env_set(ethname, buf); \
/openbmc/u-boot/drivers/net/phy/
H A Dmv88e6352.c267 const char *cmd, *ethname; in do_mvsw_reg() local
279 ethname = argv[1]; in do_mvsw_reg()
282 ret = do_mvsw_reg_read(ethname, argc, argv); in do_mvsw_reg()
286 ethname = argv[1]; in do_mvsw_reg()
289 ret = do_mvsw_reg_write(ethname, argc, argv); in do_mvsw_reg()
/openbmc/u-boot/common/
H A Dmiiphyutil.c185 struct phy_device *mdio_phydev_for_ethname(const char *ethname) in mdio_phydev_for_ethname() argument
198 if (strcmp(bus->phymap[i]->dev->name, ethname) == 0) in mdio_phydev_for_ethname()
203 printf("%s is not a known ethernet\n", ethname); in mdio_phydev_for_ethname()
/openbmc/u-boot/test/dm/
H A Deth.c103 const char *ethname[DM_TEST_ETH_NUM] = {"eth@10002000", "eth@10003000", in dm_test_eth_act() local
116 ethname[i], &dev[i])); in dm_test_eth_act()
127 env_set("ethact", ethname[0]); in dm_test_eth_act()
/openbmc/u-boot/include/
H A Dexports.h44 struct phy_device *mdio_phydev_for_ethname(const char *ethname);
H A D_exports.h84 mdio_phydev_for_ethname, const char *ethname)
/openbmc/u-boot/board/freescale/lx2160a/
H A Deth_lx2160aqds.c755 char ethname[ETH_NAME_LEN]; in fdt_fixup_board_phy() local
793 snprintf(ethname, ETH_NAME_LEN, "DPMAC%d@%s", in fdt_fixup_board_phy()
796 if (strcmp(ethname, phy_dev->dev->name) == 0) in fdt_fixup_board_phy()
/openbmc/u-boot/drivers/net/fsl-mc/
H A Dmc.c362 char ethname[ETH_NAME_LEN]; in mc_fixup_mac_addrs() local
370 snprintf(ethname, ETH_NAME_LEN, "DPMAC%d@%s", i, in mc_fixup_mac_addrs()
373 eth_dev = eth_get_dev_by_name(ethname); in mc_fixup_mac_addrs()
390 ethname); in mc_fixup_mac_addrs()