/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_matchall.c | 15 struct tc_cls_matchall_offload *tmo, in sparx5_tc_matchall_replace() argument 23 if (!flow_offload_has_one_action(&tmo->rule->action)) { in sparx5_tc_matchall_replace() 24 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 28 action = &tmo->rule->action.entries[0]; in sparx5_tc_matchall_replace() 34 tmo->common.chain_index, in sparx5_tc_matchall_replace() 35 action->chain_index, tmo->cookie, in sparx5_tc_matchall_replace() 38 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 43 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 48 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() 53 NL_SET_ERR_MSG_MOD(tmo->common.extack, in sparx5_tc_matchall_replace() [all …]
|
/openbmc/u-boot/arch/arm/cpu/sa1100/ |
H A D | timer.c | 27 ulong tmo; in __udelay() local 32 tmo = usec / 1000; in __udelay() 33 tmo *= CONFIG_SYS_HZ; in __udelay() 34 tmo /= 1000; in __udelay() 36 tmo = usec * CONFIG_SYS_HZ; in __udelay() 37 tmo /= (1000*1000); in __udelay() 40 endtime = get_timer_masked () + tmo; in __udelay()
|
/openbmc/linux/sound/soc/au1x/ |
H A D | ac97c.c | 87 unsigned int tmo, retry; in au1xac97c_ac97_read() local 95 tmo = 6; in au1xac97c_ac97_read() 96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read() 98 if (!tmo) { in au1xac97c_ac97_read() 108 tmo = 0x10000; in au1xac97c_ac97_read() 109 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read() 113 if (!tmo) in au1xac97c_ac97_read() 118 } while (--retry && !tmo); in au1xac97c_ac97_read() 129 unsigned int tmo, retry; in au1xac97c_ac97_write() local 135 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write() [all …]
|
H A D | psc-i2s.c | 146 unsigned long tmo; in au1xpsc_i2s_configure() local 152 tmo = 1000000; in au1xpsc_i2s_configure() 153 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_SR) && tmo) in au1xpsc_i2s_configure() 154 tmo--; in au1xpsc_i2s_configure() 156 if (!tmo) in au1xpsc_i2s_configure() 165 tmo = 1000000; in au1xpsc_i2s_configure() 166 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_DR) && tmo) in au1xpsc_i2s_configure() 167 tmo--; in au1xpsc_i2s_configure() 169 if (tmo) in au1xpsc_i2s_configure() 181 unsigned long tmo, stat; in au1xpsc_i2s_start() local [all …]
|
H A D | psc-ac97.c | 75 unsigned short retry, tmo; in au1xpsc_ac97_read() local 89 tmo = 20; in au1xpsc_ac97_read() 94 } while (--tmo); in au1xpsc_ac97_read() 104 tmo = 1; /* wrong register, try again */ in au1xpsc_ac97_read() 106 } while (--retry && !tmo); in au1xpsc_ac97_read() 116 unsigned int tmo, retry; in au1xpsc_ac97_write() local 129 tmo = 20; in au1xpsc_ac97_write() 134 } while (--tmo); in au1xpsc_ac97_write() 140 } while (--retry && !tmo); in au1xpsc_ac97_write()
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | pm.c | 112 unsigned long tmo) in cw1200_pm_stay_awake() argument 117 if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo) in cw1200_pm_stay_awake() 118 mod_timer(&pm->stay_awake, jiffies + tmo); in cw1200_pm_stay_awake() 125 long tmo; in cw1200_suspend_work() local 128 tmo = work->timer.expires - jiffies; in cw1200_suspend_work() 129 if (tmo < 0) in cw1200_suspend_work() 130 tmo = 0; in cw1200_suspend_work() 132 tmo = -1; in cw1200_suspend_work() 134 return tmo; in cw1200_suspend_work() 139 unsigned long tmo) in cw1200_resume_work() argument [all …]
|
H A D | pm.h | 34 unsigned long tmo); 37 unsigned long tmo) in cw1200_pm_stay_awake() argument
|
/openbmc/u-boot/arch/arm/mach-at91/arm920t/ |
H A D | timer.c | 87 u32 tmo; in __udelay() local 91 tmo = CONFIG_SYS_HZ_CLOCK / 1000; in __udelay() 92 tmo *= usec; in __udelay() 93 tmo /= 1000; in __udelay() 95 endtime = get_timer_raw() + tmo; in __udelay()
|
/openbmc/u-boot/board/armltd/integrator/ |
H A D | timer.c | 128 ulong tmo, tmp; in __udelay() local 131 tmo = usec * CONFIG_SYS_HZ; in __udelay() 132 tmo /= (1000000L); in __udelay() 135 tmo += tmp; /* form target timestamp */ in __udelay() 137 while (get_timer_masked () < tmo) {/* loop till event */ in __udelay()
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | timer.c | 58 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local 61 while (tmo > 0) { in __udelay() 64 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay() 66 tmo -= now - last; in __udelay()
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | p2wi.c | 46 unsigned long tmo = timer_get_us() + 1000000; in p2wi_change_to_p2wi_mode() local 55 if (timer_get_us() > tmo) in p2wi_change_to_p2wi_mode() 65 unsigned long tmo = timer_get_us() + 1000000; in p2wi_await_trans() local 79 if (timer_get_us() > tmo) { in p2wi_await_trans()
|
H A D | rsb.c | 78 unsigned long tmo = timer_get_us() + 1000000; in rsb_await_trans() local 96 if (timer_get_us() > tmo) { in rsb_await_trans() 110 unsigned long tmo = timer_get_us() + 1000000; in rsb_set_device_mode() local 116 if (timer_get_us() > tmo) in rsb_set_device_mode()
|
H A D | dram_helpers.c | 18 unsigned long tmo = timer_get_us() + 1000000; in mctl_await_completion() local 21 if (timer_get_us() > tmo) in mctl_await_completion()
|
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/ |
H A D | timer.c | 83 long tmo = USEC_TO_COUNT(usec); in __udelay() local 86 while (tmo > 0) { in __udelay() 89 tmo -= now - last; in __udelay() 91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay()
|
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/ |
H A D | timer.c | 151 long tmo = usec * (TIMER_CLOCK / 1000) / 1000; in __udelay() local 153 long tmo = usec * ((CONFIG_SYS_CLK_FREQ / 2) / 1000) / 1000; in __udelay() local 158 while (tmo > 0) { in __udelay() 161 tmo -= TIMER_LOAD_VAL + last - now; in __udelay() 163 tmo -= last - now; in __udelay()
|
/openbmc/u-boot/drivers/net/ |
H A D | cs8900.c | 84 int tmo; in cs8900_reset() local 94 tmo = get_timer(0) + 1 * CONFIG_SYS_HZ; in cs8900_reset() 96 PP_SelfSTAT_InitD) == 0) && tmo < get_timer(0)) in cs8900_reset() 204 int tmo; in cs8900_send() local 217 for (tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send() 218 get_timer(0) < tmo;) in cs8900_send() 231 tmo = get_timer(0) + 5 * CONFIG_SYS_HZ; in cs8900_send() 233 if (get_timer(0) >= tmo) in cs8900_send()
|
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/ |
H A D | timer.c | 69 ulong tmo; in __udelay() local 72 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay() 73 while ((get_ticks() - start) < tmo) in __udelay()
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument 82 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_hello() 140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye() argument 145 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_bye() 162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset() argument 168 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_reset() 182 * @tmo: Command timeout. 193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params() argument 203 CSIO_INIT_MBP(mbp, cmdp, tmo, hw, cbfn, 1); in csio_mb_params() 259 * @tmo: timeout [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/stv0991/ |
H A D | timer.c | 64 ulong tmo; in __udelay() local 72 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay() 74 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/spear/ |
H A D | timer.c | 73 ulong tmo; in __udelay() local 81 tmo = ((usec / 10) + rndoff) * tenudelcnt; in __udelay() 83 while ((ulong) (get_timer_masked() - start) < tmo) in __udelay()
|
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/ |
H A D | timer.c | 102 unsigned long tmo; in __udelay() local 105 tmo = us_to_tick(usec); /* convert usecs to ticks */ in __udelay() 107 while ((get_ticks() - start) < tmo) in __udelay()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | syscounter.c | 102 ulong tmo; in __udelay() local 104 tmo = us_to_tick(usec); in __udelay() 105 tmp = get_ticks() + tmo; /* get current timestamp */ in __udelay()
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | storage.py | 15 def storage_mount(cls, tmo=1): argument 21 time.sleep(tmo) 66 def storage_umount(cls, tmo=1): argument 67 time.sleep(tmo)
|
/openbmc/linux/sound/soc/sh/ |
H A D | hac.c | 202 unsigned int tmo; in hac_ac97_warmrst() local 207 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst() 210 if (!tmo) in hac_ac97_warmrst()
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_sl.c | 256 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_reset() argument 258 unsigned long timeout = jiffies + msecs_to_jiffies(tmo); in cpsw_sl_reset() 313 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo) in cpsw_sl_wait_for_idle() argument 315 unsigned long timeout = jiffies + msecs_to_jiffies(tmo); in cpsw_sl_wait_for_idle()
|