Lines Matching refs:countdown
16 int countdown = mbx->timeout; in ixgbevf_poll_for_msg() local
18 if (!countdown || !mbx->ops.check_for_msg) in ixgbevf_poll_for_msg()
21 while (countdown && mbx->ops.check_for_msg(hw)) { in ixgbevf_poll_for_msg()
22 countdown--; in ixgbevf_poll_for_msg()
26 return countdown ? 0 : IXGBE_ERR_TIMEOUT; in ixgbevf_poll_for_msg()
38 int countdown = mbx->timeout; in ixgbevf_poll_for_ack() local
40 if (!countdown || !mbx->ops.check_for_ack) in ixgbevf_poll_for_ack()
43 while (countdown && mbx->ops.check_for_ack(hw)) { in ixgbevf_poll_for_ack()
44 countdown--; in ixgbevf_poll_for_ack()
48 return countdown ? 0 : IXGBE_ERR_TIMEOUT; in ixgbevf_poll_for_ack()
204 int countdown = mbx->timeout; in ixgbevf_obtain_mbx_lock_vf() local
210 while (countdown--) { in ixgbevf_obtain_mbx_lock_vf()