Home
last modified time | relevance | path

Searched full:msec (Results 1 – 25 of 597) sorted by relevance

12345678910>>...24

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dsf.h41 #define SF_SINGLE_UNICAST_AGING_TIMER_DEF 400 /* 0.4 mSec */
43 #define SF_AGG_UNICAST_AGING_TIMER_DEF 400 /* 0.4 mSec */
44 #define SF_MCAST_IDLE_TIMER_DEF 160 /* 150 mSec */
45 #define SF_MCAST_AGING_TIMER_DEF 400 /* 0.4 mSec */
47 #define SF_BA_AGING_TIMER_DEF 400 /* 0.4 mSec */
49 #define SF_TX_RE_AGING_TIMER_DEF 400 /* 0.4 mSec */
53 #define SF_SINGLE_UNICAST_AGING_TIMER 2016 /* 2 mSec */
55 #define SF_AGG_UNICAST_AGING_TIMER 2016 /* 2 mSec */
56 #define SF_MCAST_IDLE_TIMER 2016 /* 2 mSec */
57 #define SF_MCAST_AGING_TIMER 10016 /* 10 mSec */
[all …]
/openbmc/linux/drivers/watchdog/
H A Dnpcm_wdt.c30 * 170 msec: WTCLK=01 WTIS=00 VAL= 0x400
31 * 670 msec: WTCLK=01 WTIS=01 VAL= 0x410
32 * 1360 msec: WTCLK=10 WTIS=00 VAL= 0x800
33 * 2700 msec: WTCLK=01 WTIS=10 VAL= 0x420
34 * 5360 msec: WTCLK=10 WTIS=01 VAL= 0x810
35 * 10700 msec: WTCLK=01 WTIS=11 VAL= 0x430
36 * 21600 msec: WTCLK=10 WTIS=10 VAL= 0x820
37 * 43000 msec: WTCLK=11 WTIS=00 VAL= 0xC00
38 * 85600 msec: WTCLK=10 WTIS=11 VAL= 0x830
39 * 172000 msec: WTCLK=11 WTIS=01 VAL= 0xC10
[all …]
H A Ddw_wdt.c79 unsigned int msec; member
164 u64 msec; in dw_wdt_get_max_timeout_ms() local
166 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms()
168 return msec < UINT_MAX ? msec : UINT_MAX; in dw_wdt_get_max_timeout_ms()
427 u64 msec; in dw_wdt_handle_tops() local
438 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops()
439 do_div(msec, dw_wdt->rate); in dw_wdt_handle_tops()
440 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
449 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
H A Dda9052_wdt.c112 unsigned long msec, jnow = jiffies; in da9052_wdt_ping() local
119 msec = (jnow - driver_data->jpast) * 1000/HZ; in da9052_wdt_ping()
120 if (msec < DA9052_TWDMIN) in da9052_wdt_ping()
121 mdelay(msec); in da9052_wdt_ping()
/openbmc/linux/sound/synth/emux/
H A Demux_nrpn.c96 #define fx_env1_delay fx_delay /* [0,5900] 4msec */
97 #define fx_env1_attack fx_attack /* [0,5940] 1msec */
98 #define fx_env1_hold fx_hold /* [0,8191] 1msec */
99 #define fx_env1_decay fx_decay /* [0,5940] 4msec */
100 #define fx_env1_release fx_decay /* [0,5940] 4msec */
105 #define fx_env2_delay fx_delay /* [0,5900] 4msec */
106 #define fx_env2_attack fx_attack /* [0,5940] 1msec */
107 #define fx_env2_hold fx_hold /* [0,8191] 1msec */
108 #define fx_env2_decay fx_decay /* [0,5940] 4msec */
109 #define fx_env2_release fx_decay /* [0,5940] 4msec */
[all …]
/openbmc/linux/tools/testing/selftests/kvm/include/aarch64/
H A Darch_timer.h20 #define msec_to_cycles(msec) \ argument
21 (timer_get_cntfrq() * (uint64_t)(msec) / 1000)
129 static inline void timer_set_next_cval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_cval_ms() argument
132 uint64_t next_ct = now_ct + msec_to_cycles(msec); in timer_set_next_cval_ms()
137 static inline void timer_set_next_tval_ms(enum arch_timer timer, uint32_t msec) in timer_set_next_tval_ms() argument
139 timer_set_tval(timer, msec_to_cycles(msec)); in timer_set_next_tval_ms()
/openbmc/linux/include/linux/
H A Dpm_wakeup.h117 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
118 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard);
190 unsigned int msec, bool hard) {} in pm_wakeup_ws_event() argument
192 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event() argument
207 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
209 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()
212 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
214 return pm_wakeup_dev_event(dev, msec, false); in pm_wakeup_event()
H A Ddim.h71 * @ppms: Packets per msec
72 * @bpms: Bytes per msec
73 * @epms: Events per msec
74 * @cpms: Completions per msec
78 int ppms; /* packets per msec */
79 int bpms; /* bytes per msec */
80 int epms; /* events per msec */
81 int cpms; /* completions per msec */
/openbmc/u-boot/arch/arm/cpu/armv7/iproc-common/
H A Dtimer.c54 /* default arm clk is 1GHz, periph_clk=arm_clk/2, tick per msec */ in get_timer()
63 /* returns msec */ in get_timer()
115 * On ARM it just returns the timer value in msec.
123 * This is used in conjuction with get_ticks, which returns msec as ticks.
124 * Here we just return ticks/sec = msec/sec = 1000
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/
H A Dlis302.txt30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec
31 with step of 0.5 msec
32 - st,click-latency: click latency, from 0 to 255 msec with
33 step of 1 msec.
34 - st,click-window: click window, from 0 to 255 msec with
35 step of 1 msec.
/openbmc/linux/include/sound/
H A Dsoundfont.h108 int snd_sf_calc_parm_hold(int msec);
109 int snd_sf_calc_parm_attack(int msec);
110 int snd_sf_calc_parm_decay(int msec);
111 #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725) argument
/openbmc/linux/tools/thermal/lib/
H A Duptimeofday.c32 struct timespec msec_to_timespec(int msec) in msec_to_timespec() argument
35 .tv_sec = (msec / 1000), in msec_to_timespec()
36 .tv_nsec = (msec % 1000) * 1000000, in msec_to_timespec()
/openbmc/linux/kernel/power/
H A Dsuspend_test.c39 unsigned msec; in suspend_test_finish() local
41 msec = jiffies_to_msecs(abs(nj)); in suspend_test_finish()
43 msec / 1000, msec % 1000); in suspend_test_finish()
53 WARN(msec > (TEST_SUSPEND_SECONDS * 1000), in suspend_test_finish()
54 "Component: %s, time: %u\n", label, msec); in suspend_test_finish()
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l3_drops.sh178 $MZ $h1 -c 0 -p 100 -d 1msec -B $h2_ipv4 -q "$rp1mac $h1mac \
208 -B $dip -d 1msec -q &
243 -b $rp1mac -B $dip -d 1msec -q &
277 -B $dip -d 1msec -q &
312 -b $rp1mac -B $dip -d 1msec -q &
343 -B $h2_ipv4 -d 1msec -q &
396 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
442 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
480 "33:33:00:00:00:00" -B $dip -d 1msec -q &
505 "33:33:00:00:00:00" -B $dip -d 1msec -q &
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/pci/
H A Dpci.c94 u64 msec; in hl_pci_elbi_read() local
98 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_read()
100 msec = HL_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_read()
108 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_read()
157 u64 msec; in hl_pci_elbi_write() local
161 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write()
163 msec = HL_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write()
173 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_write()
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/
H A D0002-ssaparse-enhance-SSA-text-lines-parsing.patch95 + guint hour, min, sec, msec, len;
107 + if (sscanf (t_str, "%u:%u:%u.%u", &hour, &min, &sec, &msec) == 4) {
108 + tmp = ((hour*3600) + (min*60) + sec) * GST_SECOND + msec*GST_MSECOND;
110 + hour, min, sec, msec);
123 + if (sscanf (t_str, "%u:%u:%u.%u", &hour, &min, &sec, &msec) == 4) {
124 + tmp = ((hour*3600) + (min*60) + sec)*GST_SECOND + msec*GST_MSECOND;
126 + hour, min, sec, msec);
/openbmc/linux/drivers/base/power/
H A Dsysfs.c456 s64 msec; in wakeup_total_time_ms_show() local
461 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
468 return sysfs_emit(buf, "%lld\n", msec); in wakeup_total_time_ms_show()
476 s64 msec; in wakeup_max_time_ms_show() local
481 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show()
488 return sysfs_emit(buf, "%lld\n", msec); in wakeup_max_time_ms_show()
497 s64 msec; in wakeup_last_time_ms_show() local
502 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
509 return sysfs_emit(buf, "%lld\n", msec); in wakeup_last_time_ms_show()
527 s64 msec; in wakeup_prevent_sleep_time_ms_show() local
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dcustom_multipath_hash.sh186 -d 1msec -c 50 -t udp "sp=20000,dp=30000"
193 -d 1msec -c 50 -t udp "sp=20000,dp=30000"
200 -d 1msec -t udp "sp=0-32768,dp=30000"
207 -d 1msec -t udp "sp=20000,dp=0-32768"
214 -d 1msec -c 50 -t udp "sp=20000,dp=30000"
221 -d 1msec -c 50 -t udp "sp=20000,dp=30000"
237 -d 1msec -t udp "sp=0-32768,dp=30000"
244 -d 1msec -t udp "sp=20000,dp=0-32768"
/openbmc/u-boot/cmd/
H A Dsound.c37 int msec = 1000; in do_play() local
41 msec = simple_strtoul(argv[1], NULL, 10); in do_play()
47 ret = sound_beep(dev, msec, freq); in do_play()
/openbmc/qemu/migration/
H A Ddirtyrate.c51 static int64_t dirty_stat_wait(int64_t msec, int64_t initial_time) in dirty_stat_wait() argument
56 if ((current_time - initial_time) >= msec) { in dirty_stat_wait()
57 msec = current_time - initial_time; in dirty_stat_wait()
59 g_usleep((msec + initial_time - current_time) * 1000); in dirty_stat_wait()
61 msec = qemu_clock_get_ms(QEMU_CLOCK_REALTIME) - initial_time; in dirty_stat_wait()
64 return msec; in dirty_stat_wait()
197 static bool is_calc_time_valid(int64_t msec) in is_calc_time_valid() argument
199 if ((msec < MIN_CALC_TIME_MS) || (msec > MAX_CALC_TIME_MS)) { in is_calc_time_valid()
340 static void update_dirtyrate(uint64_t msec) in update_dirtyrate() argument
348 1000 / (total_sample_count * msec); in update_dirtyrate()
/openbmc/linux/Documentation/watchdog/
H A Dmlx-wdt.rst16 Actual HW timeout can be defined as a power of 2 msec.
17 e.g. timeout 20 sec will be rounded up to 32768 msec.
18 The maximum timeout period is 32 sec (32768 msec.),
/openbmc/u-boot/include/linux/
H A Ddelay.h11 static inline void mdelay(unsigned long msec) in mdelay() argument
13 udelay(1000 * msec); in mdelay()
/openbmc/linux/drivers/net/ethernet/arc/
H A Demac_mdio.c115 msleep(data->msec); in arc_mdio_reset()
161 of_property_read_u32(np, "phy-reset-duration", &data->msec); in arc_mdio_probe()
163 if (data->msec > 1000) in arc_mdio_probe()
164 data->msec = 1; in arc_mdio_probe()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-sched.txt51 [tid/pid] (msec) (msec) (msec)
61 Times are in msec.usec.
/openbmc/linux/drivers/edac/
H A Dedac_pci.c167 int msec; in edac_pci_workq_function() local
183 msec = edac_pci_get_poll_msec(); in edac_pci_workq_function()
184 if (msec == 1000) in edac_pci_workq_function()
185 delay = round_jiffies_relative(msecs_to_jiffies(msec)); in edac_pci_workq_function()
187 delay = msecs_to_jiffies(msec); in edac_pci_workq_function()

12345678910>>...24