Home
last modified time | relevance | path

Searched refs:srds_s1 (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/board/freescale/ls1046ardb/
H A Deth.c22 u32 srds_s1; in board_eth_init() local
25 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
27 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
55 switch (srds_s1) { in board_eth_init()
60 srds_s1); in board_eth_init()
81 u32 srds_s1; in fdt_update_ethernet_dt() local
87 srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_update_ethernet_dt()
89 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_update_ethernet_dt()
110 switch (srds_s1) { in fdt_update_ethernet_dt()
120 __func__, srds_s1); in fdt_update_ethernet_dt()
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Deth.c22 u32 srds_s1; in board_eth_init() local
25 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
27 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
54 switch (srds_s1) { in board_eth_init()
59 srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/t208xrdb/
H A Deth_t208xrdb.c34 u32 srds_s1; in board_eth_init() local
36 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
38 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
59 switch (srds_s1) { in board_eth_init()
69 srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/t208xqds/
H A Deth_t208xqds.c354 switch (srds_s1) { in board_ft_fman_fixup_port()
455 switch (srds_s1) { in initialize_lane_to_slot()
521 u32 srds_s1; in board_eth_init() local
523 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
572 switch (srds_s1) { in board_eth_init()
768 if (srds_s1 == 0x51) { in board_eth_init()
771 } else if ((srds_s1 == 0x5f) || (srds_s1 == 0x65)) { in board_eth_init()
788 if ((srds_s1 == 0x66) || (srds_s1 == 0x6b) || in board_eth_init()
789 (srds_s1 == 0x6a) || (srds_s1 == 0x70) || in board_eth_init()
790 (srds_s1 == 0x6c) || (srds_s1 == 0x6d) || in board_eth_init()
[all …]
/openbmc/u-boot/board/freescale/t104xrdb/
H A Dt104xrdb.c91 u32 srds_s1; in misc_init_r() local
93 srds_s1 = in_be32(&gur->rcwsr[4]) >> 24; in misc_init_r()
95 printf("SERDES Reference : 0x%X\n", srds_s1); in misc_init_r()
98 if (srds_s1 == 0x86) in misc_init_r()
103 if (srds_s1 == 0x8E) in misc_init_r()
/openbmc/u-boot/board/freescale/ls2080ardb/
H A Deth_ls2080rdb.c30 u32 srds_s1; in board_eth_init() local
33 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init()
35 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init()
51 switch (srds_s1) { in board_eth_init()
72 srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/t102xrdb/
H A Deth_t102xrdb.c35 u32 srds_s1; in board_eth_init() local
37 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
39 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
59 switch (srds_s1) { in board_eth_init()
82 srds_s1); in board_eth_init()
H A Dt102xrdb.c47 u32 srds_s1; in checkboard() local
49 srds_s1 = in_be32(&gur->rcwsr[4]) & FSL_CORENET2_RCWSR4_SRDS1_PRTCL; in checkboard()
50 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in checkboard()
85 if (srds_s1 == 0x95) in checkboard()
/openbmc/u-boot/board/freescale/ls1088a/
H A Deth_ls1088ardb.c28 u32 srds_s1, cfg; in board_eth_init() local
34 srds_s1 = serdes_get_number(FSL_SRDS_1, cfg); in board_eth_init()
50 switch (srds_s1) { in board_eth_init()
73 srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/ls1012ardb/
H A Deth.c48 int srds_s1 = in_be32(&gur->rcwsr[4]) & in pfe_eth_board_init() local
50 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in pfe_eth_board_init()
68 switch (srds_s1) { in pfe_eth_board_init()
96 printf("unsupported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
/openbmc/u-boot/board/freescale/lx2160a/
H A Deth_lx2160ardb.c48 u32 srds_s1; in board_eth_init() local
50 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init()
52 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init()
69 switch (srds_s1) { in board_eth_init()
116 srds_s1); in board_eth_init()
H A Deth_lx2160aqds.c452 u32 srds_s1, srds_s2, srds_s3; in board_eth_init() local
454 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init()
456 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init()
466 sprintf(srds, "%d_%d_%d", srds_s1, srds_s2, srds_s3); in board_eth_init()
517 phy_config = get_phy_config(srds_s1, serdes1_phy_config, in board_eth_init()
521 __func__, srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/ls1012aqds/
H A Deth.c139 int srds_s1 = in_be32(&gur->rcwsr[4]) & in pfe_eth_board_init() local
141 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in pfe_eth_board_init()
168 switch (srds_s1) { in pfe_eth_board_init()
170 printf("ls1012aqds:supported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
221 printf("ls1012aqds:supported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
270 printf("ls1012aqds:unsupported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
H A Dls1012aqds.c198 unsigned int srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_fsl_fixup_of_pfe() local
200 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_fsl_fixup_of_pfe()
203 switch (srds_s1) { in fdt_fsl_fixup_of_pfe()
259 printf("serdes:[%d]\n", srds_s1); in fdt_fsl_fixup_of_pfe()
/openbmc/u-boot/board/freescale/ls1043aqds/
H A Deth.c259 u32 srds_s1; in fdt_fixup_board_enet() local
261 srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_fixup_board_enet()
263 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_fixup_board_enet()
301 u32 srds_s1; in board_eth_init() local
303 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
305 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
339 switch (srds_s1) { in board_eth_init()
421 srds_s1); in board_eth_init()
/openbmc/u-boot/board/freescale/t102xqds/
H A Deth_t102xqds.c237 u32 srds_s1 = in_be32(&gur->rcwsr[4]) & in initialize_lane_to_slot() local
240 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in initialize_lane_to_slot()
242 switch (srds_s1) { in initialize_lane_to_slot()
259 u32 srds_s1; in board_eth_init() local
261 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
263 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
300 switch (srds_s1) { in board_eth_init()
/openbmc/u-boot/board/freescale/ls1046aqds/
H A Deth.c273 u32 srds_s1, srds_s2; in board_eth_init() local
276 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
278 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
307 switch (srds_s1) { in board_eth_init()
345 srds_s1); in board_eth_init()