/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | p1010_serdes.c | 56 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 64 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 66 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 67 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 71 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 78 if (srds_cfg >= ARRAY_SIZE(serdes2_cfg_tbl)) { in fsl_serdes_init() 79 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 84 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | p1021_serdes.c | 57 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 65 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 67 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 68 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 73 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 87 if ((serdes1_cfg_tbl[srds_cfg][1] == PCIE1) || in fsl_serdes_init() 88 (serdes1_cfg_tbl[srds_cfg][1] == PCIE2)) { in fsl_serdes_init() 97 if (srds_cfg == 0x6) { in fsl_serdes_init()
|
A D | mpc8544_serdes.c | 57 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 65 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 67 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 68 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 72 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 79 if (srds_cfg >= ARRAY_SIZE(serdes2_cfg_tbl)) { in fsl_serdes_init() 80 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 85 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | p1023_serdes.c | 40 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 47 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 49 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 50 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 54 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | c29x_serdes.c | 45 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 53 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 55 if (srds_cfg > ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 56 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 60 ptr = &serdes1_cfg_tbl[srds_cfg]; in fsl_serdes_init()
|
A D | mpc8568_serdes.c | 37 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 44 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 46 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 47 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 52 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | p2020_serdes.c | 45 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 52 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 54 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 55 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 60 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | p1022_serdes.c | 95 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 103 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 105 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 106 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 110 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 117 if (srds_cfg >= ARRAY_SIZE(serdes2_cfg_tbl)) { in fsl_serdes_init() 118 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 123 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | mpc8572_serdes.c | 41 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 48 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 50 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 51 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 56 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | bsc9132_serdes.c | 81 u32 srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 88 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 90 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 91 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 96 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | mpc8610_serdes.c | 53 u32 srds_cfg = (pordevsr & MPC8610_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 61 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 63 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 64 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 68 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 75 if (srds_cfg >= ARRAY_SIZE(serdes2_cfg_tbl)) { in fsl_serdes_init() 76 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 81 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
A D | mpc8641_serdes.c | 62 u32 srds_cfg = (pordevsr & MPC8641_PORDEVSR_IO_SEL) >> in fsl_serdes_init() local 70 debug("PORDEVSR[IO_SEL_SRDS] = %x\n", srds_cfg); in fsl_serdes_init() 72 if (srds_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) { in fsl_serdes_init() 73 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 77 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() 84 if (srds_cfg >= ARRAY_SIZE(serdes2_cfg_tbl)) { in fsl_serdes_init() 85 printf("Invalid PORDEVSR[IO_SEL_SRDS] = %d\n", srds_cfg); in fsl_serdes_init() 90 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init()
|
/u-boot/board/gdsys/p1022/ |
A D | controlcenterd.c | 207 unsigned int srds_cfg = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> in board_serdes_name() local 209 enum slot_id slot = serdes_dev_slot[srds_cfg][device]; in board_serdes_name()
|