/u-boot/board/freescale/ls1046afrwy/ |
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() 43 switch (srds_s1) { in board_eth_init() 48 srds_s1); in board_eth_init() 69 u32 srds_s1; in fdt_update_ethernet_dt() local 75 srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_update_ethernet_dt() 77 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_update_ethernet_dt() 98 switch (srds_s1) { in fdt_update_ethernet_dt() 111 __func__, srds_s1); in fdt_update_ethernet_dt()
|
/u-boot/board/freescale/ls1046ardb/ |
A D | eth.c | 24 u32 srds_s1; in board_eth_init() local 27 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 29 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init() 57 switch (srds_s1) { in board_eth_init() 62 srds_s1); in board_eth_init() 83 u32 srds_s1; in fdt_update_ethernet_dt() local 89 srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_update_ethernet_dt() 91 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_update_ethernet_dt() 112 switch (srds_s1) { in fdt_update_ethernet_dt() 122 __func__, srds_s1); in fdt_update_ethernet_dt()
|
/u-boot/board/freescale/ls1043ardb/ |
A D | eth.c | 23 u32 srds_s1; in board_eth_init() local 26 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 28 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()
|
/u-boot/board/freescale/t208xrdb/ |
A D | eth_t208xrdb.c | 36 u32 srds_s1; in board_eth_init() local 38 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 40 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init() 61 switch (srds_s1) { in board_eth_init() 71 srds_s1); in board_eth_init()
|
/u-boot/board/freescale/t104xrdb/ |
A D | t104xrdb.c | 97 u32 srds_s1; in misc_init_r() local 99 srds_s1 = in_be32(&gur->rcwsr[4]) >> 24; in misc_init_r() 101 printf("SERDES Reference : 0x%X\n", srds_s1); in misc_init_r() 104 if (srds_s1 == 0x86) in misc_init_r() 109 if (srds_s1 == 0x8E) in misc_init_r()
|
/u-boot/board/freescale/t102xrdb/ |
A D | eth_t102xrdb.c | 37 u32 srds_s1; in board_eth_init() local 39 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 41 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init() 61 switch (srds_s1) { in board_eth_init() 84 srds_s1); in board_eth_init()
|
A D | t102xrdb.c | 53 u32 srds_s1; in checkboard() local 55 srds_s1 = in_be32(&gur->rcwsr[4]) & FSL_CORENET2_RCWSR4_SRDS1_PRTCL; in checkboard() 56 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in checkboard() 91 if (srds_s1 == 0x95) in checkboard()
|
/u-boot/board/freescale/ls2080ardb/ |
A D | eth_ls2080rdb.c | 33 u32 srds_s1; in board_eth_init() local 36 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init() 38 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init() 54 switch (srds_s1) { in board_eth_init() 75 srds_s1); in board_eth_init()
|
/u-boot/board/freescale/ls1088a/ |
A D | eth_ls1088ardb.c | 30 u32 srds_s1, cfg; in board_eth_init() local 36 srds_s1 = serdes_get_number(FSL_SRDS_1, cfg); in board_eth_init() 52 switch (srds_s1) { in board_eth_init() 75 srds_s1); in board_eth_init()
|
A D | eth_ls1088aqds.c | 813 u32 srds_s1, cfg; in board_fit_config_name_match() local 818 srds_s1 = serdes_get_number(FSL_SRDS_1, cfg); in board_fit_config_name_match() 823 if (!protocol_supported(1, srds_s1)) in board_fit_config_name_match() 826 get_str_protocol(1, srds_s1, srds_s1_str); in board_fit_config_name_match()
|
/u-boot/board/freescale/t208xqds/ |
A D | eth_t208xqds.c | 360 switch (srds_s1) { in board_ft_fman_fixup_port() 470 switch (srds_s1) { in initialize_lane_to_slot() 536 u32 srds_s1; in board_eth_init() local 538 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 587 switch (srds_s1) { in board_eth_init() 786 if (srds_s1 == 0x51) { in board_eth_init() 789 } else if ((srds_s1 == 0x5f) || (srds_s1 == 0x65)) { in board_eth_init() 806 if ((srds_s1 == 0x66) || (srds_s1 == 0x6b) || in board_eth_init() 807 (srds_s1 == 0x6a) || (srds_s1 == 0x70) || in board_eth_init() 808 (srds_s1 == 0x6c) || (srds_s1 == 0x6d) || in board_eth_init() [all …]
|
/u-boot/board/freescale/ls1012ardb/ |
A D | eth.c | 85 int srds_s1 = in_be32(&gur->rcwsr[4]) & in pfe_eth_board_init() local 87 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in pfe_eth_board_init() 105 switch (srds_s1) { in pfe_eth_board_init() 133 printf("unsupported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
|
/u-boot/board/freescale/lx2160a/ |
A D | eth_lx2160ardb.c | 52 u32 srds_s1; in board_eth_init() local 54 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init() 56 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init() 73 switch (srds_s1) { in board_eth_init() 120 srds_s1); in board_eth_init()
|
A D | eth_lx2160aqds.c | 463 u32 srds_s1, srds_s2, srds_s3; in board_eth_init() local 465 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init() 467 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init() 477 sprintf(srds, "%d_%d_%d", srds_s1, srds_s2, srds_s3); in board_eth_init() 528 phy_config = get_phy_config(srds_s1, serdes1_phy_config, in board_eth_init() 532 __func__, srds_s1); in board_eth_init() 931 u32 srds_s1, srds_s2, srds_s3; in board_fit_config_name_match() local 934 srds_s1 = rcw_status & FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_MASK; in board_fit_config_name_match() 935 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_fit_config_name_match() 946 if (!protocol_supported(1, srds_s1) || in board_fit_config_name_match() [all …]
|
A D | eth_lx2162aqds.c | 484 u32 srds_s1, srds_s2; in board_eth_init() local 486 srds_s1 = in_le32(&gur->rcwsr[28]) & in board_eth_init() 488 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_eth_init() 494 sprintf(srds, "%d_%d", srds_s1, srds_s2); in board_eth_init() 545 phy_config = get_phy_config(srds_s1, serdes1_phy_config, in board_eth_init() 549 __func__, srds_s1); in board_eth_init() 948 u32 srds_s1, srds_s2; in board_fit_config_name_match() local 951 srds_s1 = rcw_status & FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_MASK; in board_fit_config_name_match() 952 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_fit_config_name_match() 960 if (!protocol_supported(1, srds_s1) || in board_fit_config_name_match() [all …]
|
/u-boot/board/freescale/ls1012aqds/ |
A D | eth.c | 140 int srds_s1 = in_be32(&gur->rcwsr[4]) & in pfe_eth_board_init() local 142 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in pfe_eth_board_init() 169 switch (srds_s1) { in pfe_eth_board_init() 171 printf("ls1012aqds:supported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init() 222 printf("ls1012aqds:supported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init() 271 printf("ls1012aqds:unsupported SerDes PRCTL= %d\n", srds_s1); in pfe_eth_board_init()
|
A D | ls1012aqds.c | 217 unsigned int srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_fsl_fixup_of_pfe() local 219 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_fsl_fixup_of_pfe() 222 switch (srds_s1) { in fdt_fsl_fixup_of_pfe() 278 printf("serdes:[%d]\n", srds_s1); in fdt_fsl_fixup_of_pfe()
|
/u-boot/board/freescale/ls1043aqds/ |
A D | eth.c | 262 u32 srds_s1; in fdt_fixup_board_enet() local 264 srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_fixup_board_enet() 266 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_fixup_board_enet() 304 u32 srds_s1; in board_eth_init() local 306 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 308 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init() 342 switch (srds_s1) { in board_eth_init() 424 srds_s1); in board_eth_init()
|
/u-boot/board/freescale/ls1046aqds/ |
A D | eth.c | 270 u32 srds_s1, srds_s2; in board_eth_init() local 273 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init() 275 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init() 304 switch (srds_s1) { in board_eth_init() 342 srds_s1); in board_eth_init()
|
/u-boot/board/freescale/ls2080aqds/ |
A D | eth.c | 1060 u32 srds_s1, srds_s2; in board_fit_config_name_match() local 1063 srds_s1 = rcw_status & FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_MASK; in board_fit_config_name_match() 1064 srds_s1 >>= FSL_CHASSIS3_RCWSR28_SRDS1_PRTCL_SHIFT; in board_fit_config_name_match() 1072 if (!protocol_supported(1, srds_s1) || in board_fit_config_name_match() 1076 get_str_protocol(1, srds_s1, srds_s1_str); in board_fit_config_name_match()
|