Home
last modified time | relevance | path

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

/openbmc/u-boot/board/freescale/ls1021aqds/
H A 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 …]
/openbmc/u-boot/board/freescale/mpc8572ds/
H A 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 …]
/openbmc/u-boot/board/freescale/mpc8536ds/
H A 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()
/openbmc/u-boot/board/freescale/p1_twr/
H A 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()
/openbmc/u-boot/board/freescale/mpc8548cds/
H A 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()
/openbmc/u-boot/board/Arcturus/ucp1020/
H A 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()
/openbmc/u-boot/board/freescale/mpc8544ds/
H A 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()
/openbmc/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()
/openbmc/u-boot/board/freescale/mpc837xemds/
H A 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()
/openbmc/u-boot/board/freescale/c29xpcie/
H A 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()
/openbmc/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);
/openbmc/u-boot/board/freescale/p1_p2_rdb_pc/
H A 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()
/openbmc/u-boot/board/freescale/ls1021atwr/
H A Dls1021atwr.c253 struct tsec_info_struct tsec_info[4]; in board_eth_init() local
257 SET_STD_TSEC_INFO(tsec_info[num], 1); in board_eth_init()
260 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
265 SET_STD_TSEC_INFO(tsec_info[num], 2); in board_eth_init()
268 tsec_info[num].flags |= TSEC_SGMII; in board_eth_init()
273 SET_STD_TSEC_INFO(tsec_info[num], 3); in board_eth_init()
274 tsec_info[num].interface = PHY_INTERFACE_MODE_RGMII_ID; in board_eth_init()
286 tsec_eth_init(bis, tsec_info, num); in board_eth_init()
/openbmc/u-boot/board/freescale/p1022ds/
H A 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()
/openbmc/u-boot/drivers/net/
H A Dtsec.c25 static struct tsec_info_struct tsec_info[] = { variable
709 static int tsec_initialize(bd_t *bis, struct tsec_info_struct *tsec_info) in tsec_initialize() argument
729 priv->regs = tsec_info->regs; in tsec_initialize()
730 priv->phyregs_sgmii = tsec_info->miiregs_sgmii; in tsec_initialize()
732 priv->phyaddr = tsec_info->phyaddr; in tsec_initialize()
734 priv->flags = tsec_info->flags; in tsec_initialize()
736 strcpy(dev->name, tsec_info->devname); in tsec_initialize()
737 priv->interface = tsec_info->interface; in tsec_initialize()
738 priv->bus = miiphy_get_dev_by_name(tsec_info->mii_devname); in tsec_initialize()
792 return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info)); in tsec_standard_init()
/openbmc/u-boot/board/gdsys/p1022/
H A 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()
/openbmc/u-boot/board/freescale/bsc9132qds/
H A 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()
/openbmc/u-boot/board/freescale/p1010rdb/
H A 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()
/openbmc/u-boot/include/
H A Dtsec.h428 int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsec_info, int num);