/linux-4.4.14/include/sound/ |
D | soundfont.h | 121 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/ |
D | suspend_test.c | 40 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/ |
D | pm_wakeup.h | 109 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
|
D | ti_wilink_st.h | 329 u32 msec; member 335 u32 msec; member
|
D | ktime.h | 224 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/ |
D | sysfs.c | 461 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 …]
|
D | wakeup.c | 755 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/ |
D | edac_pci.c | 226 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
|
D | edac_device.c | 406 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()
|
D | edac_module.h | 52 unsigned msec);
|
D | edac_mc.c | 564 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/ |
D | da9052_wdt.c | 135 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/ |
D | rc-core.h | 244 #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/ |
D | lis302.txt | 30 - 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/ |
D | cros_ec_lightbar.c | 44 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/ |
D | stats.c | 55 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/ |
D | connection.c | 432 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/ |
D | vp702x.c | 101 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()
|
D | vp7045.h | 67 …t vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen,int msec);
|
D | vp702x.h | 110 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec…
|
D | vp7045.c | 28 …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/ |
D | leds-tca6507.c | 202 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/ |
D | radiotrack.txt | 78 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/ |
D | isci.h | 509 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/ |
D | lm73 | 33 (C/LSB) (msec) (msec)
|
D | ds1621 | 134 (C/LSB) (msec) (msec)
|
/linux-4.4.14/sound/synth/emux/ |
D | soundfont.c | 895 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/ |
D | mg_disk.c | 213 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/ |
D | pci.c | 721 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/ |
D | rtc-tegra.c | 110 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/ |
D | de4x5.c | 929 …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/ |
D | ehci-dbgp.c | 720 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/ |
D | motionpro.dts | 19 blink-delay = <100>; // 100 msec
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-bus-usb | 36 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
|
D | sysfs-class-tpm | 65 reports them in msec instead of usec and they need to be
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-trace.txt | 101 (in msec) and relative stddev. 106 average times (in msec) and relative stddev.
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 648 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/ |
D | pci-quirks.c | 722 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/ |
D | netvsc_drv.c | 125 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/ |
D | hooks.c | 5153 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/ |
D | imon.c | 1199 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/ |
D | mdc800.c | 346 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/ |
D | dgnc_tty.c | 110 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/ |
D | sgiarcs.h | 140 unsigned short msec; member
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | spi.c | 111 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/ |
D | sched-nice-design.txt | 40 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/ |
D | fec_main.c | 3248 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/ |
D | st_kim.c | 409 mdelay(((struct bts_action_delay *)action_ptr)->msec); in download_firmware()
|
/linux-4.4.14/drivers/iio/accel/ |
D | bmc150-accel-core.c | 223 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/ |
D | init.c | 1260 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/ |
D | dgap.c | 3792 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/ |
D | ehci.txt | 151 microframes fit in a USB 1.1 frame; a microframe is 1 msec/8 = 125 usec.
|
/linux-4.4.14/drivers/hwmon/ |
D | w83627ehf.c | 355 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()
|
D | nct6775.c | 762 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/ |
D | md.c | 3374 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/ |
D | af_packet.c | 559 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/ |
D | fmdrv_common.c | 1287 mdelay(delay->msec); in fm_download_firmware()
|
/linux-4.4.14/Documentation/ |
D | md.txt | 253 period as a number of seconds. The default is 200msec (0.200).
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | ALSA-Configuration.txt | 1025 in msec resolution, default value is 500 (0.5 sec)
|