Home
last modified time | relevance | path

Searched refs:tmo (Results 1 - 25 of 154) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_matchall.c15 struct tc_cls_matchall_offload *tmo, in sparx5_tc_matchall_replace()
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 in sparx5_tc_matchall_replace()
14 sparx5_tc_matchall_replace(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) sparx5_tc_matchall_replace() argument
65 sparx5_tc_matchall_destroy(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) sparx5_tc_matchall_destroy() argument
85 sparx5_tc_matchall(struct net_device *ndev, struct tc_cls_matchall_offload *tmo, bool ingress) sparx5_tc_matchall() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/au1x/
H A Dac97c.c87 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 in au1xac97c_ac97_write()
[all...]
H A Dpsc-i2s.c146 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, sta in au1xpsc_i2s_start() local
215 unsigned long tmo, stat; au1xpsc_i2s_stop() local
[all...]
H A Dpsc-ac97.c75 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()
/kernel/linux/linux-6.6/sound/soc/au1x/
H A Dpsc-i2s.c146 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, sta in au1xpsc_i2s_start() local
215 unsigned long tmo, stat; au1xpsc_i2s_stop() local
[all...]
H A Dac97c.c87 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 in au1xac97c_ac97_write()
[all...]
H A Dpsc-ac97.c75 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()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dpm.c112 unsigned long tmo) in cw1200_pm_stay_awake()
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()
111 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) cw1200_pm_stay_awake() argument
137 cw1200_resume_work(struct cw1200_common *priv, struct delayed_work *work, unsigned long tmo) cw1200_resume_work() argument
[all...]
H A Dpm.h34 unsigned long tmo);
37 unsigned long tmo) in cw1200_pm_stay_awake()
36 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) cw1200_pm_stay_awake() argument
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dpm.c112 unsigned long tmo) in cw1200_pm_stay_awake()
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()
111 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) cw1200_pm_stay_awake() argument
137 cw1200_resume_work(struct cw1200_common *priv, struct delayed_work *work, unsigned long tmo) cw1200_resume_work() argument
[all...]
H A Dpm.h34 unsigned long tmo);
37 unsigned long tmo) in cw1200_pm_stay_awake()
36 cw1200_pm_stay_awake(struct cw1200_pm_state *pm, unsigned long tmo) cw1200_pm_stay_awake() argument
/kernel/linux/linux-5.10/sound/soc/sh/
H A Dhac.c202 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()
/kernel/linux/linux-6.6/sound/soc/sh/
H A Dhac.c202 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()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dmyrs.h695 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
708 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
721 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
737 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
751 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
765 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
780 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
798 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
813 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
832 struct myrs_cmd_tmo tmo; /* Byt member
851 struct myrs_cmd_tmo tmo; /* Byte 19 */ global() member
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmyrs.h695 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
708 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
721 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
737 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
751 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
765 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
780 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
798 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
813 struct myrs_cmd_tmo tmo; /* Byte 19 */ member
832 struct myrs_cmd_tmo tmo; /* Byt member
851 struct myrs_cmd_tmo tmo; /* Byte 19 */ global() member
[all...]
/kernel/linux/linux-5.10/drivers/block/paride/
H A Dpg.c288 static int pg_wait(struct pg *dev, int go, int stop, unsigned long tmo, char *msg) in pg_wait() argument
296 && time_before(jiffies, tmo)) { in pg_wait()
303 to = time_after_eq(jiffies, tmo); in pg_wait()
320 static int pg_command(struct pg *dev, char *cmd, int dlen, unsigned long tmo) in pg_command() argument
328 if (pg_wait(dev, STAT_BUSY | STAT_DRQ, 0, tmo, "before command")) in pg_command()
335 if (pg_wait(dev, STAT_BUSY, STAT_DRQ, tmo, "command DRQ")) in pg_command()
357 static int pg_completion(struct pg *dev, char *buf, unsigned long tmo) in pg_completion() argument
362 tmo, "completion"); in pg_completion()
380 tmo, "completion"); in pg_completion()
/kernel/linux/linux-6.6/drivers/regulator/
H A Dirq_helpers.c55 int tmo, i; in regulator_notifier_isr_work() local
94 tmo = d->reread_ms; in regulator_notifier_isr_work()
117 tmo = d->irq_off_ms; in regulator_notifier_isr_work()
150 msecs_to_jiffies(tmo)); in regulator_notifier_isr_work()
153 msecs_to_jiffies(tmo)); in regulator_notifier_isr_work()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_sl.h63 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo);
68 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo);
H A Dcpsw_sl.c256 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_sl.h63 void cpsw_sl_reset(struct cpsw_sl *sl, unsigned long tmo);
68 int cpsw_sl_wait_for_idle(struct cpsw_sl *sl, unsigned long tmo);
H A Dcpsw_sl.c256 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()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H A Dcsio_mb.c76 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
264 csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, int reg) csio_mb_ldst() argument
300 csio_mb_caps_config(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, bool wr, bool init, bool tgt, bool cofld, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_caps_config() argument
342 csio_mb_port(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, u8 portid, bool wr, uint32_t fc, uint16_t fw_caps, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_port() argument
413 csio_mb_initialize(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_initialize() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_mb.c76 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
264 csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, int reg) csio_mb_ldst() argument
300 csio_mb_caps_config(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, bool wr, bool init, bool tgt, bool cofld, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_caps_config() argument
342 csio_mb_port(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, u8 portid, bool wr, uint32_t fc, uint16_t fw_caps, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_port() argument
413 csio_mb_initialize(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, void (*cbfn) (struct csio_hw *, struct csio_mb *)) csio_mb_initialize() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ib.c390 long tmo; in amdgpu_ib_ring_tests() local
405 tmo = tmo_mm; in amdgpu_ib_ring_tests()
407 tmo = tmo_gfx; in amdgpu_ib_ring_tests()
409 r = amdgpu_ring_test_ib(ring, tmo); in amdgpu_ib_ring_tests()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ib.c413 long tmo; in amdgpu_ib_ring_tests() local
432 tmo = tmo_mm; in amdgpu_ib_ring_tests()
434 tmo = tmo_gfx; in amdgpu_ib_ring_tests()
436 r = amdgpu_ring_test_ib(ring, tmo); in amdgpu_ib_ring_tests()

Completed in 20 milliseconds

1234567