/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_time.h | 66 static inline unsigned long cfs_time_shift(int seconds) argument 68 return cfs_time_add(cfs_time_current(), cfs_time_seconds(seconds)); 84 static inline void cfs_slow_warning(unsigned long now, int seconds, char *msg) argument 92 #define CFS_RATELIMIT(seconds) \ 103 __next_message = cfs_time_shift(seconds); \
|
/drivers/rtc/ |
H A D | rtc-tps6586x.c | 74 unsigned long seconds; local 90 seconds = ticks >> 10; 91 seconds += rtc->epoch_start; 92 rtc_time_to_tm(seconds, tm); 101 unsigned long seconds; local 105 rtc_tm_to_time(tm, &seconds); 106 if (seconds < rtc->epoch_start) { 110 seconds -= rtc->epoch_start; 112 ticks = (unsigned long long)seconds << 10; 160 unsigned long seconds; local 216 unsigned long seconds; local [all...] |
H A D | rtc-mc13xxx.c | 65 unsigned int seconds, days1, days2; local 77 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTOD, &seconds); 86 rtc_time_to_tm(days1 * SEC_PER_DAY + seconds, tm); 94 unsigned int seconds, days; local 98 seconds = secs % SEC_PER_DAY; 119 * write seconds=0 to prevent a day switch between writing days 120 * and seconds below 130 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCTOD, seconds); 161 unsigned seconds, days; local 168 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTODA, &seconds); 204 unsigned seconds, days; local [all...] |
H A D | rtc-bq32k.c | 23 #define BQ32K_SECONDS_MASK 0x7F /* Mask over seconds value */ 39 uint8_t seconds; member in struct:bq32k_regs 96 tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK); 112 regs.seconds = bin2bcd(tm->tm_sec);
|
/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | linux-time.h | 88 static inline long cfs_time_seconds(int seconds) argument 90 return ((long)seconds) * HZ; 120 static inline __u64 cfs_time_shift_64(int seconds) argument 123 cfs_time_seconds(seconds));
|
/drivers/ptp/ |
H A D | ptp_clock.c | 58 s64 seconds; local 61 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder); 67 dst->t.sec = seconds;
|
/drivers/scsi/qla4xxx/ |
H A D | ql4_nvram.c | 207 unsigned int seconds = 30; local 223 } while (--seconds);
|
/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 323 uint64_t seconds; local 352 seconds = jiffies_to_msecs(jiffies) - hw->stats.n_reset_start; 353 do_div(seconds, 1000); 354 fhs->seconds_since_last_reset = seconds;
|
/drivers/watchdog/ |
H A D | nv_tco.c | 59 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */ 61 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (2<heartbeat<39, " 72 static inline unsigned char seconds_to_ticks(int seconds) argument 75 * every 0.6 seconds */ 76 return (seconds * 10) / 6; 121 * tmrval=seconds_to_ticks(t). Check that the count in seconds isn't
|
/drivers/scsi/ |
H A D | 3w-9xxx.c | 144 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds); 145 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds); 506 /* Convert system time in UTC to local time seconds since last 1438 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) argument 1444 if (twa_poll_status_gone(tw_dev, TW_STATUS_RESPONSE_QUEUE_EMPTY, seconds) == 0) { 1475 static int twa_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 1493 if (time_after(jiffies, before + HZ * seconds)) 1504 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 1521 if (time_after(jiffies, before + HZ * seconds))
|
H A D | BusLogic.h | 74 Define the default amount of time in seconds to wait between a Host Adapter 1209 static inline void blogic_delay(int seconds) argument 1211 mdelay(1000 * seconds);
|
H A D | 3w-sas.c | 471 /* Convert system time in UTC to local time seconds since last 558 static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) argument 582 if (time_after(jiffies, before + HZ * seconds)) 1284 static int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int seconds) argument 1295 if (time_after(jiffies, before + HZ * seconds))
|
H A D | 3w-xxxx.c | 120 Increase timeout in tw_aen_drain_queue() to 30 seconds. 179 1.02.00.036 - Increase character ioctl timeout to 60 seconds. 300 static int tw_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 318 if (time_after(jiffies, before + HZ * seconds)) 329 static int tw_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument 347 if (time_after(jiffies, before + HZ * seconds))
|
H A D | initio.c | 552 * @seconds: Recovery time 557 static int initio_reset_scsi(struct initio_host * host, int seconds) argument 570 initio_do_pause(seconds * HZ);
|
/drivers/staging/dgnc/ |
H A D | dgnc_driver.h | 175 int (*drain)(struct tty_struct *tty, uint seconds);
|
H A D | dgnc_cls.c | 58 static int cls_drain(struct tty_struct *tty, uint seconds); 962 static int cls_drain(struct tty_struct *tty, uint seconds) argument
|
H A D | dgnc_neo.c | 61 static int neo_drain(struct tty_struct *tty, uint seconds); 1339 static int neo_drain(struct tty_struct *tty, uint seconds) argument
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_init.c | 160 int seconds; local 171 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; 173 seconds = jiffies / HZ; 175 val |= seconds << 8; 309 u64 seconds; local 311 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; 312 if (seconds <= time_limit) 2103 /* Set timeout values with extra 2 seconds of buffer */
|
/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 679 * Can wait up to 5 seconds for the port ring buffers count 4618 # to complete in seconds. Value range is [5,180], default value is 60. 4732 * delayed by ra_tov seconds when Clean Address bit is cleared in FLOGI/FDISC 5318 unsigned long seconds; local 5419 seconds = get_seconds(); 5420 if (seconds < psli->stats_start) 5421 hs->seconds_since_last_reset = seconds + 5424 hs->seconds_since_last_reset = seconds - psli->stats_start;
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 67 int seconds); 588 int seconds) 594 u32 msecs = seconds * 1000; 2587 "seconds for crash dump collection and OCR " 2598 "operational after 240 seconds wait for IO " 2690 " seconds for scsi%d, status_reg = " 587 wait_and_poll(struct megasas_instance *instance, struct megasas_cmd *cmd, int seconds) argument
|
H A D | megaraid_sas_base.c | 89 MODULE_PARM_DESC(resetwaittime, "Wait time in seconds after I/O timeout " 185 int seconds); 919 int seconds; local 935 seconds = MEGASAS_ROUTINE_WAIT_TIME_VF; 937 seconds = MFI_POLL_TIMEOUT_SECS; 938 return wait_and_poll(instance, cmd, seconds); 945 * @timeout: Timeout in seconds 976 * @timeout: Timeout in seconds 2223 * This function waits for up to MEGASAS_RESET_WAIT_TIME seconds for FW to 3439 * This state should not last for more than 2 seconds [all...] |
/drivers/scsi/esas2r/ |
H A D | atvda.h | 952 u8 seconds; member in struct:atto_vda_date_and_time
|
/drivers/char/ |
H A D | Kconfig | 215 down for longer than approximately five seconds.
|
/drivers/media/platform/vivid/ |
H A D | vivid-vid-cap.c | 224 tc->seconds = (seq / fps) % 60;
|
/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 110 unsigned int seconds = 3; local 119 } while (--seconds); 3282 /* Wait 3 seconds for reset to complete. */
|