Home
last modified time | relevance | path

Searched refs:msec (Results 1 – 25 of 103) sorted by relevance

12345

/kernel/linux/linux-5.10/include/linux/
Dpm_wakeup.h113 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
114 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard);
188 unsigned int msec, bool hard) {} in pm_wakeup_ws_event() argument
190 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event() argument
195 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
197 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()
200 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
202 return pm_wakeup_dev_event(dev, msec, false); in pm_wakeup_event()
Dktime.h184 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms() argument
186 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
194 static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) in ktime_sub_ms() argument
196 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
Dti_wilink_st.h316 u32 msec; member
322 u32 msec; member
/kernel/linux/linux-5.10/include/sound/
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
/kernel/linux/linux-5.10/kernel/power/
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()
/kernel/linux/linux-5.10/drivers/watchdog/
Ddw_wdt.c80 unsigned int msec; member
165 u64 msec; in dw_wdt_get_max_timeout_ms() local
167 msec = (u64)timeout->sec * MSEC_PER_SEC + timeout->msec; in dw_wdt_get_max_timeout_ms()
169 return msec < UINT_MAX ? msec : UINT_MAX; in dw_wdt_get_max_timeout_ms()
430 u64 msec; in dw_wdt_handle_tops() local
441 msec = (u64)tops[val] * MSEC_PER_SEC; in dw_wdt_handle_tops()
442 do_div(msec, dw_wdt->rate); in dw_wdt_handle_tops()
443 tout.msec = msec - ((u64)tout.sec * MSEC_PER_SEC); in dw_wdt_handle_tops()
452 tout.msec >= dst->msec)) in dw_wdt_handle_tops()
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()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh177 $MZ $h1 -c 0 -p 100 -d 1msec -B $h2_ipv4 -q "$rp1mac $h1mac \
207 -B $dip -d 1msec -q &
242 -b $rp1mac -B $dip -d 1msec -q &
276 -B $dip -d 1msec -q &
311 -b $rp1mac -B $dip -d 1msec -q &
342 -B $h2_ipv4 -d 1msec -q &
395 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
441 $MZ $h1 -c 0 -d 1msec -a $h1mac -b $rp1mac -q p=$payload &
479 "33:33:00:00:00:00" -B $dip -d 1msec -q &
504 "33:33:00:00:00:00" -B $dip -d 1msec -q &
[all …]
Ddevlink_trap_l2_drops.sh104 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip -d 1msec -q &
130 $MZ $h1 "$opt" -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
190 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
233 $MZ $h1 -Q $vid -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
303 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
348 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -B $dip -d 1msec -q &
394 $MZ $h1 -c 0 -p 100 -a own -b $dmac -t ip -d 1msec -q &
Ddevlink_trap_l3_exceptions.sh192 $MZ $h1 -t udp "sp=54321,dp=12345,df" -p 1400 -c 0 -d 1msec -b $rp1mac \
227 $MZ $h1 -t udp "ttl=$ttl_val,sp=54321,dp=12345" -c 0 -d 1msec \
339 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
506 $MZ $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
533 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 0 -d 1msec -b $rp1mac \
Ddevlink_trap_acl_drops.sh105 -t ip -d 1msec -q &
130 -t ip -d 1msec -q &
/kernel/linux/linux-5.10/drivers/net/ethernet/arc/
Demac_mdio.c115 msleep(data->msec); in arc_mdio_reset()
160 of_property_read_u32(np, "phy-reset-duration", &data->msec); in arc_mdio_probe()
162 if (data->msec > 1000) in arc_mdio_probe()
163 data->msec = 1; in arc_mdio_probe()
/kernel/linux/linux-5.10/drivers/base/power/
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 …]
/kernel/linux/linux-5.10/drivers/edac/
Dedac_pci.c171 int msec; in edac_pci_workq_function() local
187 msec = edac_pci_get_poll_msec(); in edac_pci_workq_function()
188 if (msec == 1000) in edac_pci_workq_function()
189 delay = round_jiffies_relative(msecs_to_jiffies(msec)); in edac_pci_workq_function()
191 delay = msecs_to_jiffies(msec); in edac_pci_workq_function()
Dedac_device.c384 unsigned msec) in edac_device_workq_setup() argument
392 edac_dev->poll_msec = msec; in edac_device_workq_setup()
393 edac_dev->delay = msecs_to_jiffies(msec); in edac_device_workq_setup()
430 unsigned long msec) in edac_device_reset_delay_period() argument
432 edac_dev->poll_msec = msec; in edac_device_reset_delay_period()
433 edac_dev->delay = msecs_to_jiffies(msec); in edac_device_reset_delay_period()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/accel/
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.
/kernel/linux/linux-5.10/fs/nfsd/
Dstats.c56 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local
57 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Drouter.sh182 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
231 $MZ $flags $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $dmac \
260 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
280 $MZ -6 $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec \
303 $MZ $h1 -t udp "sp=54321,dp=12345" -c 5 -d 1msec -b $rp1mac -B $dip -q
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dpci.c100 u64 msec; in hl_pci_elbi_write() local
104 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write()
106 msec = HL_PCI_ELBI_TIMEOUT_MSEC; in hl_pci_elbi_write()
116 timeout = ktime_add_ms(ktime_get(), msec); in hl_pci_elbi_write()
/kernel/linux/linux-5.10/Documentation/watchdog/
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.),
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_lightbar.c34 unsigned long msec = lb_interval_jiffies * 1000 / HZ; in interval_msec_show() local
36 return scnprintf(buf, PAGE_SIZE, "%lu\n", msec); in interval_msec_show()
43 unsigned long msec; in interval_msec_store() local
45 if (kstrtoul(buf, 0, &msec)) in interval_msec_store()
48 lb_interval_jiffies = msec * HZ / 1000; in interval_msec_store()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-sched.txt51 [tid/pid] (msec) (msec) (msec)
61 Times are in msec.usec.
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dvp702x.c98 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_op() argument
106 msleep(msec); in vp702x_usb_inout_op()
114 int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_cmd() argument
143 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); in vp702x_usb_inout_cmd()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-tca6507.c193 static int choose_times(int msec, int *c1p, int *c2p) in choose_times() argument
210 int tmax = msec * 9 / 8; in choose_times()
211 int tmin = msec * 7 / 8; in choose_times()
231 d = abs(msec - tt); in choose_times()
239 return msec; in choose_times()
244 if (msec & 1) { in choose_times()
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/
Dradiotrack.rst91 Results available by reading ioport >60 msec after last port write.
140 wait 10 msec
145 wait 10 msec
150 wait 100 msec

12345