/linux-master/drivers/media/usb/dvb-usb/ |
H A D | vp702x.h | 111 extern int vp702x_usb_inout_op(struct dvb_usb_device *d, u8 *o, int olen, u8 *i, int ilen, int msec);
|
H A D | vp702x.c | 98 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 D | da9052_wdt.c | 112 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 D | sgiarcs.h | 142 unsigned short msec; member in struct:linux_tinfo
|
/linux-master/drivers/accel/habanalabs/common/pci/ |
H A D | pci.c | 94 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 D | acpi_tad.c | 63 u16 msec; /* 1 - 1000 */ member in struct:acpi_tad_rt 215 rt.msec = 0;
|
/linux-master/drivers/base/power/ |
H A D | sysfs.c | 456 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 D | wakeup.c | 783 * @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 D | btintel.c | 1838 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 D | hci_ll.c | 575 msleep(((struct bts_action_delay *)action_ptr)->msec);
|
/linux-master/drivers/edac/ |
H A D | edac_device.c | 289 * 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 D | edac_module.h | 56 *edac_dev, unsigned long msec);
|
H A D | edac_pci.c | 167 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 D | dw-hdmi.c | 1337 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 D | init.c | 1267 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 D | aspeed-pwm-tacho.c | 530 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 D | nct6775-core.c | 925 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 D | w83627ehf.c | 261 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 D | bmc150-accel-core.c | 175 int msec; member in struct:__anon22 327 return bmc150_accel_sample_upd_time[i].msec;
|
/linux-master/drivers/leds/ |
H A D | leds-tca6507.c | 17 * 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 D | md.c | 107 /* 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 D | msp3400-driver.c | 312 int msp_sleep(struct msp_state *state, int msec) argument 316 timeout = msec < 0 ? MAX_SCHEDULE_TIMEOUT : msecs_to_jiffies(msec);
|
H A D | msp3400-driver.h | 137 int msp_sleep(struct msp_state *state, int msec);
|
/linux-master/drivers/media/radio/wl128x/ |
H A D | fmdrv_common.c | 1278 mdelay(delay->msec);
|
/linux-master/drivers/media/rc/ |
H A D | imon.c | 1185 long msec, msec_hit; local 1188 msec = ktime_ms_delta(ct, prev_time); 1191 if (msec > 100) {
|