Lines Matching refs:oper
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
114 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper,
121 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT);
126 return *admin == *oper;
133 * If oper is same as admin, return the other buffer (!oper) as the admin
134 * buffer. If oper is not the same, driver let the current oper to continue
135 * as it is in the process of transitioning from admin -> oper. So keep the
136 * oper by selecting the same oper buffer by writing to EST_BUFSEL bit in
143 int oper, admin;
147 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))
148 return !oper;
151 * to touch memory in-flight, by targeting same oper buf.
153 am65_cpsw_port_est_assign_buf_num(ndev, oper);
157 oper, 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))
402 /* in order to avoid timer reset get base_time form oper taprio */