/u-boot/board/freescale/ls1021aqds/ |
A D | eth.c | 135 struct tsec_info_struct tsec_info[3]; in board_eth_init() local 139 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 142 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 143 tsec_info[num].mii_devname = "LS1021A_SGMII_MDIO"; in board_eth_init() 145 tsec_info[num].mii_devname = "LS1021A_RGMII_MDIO"; in board_eth_init() 150 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 153 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 161 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init() 162 tsec_info[num].mii_devname = "LS1021A_RGMII_MDIO"; in board_eth_init() 171 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init() [all …]
|
/u-boot/board/freescale/ls1021aiot/ |
A D | ls1021aiot.c | 115 struct tsec_info_struct tsec_info[4]; in board_eth_init() local 119 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 122 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 127 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 130 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 143 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
|
/u-boot/board/freescale/mpc8548cds/ |
A D | mpc8548cds.c | 313 struct tsec_info_struct tsec_info[4]; in board_eth_init() local 317 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 321 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 327 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init() 328 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init() 335 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init() 336 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init() 351 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
|
/u-boot/board/Arcturus/ucp1020/ |
A D | ucp1020.c | 268 struct tsec_info_struct tsec_info[4]; in board_eth_init() local 275 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 279 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 283 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 284 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init() 290 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init() 304 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
|
/u-boot/board/freescale/mpc837xemds/ |
A D | mpc837xemds.c | 92 struct tsec_info_struct tsec_info[2]; in board_eth_init() local 102 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 112 tsec_info[num].phyaddr = TSEC1_PHY_ADDR_SGMII; in board_eth_init() 113 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init() 120 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 130 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init() 131 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init() 142 return tsec_eth_init(bd, tsec_info, num); in board_eth_init()
|
/u-boot/board/freescale/common/ |
A D | sgmii_riser.c | 23 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num) in fsl_sgmii_riser_init() argument 28 if (tsec_info[i].flags & TSEC_SGMII) in fsl_sgmii_riser_init() 29 tsec_info[i].phyaddr += SGMII_RISER_PHY_OFFSET; in fsl_sgmii_riser_init()
|
A D | sgmii_riser.h | 15 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num);
|
/u-boot/board/freescale/p1_p2_rdb_pc/ |
A D | p1_p2_rdb_pc.c | 300 struct tsec_info_struct tsec_info[4]; in board_eth_init() local 306 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 310 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 313 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init() 318 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init() 332 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
|
/u-boot/board/gdsys/p1022/ |
A D | controlcenterd.c | 314 struct tsec_info_struct tsec_info[2]; in board_eth_init() local 318 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 322 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 330 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
|
/u-boot/drivers/net/ |
A D | tsec.c | 28 static struct tsec_info_struct tsec_info[] = { variable 738 struct tsec_info_struct *tsec_info) in tsec_initialize() argument 758 priv->regs = tsec_info->regs; in tsec_initialize() 759 priv->phyregs_sgmii = tsec_info->miiregs_sgmii; in tsec_initialize() 761 priv->phyaddr = tsec_info->phyaddr; in tsec_initialize() 763 priv->flags = tsec_info->flags; in tsec_initialize() 765 strcpy(dev->name, tsec_info->devname); in tsec_initialize() 766 priv->interface = tsec_info->interface; in tsec_initialize() 767 priv->bus = miiphy_get_dev_by_name(tsec_info->mii_devname); in tsec_initialize() 822 return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info)); in tsec_standard_init()
|
/u-boot/board/freescale/p1010rdb/ |
A D | p1010rdb.c | 493 struct tsec_info_struct tsec_info[4]; in board_eth_init() local 500 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init() 504 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init() 510 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init() 524 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
|
/u-boot/include/ |
A D | tsec.h | 434 int tsec_eth_init(struct bd_info *bis, struct tsec_info_struct *tsec_info,
|