Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/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-4.19.296/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.c760 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) in pm_wakeup_ws_event() argument
772 if (!msec) { in pm_wakeup_ws_event()
777 expires = jiffies + msecs_to_jiffies(msec); in pm_wakeup_ws_event()
799 void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard) in pm_wakeup_dev_event() argument
807 pm_wakeup_ws_event(dev->power.wakeup, msec, hard); in pm_wakeup_dev_event()
/linux-4.19.296/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()
Dedac_module.h60 *edac_dev, unsigned long msec);
/linux-4.19.296/include/media/
Drc-core.h330 #define MS_TO_US(msec) ((msec) * 1000) argument
331 #define MS_TO_NS(msec) ((msec) * 1000 * 1000) argument
/linux-4.19.296/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-4.19.296/drivers/rtc/
Drtc-tegra.c114 unsigned long sec, msec; in tegra_rtc_read_time() local
121 msec = readl(info->rtc_base + TEGRA_RTC_REG_MILLI_SECONDS); in tegra_rtc_read_time()
/linux-4.19.296/drivers/media/rc/
Dimon.c1163 long msec, msec_hit; in stabilize() local
1166 msec = ktime_ms_delta(ct, prev_time); in stabilize()
1169 if (msec > 100) { in stabilize()
1562 long msec; in imon_incoming_packet() local
1666 msec = ktime_ms_delta(t, prev_time); in imon_incoming_packet()
1667 if (msec < ictx->idev->rep[REP_DELAY]) { in imon_incoming_packet()
/linux-4.19.296/drivers/bluetooth/
Dhci_ll.c568 msleep(((struct bts_action_delay *)action_ptr)->msec); in download_firmware()
/linux-4.19.296/drivers/misc/ti-st/
Dst_kim.c407 mdelay(((struct bts_action_delay *)action_ptr)->msec); in download_firmware()
/linux-4.19.296/drivers/iio/accel/
Dbmc150-accel-core.c232 int msec; member
384 return bmc150_accel_sample_upd_time[i].msec; in bmc150_accel_get_startup_times()
/linux-4.19.296/include/linux/qed/
Dqed_if.h229 u16 msec; member
/linux-4.19.296/drivers/media/radio/wl128x/
Dfmdrv_common.c1284 mdelay(delay->msec); in fm_download_firmware()