Home
last modified time | relevance | path

Searched refs:prtcl (Results 1 – 25 of 28) sorted by relevance

12

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dp2041_serdes.c54 enum srds_prtcl prtcl; in serdes_get_prtcl() local
61 prtcl = serdes_cfg_tbl[cfg][lane]; in serdes_get_prtcl()
64 if (ver == SVR_P2040 && prtcl == XAUI_FM1) in serdes_get_prtcl()
65 prtcl = NONE; in serdes_get_prtcl()
67 return prtcl; in serdes_get_prtcl()
70 int is_serdes_prtcl_valid(u32 prtcl) in is_serdes_prtcl_valid() argument
76 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
80 if (ver == SVR_P2040 && prtcl == XAUI_FM1) in is_serdes_prtcl_valid()
84 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dfsl_corenet_serdes.c144 static int __serdes_get_first_lane(uint32_t prtcl, enum srds_prtcl device) in __serdes_get_first_lane() argument
149 if (serdes_get_prtcl(prtcl, i) == device) in __serdes_get_first_lane()
165 u32 prtcl; in serdes_get_first_lane() local
174 prtcl = (in_be32(&gur->rcwsr[4]) & FSL_CORENET_RCWSR4_SRDS_PRTCL) >> 26; in serdes_get_first_lane()
176 return __serdes_get_first_lane(prtcl, device); in serdes_get_first_lane()
187 static int serdes_get_bank_by_device(uint32_t prtcl, enum srds_prtcl device) in serdes_get_bank_by_device() argument
191 lane = __serdes_get_first_lane(prtcl, device); in serdes_get_bank_by_device()
198 static uint32_t __serdes_get_lane_count(uint32_t prtcl, enum srds_prtcl device, in __serdes_get_lane_count() argument
204 if (serdes_get_prtcl(prtcl, lane) != device) in __serdes_get_lane_count()
212 uint32_t prtcl, in __serdes_reset_rx() argument
[all …]
Dt1024_serdes.c40 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
44 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
48 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dt1040_serdes.c54 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
58 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
62 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dp4080_serdes.c69 int is_serdes_prtcl_valid(u32 prtcl) { in is_serdes_prtcl_valid() argument
72 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
76 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dmpc8568_serdes.c24 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
29 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dmpc8548_serdes.c24 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
29 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dp5040_serdes.c87 int is_serdes_prtcl_valid(u32 prtcl) in is_serdes_prtcl_valid() argument
91 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
95 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dp2020_serdes.c32 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
37 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dmpc8569_serdes.c33 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
38 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dp1021_serdes.c41 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
46 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dmpc8572_serdes.c28 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
33 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dbsc9132_serdes.c68 int is_serdes_configured(enum srds_prtcl prtcl) in is_serdes_configured() argument
73 return (1 << prtcl) & serdes1_prtcl_map; in is_serdes_configured()
Dp3041_serdes.c122 int is_serdes_prtcl_valid(u32 prtcl) { in is_serdes_prtcl_valid() argument
125 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
129 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dp5020_serdes.c122 int is_serdes_prtcl_valid(u32 prtcl) { in is_serdes_prtcl_valid() argument
125 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
129 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dfsl_corenet2_serdes.h9 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
Dfsl_corenet_serdes.h17 int is_serdes_prtcl_valid(u32 prtcl);
Dt2080_serdes.c204 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
214 if (ptr->protocol == prtcl) in is_serdes_prtcl_valid()
/external/u-boot/arch/arm/cpu/armv7/ls102xa/
Dls102xa_serdes.c27 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
31 if (prtcl >= ARRAY_SIZE(serdes_cfg_tbl)) in is_serdes_prtcl_valid()
35 if (serdes_cfg_tbl[prtcl][i] != NONE) in is_serdes_prtcl_valid()
Dfsl_ls1_serdes.h9 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dls1012a_serdes.c49 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
59 if (ptr->protocol == prtcl) in is_serdes_prtcl_valid()
Dls1043a_serdes.c61 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
71 if (ptr->protocol == prtcl) in is_serdes_prtcl_valid()
Dls1046a_serdes.c74 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
84 if (ptr->protocol == prtcl) in is_serdes_prtcl_valid()
Dls1088a_serdes.c101 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
111 if (ptr->ip_protocol == prtcl) in is_serdes_prtcl_valid()
Dls2080a_serdes.c99 int is_serdes_prtcl_valid(int serdes, u32 prtcl) in is_serdes_prtcl_valid() argument
109 if (ptr->protocol == prtcl) in is_serdes_prtcl_valid()

12