Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/include/linux/
Dpm_wakeup.h109 extern void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec);
110 extern void pm_wakeup_event(struct device *dev, unsigned int msec);
185 static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) {} in __pm_wakeup_event() argument
187 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.4.14/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.c755 void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument
767 if (!msec) { in __pm_wakeup_event()
772 expires = jiffies + msecs_to_jiffies(msec); in __pm_wakeup_event()
794 void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument
802 __pm_wakeup_event(dev->power.wakeup, msec); in pm_wakeup_event()
/linux-4.4.14/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_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_module.h52 unsigned msec);
Dedac_mc.c564 static void edac_mc_workq_setup(struct mem_ctl_info *mci, unsigned msec, in edac_mc_workq_setup() argument
576 mod_delayed_work(edac_workqueue, &mci->work, msecs_to_jiffies(msec)); in edac_mc_workq_setup()
/linux-4.4.14/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.4.14/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.4.14/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-4.4.14/drivers/platform/chrome/
Dcros_ec_lightbar.c44 unsigned long msec = lb_interval_jiffies * 1000 / HZ; in interval_msec_show() local
46 return scnprintf(buf, PAGE_SIZE, "%lu\n", msec); in interval_msec_show()
53 unsigned long msec; in interval_msec_store() local
55 if (kstrtoul(buf, 0, &msec)) in interval_msec_store()
58 lb_interval_jiffies = msec * HZ / 1000; in interval_msec_store()
/linux-4.4.14/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.4.14/drivers/hv/
Dconnection.c432 u32 msec = 1; in vmbus_post_msg() local
465 msleep(msec); in vmbus_post_msg()
466 if (msec < 2048) in vmbus_post_msg()
467 msec *= 2; in vmbus_post_msg()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/Documentation/hwmon/
Dlm7333 (C/LSB) (msec) (msec)
Dds1621134 (C/LSB) (msec) (msec)
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/arch/powerpc/boot/dts/
Dmotionpro.dts19 blink-delay = <100>; // 100 msec
/linux-4.4.14/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.4.14/tools/perf/Documentation/
Dperf-trace.txt101 (in msec) and relative stddev.
106 average times (in msec) and relative stddev.
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi.c648 static bool hdmi_phy_wait_i2c_done(struct dw_hdmi *hdmi, int msec) in hdmi_phy_wait_i2c_done() argument
653 if (msec-- == 0) in hdmi_phy_wait_i2c_done()
736 u8 val, msec; in hdmi_phy_configure() local
839 msec = 5; in hdmi_phy_configure()
845 if (msec == 0) { in hdmi_phy_configure()
851 msec--; in hdmi_phy_configure()
/linux-4.4.14/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.4.14/drivers/net/hyperv/
Dnetvsc_drv.c125 u32 aread, awrite, i, msec = 10, retry = 0, retry_max = 20; in netvsc_close() local
163 msleep(msec); in netvsc_close()
165 if (msec < 1000) in netvsc_close()
166 msec *= 2; in netvsc_close()
/linux-4.4.14/security/selinux/
Dhooks.c5153 struct msg_security_struct *msec; in msg_msg_alloc_security() local
5155 msec = kzalloc(sizeof(struct msg_security_struct), GFP_KERNEL); in msg_msg_alloc_security()
5156 if (!msec) in msg_msg_alloc_security()
5159 msec->sid = SECINITSID_UNLABELED; in msg_msg_alloc_security()
5160 msg->security = msec; in msg_msg_alloc_security()
5167 struct msg_security_struct *msec = msg->security; in msg_msg_free_security() local
5170 kfree(msec); in msg_msg_free_security()
5275 struct msg_security_struct *msec; in selinux_msg_queue_msgsnd() local
5281 msec = msg->security; in selinux_msg_queue_msgsnd()
5286 if (msec->sid == SECINITSID_UNLABELED) { in selinux_msg_queue_msgsnd()
[all …]
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/dgnc/
Ddgnc_tty.c110 static int dgnc_tty_send_break(struct tty_struct *tty, int msec);
1929 static int dgnc_tty_send_break(struct tty_struct *tty, int msec) in dgnc_tty_send_break() argument
1952 switch (msec) { in dgnc_tty_send_break()
1954 msec = 0xFFFF; in dgnc_tty_send_break()
1957 msec = 0; in dgnc_tty_send_break()
1965 ch->ch_bd->bd_ops->send_break(ch, msec); in dgnc_tty_send_break()
/linux-4.4.14/arch/mips/include/asm/
Dsgiarcs.h140 unsigned short msec; member
/linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/freescale/
Dfec_main.c3248 int msec = 1; in fec_reset_phy() local
3254 of_property_read_u32(np, "phy-reset-duration", &msec); in fec_reset_phy()
3256 if (msec > 1000) in fec_reset_phy()
3257 msec = 1; in fec_reset_phy()
3269 msleep(msec); in fec_reset_phy()
/linux-4.4.14/drivers/misc/ti-st/
Dst_kim.c409 mdelay(((struct bts_action_delay *)action_ptr)->msec); in download_firmware()
/linux-4.4.14/drivers/iio/accel/
Dbmc150-accel-core.c223 int msec; member
373 return bmc150_accel_sample_upd_time[i].msec; in bmc150_accel_get_startup_times()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c1260 u16 msec = nvbios_rd16(bios, init->offset + 1); in init_ltime() local
1262 trace("LTIME\t0x%04x\n", msec); in init_ltime()
1266 mdelay(msec); in init_ltime()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c3792 static int dgap_tty_send_break(struct tty_struct *tty, int msec) in dgap_tty_send_break() argument
3815 switch (msec) { in dgap_tty_send_break()
3817 msec = 0xFFFF; in dgap_tty_send_break()
3820 msec = 1; in dgap_tty_send_break()
3823 msec /= 10; in dgap_tty_send_break()
3832 dgap_cmdw(ch, SBREAK, (u16)msec, 0); in dgap_tty_send_break()
/linux-4.4.14/Documentation/usb/
Dehci.txt151 microframes fit in a USB 1.1 frame; a microframe is 1 msec/8 = 125 usec.
/linux-4.4.14/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.c762 static u8 step_time_to_reg(unsigned int msec, u8 mode) in step_time_to_reg() argument
764 return clamp_val((mode ? (msec + 200) / 400 : in step_time_to_reg()
765 (msec + 50) / 100), 1, 255); in step_time_to_reg()
/linux-4.4.14/drivers/md/
Dmd.c3374 int msec = (mddev->safemode_delay*1000)/HZ; in safe_delay_show() local
3375 return sprintf(page, "%d.%03d\n", msec/1000, msec%1000); in safe_delay_show()
3380 unsigned long msec; in safe_delay_store() local
3387 if (strict_strtoul_scaled(cbuf, &msec, 3) < 0) in safe_delay_store()
3389 if (msec == 0) in safe_delay_store()
3393 unsigned long new_delay = (msec*HZ)/1000; in safe_delay_store()
/linux-4.4.14/net/packet/
Daf_packet.c559 unsigned int mbits = 0, msec = 0, div = 0, tmo = 0; in prb_calc_retire_blk_tmo() local
581 msec = 1; in prb_calc_retire_blk_tmo()
591 tmo = mbits * msec; in prb_calc_retire_blk_tmo()
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv_common.c1287 mdelay(delay->msec); in fm_download_firmware()
/linux-4.4.14/Documentation/
Dmd.txt253 period as a number of seconds. The default is 200msec (0.200).
/linux-4.4.14/Documentation/sound/alsa/
DALSA-Configuration.txt1025 in msec resolution, default value is 500 (0.5 sec)