Home
last modified time | relevance | path

Searched refs:countdown (Results 1 – 25 of 42) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_mbx.c137 int countdown = mbx->timeout; in igb_poll_for_msg() local
139 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() local
168 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbevf/
H A Dmbx.c16 int countdown = mbx->timeout; in ixgbevf_poll_for_msg() local
18 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() local
41 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igbvf/
H A Dmbx.c15 int countdown = mbx->timeout; in e1000_poll_for_msg() local
20 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() local
46 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c115 int countdown = mbx->timeout; in ixgbe_poll_for_msg() local
117 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() local
142 if (!countdown || !mbx->ops) in ixgbe_poll_for_ack()
146 countdown--; in ixgbe_poll_for_ack()
147 if (!countdown) in ixgbe_poll_for_ack()
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/apmd/apmd/
H A Dlegacy.patch84 + time_t countdown;
93 + countdown = proxy_timeout;
95 + countdown -= 1;
107 + (countdown >= 0)
115 + countdown = 5;
127 + } while (countdown >= 0);
/OK3568_Linux_fs/kernel/arch/mips/bcm63xx/
H A Dtimer.c153 u32 reg, countdown; in bcm63xx_timer_set() local
159 countdown = bcm63xx_timer_countdown(countdown_us); in bcm63xx_timer_set()
160 if (countdown & ~TIMER_CTL_COUNTDOWN_MASK) in bcm63xx_timer_set()
172 reg |= countdown; in bcm63xx_timer_set()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/include/
H A Dbrcmu_utils.h17 uint countdown = (us) + 9; \
18 while ((exp) && (countdown >= 10)) {\
20 countdown -= 10; \
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmutils.h140 uint countdown = (exp) != 0 ? 1 : 0; \
141 while (countdown > 0) { \
142 countdown--; \
149 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
151 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
153 countdown -= SPINWAIT_POLL_PERIOD; \
155 phy_utils_log_spinwait_end(us, countdown); \
160 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
161 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
163 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmutils.h140 uint countdown = (exp) != 0 ? 1 : 0; \
141 while (countdown > 0) { \
142 countdown--; \
149 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
151 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
153 countdown -= SPINWAIT_POLL_PERIOD; \
155 phy_utils_log_spinwait_end(us, countdown); \
160 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
161 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
163 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Ddf_v3_6.c229 int countdown = ARM_RETRY_USEC_TIMEOUT; in df_v3_6_perfmon_arm_with_retry() local
231 while (countdown) { in df_v3_6_perfmon_arm_with_retry()
237 countdown -= ARM_RETRY_USEC_INTERVAL; in df_v3_6_perfmon_arm_with_retry()
241 return countdown > 0 ? 0 : -ETIME; in df_v3_6_perfmon_arm_with_retry()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-xfce/recipes-panel-plugins/timer/
H A Dxfce4-timer-plugin_1.7.1.bb2 … that lets the user run an alarm at a specified time or at the end of a specified countdown period"
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c24 uint countdown = (us) + 9; \
25 while ((exp) && (countdown >= 10)) {\
27 countdown -= 10; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd.h1166 uint countdown = (us) + 9999; \
1167 while ((exp) && (countdown >= 10000)) { \
1169 countdown -= 10000; \
1183 uint countdown = (us) + 9; \
1184 while ((exp) && (countdown >= 10)) { \
1186 countdown -= 10; \
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmutils.h123 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
124 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
126 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmutils.h123 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
124 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
126 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmutils.h123 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1U); \
124 while (((exp) != 0) && (uint)(countdown >= SPINWAIT_POLL_PERIOD)) { \
126 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/
H A Dbcmutils.h118 uint countdown = (us) + (SPINWAIT_POLL_PERIOD - 1); \
119 while ((exp) && (countdown >= SPINWAIT_POLL_PERIOD)) { \
121 countdown -= SPINWAIT_POLL_PERIOD; \
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd.h2081 uint countdown = (us) + 9999; \
2082 while ((exp) && (countdown >= 10000)) { \
2084 countdown -= 10000; \
2098 uint countdown = (us) + 9; \
2099 while ((exp) && (countdown >= 10)) { \
2101 countdown -= 10; \
2109 uint countdown = (us) + 9; \
2110 while ((exp) && (countdown >= 10)) { \
2112 countdown -= 10; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd.h2076 uint countdown = (us) + 9999; \
2077 while ((exp) && (countdown >= 10000)) { \
2079 countdown -= 10000; \
2093 uint countdown = (us) + 9; \
2094 while ((exp) && (countdown >= 10)) { \
2096 countdown -= 10; \
2104 uint countdown = (us) + 9; \
2105 while ((exp) && (countdown >= 10)) { \
2107 countdown -= 10; \
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c742 u32 countdown = mbx->timeout; in fm10k_mbx_enqueue_tx() local
757 while (err && countdown) { in fm10k_mbx_enqueue_tx()
758 countdown--; in fm10k_mbx_enqueue_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd.h1548 uint countdown = (us) + 9999; \
1549 while ((exp) && (countdown >= 10000)) { \
1551 countdown -= 10000; \
1565 uint countdown = (us) + 9; \
1566 while ((exp) && (countdown >= 10)) { \
1568 countdown -= 10; \
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd.h1548 uint countdown = (us) + 9999; \
1549 while ((exp) && (countdown >= 10000)) { \
1551 countdown -= 10000; \
1565 uint countdown = (us) + 9; \
1566 while ((exp) && (countdown >= 10)) { \
1568 countdown -= 10; \
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd.h1550 uint countdown = (us) + 9999; \
1551 while ((exp) && (countdown >= 10000)) { \
1553 countdown -= 10000; \
1567 uint countdown = (us) + 9; \
1568 while ((exp) && (countdown >= 10)) { \
1570 countdown -= 10; \
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.autoboot138 After the countdown timed out, the board will be reset to restart
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dtimekeeping.rst91 line is set high, a countdown is initiated (which does not stop if the gate is
96 The output is initially set high. When the countdown
98 is reloaded and the countdown automatically resumes. If the gate line goes
122 output remains high. When the gate is raised, a countdown is initiated

12