Home
last modified time | relevance | path

Searched refs:tsec_info (Results 1 – 19 of 19) sorted by relevance

/external/u-boot/board/freescale/ls1021aqds/
Deth.c134 struct tsec_info_struct tsec_info[3]; in board_eth_init() local
138 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
141 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
142 tsec_info[num].mii_devname = "LS1021A_SGMII_MDIO"; in board_eth_init()
144 tsec_info[num].mii_devname = "LS1021A_RGMII_MDIO"; in board_eth_init()
149 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
152 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
153 tsec_info[num].mii_devname = "LS1021A_SGMII_MDIO"; in board_eth_init()
155 tsec_info[num].mii_devname = "LS1021A_RGMII_MDIO"; in board_eth_init()
160 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
[all …]
/external/u-boot/board/freescale/mpc8572ds/
Dmpc8572ds.c179 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
183 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
186 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
191 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
194 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
199 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
202 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
207 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
210 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
222 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
[all …]
/external/u-boot/board/freescale/mpc8536ds/
Dmpc8536ds.c230 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
234 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
237 tsec_info[num].phyaddr = 0; in board_eth_init()
238 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
243 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
246 tsec_info[num].phyaddr = 1; in board_eth_init()
247 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
260 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
268 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1_twr/
Dp1_twr.c188 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
194 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
198 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
201 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
206 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
220 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc8548cds/
Dmpc8548cds.c311 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
315 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
319 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
325 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
326 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
333 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
334 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
349 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/ls1021aiot/
Dls1021aiot.c110 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
114 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
117 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
122 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
125 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
138 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c266 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
273 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
277 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
281 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
282 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init()
288 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
302 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc8544ds/
Dmpc8544ds.c267 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
271 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
274 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
279 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
282 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
295 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
302 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc837xemds/
Dmpc837xemds.c88 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
98 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
108 tsec_info[num].phyaddr = TSEC1_PHY_ADDR_SGMII; in board_eth_init()
109 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init()
116 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
126 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init()
127 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init()
138 return tsec_eth_init(bd, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/c29xpcie/
Dc29xpcie.c91 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
95 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
99 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
113 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/common/
Dsgmii_riser.c22 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num) in fsl_sgmii_riser_init() argument
27 if (tsec_info[i].flags & TSEC_SGMII) in fsl_sgmii_riser_init()
28 tsec_info[i].phyaddr += SGMII_RISER_PHY_OFFSET; in fsl_sgmii_riser_init()
Dsgmii_riser.h15 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num);
/external/u-boot/board/freescale/p1_p2_rdb_pc/
Dp1_p2_rdb_pc.c321 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
331 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
335 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
338 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
343 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
370 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1022ds/
Dp1022ds.c289 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
293 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
297 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
305 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
/external/u-boot/drivers/net/
Dtsec.c25 static struct tsec_info_struct tsec_info[] = { variable
702 static int tsec_initialize(bd_t *bis, struct tsec_info_struct *tsec_info) in tsec_initialize() argument
722 priv->regs = tsec_info->regs; in tsec_initialize()
723 priv->phyregs_sgmii = tsec_info->miiregs_sgmii; in tsec_initialize()
725 priv->phyaddr = tsec_info->phyaddr; in tsec_initialize()
727 priv->flags = tsec_info->flags; in tsec_initialize()
729 strcpy(dev->name, tsec_info->devname); in tsec_initialize()
730 priv->interface = tsec_info->interface; in tsec_initialize()
731 priv->bus = miiphy_get_dev_by_name(tsec_info->mii_devname); in tsec_initialize()
785 return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info)); in tsec_standard_init()
/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd.c311 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
315 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
319 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
327 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
/external/u-boot/board/freescale/bsc9132qds/
Dbsc9132qds.c235 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
239 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
245 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
253 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1010rdb/
Dp1010rdb.c334 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
341 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
345 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
351 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
365 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/include/
Dtsec.h430 int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsec_info, int num);