Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/board/freescale/ls1021aqds/
H A Deth.c135 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()
154 tsec_info[num].mii_devname = "LS1021A_SGMII_MDIO"; in board_eth_init()
156 tsec_info[num].mii_devname = "LS1021A_RGMII_MDIO"; in board_eth_init()
161 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/mpc8572ds/
H A Dmpc8572ds.c178 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
182 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
185 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
190 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
193 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
198 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
201 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
206 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
209 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
221 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/mpc8536ds/
H A 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()
/OK3568_Linux_fs/u-boot/board/freescale/p1_twr/
H A Dp1_twr.c187 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
193 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
197 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
200 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
205 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
219 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/mpc8548cds/
H A Dmpc8548cds.c308 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
312 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
316 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
322 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
323 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
330 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
331 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
346 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/mpc8544ds/
H A 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()
/OK3568_Linux_fs/u-boot/board/Arcturus/ucp1020/
H A Ducp1020.c259 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
266 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
270 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
274 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
275 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init()
281 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
295 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/ls1021aiot/
H A Dls1021aiot.c124 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
128 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
131 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
136 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
139 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
152 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/mpc837xemds/
H A 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()
/OK3568_Linux_fs/u-boot/board/freescale/c29xpcie/
H A Dc29xpcie.c90 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
94 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
98 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
112 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/p1_p2_rdb_pc/
H A Dp1_p2_rdb_pc.c320 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
330 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
334 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
337 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
342 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
369 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/ls1021atwr/
H A Dls1021atwr.c255 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
259 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
262 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
267 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
270 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
275 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
276 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
288 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A 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()
H A Dsgmii_riser.h15 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num);
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dtsec.c28 static struct tsec_info_struct tsec_info[] = { variable
688 static int tsec_initialize(bd_t *bis, struct tsec_info_struct *tsec_info) in tsec_initialize() argument
706 priv->regs = tsec_info->regs; in tsec_initialize()
707 priv->phyregs_sgmii = tsec_info->miiregs_sgmii; in tsec_initialize()
709 priv->phyaddr = tsec_info->phyaddr; in tsec_initialize()
711 priv->flags = tsec_info->flags; in tsec_initialize()
713 strcpy(dev->name, tsec_info->devname); in tsec_initialize()
714 priv->interface = tsec_info->interface; in tsec_initialize()
715 priv->bus = miiphy_get_dev_by_name(tsec_info->mii_devname); in tsec_initialize()
770 return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info)); in tsec_standard_init()
/OK3568_Linux_fs/u-boot/board/freescale/p1022ds/
H A Dp1022ds.c290 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
294 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
298 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
306 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/gdsys/p1022/
H A 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()
/OK3568_Linux_fs/u-boot/board/freescale/bsc9132qds/
H A Dbsc9132qds.c234 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
238 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
244 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
252 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/board/freescale/p1010rdb/
H A Dp1010rdb.c333 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
340 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
344 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
350 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
364 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/OK3568_Linux_fs/u-boot/include/
H A Dtsec.h429 int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsec_info, int num);