Lines Matching refs:oper
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
117 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper,
124 *oper = !!(val & AM65_CPSW_PN_FST_EST_BUFACT);
129 return *admin == *oper;
136 * If oper is same as admin, return the other buffer (!oper) as the admin
137 * buffer. If oper is not the same, driver let the current oper to continue
138 * as it is in the process of transitioning from admin -> oper. So keep the
139 * oper by selecting the same oper buffer by writing to EST_BUFSEL bit in
146 int oper, admin;
150 if (am65_cpsw_port_est_is_swapped(ndev, &oper, &admin))
151 return !oper;
154 * to touch memory in-flight, by targeting same oper buf.
156 am65_cpsw_port_est_assign_buf_num(ndev, oper);
160 oper, 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))
404 /* in order to avoid timer reset get base_time form oper taprio */