Searched refs:countdown (Results 1 – 8 of 8) sorted by relevance
137 int countdown = mbx->timeout; in igb_poll_for_msg() local139 if (!countdown || !mbx->ops.check_for_msg) in igb_poll_for_msg()142 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) { in igb_poll_for_msg()143 countdown--; in igb_poll_for_msg()144 if (!countdown) in igb_poll_for_msg()150 if (!countdown) in igb_poll_for_msg()153 return countdown ? 0 : -E1000_ERR_MBX; in igb_poll_for_msg()166 int countdown = mbx->timeout; in igb_poll_for_ack() local168 if (!countdown || !mbx->ops.check_for_ack) in igb_poll_for_ack()171 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) { in igb_poll_for_ack()[all …]
16 int countdown = mbx->timeout; in ixgbevf_poll_for_msg() local18 while (countdown && mbx->ops.check_for_msg(hw)) { in ixgbevf_poll_for_msg()19 countdown--; in ixgbevf_poll_for_msg()24 if (!countdown) in ixgbevf_poll_for_msg()27 return countdown ? 0 : IXGBE_ERR_MBX; in ixgbevf_poll_for_msg()39 int countdown = mbx->timeout; in ixgbevf_poll_for_ack() local41 while (countdown && mbx->ops.check_for_ack(hw)) { in ixgbevf_poll_for_ack()42 countdown--; in ixgbevf_poll_for_ack()47 if (!countdown) in ixgbevf_poll_for_ack()50 return countdown ? 0 : IXGBE_ERR_MBX; in ixgbevf_poll_for_ack()
15 int countdown = mbx->timeout; in e1000_poll_for_msg() local20 while (countdown && mbx->ops.check_for_msg(hw)) { in e1000_poll_for_msg()21 countdown--; in e1000_poll_for_msg()26 if (!countdown) in e1000_poll_for_msg()29 return countdown ? E1000_SUCCESS : -E1000_ERR_MBX; in e1000_poll_for_msg()41 int countdown = mbx->timeout; in e1000_poll_for_ack() local46 while (countdown && mbx->ops.check_for_ack(hw)) { in e1000_poll_for_ack()47 countdown--; in e1000_poll_for_ack()52 if (!countdown) in e1000_poll_for_ack()55 return countdown ? E1000_SUCCESS : -E1000_ERR_MBX; in e1000_poll_for_ack()
115 int countdown = mbx->timeout; in ixgbe_poll_for_msg() local117 if (!countdown || !mbx->ops) in ixgbe_poll_for_msg()121 countdown--; in ixgbe_poll_for_msg()122 if (!countdown) in ixgbe_poll_for_msg()140 int countdown = mbx->timeout; in ixgbe_poll_for_ack() local142 if (!countdown || !mbx->ops) in ixgbe_poll_for_ack()146 countdown--; in ixgbe_poll_for_ack()147 if (!countdown) in ixgbe_poll_for_ack()
17 uint countdown = (us) + 9; \18 while ((exp) && (countdown >= 10)) {\20 countdown -= 10; \
175 int countdown = ARM_RETRY_USEC_TIMEOUT; in df_v3_6_perfmon_arm_with_retry() local177 while (countdown) { in df_v3_6_perfmon_arm_with_retry()183 countdown -= ARM_RETRY_USEC_INTERVAL; in df_v3_6_perfmon_arm_with_retry()187 return countdown > 0 ? 0 : -ETIME; in df_v3_6_perfmon_arm_with_retry()
742 u32 countdown = mbx->timeout; in fm10k_mbx_enqueue_tx() local757 while (err && countdown) { in fm10k_mbx_enqueue_tx()758 countdown--; in fm10k_mbx_enqueue_tx()
450 int countdown; in sundance_reset() local455 countdown = 10 + 1; in sundance_reset()457 if (--countdown == 0) { in sundance_reset()