Searched refs:msec (Results 1 - 25 of 92) sorted by path

1234

/linux-master/drivers/media/usb/dvb-usb/
H A Dvp702x.h111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec);
H A Dvp702x.c98 int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec) argument
106 msleep(msec);
114 int olen, u8 *i, int ilen, int msec)
143 ret = vp702x_usb_inout_op(d, buf, olen+2, buf, ilen+1, msec);
113 vp702x_usb_inout_cmd(struct dvb_usb_device *d, u8 cmd, u8 *o, int olen, u8 *i, int ilen, int msec) argument
/linux-master/drivers/watchdog/
H A Dda9052_wdt.c112 unsigned long msec, jnow = jiffies; local
119 msec = (jnow - driver_data->jpast) * 1000/HZ;
120 if (msec < DA9052_TWDMIN)
121 mdelay(msec);
/linux-master/arch/mips/include/asm/
H A Dsgiarcs.h142 unsigned short msec; member in struct:linux_tinfo
/linux-master/drivers/accel/habanalabs/common/pci/
H A Dpci.c94 u64 msec; local
98 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC;
100 msec = HL_PCI_ELBI_TIMEOUT_MSEC;
108 timeout = ktime_add_ms(ktime_get(), msec);
157 u64 msec; local
161 msec = HL_PLDM_PCI_ELBI_TIMEOUT_MSEC;
163 msec = HL_PCI_ELBI_TIMEOUT_MSEC;
173 timeout = ktime_add_ms(ktime_get(), msec);
/linux-master/drivers/acpi/
H A Dacpi_tad.c63 u16 msec; /* 1 - 1000 */ member in struct:acpi_tad_rt
215 rt.msec = 0;
/linux-master/drivers/base/power/
H A Dsysfs.c456 s64 msec; local
461 msec = ktime_to_ms(dev->power.wakeup->total_time);
468 return sysfs_emit(buf, "%lld\n", msec);
476 s64 msec; local
481 msec = ktime_to_ms(dev->power.wakeup->max_time);
488 return sysfs_emit(buf, "%lld\n", msec);
497 s64 msec; local
502 msec = ktime_to_ms(dev->power.wakeup->last_time);
509 return sysfs_emit(buf, "%lld\n", msec);
527 s64 msec; local
[all...]
H A Dwakeup.c783 * @msec: Anticipated event processing time (in milliseconds).
787 * approximately @msec milliseconds to be processed by the kernel. If @ws is
788 * not active, activate it. If @msec is nonzero, set up the @ws' timer to
793 void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard) argument
805 if (!msec) {
810 expires = jiffies + msecs_to_jiffies(msec);
827 * @msec: Anticipated event processing time (in milliseconds).
832 void pm_wakeup_dev_event(struct device *dev, unsigned int msec, bool hard) argument
840 pm_wakeup_ws_event(dev->power.wakeup, msec, hard);
/linux-master/drivers/bluetooth/
H A Dbtintel.c1838 static int btintel_download_wait(struct hci_dev *hdev, ktime_t calltime, int msec) argument
1850 msecs_to_jiffies(msec));
1875 static int btintel_boot_wait(struct hci_dev *hdev, ktime_t calltime, int msec) argument
1885 msecs_to_jiffies(msec));
H A Dhci_ll.c575 msleep(((struct bts_action_delay *)action_ptr)->msec);
/linux-master/drivers/edac/
H A Dedac_device.c289 * if the number of msec is for 1 sec, then adjust to the next
302 * passing in the new delay period in msec
305 unsigned msec)
309 /* take the arg 'msec' and set it into the control structure
313 edac_dev->poll_msec = msec;
314 edac_dev->delay = msecs_to_jiffies(msec);
351 unsigned long msec)
353 edac_dev->poll_msec = msec;
354 edac_dev->delay = msecs_to_jiffies(msec);
304 edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, unsigned msec) argument
350 edac_device_reset_delay_period(struct edac_device_ctl_info *edac_dev, unsigned long msec) argument
H A Dedac_module.h56 *edac_dev, unsigned long msec);
H A Dedac_pci.c167 int msec; local
183 msec = edac_pci_get_poll_msec();
184 if (msec == 1000)
185 delay = round_jiffies_relative(msecs_to_jiffies(msec));
187 delay = msecs_to_jiffies(msec);
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c1337 static bool hdmi_phy_wait_i2c_done(struct dw_hdmi *hdmi, int msec) argument
1342 if (msec-- == 0)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c1267 u16 msec = nvbios_rd16(bios, init->offset + 1); local
1269 trace("LTIME\t0x%04x\n", msec);
1273 mdelay(msec);
/linux-master/drivers/hwmon/
H A Daspeed-pwm-tacho.c530 u32 raw_data, tach_div, clk_source, msec, usec, val; local
542 msec = (1000 / aspeed_get_fan_tach_ch_measure_period(priv, type));
543 usec = msec * 1000;
H A Dnct6775-core.c925 static u8 step_time_to_reg(unsigned int msec, u8 mode) argument
927 return clamp_val((mode ? (msec + 200) / 400 :
928 (msec + 50) / 100), 1, 255);
H A Dw83627ehf.c261 static inline u8 step_time_to_reg(unsigned int msec, u8 mode) argument
263 return clamp_val((mode ? (msec + 50) / 100 : (msec + 200) / 400),
/linux-master/drivers/iio/accel/
H A Dbmc150-accel-core.c175 int msec; member in struct:__anon22
327 return bmc150_accel_sample_upd_time[i].msec;
/linux-master/drivers/leds/
H A Dleds-tca6507.c17 * 500usec intervals in each 8msec that the led is 'on'. The levels
190 static int choose_times(int msec, int *c1p, int *c2p) argument
193 * Choose two timecodes which add to 'msec' as near as
196 * If 'msec' is even, the first will not be smaller than the
197 * second. If 'msec' is odd, the first will not be larger
199 * If we cannot get a sum within 1/8 of 'msec' fail with
207 int tmax = msec * 9 / 8;
208 int tmin = msec * 7 / 8;
228 d = abs(msec - tt);
236 return msec;
[all...]
/linux-master/drivers/md/
H A Dmd.c107 /* Default safemode delay: 200 msec */
3931 unsigned int msec = ((unsigned long)mddev->safemode_delay*1000)/HZ; local
3933 return sprintf(page, "%u.%03u\n", msec/1000, msec%1000);
3938 unsigned long msec; local
3945 if (strict_strtoul_scaled(cbuf, &msec, 3) < 0 || msec > UINT_MAX / HZ)
3947 if (msec == 0)
3951 unsigned long new_delay = (msec*HZ)/1000;
4416 * like active, but no writes have been seen for a while (100msec)
[all...]
/linux-master/drivers/media/i2c/
H A Dmsp3400-driver.c312 int msp_sleep(struct msp_state *state, int msec) argument
316 timeout = msec < 0 ? MAX_SCHEDULE_TIMEOUT : msecs_to_jiffies(msec);
H A Dmsp3400-driver.h137 int msp_sleep(struct msp_state *state, int msec);
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv_common.c1278 mdelay(delay->msec);
/linux-master/drivers/media/rc/
H A Dimon.c1185 long msec, msec_hit; local
1188 msec = ktime_ms_delta(ct, prev_time);
1191 if (msec > 100) {

Completed in 620 milliseconds

1234