Lines Matching defs:admin
106 * admin -> oper or not
108 * Return true if already transitioned. i.e oper is equal to admin and buf
110 * false if before transition. i.e oper is not equal to admin, (i.e a
111 * previous admin command is waiting to be transitioned to oper state
115 int *admin)
124 *admin = !!(val & AM65_CPSW_PN_EST_BUFSEL);
126 return *admin == *oper;
133 * If oper is same as admin, return the other buffer (!oper) as the admin
135 * as it is in the process of transitioning from admin -> oper. So keep the
143 int oper, admin;
147 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))
150 /* admin is not set, so hinder transition as it's not allowed
156 "Prev. EST admin cycle is in transit %d -> %d\n",
157 oper, admin);
160 return admin;
209 * of admin -> oper transition, particularly it's supposed to be used in some
215 int oper, admin;
220 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))