Searched defs:seconds (Results 1 - 14 of 14) sorted by relevance

/drivers/rtc/
H A Drtc-bq32k.c19 #define BQ32K_SECONDS_MASK 0x7F /* Mask over seconds value */
31 uint8_t seconds; member in struct:bq32k_regs
88 tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK);
104 regs.seconds = bin2bcd(tm->tm_sec);
H A Drtc-mc13xxx.c63 unsigned int seconds, days1, days2; local
78 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTOD, &seconds);
90 if (seconds >= 86400 / 2)
99 s1970 = days1 * 86400 + seconds;
109 unsigned int seconds, days; local
113 seconds = secs % 86400;
134 * write seconds=0 to prevent a day switch between writing days
135 * and seconds below
145 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCTOD, seconds);
173 unsigned seconds, day local
216 unsigned seconds, days; local
[all...]
/drivers/scsi/qla4xxx/
H A Dql4_nvram.c207 unsigned int seconds = 30; local
223 } while (--seconds);
/drivers/ptp/
H A Dptp_clock.c60 s64 seconds; local
63 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder);
69 dst->t.sec = seconds;
/drivers/watchdog/
H A Dnv_tco.c59 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
H A DiTCO_wdt.c411 static int heartbeat = WATCHDOG_HEARTBEAT; /* in seconds */
413 MODULE_PARM_DESC(heartbeat, "Watchdog timeout in seconds. "
432 static inline unsigned int seconds_to_ticks(int seconds) argument
435 * every 0.6 seconds */
436 return (seconds * 10) / 6;
/drivers/power/
H A Dandroid_battery.c428 int seconds)
431 ktime_add(battery->last_poll, ktime_set(seconds, 0)));
427 android_bat_monitor_set_alarm(struct android_bat_data *battery, int seconds) argument
/drivers/scsi/
H A D3w-xxxx.c120 Increase timeout in tw_aen_drain_queue() to 30 seconds.
179 1.02.00.036 - Increase character ioctl timeout to 60 seconds.
299 static int tw_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument
317 if (time_after(jiffies, before + HZ * seconds))
328 static int tw_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) argument
346 if (time_after(jiffies, before + HZ * seconds))
H A Dinitio.c552 * @seconds: Recovery time
557 static int initio_reset_scsi(struct initio_host * host, int seconds) argument
570 initio_do_pause(seconds * HZ);
H A D3w-9xxx.c144 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 D3w-sas.c471 /* 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))
1285 static int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int seconds) argument
1296 if (time_after(jiffies, before + HZ * seconds))
/drivers/scsi/lpfc/
H A Dlpfc_attr.c658 * Can wait up to 5 seconds for the port ring buffers count
3843 * delayed by ra_tov seconds when Clean Address bit is cleared in FLOGI/FDISC
4408 unsigned long seconds; local
4509 seconds = get_seconds();
4510 if (seconds < psli->stats_start)
4511 hs->seconds_since_last_reset = seconds +
4514 hs->seconds_since_last_reset = seconds - psli->stats_start;
/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c111 unsigned int seconds = 3; local
120 } while (--seconds);
3284 /* Wait 3 seconds for reset to complete. */
/drivers/firewire/
H A Dohci.c1720 * This function has to be called at least every 64 seconds. The bus_time
2217 u32 lps, seconds, version, irqs; local
2273 seconds = lower_32_bits(get_seconds());
2274 reg_write(ohci, OHCI1394_IsochronousCycleTimer, seconds << 25);
2275 ohci->bus_time = seconds & ~0x3f;

Completed in 299 milliseconds