Lines Matching defs:countdown
160 int countdown = mbx->timeout;
164 if (!countdown || !mbx->ops.check_for_msg)
167 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) {
168 countdown--;
169 if (!countdown)
174 if (countdown == 0)
179 return countdown ? IXGBE_SUCCESS : IXGBE_ERR_MBX;
192 int countdown = mbx->timeout;
196 if (!countdown || !mbx->ops.check_for_ack)
199 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) {
200 countdown--;
201 if (!countdown)
206 if (countdown == 0)
211 return countdown ? IXGBE_SUCCESS : IXGBE_ERR_MBX;