/openbmc/u-boot/board/freescale/ls1046ardb/ |
H A D | eth.c | 22 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 D | eth.c | 22 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 D | eth_t208xrdb.c | 34 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 D | eth_t208xqds.c | 354 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 D | t104xrdb.c | 91 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 D | eth_ls2080rdb.c | 30 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 D | eth_t102xrdb.c | 35 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 D | t102xrdb.c | 47 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 D | eth_ls1088ardb.c | 28 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 D | eth.c | 48 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 D | eth_lx2160ardb.c | 48 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 D | eth_lx2160aqds.c | 452 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 D | eth.c | 139 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 D | ls1012aqds.c | 198 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 D | eth.c | 259 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 D | eth_t102xqds.c | 237 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 D | eth.c | 273 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()
|