/drivers/rtc/ |
D | rtc-tps6586x.c | 74 unsigned long seconds; in tps6586x_rtc_read_time() local 90 seconds = ticks >> 10; in tps6586x_rtc_read_time() 91 seconds += rtc->epoch_start; in tps6586x_rtc_read_time() 92 rtc_time_to_tm(seconds, tm); in tps6586x_rtc_read_time() 101 unsigned long seconds; in tps6586x_rtc_set_time() local 105 rtc_tm_to_time(tm, &seconds); in tps6586x_rtc_set_time() 106 if (seconds < rtc->epoch_start) { in tps6586x_rtc_set_time() 110 seconds -= rtc->epoch_start; in tps6586x_rtc_set_time() 112 ticks = (unsigned long long)seconds << 10; in tps6586x_rtc_set_time() 160 unsigned long seconds; in tps6586x_rtc_set_alarm() local [all …]
|
D | rtc-mc13xxx.c | 65 unsigned int seconds, days1, days2; in mc13xxx_rtc_read_time() local 77 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTOD, &seconds); in mc13xxx_rtc_read_time() 86 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm); in mc13xxx_rtc_read_time() 94 unsigned int seconds, days; in mc13xxx_rtc_set_mmss() local 98 days = div_s64_rem(secs, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_mmss() 129 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCTOD, seconds); in mc13xxx_rtc_set_mmss() 160 unsigned seconds, days; in mc13xxx_rtc_read_alarm() local 167 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCTODA, &seconds); in mc13xxx_rtc_read_alarm() 170 if (seconds >= SEC_PER_DAY) { in mc13xxx_rtc_read_alarm() 191 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm() [all …]
|
D | rtc-ds1685.c | 273 u8 seconds, minutes, hours, wday, mday, month, years; in ds1685_rtc_read_time() local 277 seconds = rtc->read(rtc, RTC_SECS); in ds1685_rtc_read_time() 293 tm->tm_sec = ds1685_rtc_bcd2bin(rtc, seconds, RTC_SECS_BCD_MASK, in ds1685_rtc_read_time() 322 u8 ctrlb, seconds, minutes, hours, wday, mday, month, years, century; in ds1685_rtc_set_time() local 325 seconds = ds1685_rtc_bin2bcd(rtc, tm->tm_sec, RTC_SECS_BIN_MASK, in ds1685_rtc_set_time() 369 rtc->write(rtc, RTC_SECS, seconds); in ds1685_rtc_set_time() 399 u8 seconds, minutes, hours, mday, ctrlb, ctrlc; in ds1685_rtc_read_alarm() local 404 seconds = rtc->read(rtc, RTC_SECS_ALARM); in ds1685_rtc_read_alarm() 424 if (likely(seconds < 0xc0)) in ds1685_rtc_read_alarm() 425 alrm->time.tm_sec = ds1685_rtc_bcd2bin(rtc, seconds, in ds1685_rtc_read_alarm() [all …]
|
D | rtc-bq32k.c | 39 uint8_t seconds; member 103 tm->tm_sec = bcd2bin(regs.seconds & BQ32K_SECONDS_MASK); in bq32k_rtc_read_time() 119 regs.seconds = bin2bcd(tm->tm_sec); in bq32k_rtc_set_time()
|
/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-time.h | 67 static inline long cfs_time_seconds(int seconds) in cfs_time_seconds() argument 69 return ((long)seconds) * msecs_to_jiffies(MSEC_PER_SEC); in cfs_time_seconds() 84 static inline __u64 cfs_time_shift_64(int seconds) in cfs_time_shift_64() argument 87 cfs_time_seconds(seconds)); in cfs_time_shift_64()
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_time.h | 62 static inline unsigned long cfs_time_shift(int seconds) in cfs_time_shift() argument 64 return cfs_time_add(cfs_time_current(), cfs_time_seconds(seconds)); in cfs_time_shift()
|
/drivers/staging/media/pulse8-cec/ |
D | TODO | 16 30 seconds (in practice once every 15 seconds would be good). When 23 2) Writing to the EEPROM can only be done once every 10 seconds.
|
/drivers/ptp/ |
D | ptp_clock.c | 58 s64 seconds; in enqueue_external_timestamp() local 61 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder); in enqueue_external_timestamp() 67 dst->t.sec = seconds; in enqueue_external_timestamp()
|
/drivers/hwmon/ |
D | ftsteutates.c | 70 seconds = 1, enumerator 244 if ((resolution == seconds && ret & BIT(1)) || in fts_wd_set_resolution() 250 if (resolution == seconds) in fts_wd_set_resolution() 266 enum WATCHDOG_RESOLUTION resolution = seconds; in fts_wd_set_timeout() 326 ret = fts_wd_set_resolution(data, seconds); in fts_watchdog_init() 335 data->resolution = ret & BIT(1) ? seconds : minutes; in fts_watchdog_init()
|
/drivers/scsi/qla4xxx/ |
D | ql4_nvram.c | 207 unsigned int seconds = 30; in ql4xxx_sem_spinlock() local 223 } while (--seconds); in ql4xxx_sem_spinlock()
|
/drivers/scsi/csiostor/ |
D | csio_attr.c | 323 uint64_t seconds; in csio_get_stats() local 352 seconds = jiffies_to_msecs(jiffies) - hw->stats.n_reset_start; in csio_get_stats() 353 do_div(seconds, 1000); in csio_get_stats() 354 fhs->seconds_since_last_reset = seconds; in csio_get_stats()
|
/drivers/platform/x86/ |
D | dell-laptop.c | 1112 u8 seconds; member 1191 info->seconds = (buffer->output[3] >> 0) & 0xFF; in kbd_get_info() 1411 if (kbd_info.seconds > 63) in kbd_init_info() 1412 kbd_info.seconds = 63; in kbd_init_info() 1519 if (value > kbd_info.seconds) in kbd_led_timeout_store() 1566 if (value <= kbd_info.seconds && kbd_info.seconds) { in kbd_led_timeout_store()
|
/drivers/scsi/aic7xxx/ |
D | Kconfig.aic79xx | 37 int "Initial bus reset delay in milli-seconds" 45 Default: 5000 (5 seconds)
|
D | Kconfig.aic7xxx | 42 int "Initial bus reset delay in milli-seconds" 50 Default: 5000 (5 seconds)
|
/drivers/watchdog/ |
D | nv_tco.c | 72 static inline unsigned char seconds_to_ticks(int seconds) in seconds_to_ticks() argument 76 return (seconds * 10) / 6; in seconds_to_ticks()
|
/drivers/staging/lustre/ |
D | sysfs-fs-lustre | 53 Unit: seconds, default: 100 97 Controls minimum adaptive timeout in seconds. If you encounter 108 Controls maximum adaptive timeout in seconds. If at_max timeout 121 in processing in seconds. Normally a server-side parameter, it 135 seconds.. 142 Controls for how many seconds to remember slowest events 424 values (in seconds). 577 Number of seconds with no write activity for this target
|
/drivers/ata/ |
D | libata-transport.c | 496 u64 seconds; in ata_show_ering() local 499 seconds = div_u64_rem(ent->timestamp, HZ, &rem); in ata_show_ering() 501 "[%5llu.%09lu]", seconds, in ata_show_ering()
|
/drivers/scsi/ |
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); 1417 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) in twa_poll_response() argument 1423 if (twa_poll_status_gone(tw_dev, TW_STATUS_RESPONSE_QUEUE_EMPTY, seconds) == 0) { in twa_poll_response() 1454 static int twa_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) in twa_poll_status() argument 1472 if (time_after(jiffies, before + HZ * seconds)) in twa_poll_status() 1483 static int twa_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) in twa_poll_status_gone() argument 1500 if (time_after(jiffies, before + HZ * seconds)) in twa_poll_status_gone()
|
D | BusLogic.h | 1209 static inline void blogic_delay(int seconds) in blogic_delay() argument 1211 mdelay(1000 * seconds); in blogic_delay()
|
D | 3w-sas.c | 525 static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) in twl_poll_response() argument 549 if (time_after(jiffies, before + HZ * seconds)) in twl_poll_response() 1242 …c int twl_poll_register(TW_Device_Extension *tw_dev, void *reg, u32 value, u32 result, int seconds) in twl_poll_register() argument 1253 if (time_after(jiffies, before + HZ * seconds)) in twl_poll_register()
|
D | 3w-xxxx.c | 300 static int tw_poll_status(TW_Device_Extension *tw_dev, u32 flag, int seconds) in tw_poll_status() argument 318 if (time_after(jiffies, before + HZ * seconds)) in tw_poll_status() 329 static int tw_poll_status_gone(TW_Device_Extension *tw_dev, u32 flag, int seconds) in tw_poll_status_gone() argument 347 if (time_after(jiffies, before + HZ * seconds)) in tw_poll_status_gone()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_init.c | 160 int seconds; in qlcnic_83xx_idc_update_audit_reg() local 171 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; in qlcnic_83xx_idc_update_audit_reg() 173 seconds = jiffies / HZ; in qlcnic_83xx_idc_update_audit_reg() 175 val |= seconds << 8; in qlcnic_83xx_idc_update_audit_reg() 309 u64 seconds; in qlcnic_83xx_idc_check_timeout() local 311 seconds = jiffies / HZ - adapter->ahw->idc.sec_counter; in qlcnic_83xx_idc_check_timeout() 312 if (seconds <= time_limit) in qlcnic_83xx_idc_check_timeout()
|
/drivers/staging/dgnc/ |
D | dgnc_driver.h | 125 int (*drain)(struct tty_struct *tty, uint seconds);
|
D | dgnc_neo.c | 44 static int neo_drain(struct tty_struct *tty, uint seconds); 1295 static int neo_drain(struct tty_struct *tty, uint seconds) in neo_drain() argument 1323 msecs_to_jiffies(seconds * 1000)); in neo_drain()
|
/drivers/rapidio/ |
D | Kconfig | 7 int "Discovery timeout duration (seconds)"
|