Lines Matching defs:admin
109 * admin -> oper or not
111 * Return true if already transitioned. i.e oper is equal to admin and buf
113 * false if before transition. i.e oper is not equal to admin, (i.e a
114 * previous admin command is waiting to be transitioned to oper state
118 int *admin)
127 *admin = !!(val & AM65_CPSW_PN_EST_BUFSEL);
129 return *admin == *oper;
136 * If oper is same as admin, return the other buffer (!oper) as the admin
138 * as it is in the process of transitioning from admin -> oper. So keep the
146 int oper, admin;
150 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))
153 /* admin is not set, so hinder transition as it's not allowed
159 "Prev. EST admin cycle is in transit %d -> %d\n",
160 oper, admin);
163 return admin;
211 * of admin -> oper transition, particularly it's supposed to be used in some
217 int oper, admin;
222 if (!am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))