/drivers/base/power/ |
D | sysfs.c | 465 s64 msec = 0; in wakeup_total_time_show() local 470 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_show() 474 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_total_time_show() 482 s64 msec = 0; in wakeup_max_time_show() local 487 msec = ktime_to_ms(dev->power.wakeup->max_time); in wakeup_max_time_show() 491 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_max_time_show() 499 s64 msec = 0; in wakeup_last_time_show() local 504 msec = ktime_to_ms(dev->power.wakeup->last_time); in wakeup_last_time_show() 508 return enabled ? sprintf(buf, "%lld\n", msec) : sprintf(buf, "\n"); in wakeup_last_time_show() 518 s64 msec = 0; in wakeup_prevent_sleep_time_show() local [all …]
|
D | wakeup.c | 620 void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec) in __pm_wakeup_event() argument 632 if (!msec) { in __pm_wakeup_event() 637 expires = jiffies + msecs_to_jiffies(msec); in __pm_wakeup_event() 659 void pm_wakeup_event(struct device *dev, unsigned int msec) in pm_wakeup_event() argument 667 __pm_wakeup_event(dev->power.wakeup, msec); in pm_wakeup_event()
|
/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 | 51 unsigned msec);
|
D | edac_mc.c | 559 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()
|
/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()
|
/drivers/media/usb/tlg2300/ |
D | pd-dvb.c | 130 unsigned int msec ; in check_scan_ok() local 132 msec = jiffies_to_msecs(abs(nl)); in check_scan_ok() 133 return msec > 15000 ? true : false; in check_scan_ok() 144 unsigned int msec ; in fw_delay_overflow() local 146 msec = jiffies_to_msecs(abs(nl)); in fw_delay_overflow() 147 return msec > 800 ? true : false; in fw_delay_overflow()
|
/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.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()
|
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…
|
/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()
|
/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()
|
/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()
|
/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); 3320 …st_media(struct net_device *dev, s32 irqs, s32 irq_mask, s32 csr13, s32 csr14, s32 csr15, s32 msec) in test_media() argument 3327 lp->timeout = msec/100; in test_media() 3358 test_tp(struct net_device *dev, s32 msec) in test_tp() argument 3365 lp->timeout = msec/100; in test_tp() [all …]
|
/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()
|
/drivers/staging/imx-drm/ |
D | imx-hdmi.c | 658 static bool hdmi_phy_wait_i2c_done(struct imx_hdmi *hdmi, int msec) in hdmi_phy_wait_i2c_done() argument 661 if (msec-- == 0) in hdmi_phy_wait_i2c_done() 800 u8 val, msec; in hdmi_phy_configure() local 891 msec = 5; in hdmi_phy_configure() 897 if (msec == 0) { in hdmi_phy_configure() 903 msec--; in hdmi_phy_configure()
|
/drivers/rtc/ |
D | rtc-tegra.c | 112 unsigned long sec, msec; in tegra_rtc_read_time() local 119 msec = readl(info->rtc_base + TEGRA_RTC_REG_MILLI_SECONDS); in tegra_rtc_read_time()
|
/drivers/usb/host/ |
D | pci-quirks.c | 734 int msec = 1000; in ehci_bios_handoff() local 735 while ((cap & EHCI_USBLEGSUP_BIOS) && (msec > 0)) { in ehci_bios_handoff() 738 msec -= 10; in ehci_bios_handoff()
|
/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()
|
/drivers/usb/image/ |
D | mdc800.c | 346 static int mdc800_usb_waitForIRQ (int mode, int msec) in mdc800_usb_waitForIRQ() argument 350 wait_event_timeout(mdc800->irq_wait, mdc800->irq_woken, msec*HZ/1000); in mdc800_usb_waitForIRQ()
|
/drivers/staging/dgnc/ |
D | dgnc_tty.c | 127 static int dgnc_tty_send_break(struct tty_struct *tty, int msec); 2127 static int dgnc_tty_send_break(struct tty_struct *tty, int msec) in dgnc_tty_send_break() argument 2150 switch (msec) { in dgnc_tty_send_break() 2152 msec = 0xFFFF; in dgnc_tty_send_break() 2155 msec = 0; in dgnc_tty_send_break() 2163 ch->ch_bd->bd_ops->send_break(ch, msec); in dgnc_tty_send_break()
|
/drivers/staging/rts5208/ |
D | spi.c | 78 static int sf_polling_status(struct rtsx_chip *chip, int msec) in sf_polling_status() argument 90 retval = rtsx_send_cmd(chip, 0, msec); in sf_polling_status()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3063 int msec = 1; in fec_reset_phy() local 3069 of_property_read_u32(np, "phy-reset-duration", &msec); in fec_reset_phy() 3071 if (msec > 1000) in fec_reset_phy() 3072 msec = 1; in fec_reset_phy() 3084 msleep(msec); in fec_reset_phy()
|