Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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-4.1.27/include/linux/
Dpm_wakeup.h100 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec);
101 extern void pm_wakeup_event(struct device *dev, unsigned int msec);
176 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) {} in __pm_wakeup_event() argument
178 static inline void pm_wakeup_event(struct device *dev, unsigned int msec) {} in pm_wakeup_event() argument
Dti_wilink_st.h329 u32 msec; member
335 u32 msec; member
Dktime.h224 static inline ktime_t ktime_add_ms(const ktime_t kt, const u64 msec) in ktime_add_ms() argument
226 return ktime_add_ns(kt, msec * NSEC_PER_MSEC); in ktime_add_ms()
/linux-4.1.27/drivers/base/power/
Dsysfs.c461 s64 msec = 0; in wakeup_total_time_show() local
466 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_show()
470 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_total_time_show()
478 s64 msec = 0; in wakeup_max_time_show() local
483 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_show()
487 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_max_time_show()
495 s64 msec = 0; in wakeup_last_time_show() local
500 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_show()
504 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_last_time_show()
514 s64 msec = 0; in wakeup_prevent_sleep_time_show() local
[all …]
Dwakeup.c619 void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
631 if (!msec) { in __pm_wakeup_event()
636 expires = jiffies + msecs_to_jiffies(msec); in __pm_wakeup_event()
658 void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
666 __pm_wakeup_event(dev->power.wakeup, msec); in pm_wakeup_event()
/linux-4.1.27/drivers/edac/
Dedac_pci.c226 int msec; in edac_pci_workq_function() local
240 msec = edac_pci_get_poll_msec(); in edac_pci_workq_function()
241 if (msec == 1000) in edac_pci_workq_function()
242 delay = round_jiffies_relative(msecs_to_jiffies(msec)); in edac_pci_workq_function()
244 delay = msecs_to_jiffies(msec); in edac_pci_workq_function()
262 unsigned int msec) in edac_pci_workq_setup() argument
Dedac_module.h52 unsigned msec);
Dedac_device.c406 unsigned msec) in edac_device_workq_setup() argument
414 edac_dev->poll_msec = msec; in edac_device_workq_setup()
415 edac_dev->delay = msecs_to_jiffies(msec); in edac_device_workq_setup()
Dedac_mc.c559 static void edac_mc_workq_setup(struct mem_ctl_info *mci, unsigned msec, in edac_mc_workq_setup() argument
571 mod_delayed_work(edac_workqueue, &mci->work, msecs_to_jiffies(msec)); in edac_mc_workq_setup()
/linux-4.1.27/drivers/watchdog/
Dda9052_wdt.c135 unsigned long msec, jnow = jiffies; in da9052_wdt_ping() local
142 msec = (jnow - driver_data->jpast) * 1000/HZ; in da9052_wdt_ping()
143 if (msec < DA9052_TWDMIN) in da9052_wdt_ping()
144 mdelay(msec); in da9052_wdt_ping()
/linux-4.1.27/include/media/
Drc-core.h244 #define MS_TO_US(msec) ((msec) * 1000) argument
245 #define MS_TO_NS(msec) ((msec) * 1000 * 1000) argument
/linux-4.1.27/Documentation/devicetree/bindings/misc/
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-4.1.27/drivers/platform/chrome/
Dcros_ec_lightbar.c43 unsigned long msec = lb_interval_jiffies * 1000 / HZ; in interval_msec_show() local
45 return scnprintf(buf, PAGE_SIZE, "%lu\n", msec); in interval_msec_show()
52 unsigned long msec; in interval_msec_store() local
54 if (kstrtoul(buf, 0, &msec)) in interval_msec_store()
57 lb_interval_jiffies = msec * HZ / 1000; in interval_msec_store()
/linux-4.1.27/fs/nfsd/
Dstats.c55 unsigned int sec = jifs / HZ, msec = (jifs % HZ)*1000/HZ; in nfsd_proc_show() local
56 seq_printf(seq, " %u.%03u", sec, msec); in nfsd_proc_show()
/linux-4.1.27/drivers/hv/
Dconnection.c425 u32 msec = 1; in vmbus_post_msg() local
458 msleep(msec); in vmbus_post_msg()
459 if (msec < 2048) in vmbus_post_msg()
460 msec *= 2; in vmbus_post_msg()
/linux-4.1.27/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.h67 …t vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,int msec);
Dvp702x.h110 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec
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()
/linux-4.1.27/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-4.1.27/Documentation/video4linux/
Dradiotrack.txt78 Results available by reading ioport >60 msec after last port write.
117 * wait 10 msec *
122 * wait 10 msec *
127 * wait 100 msec *
/linux-4.1.27/drivers/scsi/isci/
Disci.h509 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec) in sci_mod_timer() argument
512 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec)); in sci_mod_timer()
/linux-4.1.27/Documentation/hwmon/
Dlm7333 (C/LSB) (msec) (msec)
Dds1621134 (C/LSB) (msec) (msec)
/linux-4.1.27/sound/synth/emux/
Dsoundfont.c895 snd_sf_calc_parm_hold(int msec) in snd_sf_calc_parm_hold() argument
897 int val = (0x7f * 92 - msec) / 92; in snd_sf_calc_parm_hold()
905 calc_parm_search(int msec, short *table) in calc_parm_search() argument
910 if (msec < (int)table[mid]) in calc_parm_search()
920 snd_sf_calc_parm_attack(int msec) in snd_sf_calc_parm_attack() argument
922 return calc_parm_search(msec, attack_time_tbl); in snd_sf_calc_parm_attack()
927 snd_sf_calc_parm_decay(int msec) in snd_sf_calc_parm_decay() argument
929 return calc_parm_search(msec, decay_time_tbl); in snd_sf_calc_parm_decay()
/linux-4.1.27/drivers/block/
Dmg_disk.c213 static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec) in mg_wait() argument
220 expire = jiffies + msecs_to_jiffies(msec); in mg_wait()
254 if (!msec) { in mg_wait()
262 if (time_after_eq(cur_jiffies, expire) && msec) in mg_wait()
268 static unsigned int mg_wait_rstout(u32 rstout, u32 msec) in mg_wait_rstout() argument
272 expire = jiffies + msecs_to_jiffies(msec); in mg_wait_rstout()
/linux-4.1.27/arch/arm/mach-iop13xx/
Dpci.c721 int msec = (reg_val >> IOP13XX_ATUX_PCSR_FREQ_OFFSET) & 0x7; in iop13xx_atux_setup() local
722 msec = 1000 / (8-msec); /* bits 100=133MHz, 111=>33MHz */ in iop13xx_atux_setup()
725 atux_trhfa_timeout = jiffies + msecs_to_jiffies(msec); in iop13xx_atux_setup()
/linux-4.1.27/drivers/rtc/
Drtc-tegra.c110 unsigned long sec, msec; in tegra_rtc_read_time() local
117 msec = readl(info->rtc_base + TEGRA_RTC_REG_MILLI_SECONDS); in tegra_rtc_read_time()
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
Dde4x5.c929 …t_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 msec);
930 static int test_for_100Mb(struct net_device *dev, int msec);
932 static int test_mii_reg(struct net_device *dev, int reg, int mask, bool pol, long msec);
937 static int ping_media(struct net_device *dev, int msec);
951 static int test_ans(struct net_device *dev, s32 irqs, s32 irq_mask, s32 msec);
952 static int test_tp(struct net_device *dev, s32 msec);
3319 …st_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 msec) in test_media() argument
3326 lp->timeout = msec/100; in test_media()
3357 test_tp(struct net_device *dev, s32 msec) in test_tp() argument
3364 lp->timeout = msec/100; in test_tp()
[all …]
/linux-4.1.27/drivers/usb/early/
Dehci-dbgp.c720 int msec; in early_ehci_bios_handoff() local
736 msec = 1000; in early_ehci_bios_handoff()
737 while ((cap & EHCI_USBLEGSUP_BIOS) && (msec > 0)) { in early_ehci_bios_handoff()
739 msec -= 10; in early_ehci_bios_handoff()
/linux-4.1.27/drivers/gpu/drm/bridge/
Ddw_hdmi.c669 static bool hdmi_phy_wait_i2c_done(struct dw_hdmi *hdmi, int msec) in hdmi_phy_wait_i2c_done() argument
674 if (msec-- == 0) in hdmi_phy_wait_i2c_done()
757 u8 val, msec; in hdmi_phy_configure() local
861 msec = 5; in hdmi_phy_configure()
867 if (msec == 0) { in hdmi_phy_configure()
873 msec--; in hdmi_phy_configure()
/linux-4.1.27/tools/perf/Documentation/
Dperf-trace.txt102 (in msec) and relative stddev.
107 average times (in msec) and relative stddev.
/linux-4.1.27/arch/powerpc/boot/dts/
Dmotionpro.dts19 blink-delay = <100>; // 100 msec
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-bus-usb36 it returns the total time (in msec) that the USB device has been
48 it returns the total time (in msec) that the USB device has been
Dsysfs-class-tpm65 reports them in msec instead of usec and they need to be
/linux-4.1.27/drivers/usb/host/
Dpci-quirks.c722 int msec = 1000; in ehci_bios_handoff() local
723 while ((cap & EHCI_USBLEGSUP_BIOS) && (msec > 0)) { in ehci_bios_handoff()
726 msec -= 10; in ehci_bios_handoff()
/linux-4.1.27/security/selinux/
Dhooks.c5139 struct msg_security_struct *msec; in msg_msg_alloc_security() local
5141 msec = kzalloc(sizeof(struct msg_security_struct), GFP_KERNEL); in msg_msg_alloc_security()
5142 if (!msec) in msg_msg_alloc_security()
5145 msec->sid = SECINITSID_UNLABELED; in msg_msg_alloc_security()
5146 msg->security = msec; in msg_msg_alloc_security()
5153 struct msg_security_struct *msec = msg->security; in msg_msg_free_security() local
5156 kfree(msec); in msg_msg_free_security()
5261 struct msg_security_struct *msec; in selinux_msg_queue_msgsnd() local
5267 msec = msg->security; in selinux_msg_queue_msgsnd()
5272 if (msec->sid == SECINITSID_UNLABELED) { in selinux_msg_queue_msgsnd()
[all …]
/linux-4.1.27/drivers/media/rc/
Dimon.c1199 int msec, msec_hit; in stabilize() local
1202 msec = tv2int(&ct, &prev_time); in stabilize()
1205 if (msec > 100) { in stabilize()
1599 int msec; in imon_incoming_packet() local
1699 msec = tv2int(&t, &prev_time); in imon_incoming_packet()
1700 if (msec < ictx->idev->rep[REP_DELAY]) { in imon_incoming_packet()
/linux-4.1.27/drivers/usb/image/
Dmdc800.c346 static int mdc800_usb_waitForIRQ (int mode, int msec) in mdc800_usb_waitForIRQ() argument
351 msecs_to_jiffies(msec)); in mdc800_usb_waitForIRQ()
/linux-4.1.27/drivers/staging/dgnc/
Ddgnc_tty.c110 static int dgnc_tty_send_break(struct tty_struct *tty, int msec);
1985 static int dgnc_tty_send_break(struct tty_struct *tty, int msec) in dgnc_tty_send_break() argument
2008 switch (msec) { in dgnc_tty_send_break()
2010 msec = 0xFFFF; in dgnc_tty_send_break()
2013 msec = 0; in dgnc_tty_send_break()
2021 ch->ch_bd->bd_ops->send_break(ch, msec); in dgnc_tty_send_break()
/linux-4.1.27/arch/mips/include/asm/
Dsgiarcs.h140 unsigned short msec; member
/linux-4.1.27/drivers/staging/rts5208/
Dspi.c111 static int sf_polling_status(struct rtsx_chip *chip, int msec) in sf_polling_status() argument
123 retval = rtsx_send_cmd(chip, 0, msec); in sf_polling_status()
/linux-4.1.27/Documentation/scheduler/
Dsched-nice-design.txt40 HZ=1000 it caused 1 jiffy to be 1 msec, which meant 0.1% CPU usage which
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_main.c3117 int msec = 1; in fec_reset_phy() local
3123 of_property_read_u32(np, "phy-reset-duration", &msec); in fec_reset_phy()
3125 if (msec > 1000) in fec_reset_phy()
3126 msec = 1; in fec_reset_phy()
3138 msleep(msec); in fec_reset_phy()
/linux-4.1.27/drivers/iio/accel/
Dbmc150-accel.c218 int msec; member
430 return bmc150_accel_sample_upd_time[i].msec; in bmc150_accel_get_startup_times()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c1253 u16 msec = nv_ro16(bios, init->offset + 1); in init_ltime() local
1255 trace("LTIME\t0x%04x\n", msec); in init_ltime()
1259 mdelay(msec); in init_ltime()
/linux-4.1.27/drivers/misc/ti-st/
Dst_kim.c414 mdelay(((struct bts_action_delay *)action_ptr)->msec); in download_firmware()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c3861 static int dgap_tty_send_break(struct tty_struct *tty, int msec) in dgap_tty_send_break() argument
3884 switch (msec) { in dgap_tty_send_break()
3886 msec = 0xFFFF; in dgap_tty_send_break()
3889 msec = 1; in dgap_tty_send_break()
3892 msec /= 10; in dgap_tty_send_break()
3901 dgap_cmdw(ch, SBREAK, (u16) msec, 0); in dgap_tty_send_break()
/linux-4.1.27/Documentation/usb/
Dehci.txt151 microframes fit in a USB 1.1 frame; a microframe is 1 msec/8 = 125 usec.
/linux-4.1.27/drivers/hwmon/
Dw83627ehf.c355 static inline u8 step_time_to_reg(unsigned int msec, u8 mode) in step_time_to_reg() argument
357 return clamp_val((mode ? (msec + 50) / 100 : (msec + 200) / 400), in step_time_to_reg()
Dnct6775.c671 static u8 step_time_to_reg(unsigned int msec, u8 mode) in step_time_to_reg() argument
673 return clamp_val((mode ? (msec + 200) / 400 : in step_time_to_reg()
674 (msec + 50) / 100), 1, 255); in step_time_to_reg()
/linux-4.1.27/drivers/md/
Dmd.c3284 int msec = (mddev->safemode_delay*1000)/HZ; in safe_delay_show() local
3285 return sprintf(page, "%d.%03d\n", msec/1000, msec%1000); in safe_delay_show()
3290 unsigned long msec; in safe_delay_store() local
3292 if (strict_strtoul_scaled(cbuf, &msec, 3) < 0) in safe_delay_store()
3294 if (msec == 0) in safe_delay_store()
3298 unsigned long new_delay = (msec*HZ)/1000; in safe_delay_store()
/linux-4.1.27/net/packet/
Daf_packet.c562 unsigned int mbits = 0, msec = 0, div = 0, tmo = 0; in prb_calc_retire_blk_tmo() local
584 msec = 1; in prb_calc_retire_blk_tmo()
594 tmo = mbits * msec; in prb_calc_retire_blk_tmo()
/linux-4.1.27/drivers/media/radio/wl128x/
Dfmdrv_common.c1290 mdelay(delay->msec); in fm_download_firmware()
/linux-4.1.27/Documentation/
Dmd.txt253 period as a number of seconds. The default is 200msec (0.200).
/linux-4.1.27/Documentation/sound/alsa/
DALSA-Configuration.txt1025 in msec resolution, default value is 500 (0.5 sec)