Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/linux/
Dpm_wakeup.h114 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
115 extern void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard);
193 unsigned int msec, bool hard) {} in pm_wakeup_ws_event() argument
195 static inline void pm_wakeup_dev_event(struct device *dev, unsigned int msec, in pm_wakeup_dev_event() argument
213 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
215 return pm_wakeup_ws_event(ws, msec, false); in __pm_wakeup_event()
218 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
220 return pm_wakeup_dev_event(dev, msec, false); in pm_wakeup_event()
Dktime.h201 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms() argument
203 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
211 static inline ktime_t ktime_sub_ms(const ktime_t kt, const u64 msec) in ktime_sub_ms() argument
213 return ktime_sub_ns(kt, msec * NSEC_PER_MSEC); in ktime_sub_ms()
Dti_wilink_st.h329 u32 msec; member
335 u32 msec; member
/Linux-v4.19/include/sound/
Dsoundfont.h121 int snd_sf_calc_parm_hold(int msec);
122 int snd_sf_calc_parm_attack(int msec);
123 int snd_sf_calc_parm_decay(int msec);
124 #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725) argument
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Dti-lmu.txt61 ramp-up-msec = <30>;
62 ramp-down-msec = <0>;
113 ramp-up-msec = <300>;
175 ramp-up-msec = <500>;
176 ramp-down-msec = <500>;
182 ramp-up-msec = <1000>;
183 ramp-down-msec = <0>;
235 ramp-up-msec = <200>;
236 ramp-down-msec = <200>;
/Linux-v4.19/kernel/power/
Dsuspend_test.c40 unsigned msec; in suspend_test_finish() local
42 msec = jiffies_to_msecs(abs(nj)); in suspend_test_finish()
44 msec / 1000, msec % 1000); in suspend_test_finish()
54 WARN(msec > (TEST_SUSPEND_SECONDS * 1000), in suspend_test_finish()
55 "Component: %s, time: %u\n", label, msec); in suspend_test_finish()
/Linux-v4.19/drivers/base/power/
Dsysfs.c440 s64 msec = 0; in wakeup_total_time_ms_show() local
445 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
449 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_total_time_ms_show()
457 s64 msec = 0; in wakeup_max_time_ms_show() local
462 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_ms_show()
466 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_max_time_ms_show()
475 s64 msec = 0; in wakeup_last_time_ms_show() local
480 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_ms_show()
484 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_last_time_ms_show()
494 s64 msec = 0; in wakeup_prevent_sleep_time_ms_show() local
[all …]
Dwakeup.c754 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event() argument
766 if (!msec) { in pm_wakeup_ws_event()
771 expires = jiffies + msecs_to_jiffies(msec); in pm_wakeup_ws_event()
793 void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard) in pm_wakeup_dev_event() argument
801 pm_wakeup_ws_event(dev->power.wakeup, msec, hard); in pm_wakeup_dev_event()
/Linux-v4.19/drivers/net/ethernet/arc/
Demac_mdio.c115 msleep(data->msec); in arc_mdio_reset()
159 of_property_read_u32(np, "phy-reset-duration", &data->msec); in arc_mdio_probe()
161 if (data->msec > 1000) in arc_mdio_probe()
162 data->msec = 1; in arc_mdio_probe()
/Linux-v4.19/drivers/watchdog/
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()
/Linux-v4.19/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()
/Linux-v4.19/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.
/Linux-v4.19/include/media/
Drc-core.h330 #define MS_TO_US(msec) ((msec) * 1000) argument
331 #define MS_TO_NS(msec) ((msec) * 1000 * 1000) argument
/Linux-v4.19/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()
/Linux-v4.19/tools/perf/Documentation/
Dperf-sched.txt51 [tid/pid] (msec) (msec) (msec)
61 Times are in msec.usec.
/Linux-v4.19/drivers/platform/chrome/
Dcros_ec_lightbar.c49 unsigned long msec = lb_interval_jiffies * 1000 / HZ; in interval_msec_show() local
51 return scnprintf(buf, PAGE_SIZE, "%lu\n", msec); in interval_msec_show()
58 unsigned long msec; in interval_msec_store() local
60 if (kstrtoul(buf, 0, &msec)) in interval_msec_store()
63 lb_interval_jiffies = msec * HZ / 1000; in interval_msec_store()
/Linux-v4.19/drivers/media/usb/dvb-usb/
Dvp702x.c101 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
109 msleep(msec); in vp702x_usb_inout_op()
117 int olen, u8 *i, int ilen, int msec) in vp702x_usb_inout_cmd() argument
146 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec); in vp702x_usb_inout_cmd()
Dvp7045.c28 …t vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int msec) in vp7045_usb_op() argument
61 msleep(msec); in vp7045_usb_op()
Dvp7045.h67 …t vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,int msec);
Dvp702x.h111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec
/Linux-v4.19/drivers/leds/
Dleds-tca6507.c202 static int choose_times(int msec, int *c1p, int *c2p) in choose_times() argument
219 int tmax = msec * 9 / 8; in choose_times()
220 int tmin = msec * 7 / 8; in choose_times()
240 d = abs(msec - tt); in choose_times()
248 return msec; in choose_times()
253 if (msec & 1) { in choose_times()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dradiotrack.rst89 Results available by reading ioport >60 msec after last port write.
138 wait 10 msec
143 wait 10 msec
148 wait 100 msec
/Linux-v4.19/drivers/scsi/isci/
Disci.h507 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec) in sci_mod_timer() argument
510 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec)); in sci_mod_timer()
/Linux-v4.19/Documentation/leds/
Dleds-mlxcpld.txt110 For 3Hz duty cylce is about 167 msec, for 6Hz is about 83 msec.
/Linux-v4.19/Documentation/hwmon/
Dlm7333 (C/LSB) (msec) (msec)

123