Home
last modified time | relevance | path

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

/external/u-boot/board/freescale/ls1046ardb/
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()
/external/u-boot/board/freescale/t208xqds/
Deth_t208xqds.c211 u32 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_ft_fman_fixup_port() local
214 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_ft_fman_fixup_port()
354 switch (srds_s1) { in board_ft_fman_fixup_port()
450 u32 srds_s1 = in_be32(&gur->rcwsr[4]) & in initialize_lane_to_slot() local
453 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in initialize_lane_to_slot()
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()
525 srds_s1 >>= FSL_CORENET2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
572 switch (srds_s1) { in board_eth_init()
[all …]
/external/u-boot/board/freescale/ls1043ardb/
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()
/external/u-boot/board/freescale/t208xrdb/
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()
/external/u-boot/board/freescale/t104xrdb/
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()
/external/u-boot/board/freescale/ls2080ardb/
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()
/external/u-boot/board/freescale/t102xrdb/
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()
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()
/external/u-boot/board/freescale/ls1088a/
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()
72 srds_s1); in board_eth_init()
/external/u-boot/board/freescale/ls1012ardb/
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()
/external/u-boot/board/freescale/ls1012aqds/
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()
Dls1012aqds.c181 unsigned int srds_s1 = in_be32(&gur->rcwsr[4]) & in fdt_fsl_fixup_of_pfe() local
183 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in fdt_fsl_fixup_of_pfe()
186 switch (srds_s1) { in fdt_fsl_fixup_of_pfe()
242 printf("serdes:[%d]\n", srds_s1); in fdt_fsl_fixup_of_pfe()
/external/u-boot/board/freescale/ls1043aqds/
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()
/external/u-boot/board/freescale/t102xqds/
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()
/external/u-boot/board/freescale/ls1046aqds/
Deth.c258 u32 srds_s1, srds_s2; in board_eth_init() local
261 srds_s1 = in_be32(&gur->rcwsr[4]) & in board_eth_init()
263 srds_s1 >>= FSL_CHASSIS2_RCWSR4_SRDS1_PRTCL_SHIFT; in board_eth_init()
292 switch (srds_s1) { in board_eth_init()
330 srds_s1); in board_eth_init()