Home
last modified time | relevance | path

Searched refs:lane_prtcl (Results 1 – 24 of 24) sorted by relevance

/external/u-boot/drivers/net/ldpaa_eth/
Dls2080a.c60 phy_interface_t wriop_dpmac_enet_if(int dpmac_id, int lane_prtcl) in wriop_dpmac_enet_if() argument
67 if (lane_prtcl >= SGMII1 && lane_prtcl <= SGMII16) in wriop_dpmac_enet_if()
70 if (lane_prtcl >= XFI1 && lane_prtcl <= XFI8) in wriop_dpmac_enet_if()
73 if (lane_prtcl >= XAUI1 && lane_prtcl <= XAUI2) in wriop_dpmac_enet_if()
76 if (lane_prtcl >= QSGMII_A && lane_prtcl <= QSGMII_D) in wriop_dpmac_enet_if()
82 void wriop_init_dpmac_qsgmii(int sd, int lane_prtcl) in wriop_init_dpmac_qsgmii() argument
84 switch (lane_prtcl) { in wriop_init_dpmac_qsgmii()
86 wriop_init_dpmac(sd, 5, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
87 wriop_init_dpmac(sd, 6, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
88 wriop_init_dpmac(sd, 7, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
[all …]
Dls1088a.c47 phy_interface_t wriop_dpmac_enet_if(int dpmac_id, int lane_prtcl) in wriop_dpmac_enet_if() argument
54 switch (lane_prtcl) { in wriop_dpmac_enet_if()
62 if (lane_prtcl >= XFI1 && lane_prtcl <= XFI2) in wriop_dpmac_enet_if()
65 if (lane_prtcl >= QSGMII_A && lane_prtcl <= QSGMII_B) in wriop_dpmac_enet_if()
71 void wriop_init_dpmac_qsgmii(int sd, int lane_prtcl) in wriop_init_dpmac_qsgmii() argument
73 switch (lane_prtcl) { in wriop_init_dpmac_qsgmii()
75 wriop_init_dpmac(sd, 3, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
76 wriop_init_dpmac(sd, 4, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
77 wriop_init_dpmac(sd, 5, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
78 wriop_init_dpmac(sd, 6, (int)lane_prtcl); in wriop_init_dpmac_qsgmii()
[all …]
Dldpaa_wriop.c22 void wriop_init_dpmac(int sd, int dpmac_id, int lane_prtcl) in wriop_init_dpmac() argument
31 enet_if = wriop_dpmac_enet_if(dpmac_id, lane_prtcl); in wriop_init_dpmac()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dfsl_lsch3_serdes.c25 __weak void wriop_init_dpmac_qsgmii(int sd, int lane_prtcl) in wriop_init_dpmac_qsgmii() argument
126 enum srds_prtcl lane_prtcl = serdes_get_prtcl(sd, cfg, lane); in serdes_init() local
127 if (unlikely(lane_prtcl >= SERDES_PRCTL_COUNT)) in serdes_init()
128 debug("Unknown SerDes lane protocol %d\n", lane_prtcl); in serdes_init()
130 serdes_prtcl_map[lane_prtcl] = 1; in serdes_init()
132 switch (lane_prtcl) { in serdes_init()
137 wriop_init_dpmac_qsgmii(sd, (int)lane_prtcl); in serdes_init()
140 if (lane_prtcl >= XFI1 && lane_prtcl <= XFI8) in serdes_init()
142 xfi_dpmac[lane_prtcl], in serdes_init()
143 (int)lane_prtcl); in serdes_init()
[all …]
Dfsl_lsch2_serdes.c119 enum srds_prtcl lane_prtcl = serdes_get_prtcl(sd, cfg, lane); in serdes_init() local
121 if (unlikely(lane_prtcl >= SERDES_PRCTL_COUNT)) in serdes_init()
122 debug("Unknown SerDes lane protocol %d\n", lane_prtcl); in serdes_init()
124 serdes_prtcl_map[lane_prtcl] = 1; in serdes_init()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dp1010_serdes.c70 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
71 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
83 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
84 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8544_serdes.c71 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
72 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
84 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
85 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dfsl_corenet_serdes.c572 enum srds_prtcl lane_prtcl = serdes_get_prtcl(cfg, lane); in fsl_serdes_init() local
575 serdes_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
687 enum srds_prtcl lane_prtcl; in fsl_serdes_init() local
690 lane_prtcl = serdes_get_prtcl(cfg, lane); in fsl_serdes_init()
707 printf("%s ", serdes_prtcl_str[lane_prtcl]); in fsl_serdes_init()
720 switch (lane_prtcl) { in fsl_serdes_init()
747 switch (lane_prtcl) { in fsl_serdes_init()
752 (lane_prtcl - PCIE1); in fsl_serdes_init()
757 (lane_prtcl - SRIO1); in fsl_serdes_init()
Dp1022_serdes.c109 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
110 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
122 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
123 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8536_serdes.c231 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds1_io_sel][lane]; in fsl_serdes_init() local
232 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
244 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds2_io_sel][lane]; in fsl_serdes_init() local
245 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dp1023_serdes.c53 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
54 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dc29x_serdes.c64 enum srds_prtcl lane_prtcl = ptr->lanes[lane]; in fsl_serdes_init() local
65 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8568_serdes.c51 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
52 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8548_serdes.c51 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds1_cfg][lane]; in fsl_serdes_init() local
52 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dp2020_serdes.c59 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
60 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8569_serdes.c60 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
61 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dfsl_corenet2_serdes.c336 enum srds_prtcl lane_prtcl = serdes_get_prtcl(sd, cfg, lane); in serdes_init() local
337 if (unlikely(lane_prtcl >= SERDES_PRCTL_COUNT)) in serdes_init()
338 debug("Unknown SerDes lane protocol %d\n", lane_prtcl); in serdes_init()
340 serdes_prtcl_map[lane_prtcl] = 1; in serdes_init()
Dp1021_serdes.c71 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
72 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8572_serdes.c55 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
56 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dbsc9132_serdes.c95 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
96 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dmpc8610_serdes.c67 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
68 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
80 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
81 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
Dmpc8641_serdes.c76 enum srds_prtcl lane_prtcl = serdes1_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
77 serdes1_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
89 enum srds_prtcl lane_prtcl = serdes2_cfg_tbl[srds_cfg][lane]; in fsl_serdes_init() local
90 serdes2_prtcl_map |= (1 << lane_prtcl); in fsl_serdes_init()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dfsl_ls1_serdes.c90 enum srds_prtcl lane_prtcl = serdes_get_prtcl(sd, cfg, lane); in serdes_init() local
92 serdes_prtcl_map |= (1ULL << lane_prtcl); in serdes_init()
/external/u-boot/board/freescale/b4860qds/
Db4860qds.c850 enum srds_prtcl lane_prtcl = serdes_get_prtcl in config_serdes1_refclks() local
852 switch (lane_prtcl) { in config_serdes1_refclks()