Home
last modified time | relevance | path

Searched refs:tsec_info (Results 1 – 20 of 20) 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.c177 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
181 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
184 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
189 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
192 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
197 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
200 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
205 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
208 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
220 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
[all …]
/external/u-boot/board/freescale/mpc8536ds/
Dmpc8536ds.c229 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
233 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
236 tsec_info[num].phyaddr = 0; in board_eth_init()
237 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
242 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
245 tsec_info[num].phyaddr = 1; in board_eth_init()
246 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
259 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
267 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1_twr/
Dp1_twr.c186 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
192 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
196 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
199 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
204 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
218 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc8548cds/
Dmpc8548cds.c307 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
311 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
315 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
321 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
322 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
329 SET_STD_TSEC_INFO(tsec_info[num], 4); in board_eth_init()
330 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
345 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc8544ds/
Dmpc8544ds.c266 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
270 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
273 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
278 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
281 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
294 fsl_sgmii_riser_init(tsec_info, num); in board_eth_init()
301 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/Arcturus/ucp1020/
Ducp1020.c258 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
265 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
269 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
273 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
274 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init()
280 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
294 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/ls1021aiot/
Dls1021aiot.c123 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
127 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
130 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
135 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
138 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
151 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/mpc837xemds/
Dmpc837xemds.c87 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
97 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
107 tsec_info[num].phyaddr = TSEC1_PHY_ADDR_SGMII; in board_eth_init()
108 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init()
115 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
125 tsec_info[num].phyaddr = TSEC2_PHY_ADDR_SGMII; in board_eth_init()
126 tsec_info[num].flags = TSEC_GIGABIT; in board_eth_init()
137 return tsec_eth_init(bd, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/c29xpcie/
Dc29xpcie.c89 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
93 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
97 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
111 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1_p2_rdb_pc/
Dp1_p2_rdb_pc.c319 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
329 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
333 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
336 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
341 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
368 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/ls1021atwr/
Dls1021atwr.c252 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
256 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
259 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
264 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
267 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
272 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
273 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
285 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/drivers/net/
Dtsec.c25 static struct tsec_info_struct tsec_info[] = { variable
686 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()
771 return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info)); in tsec_standard_init()
/external/u-boot/board/freescale/p1022ds/
Dp1022ds.c287 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
291 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
295 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
303 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd.c309 struct tsec_info_struct tsec_info[2]; in board_eth_init() local
313 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
317 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
325 return tsec_eth_init(bis, tsec_info, num) + pci_eth_init(bis); in board_eth_init()
/external/u-boot/board/freescale/bsc9132qds/
Dbsc9132qds.c233 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
237 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
243 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
251 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/board/freescale/p1010rdb/
Dp1010rdb.c332 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
339 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
343 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
349 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
363 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/external/u-boot/include/
Dtsec.h428 int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsec_info, int num);