/linux-4.4.14/include/asm-generic/ |
D | rtc.h | 48 static inline unsigned int __get_rtc_time(struct rtc_time *time) in __get_rtc_time() argument 77 time->tm_sec = CMOS_READ(RTC_SECONDS); in __get_rtc_time() 78 time->tm_min = CMOS_READ(RTC_MINUTES); in __get_rtc_time() 79 time->tm_hour = CMOS_READ(RTC_HOURS); in __get_rtc_time() 80 time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in __get_rtc_time() 81 time->tm_mon = CMOS_READ(RTC_MONTH); in __get_rtc_time() 82 time->tm_year = CMOS_READ(RTC_YEAR); in __get_rtc_time() 96 time->tm_sec = bcd2bin(time->tm_sec); in __get_rtc_time() 97 time->tm_min = bcd2bin(time->tm_min); in __get_rtc_time() 98 time->tm_hour = bcd2bin(time->tm_hour); in __get_rtc_time() [all …]
|
/linux-4.4.14/sound/core/seq/ |
D | seq_prioq.c | 106 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp() 109 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp() 123 if (a->time.tick > b->time.tick) in compare_timestamp_rel() 125 else if (a->time.tick == b->time.tick) in compare_timestamp_rel() 131 if (a->time.time.tv_sec > b->time.time.tv_sec) in compare_timestamp_rel() 133 else if (a->time.time.tv_sec == b->time.time.tv_sec) { in compare_timestamp_rel() 134 if (a->time.time.tv_nsec > b->time.time.tv_nsec) in compare_timestamp_rel() 136 else if (a->time.time.tv_nsec == b->time.time.tv_nsec) in compare_timestamp_rel() 277 if (cell->event.time.tick) in prioq_match() 281 if (cell->event.time.time.tv_sec || in prioq_match() [all …]
|
D | seq_queue.c | 276 &cell->event.time.tick)) { in snd_seq_check_queue() 290 &cell->event.time.time)) { in snd_seq_check_queue() 328 cell->event.time.tick += q->timer->tick.cur_tick; in snd_seq_enqueue_event() 332 snd_seq_inc_real_time(&cell->event.time.time, in snd_seq_enqueue_event() 664 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 707 if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { in snd_seq_queue_process_event() 713 if (snd_seq_timer_set_position_time(q->timer, ev->data.queue.param.time.time) == 0) { in snd_seq_queue_process_event()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 88 s64 time; in nvkm_subdev_fini() local 91 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini() 108 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini() 109 nvkm_trace(subdev, "%s completed in %lldus\n", action, time); in nvkm_subdev_fini() 116 s64 time; in nvkm_subdev_preinit() local 119 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit() 129 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit() 130 nvkm_trace(subdev, "preinit completed in %lldus\n", time); in nvkm_subdev_preinit() 137 s64 time; in nvkm_subdev_init() local 141 time = ktime_to_us(ktime_get()); in nvkm_subdev_init() [all …]
|
D | object.c | 115 s64 time; in nvkm_object_fini() local 119 time = ktime_to_us(ktime_get()); in nvkm_object_fini() 136 time = ktime_to_us(ktime_get()) - time; in nvkm_object_fini() 137 nvif_debug(object, "%s completed in %lldus\n", action, time); in nvkm_object_fini() 157 s64 time; in nvkm_object_init() local 161 time = ktime_to_us(ktime_get()); in nvkm_object_init() 175 time = ktime_to_us(ktime_get()) - time; in nvkm_object_init() 176 nvif_debug(object, "init completed in %lldus\n", time); in nvkm_object_init() 194 s64 time; in nvkm_object_dtor() local 197 time = ktime_to_us(ktime_get()); in nvkm_object_dtor() [all …]
|
D | engine.c | 92 s64 time; in nvkm_engine_init() local 101 time = ktime_to_us(ktime_get()); in nvkm_engine_init() 109 time = ktime_to_us(ktime_get()) - time; in nvkm_engine_init() 110 nvkm_trace(subdev, "one-time init completed in %lldus\n", time); in nvkm_engine_init()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-pcf50633.c | 56 u_int8_t time[PCF50633_TI_EXTENT]; member 69 rtc->tm_sec = bcd2bin(pcf->time[PCF50633_TI_SEC]); in pcf2rtc_time() 70 rtc->tm_min = bcd2bin(pcf->time[PCF50633_TI_MIN]); in pcf2rtc_time() 71 rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]); in pcf2rtc_time() 72 rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]); in pcf2rtc_time() 73 rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]); in pcf2rtc_time() 74 rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1; in pcf2rtc_time() 75 rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; in pcf2rtc_time() 80 pcf->time[PCF50633_TI_SEC] = bin2bcd(rtc->tm_sec); in rtc2pcf_time() 81 pcf->time[PCF50633_TI_MIN] = bin2bcd(rtc->tm_min); in rtc2pcf_time() [all …]
|
D | rtc-dm355evm.c | 39 union evm_time time; in dm355evm_rtc_read_time() local 52 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time() 54 time.bytes[0] = status; in dm355evm_rtc_read_time() 59 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time() 61 time.bytes[1] = status; in dm355evm_rtc_read_time() 66 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time() 68 time.bytes[2] = status; in dm355evm_rtc_read_time() 73 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time() 75 time.bytes[3] = status; in dm355evm_rtc_read_time() 79 dev_dbg(dev, "read timestamp %08x\n", time.value); in dm355evm_rtc_read_time() [all …]
|
D | rtc-wm8350.c | 100 u16 time[4]; in wm8350_rtc_settime() local 104 time[0] = tm->tm_sec; in wm8350_rtc_settime() 105 time[0] |= tm->tm_min << WM8350_RTC_MINS_SHIFT; in wm8350_rtc_settime() 106 time[1] = tm->tm_hour; in wm8350_rtc_settime() 107 time[1] |= (tm->tm_wday + 1) << WM8350_RTC_DAY_SHIFT; in wm8350_rtc_settime() 108 time[2] = tm->tm_mday; in wm8350_rtc_settime() 109 time[2] |= (tm->tm_mon + 1) << WM8350_RTC_MTH_SHIFT; in wm8350_rtc_settime() 110 time[3] = ((tm->tm_year + 1900) / 100) << WM8350_RTC_YHUNDREDS_SHIFT; in wm8350_rtc_settime() 111 time[3] |= (tm->tm_year + 1900) % 100; in wm8350_rtc_settime() 114 time[0], time[1], time[2], time[3]); in wm8350_rtc_settime() [all …]
|
D | rtc-ds3232.c | 103 static int ds3232_read_time(struct device *dev, struct rtc_time *time) in ds3232_read_time() argument 135 time->tm_sec = bcd2bin(second); in ds3232_read_time() 136 time->tm_min = bcd2bin(minute); in ds3232_read_time() 140 time->tm_hour = bcd2bin(hour & 0x1F) + 12; in ds3232_read_time() 142 time->tm_hour = bcd2bin(hour & 0x1F); in ds3232_read_time() 144 time->tm_hour = bcd2bin(hour); in ds3232_read_time() 148 time->tm_wday = bcd2bin(week) - 1; in ds3232_read_time() 149 time->tm_mday = bcd2bin(day); in ds3232_read_time() 151 time->tm_mon = bcd2bin(month & 0x7F) - 1; in ds3232_read_time() 155 time->tm_year = bcd2bin(year) + add_century; in ds3232_read_time() [all …]
|
D | rtc-ds1305.c | 174 static int ds1305_get_time(struct device *dev, struct rtc_time *time) in ds1305_get_time() argument 194 time->tm_sec = bcd2bin(buf[DS1305_SEC]); in ds1305_get_time() 195 time->tm_min = bcd2bin(buf[DS1305_MIN]); in ds1305_get_time() 196 time->tm_hour = bcd2hour(buf[DS1305_HOUR]); in ds1305_get_time() 197 time->tm_wday = buf[DS1305_WDAY] - 1; in ds1305_get_time() 198 time->tm_mday = bcd2bin(buf[DS1305_MDAY]); in ds1305_get_time() 199 time->tm_mon = bcd2bin(buf[DS1305_MON]) - 1; in ds1305_get_time() 200 time->tm_year = bcd2bin(buf[DS1305_YEAR]) + 100; in ds1305_get_time() 204 "read", time->tm_sec, time->tm_min, in ds1305_get_time() 205 time->tm_hour, time->tm_mday, in ds1305_get_time() [all …]
|
D | rtc-rk808.c | 76 time64_t time = rtc_tm_to_time64(tm); in rockchip_to_gregorian() local 77 rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); in rockchip_to_gregorian() 83 time64_t time = rtc_tm_to_time64(tm); in gregorian_to_rockchip() local 84 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip() 91 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip() 205 alrm->time.tm_sec = bcd2bin(alrm_data[0] & SECONDS_REG_MSK); in rk808_rtc_readalarm() 206 alrm->time.tm_min = bcd2bin(alrm_data[1] & MINUTES_REG_MAK); in rk808_rtc_readalarm() 207 alrm->time.tm_hour = bcd2bin(alrm_data[2] & HOURS_REG_MSK); in rk808_rtc_readalarm() 208 alrm->time.tm_mday = bcd2bin(alrm_data[3] & DAYS_REG_MSK); in rk808_rtc_readalarm() 209 alrm->time.tm_mon = (bcd2bin(alrm_data[4] & MONTHS_REG_MSK)) - 1; in rk808_rtc_readalarm() [all …]
|
D | rtc-spear.c | 209 unsigned int time, date; in spear_rtc_read_time() local 214 time = readl(config->ioaddr + TIME_REG); in spear_rtc_read_time() 216 tm->tm_sec = (time >> SECOND_SHIFT) & SECOND_MASK; in spear_rtc_read_time() 217 tm->tm_min = (time >> MINUTE_SHIFT) & MIN_MASK; in spear_rtc_read_time() 218 tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_time() 238 unsigned int time, date; in spear_rtc_set_time() local 244 time = (tm->tm_sec << SECOND_SHIFT) | (tm->tm_min << MINUTE_SHIFT) | in spear_rtc_set_time() 248 writel(time, config->ioaddr + TIME_REG); in spear_rtc_set_time() 265 unsigned int time, date; in spear_rtc_read_alarm() local 269 time = readl(config->ioaddr + ALARM_TIME_REG); in spear_rtc_read_alarm() [all …]
|
D | rtc-proc.c | 62 if ((unsigned int)alrm.time.tm_hour <= 24) in rtc_proc_show() 63 seq_printf(seq, "%02d:", alrm.time.tm_hour); in rtc_proc_show() 66 if ((unsigned int)alrm.time.tm_min <= 59) in rtc_proc_show() 67 seq_printf(seq, "%02d:", alrm.time.tm_min); in rtc_proc_show() 70 if ((unsigned int)alrm.time.tm_sec <= 59) in rtc_proc_show() 71 seq_printf(seq, "%02d\n", alrm.time.tm_sec); in rtc_proc_show() 76 if ((unsigned int)alrm.time.tm_year <= 200) in rtc_proc_show() 77 seq_printf(seq, "%04d-", alrm.time.tm_year + 1900); in rtc_proc_show() 80 if ((unsigned int)alrm.time.tm_mon <= 11) in rtc_proc_show() 81 seq_printf(seq, "%02d-", alrm.time.tm_mon + 1); in rtc_proc_show() [all …]
|
D | rtc-pl031.c | 130 unsigned long time; in pl031_stv2_tm_to_time() local 133 rtc_tm_to_time(tm, &time); in pl031_stv2_tm_to_time() 134 rtc_time_to_tm(time, &calc_tm); in pl031_stv2_tm_to_time() 182 unsigned long time; in pl031_stv2_set_time() local 187 ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year); in pl031_stv2_set_time() 190 writel(time, ldata->base + RTC_LR); in pl031_stv2_set_time() 202 readl(ldata->base + RTC_YMR), &alarm->time); in pl031_stv2_read_alarm() 213 unsigned long time; in pl031_stv2_set_alarm() local 218 ret = rtc_valid_tm(&alarm->time); in pl031_stv2_set_alarm() 220 ret = pl031_stv2_tm_to_time(dev, &alarm->time, in pl031_stv2_set_alarm() [all …]
|
D | rtc-mrst.c | 89 static int mrst_read_time(struct device *dev, struct rtc_time *time) in mrst_read_time() argument 97 time->tm_sec = vrtc_cmos_read(RTC_SECONDS); in mrst_read_time() 98 time->tm_min = vrtc_cmos_read(RTC_MINUTES); in mrst_read_time() 99 time->tm_hour = vrtc_cmos_read(RTC_HOURS); in mrst_read_time() 100 time->tm_mday = vrtc_cmos_read(RTC_DAY_OF_MONTH); in mrst_read_time() 101 time->tm_mon = vrtc_cmos_read(RTC_MONTH); in mrst_read_time() 102 time->tm_year = vrtc_cmos_read(RTC_YEAR); in mrst_read_time() 106 time->tm_year += 72; in mrst_read_time() 107 time->tm_mon--; in mrst_read_time() 108 return rtc_valid_tm(time); in mrst_read_time() [all …]
|
D | rtc-vr41xx.c | 139 static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time) in vr41xx_rtc_read_time() argument 146 rtc_time_to_tm(epoch_sec + elapsed_sec, time); in vr41xx_rtc_read_time() 151 static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time) in vr41xx_rtc_set_time() argument 156 current_sec = mktime(time->tm_year + 1900, time->tm_mon + 1, time->tm_mday, in vr41xx_rtc_set_time() 157 time->tm_hour, time->tm_min, time->tm_sec); in vr41xx_rtc_set_time() 167 struct rtc_time *time = &wkalrm->time; in vr41xx_rtc_read_alarm() local 178 rtc_time_to_tm((high << 17) | (mid << 1) | (low >> 15), time); in vr41xx_rtc_read_alarm() 186 struct rtc_time *time = &wkalrm->time; in vr41xx_rtc_set_alarm() local 188 alarm_sec = mktime(time->tm_year + 1900, time->tm_mon + 1, time->tm_mday, in vr41xx_rtc_set_alarm() 189 time->tm_hour, time->tm_min, time->tm_sec); in vr41xx_rtc_set_alarm()
|
D | interface.c | 180 if (rtc_valid_tm(&alarm->time) == 0) in __rtc_read_alarm() 197 if (alarm->time.tm_sec == -1) in __rtc_read_alarm() 198 alarm->time.tm_sec = now.tm_sec; in __rtc_read_alarm() 199 if (alarm->time.tm_min == -1) in __rtc_read_alarm() 200 alarm->time.tm_min = now.tm_min; in __rtc_read_alarm() 201 if (alarm->time.tm_hour == -1) in __rtc_read_alarm() 202 alarm->time.tm_hour = now.tm_hour; in __rtc_read_alarm() 205 if (alarm->time.tm_mday < 1 || alarm->time.tm_mday > 31) { in __rtc_read_alarm() 206 alarm->time.tm_mday = now.tm_mday; in __rtc_read_alarm() 209 if ((unsigned)alarm->time.tm_mon >= 12) { in __rtc_read_alarm() [all …]
|
D | rtc-cmos.c | 223 t->time.tm_mday = -1; in cmos_read_alarm() 224 t->time.tm_mon = -1; in cmos_read_alarm() 227 t->time.tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm() 228 t->time.tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm() 229 t->time.tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm() 233 t->time.tm_mday = CMOS_READ(cmos->day_alrm) & 0x3f; in cmos_read_alarm() 234 if (!t->time.tm_mday) in cmos_read_alarm() 235 t->time.tm_mday = -1; in cmos_read_alarm() 238 t->time.tm_mon = CMOS_READ(cmos->mon_alrm); in cmos_read_alarm() 239 if (!t->time.tm_mon) in cmos_read_alarm() [all …]
|
D | rtc-mv.c | 119 alm->time.tm_sec = bcd2bin(second); in mv_rtc_read_alarm() 120 alm->time.tm_min = bcd2bin(minute); in mv_rtc_read_alarm() 121 alm->time.tm_hour = bcd2bin(hour); in mv_rtc_read_alarm() 122 alm->time.tm_mday = bcd2bin(day); in mv_rtc_read_alarm() 123 alm->time.tm_wday = bcd2bin(wday); in mv_rtc_read_alarm() 124 alm->time.tm_mon = bcd2bin(month) - 1; in mv_rtc_read_alarm() 126 alm->time.tm_year = bcd2bin(year) + 100; in mv_rtc_read_alarm() 128 if (rtc_valid_tm(&alm->time) < 0) { in mv_rtc_read_alarm() 130 rtc_time_to_tm(0, &alm->time); in mv_rtc_read_alarm() 143 if (alm->time.tm_sec >= 0) in mv_rtc_set_alarm() [all …]
|
D | rtc-vt8500.c | 112 u32 date, time; in vt8500_rtc_read_time() local 115 time = readl(vt8500_rtc->regbase + VT8500_RTC_TR); in vt8500_rtc_read_time() 117 tm->tm_sec = bcd2bin(time & TIME_SEC_MASK); in vt8500_rtc_read_time() 118 tm->tm_min = bcd2bin((time & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_time() 119 tm->tm_hour = bcd2bin((time & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_time() 124 tm->tm_wday = (time & TIME_DOW_MASK) >> TIME_DOW_S; in vt8500_rtc_read_time() 161 alrm->time.tm_mday = bcd2bin((alarm & ALARM_DAY_MASK) >> ALARM_DAY_S); in vt8500_rtc_read_alarm() 162 alrm->time.tm_hour = bcd2bin((alarm & TIME_HOUR_MASK) >> TIME_HOUR_S); in vt8500_rtc_read_alarm() 163 alrm->time.tm_min = bcd2bin((alarm & TIME_MIN_MASK) >> TIME_MIN_S); in vt8500_rtc_read_alarm() 164 alrm->time.tm_sec = bcd2bin((alarm & TIME_SEC_MASK)); in vt8500_rtc_read_alarm() [all …]
|
D | rtc-ds1307.c | 475 t->time.tm_sec = bcd2bin(ds1307->regs[0] & 0x7f); in ds1337_read_alarm() 476 t->time.tm_min = bcd2bin(ds1307->regs[1] & 0x7f); in ds1337_read_alarm() 477 t->time.tm_hour = bcd2bin(ds1307->regs[2] & 0x3f); in ds1337_read_alarm() 478 t->time.tm_mday = bcd2bin(ds1307->regs[3] & 0x3f); in ds1337_read_alarm() 479 t->time.tm_mon = -1; in ds1337_read_alarm() 480 t->time.tm_year = -1; in ds1337_read_alarm() 481 t->time.tm_wday = -1; in ds1337_read_alarm() 482 t->time.tm_yday = -1; in ds1337_read_alarm() 483 t->time.tm_isdst = -1; in ds1337_read_alarm() 491 "alarm read", t->time.tm_sec, t->time.tm_min, in ds1337_read_alarm() [all …]
|
D | rtc-pl030.c | 42 rtc_time_to_tm(readl(rtc->base + RTC_MR), &alrm->time); in pl030_read_alarm() 49 unsigned long time; in pl030_set_alarm() local 55 ret = rtc_valid_tm(&alrm->time); in pl030_set_alarm() 57 ret = rtc_tm_to_time(&alrm->time, &time); in pl030_set_alarm() 59 writel(time, rtc->base + RTC_MR); in pl030_set_alarm() 83 unsigned long time; in pl030_set_time() local 86 ret = rtc_tm_to_time(tm, &time); in pl030_set_time() 88 writel(time + 1, rtc->base + RTC_LR); in pl030_set_time()
|
D | rtc-armada38x.c | 60 unsigned long time, time_check, flags; in armada38x_rtc_read_time() local 63 time = readl(rtc->regs + RTC_TIME); in armada38x_rtc_read_time() 70 if ((time_check - time) > 1) in armada38x_rtc_read_time() 84 unsigned long time, flags; in armada38x_rtc_set_time() local 86 ret = rtc_tm_to_time(tm, &time); in armada38x_rtc_set_time() 97 rtc_delayed_write(time, rtc, RTC_TIME); in armada38x_rtc_set_time() 109 unsigned long time, flags; in armada38x_rtc_read_alarm() local 114 time = readl(rtc->regs + RTC_ALARM1); in armada38x_rtc_read_alarm() 120 rtc_time_to_tm(time, &alrm->time); in armada38x_rtc_read_alarm() 128 unsigned long time, flags; in armada38x_rtc_set_alarm() local [all …]
|
D | rtc-s35390a.c | 216 "mon=%d, year=%d, wday=%d\n", __func__, alm->time.tm_sec, in s35390a_set_alarm() 217 alm->time.tm_min, alm->time.tm_hour, alm->time.tm_mday, in s35390a_set_alarm() 218 alm->time.tm_mon, alm->time.tm_year, alm->time.tm_wday); in s35390a_set_alarm() 243 if (alm->time.tm_wday != -1) in s35390a_set_alarm() 244 buf[S35390A_ALRM_BYTE_WDAY] = bin2bcd(alm->time.tm_wday) | 0x80; in s35390a_set_alarm() 247 alm->time.tm_hour) | 0x80; in s35390a_set_alarm() 248 buf[S35390A_ALRM_BYTE_MINS] = bin2bcd(alm->time.tm_min) | 0x80; in s35390a_set_alarm() 250 if (alm->time.tm_hour >= 12) in s35390a_set_alarm() 285 alm->time.tm_wday = bcd2bin(buf[S35390A_ALRM_BYTE_WDAY]); in s35390a_read_alarm() 286 alm->time.tm_hour = s35390a_reg2hr(s35390a, in s35390a_read_alarm() [all …]
|
D | rtc-wm831x.c | 156 u32 time = (time1[0] << 16) | time1[1]; in wm831x_rtc_readtime() local 158 rtc_time_to_tm(time, tm); in wm831x_rtc_readtime() 172 static int wm831x_rtc_set_mmss(struct device *dev, unsigned long time) in wm831x_rtc_set_mmss() argument 182 (time >> 16) & 0xffff); in wm831x_rtc_set_mmss() 188 ret = wm831x_reg_write(wm831x, WM831X_RTC_TIME_2, time & 0xffff); in wm831x_rtc_set_mmss() 225 if (new_time - time > 1) { in wm831x_rtc_set_mmss() 241 u32 time; in wm831x_rtc_readalarm() local 250 time = (data[0] << 16) | data[1]; in wm831x_rtc_readalarm() 252 rtc_time_to_tm(time, &alrm->time); in wm831x_rtc_readalarm() 289 unsigned long time; in wm831x_rtc_setalarm() local [all …]
|
D | rtc-pcf8563.c | 346 tm->time.tm_min = bcd2bin(buf[0] & 0x7F); in pcf8563_rtc_read_alarm() 347 tm->time.tm_hour = bcd2bin(buf[1] & 0x3F); in pcf8563_rtc_read_alarm() 348 tm->time.tm_mday = bcd2bin(buf[2] & 0x3F); in pcf8563_rtc_read_alarm() 349 tm->time.tm_wday = bcd2bin(buf[3] & 0x7); in pcf8563_rtc_read_alarm() 350 tm->time.tm_mon = -1; in pcf8563_rtc_read_alarm() 351 tm->time.tm_year = -1; in pcf8563_rtc_read_alarm() 352 tm->time.tm_yday = -1; in pcf8563_rtc_read_alarm() 353 tm->time.tm_isdst = -1; in pcf8563_rtc_read_alarm() 360 " enabled=%d, pending=%d\n", __func__, tm->time.tm_min, in pcf8563_rtc_read_alarm() 361 tm->time.tm_hour, tm->time.tm_mday, tm->time.tm_wday, in pcf8563_rtc_read_alarm() [all …]
|
D | rtc-tegra.c | 182 alarm->time.tm_mon = -1; in tegra_rtc_read_alarm() 183 alarm->time.tm_mday = -1; in tegra_rtc_read_alarm() 184 alarm->time.tm_year = -1; in tegra_rtc_read_alarm() 185 alarm->time.tm_hour = -1; in tegra_rtc_read_alarm() 186 alarm->time.tm_min = -1; in tegra_rtc_read_alarm() 187 alarm->time.tm_sec = -1; in tegra_rtc_read_alarm() 191 rtc_time_to_tm(sec, &alarm->time); in tegra_rtc_read_alarm() 229 rtc_tm_to_time(&alarm->time, &sec); in tegra_rtc_set_alarm() 244 alarm->time.tm_mon+1, in tegra_rtc_set_alarm() 245 alarm->time.tm_mday, in tegra_rtc_set_alarm() [all …]
|
D | rtc-ab3100.c | 78 time64_t time; in ab3100_rtc_read_time() local 104 time = hw_counter / (u64) (AB3100_RTC_CLOCK_RATE * 2); in ab3100_rtc_read_time() 107 rtc_time64_to_tm(time, tm); in ab3100_rtc_read_time() 114 time64_t time; in ab3100_rtc_read_alarm() local 138 time = hw_counter / (u64) (AB3100_RTC_CLOCK_RATE * 2); in ab3100_rtc_read_alarm() 140 rtc_time64_to_tm(time, &alarm->time); in ab3100_rtc_read_alarm() 142 return rtc_valid_tm(&alarm->time); in ab3100_rtc_read_alarm() 154 secs = rtc_tm_to_time64(&alarm->time); in ab3100_rtc_set_alarm()
|
D | rtc-tps65910.c | 142 alm->time.tm_sec = bcd2bin(alarm_data[0]); in tps65910_rtc_read_alarm() 143 alm->time.tm_min = bcd2bin(alarm_data[1]); in tps65910_rtc_read_alarm() 144 alm->time.tm_hour = bcd2bin(alarm_data[2]); in tps65910_rtc_read_alarm() 145 alm->time.tm_mday = bcd2bin(alarm_data[3]); in tps65910_rtc_read_alarm() 146 alm->time.tm_mon = bcd2bin(alarm_data[4]) - 1; in tps65910_rtc_read_alarm() 147 alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; in tps65910_rtc_read_alarm() 169 alarm_data[0] = bin2bcd(alm->time.tm_sec); in tps65910_rtc_set_alarm() 170 alarm_data[1] = bin2bcd(alm->time.tm_min); in tps65910_rtc_set_alarm() 171 alarm_data[2] = bin2bcd(alm->time.tm_hour); in tps65910_rtc_set_alarm() 172 alarm_data[3] = bin2bcd(alm->time.tm_mday); in tps65910_rtc_set_alarm() [all …]
|
D | rtc-tps80031.c | 148 buff[0] = bin2bcd(alrm->time.tm_sec); in tps80031_rtc_set_alarm() 149 buff[1] = bin2bcd(alrm->time.tm_min); in tps80031_rtc_set_alarm() 150 buff[2] = bin2bcd(alrm->time.tm_hour); in tps80031_rtc_set_alarm() 151 buff[3] = bin2bcd(alrm->time.tm_mday); in tps80031_rtc_set_alarm() 152 buff[4] = bin2bcd(alrm->time.tm_mon + 1); in tps80031_rtc_set_alarm() 153 buff[5] = bin2bcd(alrm->time.tm_year % RTC_YEAR_OFFSET); in tps80031_rtc_set_alarm() 178 alrm->time.tm_sec = bcd2bin(buff[0]); in tps80031_rtc_read_alarm() 179 alrm->time.tm_min = bcd2bin(buff[1]); in tps80031_rtc_read_alarm() 180 alrm->time.tm_hour = bcd2bin(buff[2]); in tps80031_rtc_read_alarm() 181 alrm->time.tm_mday = bcd2bin(buff[3]); in tps80031_rtc_read_alarm() [all …]
|
D | rtc-rx8025.c | 310 t->time.tm_sec = 0; in rx8025_read_alarm() 311 t->time.tm_min = bcd2bin(ald[0] & 0x7f); in rx8025_read_alarm() 313 t->time.tm_hour = bcd2bin(ald[1] & 0x3f); in rx8025_read_alarm() 315 t->time.tm_hour = bcd2bin(ald[1] & 0x1f) % 12 in rx8025_read_alarm() 318 t->time.tm_wday = -1; in rx8025_read_alarm() 319 t->time.tm_mday = -1; in rx8025_read_alarm() 320 t->time.tm_mon = -1; in rx8025_read_alarm() 321 t->time.tm_year = -1; in rx8025_read_alarm() 325 t->time.tm_sec, t->time.tm_min, t->time.tm_hour, in rx8025_read_alarm() 326 t->time.tm_mday, t->time.tm_mon, t->time.tm_year); in rx8025_read_alarm() [all …]
|
D | rtc-sysfs.c | 64 static DEVICE_ATTR_RO(time); 74 unsigned long time; in since_epoch_show() local 75 rtc_tm_to_time(&tm, &time); in since_epoch_show() 76 retval = sprintf(buf, "%lu\n", time); in since_epoch_show() 142 rtc_tm_to_time(&alm.time, &alarm); in wakealarm_show() 164 retval = rtc_read_time(rtc, &alm.time); in wakealarm_store() 167 rtc_tm_to_time(&alm.time, &now); in wakealarm_store() 192 rtc_tm_to_time(&alm.time, &push); in wakealarm_store() 207 rtc_time_to_tm(alarm, &alm.time); in wakealarm_store()
|
D | rtc-palmas.c | 140 alm->time.tm_sec = bcd2bin(alarm_data[0]); in palmas_rtc_read_alarm() 141 alm->time.tm_min = bcd2bin(alarm_data[1]); in palmas_rtc_read_alarm() 142 alm->time.tm_hour = bcd2bin(alarm_data[2]); in palmas_rtc_read_alarm() 143 alm->time.tm_mday = bcd2bin(alarm_data[3]); in palmas_rtc_read_alarm() 144 alm->time.tm_mon = bcd2bin(alarm_data[4]) - 1; in palmas_rtc_read_alarm() 145 alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; in palmas_rtc_read_alarm() 171 alarm_data[0] = bin2bcd(alm->time.tm_sec); in palmas_rtc_set_alarm() 172 alarm_data[1] = bin2bcd(alm->time.tm_min); in palmas_rtc_set_alarm() 173 alarm_data[2] = bin2bcd(alm->time.tm_hour); in palmas_rtc_set_alarm() 174 alarm_data[3] = bin2bcd(alm->time.tm_mday); in palmas_rtc_set_alarm() [all …]
|
D | rtc-davinci.c | 394 alm->time.tm_min = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_AMIN)); in davinci_rtc_read_alarm() 397 alm->time.tm_hour = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_AHOUR)); in davinci_rtc_read_alarm() 410 if (convertfromdays(days, &alm->time) < 0) in davinci_rtc_read_alarm() 427 if (alm->time.tm_mday <= 0 && alm->time.tm_mon < 0 in davinci_rtc_set_alarm() 428 && alm->time.tm_year < 0) { in davinci_rtc_set_alarm() 435 alm->time.tm_mday = tm.tm_mday; in davinci_rtc_set_alarm() 436 alm->time.tm_mon = tm.tm_mon; in davinci_rtc_set_alarm() 437 alm->time.tm_year = tm.tm_year; in davinci_rtc_set_alarm() 438 rtc_tm_to_time(&alm->time, &then); in davinci_rtc_set_alarm() 442 alm->time.tm_mday = tm.tm_mday; in davinci_rtc_set_alarm() [all …]
|
D | rtc-s5m.c | 46 unsigned int time; member 66 .time = S5M_RTC_SEC, 80 .time = S2MPS_RTC_SEC, 331 ret = regmap_bulk_read(info->regmap, info->regs->time, data, in s5m_rtc_read_time() 384 ret = regmap_raw_write(info->regmap, info->regs->time, data, in s5m_rtc_set_time() 408 s5m8763_data_to_tm(data, &alrm->time); in s5m_rtc_read_alarm() 419 s5m8767_data_to_tm(data, &alrm->time, info->rtc_24hr_mode); in s5m_rtc_read_alarm() 434 1900 + alrm->time.tm_year, 1 + alrm->time.tm_mon, in s5m_rtc_read_alarm() 435 alrm->time.tm_mday, alrm->time.tm_hour, in s5m_rtc_read_alarm() 436 alrm->time.tm_min, alrm->time.tm_sec, in s5m_rtc_read_alarm() [all …]
|
D | rtc-pm8xxx.c | 215 rtc_tm_to_time(&alarm->time, &secs); in pm8xxx_rtc_set_alarm() 247 alarm->time.tm_hour, alarm->time.tm_min, in pm8xxx_rtc_set_alarm() 248 alarm->time.tm_sec, alarm->time.tm_mday, in pm8xxx_rtc_set_alarm() 249 alarm->time.tm_mon, alarm->time.tm_year); in pm8xxx_rtc_set_alarm() 272 rtc_time_to_tm(secs, &alarm->time); in pm8xxx_rtc_read_alarm() 274 rc = rtc_valid_tm(&alarm->time); in pm8xxx_rtc_read_alarm() 281 alarm->time.tm_hour, alarm->time.tm_min, in pm8xxx_rtc_read_alarm() 282 alarm->time.tm_sec, alarm->time.tm_mday, in pm8xxx_rtc_read_alarm() 283 alarm->time.tm_mon, alarm->time.tm_year); in pm8xxx_rtc_read_alarm()
|
D | rtc-mpc5121.c | 221 if (alarm->time.tm_sec) { in mpc5121_rtc_set_alarm() 222 alarm->time.tm_sec = 0; in mpc5121_rtc_set_alarm() 223 alarm->time.tm_min++; in mpc5121_rtc_set_alarm() 224 if (alarm->time.tm_min >= 60) { in mpc5121_rtc_set_alarm() 225 alarm->time.tm_min = 0; in mpc5121_rtc_set_alarm() 226 alarm->time.tm_hour++; in mpc5121_rtc_set_alarm() 227 if (alarm->time.tm_hour >= 24) in mpc5121_rtc_set_alarm() 228 alarm->time.tm_hour = 0; in mpc5121_rtc_set_alarm() 232 alarm->time.tm_mday = -1; in mpc5121_rtc_set_alarm() 233 alarm->time.tm_mon = -1; in mpc5121_rtc_set_alarm() [all …]
|
D | rtc-ds1286.c | 278 alm->time.tm_min = ds1286_rtc_read(priv, RTC_MINUTES_ALARM) & 0x7f; in ds1286_read_alarm() 279 alm->time.tm_hour = ds1286_rtc_read(priv, RTC_HOURS_ALARM) & 0x1f; in ds1286_read_alarm() 280 alm->time.tm_wday = ds1286_rtc_read(priv, RTC_DAY_ALARM) & 0x07; in ds1286_read_alarm() 284 alm->time.tm_min = bcd2bin(alm->time.tm_min); in ds1286_read_alarm() 285 alm->time.tm_hour = bcd2bin(alm->time.tm_hour); in ds1286_read_alarm() 286 alm->time.tm_sec = 0; in ds1286_read_alarm() 295 hrs = alm->time.tm_hour; in ds1286_set_alarm() 296 min = alm->time.tm_min; in ds1286_set_alarm() 297 sec = alm->time.tm_sec; in ds1286_set_alarm()
|
D | rtc-snvs.c | 124 unsigned long time = rtc_read_lp_counter(data); in snvs_rtc_read_time() local 126 rtc_time_to_tm(time, tm); in snvs_rtc_read_time() 134 unsigned long time; in snvs_rtc_set_time() local 136 rtc_tm_to_time(tm, &time); in snvs_rtc_set_time() 142 regmap_write(data->regmap, data->offset + SNVS_LPSRTCLR, time << CNTR_TO_SECS_SH); in snvs_rtc_set_time() 143 regmap_write(data->regmap, data->offset + SNVS_LPSRTCMR, time >> (32 - CNTR_TO_SECS_SH)); in snvs_rtc_set_time() 157 rtc_time_to_tm(lptar, &alrm->time); in snvs_rtc_read_alarm() 181 struct rtc_time *alrm_tm = &alrm->time; in snvs_rtc_set_alarm() 182 unsigned long time; in snvs_rtc_set_alarm() local 184 rtc_tm_to_time(alrm_tm, &time); in snvs_rtc_set_alarm() [all …]
|
D | rtc-rc5t583.c | 131 alm->time.tm_min = bcd2bin(alarm_data[0]); in rc5t583_rtc_read_alarm() 132 alm->time.tm_hour = bcd2bin(alarm_data[1]); in rc5t583_rtc_read_alarm() 133 alm->time.tm_mday = bcd2bin(alarm_data[2]); in rc5t583_rtc_read_alarm() 134 alm->time.tm_mon = bcd2bin(alarm_data[3]) - 1; in rc5t583_rtc_read_alarm() 135 alm->time.tm_year = bcd2bin(alarm_data[4]) + 100; in rc5t583_rtc_read_alarm() 158 alarm_data[0] = bin2bcd(alm->time.tm_min); in rc5t583_rtc_set_alarm() 159 alarm_data[1] = bin2bcd(alm->time.tm_hour); in rc5t583_rtc_set_alarm() 160 alarm_data[2] = bin2bcd(alm->time.tm_mday); in rc5t583_rtc_set_alarm() 161 alarm_data[3] = bin2bcd(alm->time.tm_mon + 1); in rc5t583_rtc_set_alarm() 162 alarm_data[4] = bin2bcd(alm->time.tm_year - 100); in rc5t583_rtc_set_alarm()
|
D | rtc-dev.c | 277 if (copy_to_user(uarg, &alarm.time, sizeof(tm))) in rtc_dev_ioctl() 284 if (copy_from_user(&alarm.time, uarg, sizeof(tm))) in rtc_dev_ioctl() 289 alarm.time.tm_wday = -1; in rtc_dev_ioctl() 290 alarm.time.tm_yday = -1; in rtc_dev_ioctl() 291 alarm.time.tm_isdst = -1; in rtc_dev_ioctl() 314 alarm.time.tm_mday = tm.tm_mday; in rtc_dev_ioctl() 315 alarm.time.tm_mon = tm.tm_mon; in rtc_dev_ioctl() 316 alarm.time.tm_year = tm.tm_year; in rtc_dev_ioctl() 317 err = rtc_valid_tm(&alarm.time); in rtc_dev_ioctl() 320 then = rtc_tm_to_time64(&alarm.time); in rtc_dev_ioctl() [all …]
|
D | rtc-mxc.c | 150 static void set_alarm_or_time(struct device *dev, int time_alarm, time64_t time) in set_alarm_or_time() argument 157 day = div_s64_rem(time, 86400, &tod); in set_alarm_or_time() 189 time64_t time; in rtc_update_alarm() local 194 time = rtc_tm_to_time64(alrm); in rtc_update_alarm() 198 set_alarm_or_time(dev, MXC_RTC_ALARM, time); in rtc_update_alarm() 301 static int mxc_rtc_set_mmss(struct device *dev, time64_t time) in mxc_rtc_set_mmss() argument 312 rtc_time64_to_tm(time, &tm); in mxc_rtc_set_mmss() 314 time = rtc_tm_to_time64(&tm); in mxc_rtc_set_mmss() 319 set_alarm_or_time(dev, MXC_RTC_TIME, time); in mxc_rtc_set_mmss() 320 } while (time != get_alarm_or_time(dev, MXC_RTC_TIME)); in mxc_rtc_set_mmss() [all …]
|
D | rtc-gemini.c | 75 unsigned long offset, time; in gemini_rtc_read_time() local 83 time = offset + days * 86400 + hour * 3600 + min * 60 + sec; in gemini_rtc_read_time() 85 rtc_time_to_tm(time, tm); in gemini_rtc_read_time() 94 unsigned long offset, time; in gemini_rtc_set_time() local 99 rtc_tm_to_time(tm, &time); in gemini_rtc_set_time() 106 offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); in gemini_rtc_set_time()
|
D | rtc-twl.c | 369 alm->time.tm_sec = bcd2bin(rtc_data[0]); in twl_rtc_read_alarm() 370 alm->time.tm_min = bcd2bin(rtc_data[1]); in twl_rtc_read_alarm() 371 alm->time.tm_hour = bcd2bin(rtc_data[2]); in twl_rtc_read_alarm() 372 alm->time.tm_mday = bcd2bin(rtc_data[3]); in twl_rtc_read_alarm() 373 alm->time.tm_mon = bcd2bin(rtc_data[4]) - 1; in twl_rtc_read_alarm() 374 alm->time.tm_year = bcd2bin(rtc_data[5]) + 100; in twl_rtc_read_alarm() 392 alarm_data[0] = bin2bcd(alm->time.tm_sec); in twl_rtc_set_alarm() 393 alarm_data[1] = bin2bcd(alm->time.tm_min); in twl_rtc_set_alarm() 394 alarm_data[2] = bin2bcd(alm->time.tm_hour); in twl_rtc_set_alarm() 395 alarm_data[3] = bin2bcd(alm->time.tm_mday); in twl_rtc_set_alarm() [all …]
|
D | rtc-sun6i.c | 161 u32 date, time; in sun6i_rtc_gettime() local 168 time = readl(chip->base + SUN6I_RTC_HMS); in sun6i_rtc_gettime() 170 (time != readl(chip->base + SUN6I_RTC_HMS))); in sun6i_rtc_gettime() 172 rtc_tm->tm_sec = SUN6I_TIME_GET_SEC_VALUE(time); in sun6i_rtc_gettime() 173 rtc_tm->tm_min = SUN6I_TIME_GET_MIN_VALUE(time); in sun6i_rtc_gettime() 174 rtc_tm->tm_hour = SUN6I_TIME_GET_HOUR_VALUE(time); in sun6i_rtc_gettime() 201 rtc_time_to_tm(chip->alarm, &wkalrm->time); in sun6i_rtc_getalarm() 209 struct rtc_time *alrm_tm = &wkalrm->time; in sun6i_rtc_setalarm() 270 u32 time = 0; in sun6i_rtc_settime() local 290 time = SUN6I_TIME_SET_SEC_VALUE(rtc_tm->tm_sec) | in sun6i_rtc_settime() [all …]
|
D | rtc-rv8803.c | 208 alrm->time.tm_sec = 0; in rv8803_get_alarm() 209 alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); in rv8803_get_alarm() 210 alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); in rv8803_get_alarm() 211 alrm->time.tm_wday = -1; in rv8803_get_alarm() 212 alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); in rv8803_get_alarm() 213 alrm->time.tm_mon = -1; in rv8803_get_alarm() 214 alrm->time.tm_year = -1; in rv8803_get_alarm() 232 if (alrm->time.tm_sec) { in rv8803_set_alarm() 233 time64_t alarm_time = rtc_tm_to_time64(&alrm->time); in rv8803_set_alarm() 235 alarm_time += 60 - alrm->time.tm_sec; in rv8803_set_alarm() [all …]
|
D | rtc-at91rm9200.c | 119 unsigned int time, date; in at91_rtc_decodetime() local 123 time = at91_rtc_read(timereg); in at91_rtc_decodetime() 125 } while ((time != at91_rtc_read(timereg)) || in at91_rtc_decodetime() 128 tm->tm_sec = bcd2bin((time & AT91_RTC_SEC) >> 0); in at91_rtc_decodetime() 129 tm->tm_min = bcd2bin((time & AT91_RTC_MIN) >> 8); in at91_rtc_decodetime() 130 tm->tm_hour = bcd2bin((time & AT91_RTC_HOUR) >> 16); in at91_rtc_decodetime() 208 struct rtc_time *tm = &alrm->time; in at91_rtc_readalarm() 235 tm.tm_mon = alrm->time.tm_mon; in at91_rtc_setalarm() 236 tm.tm_mday = alrm->time.tm_mday; in at91_rtc_setalarm() 237 tm.tm_hour = alrm->time.tm_hour; in at91_rtc_setalarm() [all …]
|
D | rtc-rs5c372.c | 344 t->time.tm_sec = 0; in rs5c_read_alarm() 345 t->time.tm_min = bcd2bin(rs5c->regs[RS5C_REG_ALARM_A_MIN] & 0x7f); in rs5c_read_alarm() 346 t->time.tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C_REG_ALARM_A_HOURS]); in rs5c_read_alarm() 347 t->time.tm_mday = -1; in rs5c_read_alarm() 348 t->time.tm_mon = -1; in rs5c_read_alarm() 349 t->time.tm_year = -1; in rs5c_read_alarm() 350 t->time.tm_wday = -1; in rs5c_read_alarm() 351 t->time.tm_yday = -1; in rs5c_read_alarm() 352 t->time.tm_isdst = -1; in rs5c_read_alarm() 369 if (t->time.tm_mday != -1 in rs5c_set_alarm() [all …]
|
D | rtc-ds1374.c | 85 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc() argument 104 for (i = nbytes - 1, *time = 0; i >= 0; i--) in ds1374_read_rtc() 105 *time = (*time << 8) | buf[i]; in ds1374_read_rtc() 110 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc() argument 122 buf[i] = time & 0xff; in ds1374_write_rtc() 123 time >>= 8; in ds1374_write_rtc() 161 static int ds1374_read_time(struct device *dev, struct rtc_time *time) in ds1374_read_time() argument 169 rtc_time_to_tm(itime, time); in ds1374_read_time() 174 static int ds1374_set_time(struct device *dev, struct rtc_time *time) in ds1374_set_time() argument 179 rtc_tm_to_time(time, &itime); in ds1374_set_time() [all …]
|
D | rtc-tx4939.c | 102 if (alrm->time.tm_sec < 0 || in tx4939_rtc_set_alarm() 103 alrm->time.tm_min < 0 || in tx4939_rtc_set_alarm() 104 alrm->time.tm_hour < 0 || in tx4939_rtc_set_alarm() 105 alrm->time.tm_mday < 0 || in tx4939_rtc_set_alarm() 106 alrm->time.tm_mon < 0 || in tx4939_rtc_set_alarm() 107 alrm->time.tm_year < 0) in tx4939_rtc_set_alarm() 109 rtc_tm_to_time(&alrm->time, &sec); in tx4939_rtc_set_alarm() 151 rtc_time_to_tm(sec, &alrm->time); in tx4939_rtc_read_alarm() 152 return rtc_valid_tm(&alrm->time); in tx4939_rtc_read_alarm()
|
D | rtc-sunxi.c | 201 struct rtc_time *alrm_tm = &wkalrm->time; in sunxi_rtc_getalarm() 236 u32 date, time; in sunxi_rtc_gettime() local 243 time = readl(chip->base + SUNXI_RTC_HMS); in sunxi_rtc_gettime() 245 (time != readl(chip->base + SUNXI_RTC_HMS))); in sunxi_rtc_gettime() 247 rtc_tm->tm_sec = SUNXI_TIME_GET_SEC_VALUE(time); in sunxi_rtc_gettime() 248 rtc_tm->tm_min = SUNXI_TIME_GET_MIN_VALUE(time); in sunxi_rtc_gettime() 249 rtc_tm->tm_hour = SUNXI_TIME_GET_HOUR_VALUE(time); in sunxi_rtc_gettime() 270 struct rtc_time *alrm_tm = &wkalrm->time; in sunxi_rtc_setalarm() 345 u32 time = 0; in sunxi_rtc_settime() local 372 time = SUNXI_TIME_SET_SEC_VALUE(rtc_tm->tm_sec) | in sunxi_rtc_settime() [all …]
|
D | rtc-ds2404.c | 204 unsigned long time = 0; in ds2404_read_time() local 206 ds2404_read_memory(dev, 0x203, 4, (u8 *)&time); in ds2404_read_time() 207 time = le32_to_cpu(time); in ds2404_read_time() 209 rtc_time_to_tm(time, dt); in ds2404_read_time() 215 u32 time = cpu_to_le32(secs); in ds2404_set_mmss() local 216 ds2404_write_memory(dev, 0x203, 4, (u8 *)&time); in ds2404_set_mmss()
|
D | rtc-ds1343.c | 503 alarm->time.tm_sec = priv->alarm_sec < 0 ? 0 : priv->alarm_sec; in ds1343_read_alarm() 504 alarm->time.tm_min = priv->alarm_min < 0 ? 0 : priv->alarm_min; in ds1343_read_alarm() 505 alarm->time.tm_hour = priv->alarm_hour < 0 ? 0 : priv->alarm_hour; in ds1343_read_alarm() 506 alarm->time.tm_mday = priv->alarm_mday < 0 ? 0 : priv->alarm_mday; in ds1343_read_alarm() 508 alarm->time.tm_mon = -1; in ds1343_read_alarm() 509 alarm->time.tm_year = -1; in ds1343_read_alarm() 510 alarm->time.tm_wday = -1; in ds1343_read_alarm() 511 alarm->time.tm_yday = -1; in ds1343_read_alarm() 512 alarm->time.tm_isdst = -1; in ds1343_read_alarm() 529 priv->alarm_sec = alarm->time.tm_sec; in ds1343_set_alarm() [all …]
|
D | rtc-sun4v.c | 19 unsigned long ret, time; in hypervisor_get_time() local 23 ret = sun4v_tod_get(&time); in hypervisor_get_time() 25 return time; in hypervisor_get_time()
|
D | rtc-omap.c | 349 alm->time.tm_sec = rtc_read(rtc, OMAP_RTC_ALARM_SECONDS_REG); in omap_rtc_read_alarm() 350 alm->time.tm_min = rtc_read(rtc, OMAP_RTC_ALARM_MINUTES_REG); in omap_rtc_read_alarm() 351 alm->time.tm_hour = rtc_read(rtc, OMAP_RTC_ALARM_HOURS_REG); in omap_rtc_read_alarm() 352 alm->time.tm_mday = rtc_read(rtc, OMAP_RTC_ALARM_DAYS_REG); in omap_rtc_read_alarm() 353 alm->time.tm_mon = rtc_read(rtc, OMAP_RTC_ALARM_MONTHS_REG); in omap_rtc_read_alarm() 354 alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG); in omap_rtc_read_alarm() 358 bcd2tm(&alm->time); in omap_rtc_read_alarm() 371 if (tm2bcd(&alm->time) < 0) in omap_rtc_set_alarm() 378 rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year); in omap_rtc_set_alarm() 379 rtc_write(rtc, OMAP_RTC_ALARM_MONTHS_REG, alm->time.tm_mon); in omap_rtc_set_alarm() [all …]
|
D | rtc-sa1100.c | 165 unsigned long time; in sa1100_rtc_set_time() local 168 ret = rtc_tm_to_time(tm, &time); in sa1100_rtc_set_time() 170 writel_relaxed(time, info->rcnr); in sa1100_rtc_set_time() 188 unsigned long time; in sa1100_rtc_set_alarm() local 192 ret = rtc_tm_to_time(&alrm->time, &time); in sa1100_rtc_set_alarm() 197 writel_relaxed(time, info->rtar); in sa1100_rtc_set_alarm()
|
D | rtc-jz4740.c | 104 static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) in jz4740_rtc_read_time() argument 125 rtc_time_to_tm(secs, time); in jz4740_rtc_read_time() 127 return rtc_valid_tm(time); in jz4740_rtc_read_time() 150 rtc_time_to_tm(secs, &alrm->time); in jz4740_rtc_read_alarm() 152 return rtc_valid_tm(&alrm->time); in jz4740_rtc_read_alarm() 161 rtc_tm_to_time(&alrm->time, &secs); in jz4740_rtc_set_alarm()
|
D | rtc-ds1553.c | 169 pdata->alrm_mday = alrm->time.tm_mday; in ds1553_rtc_set_alarm() 170 pdata->alrm_hour = alrm->time.tm_hour; in ds1553_rtc_set_alarm() 171 pdata->alrm_min = alrm->time.tm_min; in ds1553_rtc_set_alarm() 172 pdata->alrm_sec = alrm->time.tm_sec; in ds1553_rtc_set_alarm() 186 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1553_rtc_read_alarm() 187 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1553_rtc_read_alarm() 188 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1553_rtc_read_alarm() 189 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1553_rtc_read_alarm()
|
D | rtc-stk17ta8.c | 177 pdata->alrm_mday = alrm->time.tm_mday; in stk17ta8_rtc_set_alarm() 178 pdata->alrm_hour = alrm->time.tm_hour; in stk17ta8_rtc_set_alarm() 179 pdata->alrm_min = alrm->time.tm_min; in stk17ta8_rtc_set_alarm() 180 pdata->alrm_sec = alrm->time.tm_sec; in stk17ta8_rtc_set_alarm() 194 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in stk17ta8_rtc_read_alarm() 195 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in stk17ta8_rtc_read_alarm() 196 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in stk17ta8_rtc_read_alarm() 197 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in stk17ta8_rtc_read_alarm()
|
D | rtc-coh901331.c | 107 rtc_time_to_tm(readl(rtap->virtbase + COH901331_ALARM), &alarm->time); in coh901331_read_alarm() 118 unsigned long time; in coh901331_set_alarm() local 120 rtc_tm_to_time(&alarm->time, &time); in coh901331_set_alarm() 122 writel(time, rtap->virtbase + COH901331_ALARM); in coh901331_set_alarm()
|
D | rtc-lib.c | 53 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm() argument 60 days = div_s64(time, 86400); in rtc_time64_to_tm() 61 secs = time - (unsigned int) days * 86400; in rtc_time64_to_tm()
|
D | rtc-lpc32xx.c | 65 static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) in lpc32xx_rtc_read_time() argument 71 rtc_time_to_tm(elapsed_sec, time); in lpc32xx_rtc_read_time() 73 return rtc_valid_tm(time); in lpc32xx_rtc_read_time() 100 rtc_time_to_tm(rtc_readl(rtc, LPC32XX_RTC_MATCH0), &wkalrm->time); in lpc32xx_rtc_read_alarm() 105 return rtc_valid_tm(&wkalrm->time); in lpc32xx_rtc_read_alarm() 116 ret = rtc_tm_to_time(&wkalrm->time, &alarmsecs); in lpc32xx_rtc_set_alarm()
|
D | rtc-ds1511.c | 329 pdata->alrm_mday = alrm->time.tm_mday; in ds1511_rtc_set_alarm() 330 pdata->alrm_hour = alrm->time.tm_hour; in ds1511_rtc_set_alarm() 331 pdata->alrm_min = alrm->time.tm_min; in ds1511_rtc_set_alarm() 332 pdata->alrm_sec = alrm->time.tm_sec; in ds1511_rtc_set_alarm() 349 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; in ds1511_rtc_read_alarm() 350 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; in ds1511_rtc_read_alarm() 351 alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; in ds1511_rtc_read_alarm() 352 alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; in ds1511_rtc_read_alarm()
|
/linux-4.4.14/drivers/base/power/ |
D | trace.c | 84 static struct rtc_time time = { in set_magic_time() local 96 time.tm_year = (n % 100); in set_magic_time() 98 time.tm_mon = (n % 12); in set_magic_time() 100 time.tm_mday = (n % 28) + 1; in set_magic_time() 102 time.tm_hour = (n % 24); in set_magic_time() 104 time.tm_min = (n % 20) * 3; in set_magic_time() 106 set_rtc_time(&time); in set_magic_time() 112 struct rtc_time time; in read_magic_time() local 115 get_rtc_time(&time); in read_magic_time() 117 time.tm_hour, time.tm_min, time.tm_sec, in read_magic_time() [all …]
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | timestamping.txt | 3 - Trigger_tstamp is the system time snapshot taken when the .trigger 15 The difference (tstamp - trigger_tstamp) defines the elapsed time. 22 The use of these different pointers and time information depends on 26 - 'delay' reports the time it will take to hear a new sample after all 30 along with a snapshot of system time. Applications can select from 38 of time as measured by different components of audio hardware. In 43 --------------------------------------------------------------> time 47 time time time time time 53 The analog time is taken at the last stage of the playback, as close 56 The link time is taken at the output of the SOC/chipset as the samples [all …]
|
D | powersave.txt | 14 The time-out for automatic power-off can be specified via power_save 16 the time-out value in seconds. 0 means to disable the automatic 33 state. Also, it often takes certain time to wake up from the 40 consumption, but might result in longer wake-up time and click noise.
|
/linux-4.4.14/arch/m68k/kernel/ |
D | time.c | 75 struct rtc_time time; in read_persistent_clock() local 80 mach_hwclk(0, &time); in read_persistent_clock() 82 if ((time.tm_year += 1900) < 1970) in read_persistent_clock() 83 time.tm_year += 100; in read_persistent_clock() 84 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock() 85 time.tm_hour, time.tm_min, time.tm_sec); in read_persistent_clock()
|
/linux-4.4.14/scripts/ |
D | show_delta | 50 time = string.atof(time_str) 53 return (time, rest) 65 (time, rest) = get_time(line) 72 delta = time - base_time 75 delta = time - last_time 76 last_time = time 78 return ("[%5.6f < %5.6f >]" % (time, delta)) + rest 111 (time, rest) = get_time(line) 115 base_time = time
|
D | analyze_suspend.py | 48 import time 262 def setStart(self, time): argument 263 self.start = time 264 self.dmesg[self.phases[0]]['start'] = time 267 def setEnd(self, time): argument 268 self.end = time 269 self.dmesg[self.phases[-1]]['end'] = time 270 def isTraceEventOutsideDeviceCalls(self, pid, time): argument 275 if(d['pid'] == pid and time >= d['start'] and 276 time <= d['end']): [all …]
|
D | bootgraph.pl | 229 my $time = $firsttime; 231 while ($time < $maxtime) { 232 my $s3 = ($time - $firsttime) * $mult; 233 my $tm = int($time * 100) / 100.0; 235 $time = $time + $step;
|
/linux-4.4.14/arch/s390/include/asm/ |
D | timex.h | 19 static inline int set_tod_clock(__u64 time) in set_tod_clock() argument 27 : "=d" (cc) : "Q" (time) : "cc"); in set_tod_clock() 31 static inline int store_tod_clock(__u64 *time) in store_tod_clock() argument 39 : "=d" (cc), "=Q" (*time) : : "cc"); in store_tod_clock() 43 static inline void set_clock_comparator(__u64 time) in set_clock_comparator() argument 45 asm volatile("sckc %0" : : "Q" (time)); in set_clock_comparator() 48 static inline void store_clock_comparator(__u64 *time) in store_clock_comparator() argument 50 asm volatile("stckc %0" : "=Q" (*time)); in store_clock_comparator()
|
/linux-4.4.14/crypto/ |
D | jitterentropy.c | 136 __u64 time = 0; in jent_loop_shuffle() local 141 jent_get_nstime(&time); in jent_loop_shuffle() 147 time ^= ec->data; in jent_loop_shuffle() 153 shuffle ^= time & mask; in jent_loop_shuffle() 154 time = time >> bits; in jent_loop_shuffle() 202 static __u64 jent_fold_time(struct rand_data *ec, __u64 time, in jent_fold_time() argument 222 __u64 tmp = time << (DATA_SIZE_BITS - i); in jent_fold_time() 348 __u64 time = 0; in jent_measure_jitter() local 359 jent_get_nstime(&time); in jent_measure_jitter() 360 current_delta = time - ec->prev_time; in jent_measure_jitter() [all …]
|
/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_writeq.c | 97 abstime_t time; in snd_seq_oss_writeq_sync() local 99 time = snd_seq_oss_timer_cur_tick(dp->timer); in snd_seq_oss_writeq_sync() 100 if (q->sync_time >= time) in snd_seq_oss_writeq_sync() 111 ev.time.tick = time; in snd_seq_oss_writeq_sync() 116 rec->t.time = time; in snd_seq_oss_writeq_sync() 125 if (! q->sync_event_put || q->sync_time >= time) in snd_seq_oss_writeq_sync() 134 snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) in snd_seq_oss_writeq_wakeup() argument 139 q->sync_time = time; in snd_seq_oss_writeq_wakeup()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_benchmark.c | 76 unsigned int time, in radeon_benchmark_log_results() argument 80 unsigned int throughput = (n * (size >> 10)) / time; in radeon_benchmark_log_results() 83 kind, n, size >> 10, sdomain, ddomain, time, in radeon_benchmark_log_results() 94 int time; in radeon_benchmark_move() local 123 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move() 126 if (time < 0) in radeon_benchmark_move() 128 if (time > 0) in radeon_benchmark_move() 129 radeon_benchmark_log_results(n, size, time, in radeon_benchmark_move() 134 time = radeon_benchmark_do_move(rdev, size, saddr, daddr, in radeon_benchmark_move() 137 if (time < 0) in radeon_benchmark_move() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/i2c/ |
D | i2c-designware.txt | 14 - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. 17 - i2c-scl-falling-time-ns : should contain the SCL falling time in nanoseconds. 20 - i2c-sda-falling-time-ns : should contain the SDA falling time in nanoseconds. 42 i2c-sda-hold-time-ns = <300>; 43 i2c-sda-falling-time-ns = <300>; 44 i2c-scl-falling-time-ns = <300>;
|
D | i2c-rk3x.txt | 24 - i2c-scl-rising-time-ns : Number of nanoseconds the SCL signal takes to rise 28 - i2c-scl-falling-time-ns : Number of nanoseconds the SCL signal takes to fall 32 - i2c-sda-falling-time-ns : Number of nanoseconds the SDA signal takes to fall 54 i2c-scl-rising-time-ns = <800>; 55 i2c-scl-falling-time-ns = <100>;
|
/linux-4.4.14/lib/ |
D | interval_tree_test.c | 51 cycles_t time1, time2, time; in interval_tree_test_init() local 68 time = time2 - time1; in interval_tree_test_init() 70 time = div_u64(time, PERF_LOOPS); in interval_tree_test_init() 71 printk(" -> %llu cycles\n", (unsigned long long)time); in interval_tree_test_init() 86 time = time2 - time1; in interval_tree_test_init() 88 time = div_u64(time, SEARCH_LOOPS); in interval_tree_test_init() 91 (unsigned long long)time, results); in interval_tree_test_init()
|
D | rbtree_test.c | 178 cycles_t time1, time2, time; in rbtree_test_init() local 195 time = time2 - time1; in rbtree_test_init() 197 time = div_u64(time, PERF_LOOPS); in rbtree_test_init() 198 printk(" -> %llu cycles\n", (unsigned long long)time); in rbtree_test_init() 227 time = time2 - time1; in rbtree_test_init() 229 time = div_u64(time, PERF_LOOPS); in rbtree_test_init() 230 printk(" -> %llu cycles\n", (unsigned long long)time); in rbtree_test_init()
|
/linux-4.4.14/tools/perf/scripts/python/ |
D | call-graph-from-postgresql.py | 76 self.time = 0 125 if not self.time: 127 x = (b * Decimal(100)) / self.time 136 def addChild(self, call_path_id, name, dso, count, time, branch_count): argument 142 child_item.time = time 148 child_item.data[3] = str(time) 149 child_item.data[4] = self.timePercent(time) 172 time = 0 178 time += query.value(4) - query.value(3) 181 self.addChild(last_call_path_id, name, dso, count, time, branch_count) [all …]
|
D | netdev-times.py | 302 (name, context, cpu, time, pid, comm, irq, irq_name) = event_info 305 irq_record = {'irq':irq, 'name':irq_name, 'cpu':cpu, 'irq_ent_t':time} 309 (name, context, cpu, time, pid, comm, irq, ret) = event_info 315 irq_record.update({'irq_ext_t':time}) 321 (name, context, cpu, time, pid, comm, vec) = event_info 330 irq_event_list.append({'time':time, 'event':'sirq_raise'}) 335 (name, context, cpu, time, pid, comm, vec) = event_info 336 net_rx_dic[cpu] = {'sirq_ent_t':time, 'event_list':[]} 339 (name, context, cpu, time, pid, comm, vec) = event_info 351 rec_data = {'sirq_ent_t':sirq_ent_t, 'sirq_ext_t':time, [all …]
|
/linux-4.4.14/drivers/cpufreq/ |
D | ppc_cbe_cpufreq_pervasive.c | 60 long time; in cbe_cpufreq_set_pmode() local 69 time = jiffies; in cbe_cpufreq_set_pmode() 94 time = jiffies - time; in cbe_cpufreq_set_pmode() 95 time = jiffies_to_msecs(time); in cbe_cpufreq_set_pmode() 97 "pervasive unit\n", time); in cbe_cpufreq_set_pmode()
|
D | ppc_cbe_cpufreq_pmi.c | 54 long time; in cbe_cpufreq_set_pmode_pmi() local 61 time = jiffies; in cbe_cpufreq_set_pmode_pmi() 66 time = jiffies - time; in cbe_cpufreq_set_pmode_pmi() 67 time = jiffies_to_msecs(time); in cbe_cpufreq_set_pmode_pmi() 69 "PMI\n", time); in cbe_cpufreq_set_pmode_pmi()
|
/linux-4.4.14/Documentation/device-mapper/ |
D | dm-service-time.txt | 1 dm-service-time 4 dm-service-time is a path selector module for device-mapper targets, 5 which selects a path with the shortest estimated service time for 8 The service time for each path is estimated by dividing the total size 13 The path selector name is 'service-time'. 39 dm-service-time adds the I/O size to 'in-flight-size' when the I/O is 41 Basically, dm-service-time selects a path having minimum service time 59 If such optimizations can't be applied, calculate service time, and 60 compare service time. 61 If calculated service time is equal, the path having maximum [all …]
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | hwt.c | 63 void hwt_start(struct s_smc *smc, u_long time) in hwt_start() argument 67 if (time > HWT_MAX) in hwt_start() 68 time = HWT_MAX ; in hwt_start() 70 smc->hw.t_start = time ; in hwt_start() 73 cnt = (u_short)time ; in hwt_start() 202 u_long time ; in hwt_quick_read() local 206 time = inpd(ADDR(B2_TI_VAL)) ; in hwt_quick_read() 207 outpd(ADDR(B2_TI_INI),time) ; in hwt_quick_read() 211 return time; in hwt_quick_read()
|
D | smttimer.c | 62 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, in smt_timer_start() argument 69 time /= 16 ; /* input is uS, clock ticks are 16uS */ in smt_timer_start() 70 if (!time) in smt_timer_start() 71 time = 1 ; in smt_timer_start() 79 timer->tm_delta = time ; in smt_timer_start() 80 hwt_start(smc,time) ; in smt_timer_start() 93 if (delta + tm->tm_delta > time) { in smt_timer_start() 101 timer->tm_delta = time - delta ; in smt_timer_start()
|
/linux-4.4.14/drivers/usb/host/ |
D | xhci-rcar.c | 83 int retval, index, j, time; in xhci_rcar_download_firmware() local 108 for (time = 0; time < timeout; time++) { in xhci_rcar_download_firmware() 114 if (time == timeout) { in xhci_rcar_download_firmware() 124 for (time = 0; time < timeout; time++) { in xhci_rcar_download_firmware() 132 if (time == timeout) in xhci_rcar_download_firmware()
|
/linux-4.4.14/drivers/input/ |
D | input-compat.c | 27 event->time.tv_sec = compat_event.time.tv_sec; in input_event_from_user() 28 event->time.tv_usec = compat_event.time.tv_usec; in input_event_from_user() 47 compat_event.time.tv_sec = event->time.tv_sec; in input_event_to_user() 48 compat_event.time.tv_usec = event->time.tv_usec; in input_event_to_user()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | mpic_timer.c | 93 const u64 ticks, struct timeval *time) in convert_ticks_to_time() argument 97 time->tv_sec = (__kernel_time_t)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time() 98 tmp_sec = (u64)time->tv_sec * (u64)priv->timerfreq; in convert_ticks_to_time() 100 time->tv_usec = 0; in convert_ticks_to_time() 103 time->tv_usec = (__kernel_suseconds_t) in convert_ticks_to_time() 111 const struct timeval *time, u64 *ticks) in convert_time_to_ticks() argument 122 if (time->tv_sec > max_value || in convert_time_to_ticks() 123 (time->tv_sec == max_value && time->tv_usec > 0)) in convert_time_to_ticks() 126 tmp_sec = (u64)time->tv_sec * (u64)priv->timerfreq; in convert_time_to_ticks() 129 tmp_ms = time->tv_usec / 1000; in convert_time_to_ticks() [all …]
|
/linux-4.4.14/drivers/firmware/efi/ |
D | efi-pstore.c | 54 unsigned long time, size; in efi_pstore_read_func() local 63 cb_data->type, &part, &cnt, &time, &data_type) == 5) { in efi_pstore_read_func() 64 *cb_data->id = generic_id(time, part, cnt); in efi_pstore_read_func() 66 cb_data->timespec->tv_sec = time; in efi_pstore_read_func() 73 cb_data->type, &part, &cnt, &time) == 4) { in efi_pstore_read_func() 74 *cb_data->id = generic_id(time, part, cnt); in efi_pstore_read_func() 76 cb_data->timespec->tv_sec = time; in efi_pstore_read_func() 80 cb_data->type, &part, &time) == 3) { in efi_pstore_read_func() 86 *cb_data->id = generic_id(time, part, 0); in efi_pstore_read_func() 88 cb_data->timespec->tv_sec = time; in efi_pstore_read_func() [all …]
|
/linux-4.4.14/tools/power/cpupower/bench/ |
D | README-BENCH | 9 - Identify average reaction time of a governor to CPU load changes 13 - Possibly Real time priority testing? -> what happens if there are 35 will be run X time in a row (cycles): 48 Will increase load and sleep time by 25ms 5 times. 50 25ms load/sleep time repeated 20 times (cycles). 51 50ms load/sleep time repeated 20 times (cycles). 53 100ms load/sleep time repeated 20 times (cycles). 59 and the governor to test. The time the calculation really needed 60 with the dynamic freq scaling governor is compared with the time needed 87 50 50 50 50ms ->time [all …]
|
/linux-4.4.14/kernel/ |
D | latencytop.c | 127 latency_record[i].time += lat->time; in account_global_scheduler_latency() 128 if (lat->time > latency_record[i].max) in account_global_scheduler_latency() 129 latency_record[i].max = lat->time; in account_global_scheduler_latency() 190 lat.time = usecs; in __account_scheduler_latency() 217 mylat->time += lat.time; in __account_scheduler_latency() 218 if (lat.time > mylat->max) in __account_scheduler_latency() 219 mylat->max = lat.time; in __account_scheduler_latency() 250 lr->count, lr->time, lr->max); in lstats_show()
|
D | tsacct.c | 127 cputime_t time, dtime; in __acct_update_integrals() local 133 time = stime + utime; in __acct_update_integrals() 134 dtime = time - tsk->acct_timexpd; in __acct_update_integrals() 141 tsk->acct_timexpd = time; in __acct_update_integrals()
|
/linux-4.4.14/Documentation/devicetree/bindings/bus/ |
D | ti-gpmc.txt | 41 - gpmc,cs-on-ns: Assertion time 42 - gpmc,cs-rd-off-ns: Read deassertion time 43 - gpmc,cs-wr-off-ns: Write deassertion time 46 - gpmc,adv-on-ns: Assertion time 47 - gpmc,adv-rd-off-ns: Read deassertion time 48 - gpmc,adv-wr-off-ns: Write deassertion time 51 - gpmc,we-on-ns Assertion time 52 - gpmc,we-off-ns: Deassertion time 55 - gpmc,oe-on-ns: Assertion time 56 - gpmc,oe-off-ns: Deassertion time [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-devtrace-ucode.h | 36 TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), 37 TP_ARGS(dev, time, data, ev), 41 __field(u32, time) 47 __entry->time = time; 52 __get_str(dev), __entry->time, __entry->data, __entry->ev)
|
D | iwl-devtrace-iwlwifi.h | 185 TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), 186 TP_ARGS(dev, time, data, ev), 190 __field(u32, time) 196 __entry->time = time; 201 __get_str(dev), __entry->time, __entry->data, __entry->ev)
|
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/ |
D | imx6ul_tsc.txt | 14 - measure-delay-time: the value of measure delay time. 15 Before X-axis or Y-axis measurement, the screen need some time before 18 - pre-charge-time: the touch screen need some time to precharge. 33 measure-delay-time = <0xfff>; 34 pre-charge-time = <0xffff>;
|
D | stmpe.txt | 8 - st,sample-time: ADC converstion time in number of clock. (0 -> 36 clocks, 1 -> 20 - st,settling: Panel driver settling time (0 -> 10 us, 1 -> 100 us, 2 -> 500 us, 3 34 st,sample-time = <4>;
|
/linux-4.4.14/drivers/power/ |
D | apm_power.c | 196 int time; in calculate_time() local 198 time = do_calculate_time(status, SOURCE_ENERGY); in calculate_time() 199 if (time != -1) in calculate_time() 200 return time; in calculate_time() 202 time = do_calculate_time(status, SOURCE_CHARGE); in calculate_time() 203 if (time != -1) in calculate_time() 204 return time; in calculate_time() 206 time = do_calculate_time(status, SOURCE_VOLTAGE); in calculate_time() 207 if (time != -1) in calculate_time() 208 return time; in calculate_time() [all …]
|
/linux-4.4.14/sound/oss/ |
D | sys_timer.c | 126 long time; in def_tmr_event() local 131 time = parm; in def_tmr_event() 132 next_event_time = prev_event_time = time; in def_tmr_event() 256 def_tmr_arm(int dev, long time) in def_tmr_arm() argument 258 if (time < 0) in def_tmr_arm() 259 time = curr_ticks + 1; in def_tmr_arm() 260 else if (time <= curr_ticks) /* It's the time */ in def_tmr_arm() 263 next_event_time = prev_event_time = time; in def_tmr_arm()
|
D | sound_timer.c | 125 long time; in timer_event() local 129 time = parm; in timer_event() 130 next_event_time = prev_event_time = time; in timer_event() 256 static void timer_arm(int dev, long time) in timer_arm() argument 258 if (time < 0) in timer_arm() 259 time = curr_ticks + 1; in timer_arm() 260 else if (time <= curr_ticks) /* It's the time */ in timer_arm() 263 next_event_time = prev_event_time = time; in timer_arm()
|
/linux-4.4.14/Documentation/scheduler/ |
D | sched-rt-group.txt | 28 resolution, or the time it takes to handle the budget refresh itself. 33 are real-time processes). 43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule 45 of the CPU time available. Without a minimum guarantee a realtime group can 52 CPU time is divided by means of specifying how much time can be spent running 53 in a given period. We allocate this "run time" for each realtime group which 56 Any time not allocated to a realtime group will be used to run normal priority 57 tasks (SCHED_OTHER). Any allocated run time not used will also be picked up by 63 time dedicated for the graphics. We can then give this group a run time of 0.8 66 This way the graphics group will have a 0.04s period with a 0.032s run time [all …]
|
D | sched-deadline.txt | 48 "runtime" microseconds of execution time every "period" microseconds, and 51 every time the task wakes up, the scheduler computes a "scheduling deadline" 55 task actually receives "runtime" time units within "deadline" if a proper 64 with the "traditional" real-time task model (see Section 3) can effectively 81 scheduling deadline - current time period 83 then, if the scheduling deadline is smaller than the current time, or 87 scheduling deadline = current time + deadline 93 - When a SCHED_DEADLINE task executes for an amount of time t, its 102 said to be "throttled" (also known as "depleted" in real-time literature) 104 time" for this task (see next item) is set to be equal to the current [all …]
|
D | sched-design-CFS.txt | 33 timestamp and measure the "expected CPU time" a task should have gotten. 35 [ small detail: on "ideal" hardware, at any time all tasks would have the same 37 would ever get "out of balance" from the "ideal" share of CPU time. ] 42 up CPU time between runnable tasks as close to "ideal multitasking hardware" as 54 runqueues, but it uses a time-ordered rbtree to build a "timeline" of future 68 CFS maintains a time-ordered rbtree, where all runnable tasks are sorted by the 73 amount of time. 77 for": the (small) time it just spent using the physical CPU is added to 79 becomes the "leftmost task" of the time-ordered rbtree it maintains (plus a 193 This function is mostly called from time tick functions; it might lead to [all …]
|
/linux-4.4.14/drivers/input/misc/ |
D | axp20x-pek.c | 39 unsigned int time; member 44 { .time = 128, .idx = 0 }, 45 { .time = 1000, .idx = 2 }, 46 { .time = 3000, .idx = 1 }, 47 { .time = 2000, .idx = 3 }, 51 { .time = 4000, .idx = 0 }, 52 { .time = 6000, .idx = 1 }, 53 { .time = 8000, .idx = 2 }, 54 { .time = 10000, .idx = 3 }, 94 val = axp20x_ea->p_time[i].time; in axp20x_show_ext_attr() [all …]
|
/linux-4.4.14/include/linux/ |
D | hrtimer.h | 209 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) in hrtimer_set_expires() argument 213 timer->node.expires = time; in hrtimer_set_expires() 214 timer->_softexpires = time; in hrtimer_set_expires() 217 static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) in hrtimer_set_expires_range() argument 219 timer->_softexpires = time; in hrtimer_set_expires_range() 220 timer->node.expires = ktime_add_safe(time, delta); in hrtimer_set_expires_range() 223 static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, unsigned long … in hrtimer_set_expires_range_ns() argument 225 timer->_softexpires = time; in hrtimer_set_expires_range_ns() 226 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns() 235 static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) in hrtimer_add_expires() argument [all …]
|
D | rtc.h | 23 extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); 38 static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) in rtc_time_to_tm() argument 40 rtc_time64_to_tm(time, tm); in rtc_time_to_tm() 46 static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) in rtc_tm_to_time() argument 48 *time = rtc_tm_to_time64(tm); in rtc_tm_to_time()
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 726 struct timespec time; in acpi_os_wait_semaphore() local 788 if (clock_gettime(CLOCK_REALTIME, &time) == -1) { in acpi_os_wait_semaphore() 793 time.tv_sec += (msec_timeout / ACPI_MSEC_PER_SEC); in acpi_os_wait_semaphore() 794 time.tv_nsec += in acpi_os_wait_semaphore() 799 if (time.tv_nsec >= ACPI_NSEC_PER_SEC) { in acpi_os_wait_semaphore() 800 time.tv_sec += (time.tv_nsec / ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore() 801 time.tv_nsec = (time.tv_nsec % ACPI_NSEC_PER_SEC); in acpi_os_wait_semaphore() 804 while (((ret_val = sem_timedwait(sem, &time)) == -1) in acpi_os_wait_semaphore() 986 struct timeval time; in acpi_os_get_timer() local 990 gettimeofday(&time, NULL); in acpi_os_get_timer() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 61 unsigned int time, in amdgpu_benchmark_log_results() argument 65 unsigned int throughput = (n * (size >> 10)) / time; in amdgpu_benchmark_log_results() 68 kind, n, size >> 10, sdomain, ddomain, time, in amdgpu_benchmark_log_results() 79 int time; in amdgpu_benchmark_move() local 110 time = amdgpu_benchmark_do_move(adev, size, saddr, daddr, n); in amdgpu_benchmark_move() 111 if (time < 0) in amdgpu_benchmark_move() 113 if (time > 0) in amdgpu_benchmark_move() 114 amdgpu_benchmark_log_results(n, size, time, in amdgpu_benchmark_move()
|
/linux-4.4.14/Documentation/accounting/ |
D | taskstats-struct.txt | 40 * Each time the struct is changed, the value should be incremented. 67 /* The time when a task begins, in [secs] since 1970. */ 68 __u32 ac_btime; /* Begin time [sec since 1970] */ 70 /* The elapsed time of a task, in [usec]. */ 71 __u64 ac_etime; /* Elapsed time [usec] */ 73 /* The user CPU time of a task, in [usec]. */ 74 __u64 ac_utime; /* User CPU time [usec] */ 76 /* The system CPU time of a task, in [usec]. */ 77 __u64 ac_stime; /* System CPU time [usec] */ 118 /* cpu "wall-clock" running time [all …]
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | msr.txt | 34 time information and check that they are both equal and even. 37 sec: number of seconds for wallclock at time of boot. 39 nsec: number of nanoseconds for wallclock at time of boot. 41 In order to get the current wallclock time, the system_time from 70 The hypervisor may update this structure at any time it sees fit until 76 time information and check that they are both equal and even. 79 tsc_timestamp: the tsc value at the current VCPU at the time 81 from current tsc to derive a notion of elapsed time since the 84 system_time: a host notion of monotonic time, including sleep 85 time at the time this structure was last updated. Unit is [all …]
|
D | timekeeping.txt | 19 time introduces a new set of challenges because it introduces a multiplexed 20 division of time beyond the control of the guest CPU. 183 time clock. The original device is now obsolete, and usually emulated by the 197 The RTC will update the current time fields by battery power even while the 198 system is off. The current time fields should not be read while an update is 293 time source which is independent of local variation (as there is only one HPET 308 not considered important at this time as no known operating system does this. 314 The TSC or time stamp counter is relatively simple in theory; it counts 316 time. In practice, due to a number of problems, it is the most complicated 362 As touched on already, CPUs which arrive later than the boot time of the system [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | rtc.h | 45 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument 48 ppc_md.get_rtc_time(time); in get_rtc_time() 53 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument 56 return ppc_md.set_rtc_time(time); in set_rtc_time()
|
D | mpic_timer.h | 32 const struct timeval *time); 35 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time); 39 const struct timeval *time) { return NULL; } in mpic_request_timer() argument 42 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time) { } in mpic_get_remain_time() argument
|
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-pmc.txt | 39 - nvidia,cpu-pwr-good-time : CPU power good time in uS. 40 - nvidia,cpu-pwr-off-time : CPU power off time in uS. 41 - nvidia,core-pwr-good-time : <Oscillator-stable-time Power-stable-time> 42 Core power good time in uS. 43 - nvidia,core-pwr-off-time : Core power off time in uS. 81 nvidia,cpu-pwr-good-time = <2000>; 82 nvidia,cpu-pwr-off-time = <100>; 83 nvidia,core-pwr-good-time = <3845 3845>; 84 nvidia,core-pwr-off-time = <458>;
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | rtc.h | 31 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument 40 mach_hwclk(0, time); in get_rtc_time() 44 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument 47 return mach_hwclk(1, time); in set_rtc_time()
|
/linux-4.4.14/arch/mn10300/unit-asb2305/ |
D | leds.c | 82 void peripheral_leds7x4_display_minssecs(unsigned int time, unsigned int points) in peripheral_leds7x4_display_minssecs() argument 86 leds = asb2305_led_hex_tbl[(time/600) % 6]; in peripheral_leds7x4_display_minssecs() 88 leds |= asb2305_led_hex_tbl[(time/60) % 10]; in peripheral_leds7x4_display_minssecs() 90 leds |= asb2305_led_hex_tbl[(time/10) % 6]; in peripheral_leds7x4_display_minssecs() 92 leds |= asb2305_led_hex_tbl[time % 10]; in peripheral_leds7x4_display_minssecs()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/linux/ |
D | obd.h | 63 unsigned long time; member 80 lock->time = jiffies; in __client_obd_list_lock() 85 time_before(lock->time + 5 * HZ, jiffies)) { in __client_obd_list_lock() 95 (jiffies - lock->time) / HZ); in __client_obd_list_lock() 113 lock->time = jiffies; in client_obd_list_unlock()
|
D | lustre_compat25.h | 64 #define LTIME_S(time) (time.tv_sec) argument
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | nau8825.txt | 51 - nuvoton,sar-compare-time: SAR compare time 57 - nuvoton,sar-sampling-time: SAR sampling time 63 - nuvoton,short-key-debounce: Button short key press debounce time. 69 - nuvoton,jack-insert-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms 70 - nuvoton,jack-eject-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms 94 nuvoton,sar-compare-time = <0>; 95 nuvoton,sar-sampling-time = <0>;
|
D | atmel-classd.txt | 29 - atmel,non-overlap-time 30 Set non-overlapping time, the unit is nanosecond(ns). 51 atmel,non-overlap-time = <10>;
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | pinger.c | 105 int time = soon ? PING_INTERVAL_SHORT : PING_INTERVAL; in ptlrpc_update_next_ping() local 111 time = min(time, dtime); in ptlrpc_update_next_ping() 113 imp->imp_next_ping = cfs_time_shift(time); in ptlrpc_update_next_ping() 130 static long pinger_check_timeout(unsigned long time) in pinger_check_timeout() argument 146 return cfs_time_sub(cfs_time_add(time, cfs_time_seconds(timeout)), in pinger_check_timeout() 403 static struct timeout_item *ptlrpc_new_timeout(int time, in ptlrpc_new_timeout() argument 414 ti->ti_timeout = time; in ptlrpc_new_timeout() 427 ptlrpc_pinger_register_timeout(int time, enum timeout_event event, in ptlrpc_pinger_register_timeout() argument 438 item = ptlrpc_new_timeout(time, event, cb, data); in ptlrpc_pinger_register_timeout() 441 if (tmp->ti_timeout < time) { in ptlrpc_pinger_register_timeout() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | nv04.c | 28 nv04_timer_time(struct nvkm_timer *tmr, u64 time) in nv04_timer_time() argument 32 u32 hi = upper_32_bits(time); in nv04_timer_time() 33 u32 lo = lower_32_bits(time); in nv04_timer_time() 64 nv04_timer_alarm_init(struct nvkm_timer *tmr, u32 time) in nv04_timer_alarm_init() argument 67 nvkm_wr32(device, NV04_PTIMER_ALARM_0, time); in nv04_timer_alarm_init() 142 .time = nv04_timer_time,
|
D | priv.h | 13 void (*time)(struct nvkm_timer *, u64 time); member 14 void (*alarm_init)(struct nvkm_timer *, u32 time);
|
/linux-4.4.14/drivers/watchdog/ |
D | at32ap700x_wdt.c | 162 static int at32_wdt_settimeout(int time) in at32_wdt_settimeout() argument 168 if ((time < TIMEOUT_MIN) || (time > TIMEOUT_MAX)) in at32_wdt_settimeout() 175 wdt->timeout = time; in at32_wdt_settimeout() 220 int time; in at32_wdt_ioctl() local 236 ret = get_user(time, p); in at32_wdt_ioctl() 239 if (time & WDIOS_DISABLECARD) in at32_wdt_ioctl() 241 if (time & WDIOS_ENABLECARD) in at32_wdt_ioctl() 250 ret = get_user(time, p); in at32_wdt_ioctl() 253 ret = at32_wdt_settimeout(time); in at32_wdt_ioctl()
|
D | sa1100_wdt.c | 98 int time; in sa1100dog_ioctl() local 122 ret = get_user(time, p); in sa1100dog_ioctl() 126 if (time <= 0 || (oscr_freq * (long long)time >= 0xffffffff)) { in sa1100dog_ioctl() 131 pre_margin = oscr_freq * time; in sa1100dog_ioctl()
|
D | ixp4xx_wdt.c | 105 int time; in ixp4xx_wdt_ioctl() local 127 ret = get_user(time, (int *)arg); in ixp4xx_wdt_ioctl() 131 if (time <= 0 || time > 60) { in ixp4xx_wdt_ioctl() 136 heartbeat = time; in ixp4xx_wdt_ioctl()
|
D | m54xx_wdt.c | 124 int time; in m54xx_wdt_ioctl() local 146 ret = get_user(time, (int *)arg); in m54xx_wdt_ioctl() 150 if (time <= 0 || time > 30) { in m54xx_wdt_ioctl() 155 heartbeat = time; in m54xx_wdt_ioctl()
|
D | sbc_fitpc2_wdt.c | 124 int time; in fitpc2_wdt_ioctl() local 146 ret = get_user(time, (int *)arg); in fitpc2_wdt_ioctl() 150 if (time < 31 || time > 255) { in fitpc2_wdt_ioctl() 155 margin = time; in fitpc2_wdt_ioctl()
|
D | eurotechwdt.c | 248 int time; in eurwdt_ioctl() local 282 if (copy_from_user(&time, p, sizeof(int))) in eurwdt_ioctl() 286 if (time < 0 || time > 255) in eurwdt_ioctl() 290 eurwdt_timeout = time; in eurwdt_ioctl() 291 eurwdt_set_timeout(time); in eurwdt_ioctl()
|
D | rn5t618_wdt.c | 45 unsigned int time; member 60 if (rn5t618_wdt_map[i].time + 1 >= t) in rn5t618_wdt_set_timeout() 71 wdt_dev->timeout = rn5t618_wdt_map[i].time; in rn5t618_wdt_set_timeout() 157 min_timeout = rn5t618_wdt_map[0].time; in rn5t618_wdt_probe() 158 max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; in rn5t618_wdt_probe()
|
D | sb_wdog.c | 173 unsigned long time; in sbwdog_ioctl() local 193 ret = get_user(time, p); in sbwdog_ioctl() 197 time *= 1000000; in sbwdog_ioctl() 198 if (time > 0x7fffffUL) { in sbwdog_ioctl() 202 timeout = time; in sbwdog_ioctl()
|
D | i6300esb.c | 159 static int esb_timer_set_heartbeat(int time) in esb_timer_set_heartbeat() argument 163 if (time < 0x1 || time > (2 * 0x03ff)) in esb_timer_set_heartbeat() 172 val = time << 9; in esb_timer_set_heartbeat() 189 heartbeat = time; in esb_timer_set_heartbeat()
|
/linux-4.4.14/tools/testing/selftests/timers/ |
D | leap-a-day.c | 149 if (tx.time.tv_sec < next_leap) { in sigalarm() 153 tx.time.tv_sec, in sigalarm() 154 tx.time.tv_usec, in sigalarm() 162 tx.time.tv_sec, in sigalarm() 163 tx.time.tv_usec, in sigalarm() 338 now = tx.time.tv_sec; in main() 354 ctime_r(&tx.time.tv_sec, buf); in main() 359 tx.time.tv_usec, in main() 363 now = tx.time.tv_sec; in main()
|
D | set-2038.c | 59 int settime(long long time) in settime() argument 64 now.tv_sec = (time_t)time; in settime() 69 printf("Setting time to 0x%lx: %d\n", (long)time, ret); in settime() 99 start = time(0); in main()
|
/linux-4.4.14/Documentation/devicetree/bindings/mtd/ |
D | gpmc-nor.txt | 14 - gpmc,cs-on-ns: Chip-select assertion time 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 17 - gpmc,oe-on-ns: Output-enable assertion time 18 - gpmc,oe-off-ns: Output-enable de-assertion time 19 - gpmc,we-on-ns Write-enable assertion time 20 - gpmc,we-off-ns: Write-enable de-assertion time 22 - gpmc,rd-cycle-ns: Total read cycle time 23 - gpmc,wr-cycle-ns: Total write cycle time
|
D | lpc32xx-slc.txt | 16 - nxp,whold: Write hold time (W_HOLD) 17 - nxp,wsetup: Write setup time (W_SETUP) 19 - nxp,rhold: Read hold time (R_HOLD) 20 - nxp,rsetup: Read setup time (R_SETUP)
|
/linux-4.4.14/drivers/ras/ |
D | Kconfig | 7 and help them stay available for long periods of time without 11 produce correct outputs up to some given time. Reliability is 16 time, i.e. the amount of time a device is actually operating as the 17 percentage of total time it should be operating. 20 which a system can be repaired or maintained; if the time to repair
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | procfs-diskstats | 14 7 - time spent reading (ms) 18 11 - time spent writing (ms) 20 13 - time spent doing I/Os (ms) 21 14 - weighted time spent doing I/Os (ms)
|
D | sysfs-cfq-target-latency | 7 It contains an estimated latency time for the cfq. cfq will 8 use it to calculate the time slice used for every task.
|
/linux-4.4.14/arch/m68k/mac/ |
D | misc.c | 40 long time; in cuda_read_time() local 47 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time() 49 return time - RTC_OFFSET; in cuda_read_time() 95 long time; in pmu_read_time() local 102 time = (req.reply[1] << 24) | (req.reply[2] << 16) in pmu_read_time() 104 return time - RTC_OFFSET; in pmu_read_time() 153 long time; 158 time = (req.reply[3] << 24) | (req.reply[4] << 16) 160 return time - RTC_OFFSET; 348 static void via_write_time(long time) in via_write_time() argument [all …]
|
/linux-4.4.14/Documentation/locking/ |
D | lockstat.txt | 47 wait time min - shortest (non-0) time we ever had to wait for a lock 48 max - longest time we ever had to wait for a lock 49 total - total time we spend waiting on this lock 50 avg - average time spent waiting on this lock 53 hold time min - shortest (non-0) time we ever held the lock 54 max - longest time we ever held the lock 55 total - total time this lock was held 56 avg - average time this lock was held 119 output version - each time the format changes this will be updated. Line 02-04 134 The integer part of the time values is in us.
|
/linux-4.4.14/drivers/input/joystick/ |
D | joydump.c | 45 unsigned int time; member 97 dump->time = t; in joydump_connect() 108 dump->time = t; in joydump_connect() 134 i, dump->time - prev->time); in joydump_connect()
|
/linux-4.4.14/fs/fat/ |
D | misc.c | 192 u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); in fat_time_fat2unix() local 205 second = (time & 0x1f) << 1; in fat_time_fat2unix() 206 second += ((time >> 5) & 0x3f) * SECS_PER_MIN; in fat_time_fat2unix() 207 second += (time >> 11) * SECS_PER_HOUR; in fat_time_fat2unix() 228 __le16 *time, __le16 *date, u8 *time_cs) in fat_time_unix2fat() argument 237 *time = 0; in fat_time_unix2fat() 244 *time = cpu_to_le16((23 << 11) | (59 << 5) | 29); in fat_time_unix2fat() 258 *time = cpu_to_le16(tm.tm_hour << 11 | tm.tm_min << 5 | tm.tm_sec); in fat_time_unix2fat()
|
/linux-4.4.14/Documentation/laptops/ |
D | dslm.c | 58 static char *myctime(time_t time) in myctime() argument 60 char *ts = ctime(&time); in myctime() 84 start_time = last_time = time(0); in measure() 93 curr_time = time(0); in measure() 109 total_time = time(0) - start_time; in measure()
|
/linux-4.4.14/Documentation/devicetree/bindings/rtc/ |
D | atmel,at91sam9-rtc.txt | 8 - atmel,rtt-rtc-time-reg: should encode the GPBR register used to store 9 the time base when the RTT is used as an RTC. 12 GPBR register used to store the time base). 22 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | gpmc-eth.txt | 29 - gpmc,cs-on-ns: Chip-select assertion time 30 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 31 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 32 - gpmc,oe-on-ns: Output-enable assertion time 33 - gpmc,oe-off-ns: Output-enable de-assertion time 34 - gpmc,we-on-ns: Write-enable assertion time 35 - gpmc,we-off-ns: Write-enable de-assertion time 37 - gpmc,rd-cycle-ns: Total read cycle time 38 - gpmc,wr-cycle-ns: Total write cycle time
|
/linux-4.4.14/Documentation/ |
D | rtc.txt | 6 something that tracks wall clock time and is battery backed so that it 8 the local time zone or daylight savings time -- unless they dual boot 12 The newest non-PC hardware tends to just count seconds, like the time(2) 13 system call reports, but RTCs also very commonly represent time using 14 the Gregorian calendar and 24 hour time, as reported by gmtime(3). 32 be able to schedule one any time in the upcoming century. 41 clock that keeps the date and time while your computer is turned off. 64 interface open at a time. 89 Also, if the kernel time is synchronized with an external source, the 90 kernel will write the time back to the CMOS clock every 11 minutes. In [all …]
|
D | cpu-load.txt | 6 the average time system spent in a particular state, for example: 17 system spent 10.01% of the time doing work in user space, 2.92% in the 18 kernel, and was overall 81.63% of the time idle. 38 time line between two timer interrupts 55 #include <time.h> 58 #include <sys/time.h>
|
/linux-4.4.14/Documentation/networking/ |
D | timestamping.txt | 8 monotonic) system time. Reports the timestamp via recvmsg() in a 143 The counter starts at zero. It is initialized the first time that 144 the socket option is enabled. It is reset each time the option is 231 send time with the value returned for each timestamp. It can prevent 263 feature. Only one field is non-zero at any time. Most timestamps 266 ts[1] used to hold hardware timestamps converted to system time. 268 a HW PTP clock source, to allow time conversion in userspace and 269 optionally synchronize system time with a userspace PTP stack such 344 Hardware time stamping must also be initialized for each device driver 345 that is expected to do hardware time stamping. The parameter is defined in [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | smu.c | 364 struct rtc_time *time) in smu_fill_set_rtc_cmd() argument 369 cmd_buf->data[1] = hex2bcd(time->tm_sec); in smu_fill_set_rtc_cmd() 370 cmd_buf->data[2] = hex2bcd(time->tm_min); in smu_fill_set_rtc_cmd() 371 cmd_buf->data[3] = hex2bcd(time->tm_hour); in smu_fill_set_rtc_cmd() 372 cmd_buf->data[4] = time->tm_wday; in smu_fill_set_rtc_cmd() 373 cmd_buf->data[5] = hex2bcd(time->tm_mday); in smu_fill_set_rtc_cmd() 374 cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; in smu_fill_set_rtc_cmd() 375 cmd_buf->data[7] = hex2bcd(time->tm_year - 100); in smu_fill_set_rtc_cmd() 379 int smu_get_rtc_time(struct rtc_time *time, int spinwait) in smu_get_rtc_time() argument 387 memset(time, 0, sizeof(struct rtc_time)); in smu_get_rtc_time() [all …]
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_kcs_sm.c | 233 long time) in check_ibf() argument 236 kcs->ibf_timeout -= time; in check_ibf() 249 long time) in check_obf() argument 252 kcs->obf_timeout -= time; in check_obf() 346 static enum si_sm_result kcs_event(struct si_sm_data *kcs, long time) in kcs_event() argument 357 if (!check_ibf(kcs, status, time)) in kcs_event() 438 if (!check_obf(kcs, status, time)) in kcs_event() 481 if (!check_obf(kcs, status, time)) in kcs_event() 496 if (!check_obf(kcs, status, time)) in kcs_event()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer_benchmark.c | 231 unsigned long long time; in ring_buffer_producer() local 295 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer() 323 trace_printk("Time: %lld (usecs)\n", time); in ring_buffer_producer() 336 do_div(time, USEC_PER_MSEC); in ring_buffer_producer() 337 if (time) in ring_buffer_producer() 338 hit /= (long)time; in ring_buffer_producer() 351 if (time) in ring_buffer_producer() 352 missed /= (long)time; in ring_buffer_producer()
|
/linux-4.4.14/net/netfilter/ |
D | xt_time.c | 77 static inline unsigned int localtime_1(struct xtm *r, time_t time) in localtime_1() argument 82 v = time % SECONDS_PER_DAY; in localtime_1() 90 static inline void localtime_2(struct xtm *r, time_t time) in localtime_2() argument 96 r->dse = time / 86400; in localtime_2() 105 static void localtime_3(struct xtm *r, time_t time) in localtime_3() argument
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-rds-gen.c | 60 unsigned time; in vivid_rds_generate() local 107 time = (tm.tm_hour << 12) | in vivid_rds_generate() 115 data[2].lsb |= (time >> 16) & 1; in vivid_rds_generate() 118 data[3].lsb = time & 0xff; in vivid_rds_generate() 119 data[3].msb = (time >> 8) & 0xff; in vivid_rds_generate()
|
/linux-4.4.14/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 46 static inline void ssp_convert_to_freq(u32 time, int *integer_part, in ssp_convert_to_freq() argument 49 if (time == 0) { in ssp_convert_to_freq() 55 *integer_part = SSP_FACTOR_WITH_MS / time; in ssp_convert_to_freq()
|
D | ssp_iio.c | 82 __le32 time; in ssp_common_process_data() local 95 memcpy(&time, &((char *)buf)[len], SSP_TIME_SIZE); in ssp_common_process_data() 97 timestamp + (int64_t)le32_to_cpu(time) * 1000000; in ssp_common_process_data()
|
/linux-4.4.14/arch/arc/boot/dts/ |
D | abilis_tb100_dvk.dts | 48 i2c-sda-hold-time-ns = <432>; 51 i2c-sda-hold-time-ns = <432>; 54 i2c-sda-hold-time-ns = <432>; 57 i2c-sda-hold-time-ns = <432>; 60 i2c-sda-hold-time-ns = <432>;
|
D | abilis_tb101_dvk.dts | 48 i2c-sda-hold-time-ns = <432>; 51 i2c-sda-hold-time-ns = <432>; 54 i2c-sda-hold-time-ns = <432>; 57 i2c-sda-hold-time-ns = <432>; 60 i2c-sda-hold-time-ns = <432>;
|
/linux-4.4.14/Documentation/video4linux/ |
D | cafe_ccic | 9 sensor is known to work with this controller at this time. 18 There are a few load-time options, most of which can be changed after 22 buffers until the time comes to transfer data. If this option is set, 23 then worst-case-sized buffers will be allocated at module load time. 28 option is only consulted for load-time allocation; when buffers are 29 allocated at run time, they will be sized appropriately for the current
|
/linux-4.4.14/Documentation/cpuidle/ |
D | sysfs.txt | 19 In this case users can switch the governor at run time by writing 43 -r--r--r-- 1 root root 4096 Feb 8 10:42 time 53 -r--r--r-- 1 root root 4096 Feb 8 10:42 time 63 -r--r--r-- 1 root root 4096 Feb 8 10:42 time 73 -r--r--r-- 1 root root 4096 Feb 8 10:42 time 83 * time : Total time spent in this idle state (in microseconds)
|
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ |
D | mvebu-devbus.txt | 37 - devbus,turn-off-ps: Defines the time during which the controller does not 46 - devbus,badr-skew-ps: Defines the time delay from from A[2:0] toggle, 52 - devbus,acc-first-ps: Defines the time delay from the negation of 57 - devbus,acc-next-ps: Defines the time delay between the cycle that 62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to 71 - devbus,rd-hold-ps: Defines the time between the last data sample to the 85 - devbus,ale-wr-ps: Defines the time delay from the ALE[0] negation cycle 89 - devbus,wr-low-ps: Defines the time during which DEV_WEn is active. 91 is active. This parameter defines the setup time of 95 - devbus,wr-high-ps: Defines the time during which DEV_WEn is kept [all …]
|
D | ingenic,jz4780-nemc.txt | 32 - ingenic,nemc-tAS: Address setup time in nanoseconds. 33 - ingenic,nemc-tAH: Address hold time in nanoseconds. 34 - ingenic,nemc-tBP: Burst pitch time in nanoseconds. 35 - ingenic,nemc-tAW: Access wait time in nanoseconds. 36 - ingenic,nemc-tSTRV: Static memory recovery time in nanoseconds.
|
/linux-4.4.14/Documentation/filesystems/ |
D | gfs2-glocks.txt | 11 threads from making calls to the DLM, etc. at the same time. If a 68 The minimum hold time for each lock is the time after a remote lock 74 remote callback, that gives the userspace program time to make 150 1. DLM lock time (non-blocking requests) 151 2. DLM lock time (blocking requests) 152 3. Inter-request time (again to the DLM) 172 1. To be able to better set the glock "min hold time" 175 allocation (to base it on lock wait time, rather than blindly 184 Knowing both the time it takes a lock request to complete and 185 the average time between lock requests for a glock means we [all …]
|
D | quota.txt | 11 softlimit but only for limited period of time. This period is called "grace 12 period" or "grace time". When grace time is over, user is not able to allocate 15 Quota limits (and amount of grace time) are set independently for each 23 When user exceeds a softlimit, runs out of grace time or reaches hardlimit,
|
/linux-4.4.14/security/tomoyo/ |
D | util.c | 90 void tomoyo_convert_time(time_t time, struct tomoyo_time *stamp) in tomoyo_convert_time() argument 99 stamp->sec = time % 60; in tomoyo_convert_time() 100 time /= 60; in tomoyo_convert_time() 101 stamp->min = time % 60; in tomoyo_convert_time() 102 time /= 60; in tomoyo_convert_time() 103 stamp->hour = time % 24; in tomoyo_convert_time() 104 time /= 24; in tomoyo_convert_time() 107 if (time < days) in tomoyo_convert_time() 109 time -= days; in tomoyo_convert_time() 112 for (m = 0; m < 11 && time >= tomoyo_eom[r][m]; m++) in tomoyo_convert_time() [all …]
|
/linux-4.4.14/tools/perf/ |
D | builtin-timechart.c | 184 u64 time; member 327 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event() 337 pid_exit(tchart, event->fork.pid, event->fork.time); in process_exit_event() 413 we->time = timestamp; in sched_wakeup() 563 if (!tchart->first_time || tchart->first_time > sample->time) in process_sample_event() 564 tchart->first_time = sample->time; in process_sample_event() 565 if (tchart->last_time < sample->time) in process_sample_event() 566 tchart->last_time = sample->time; in process_sample_event() 588 c_state_end(tchart, cpu_id, sample->time); in process_sample_cpu_idle() 590 c_state_start(cpu_id, sample->time, state); in process_sample_cpu_idle() [all …]
|
/linux-4.4.14/Documentation/ptp/ |
D | ptp.txt | 15 - Set time 16 - Get time 24 - Synchronization of the Linux system time via the PPS subsystem 32 driver of asynchronous events (alarms and external time stamps) via 50 ancillary clock features. User space can receive time stamped 65 reentrant. Since most hardware implementations treat the time value 83 - GPIO inputs can time stamp external triggers
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_ps.c | 87 void rtl92e_enter_sleep(struct net_device *dev, u64 time) in rtl92e_enter_sleep() argument 97 time -= msecs_to_jiffies(8 + 16 + 7); in rtl92e_enter_sleep() 100 if (time_before((unsigned long)time, timeout)) { in rtl92e_enter_sleep() 103 time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME)); in rtl92e_enter_sleep() 107 if (time_after((unsigned long)time, timeout)) { in rtl92e_enter_sleep() 109 time - jiffies, msecs_to_jiffies(MAX_SLEEP_TIME)); in rtl92e_enter_sleep() 113 tmp = time - jiffies; in rtl92e_enter_sleep()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | sysfs.c | 166 u64 time; in show_pw20_wait_time() local 178 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_pw20_wait_time() 182 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_pw20_wait_time() 184 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_pw20_wait_time() 187 time = pw20_wt; in show_pw20_wait_time() 190 return sprintf(buf, "%llu\n", time > 0 ? time : 0); in show_pw20_wait_time() 288 u64 time; in show_altivec_idle_wait_time() local 300 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_altivec_idle_wait_time() 304 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_altivec_idle_wait_time() 306 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_altivec_idle_wait_time() [all …]
|
D | nvram_64.c | 447 int *count, struct timespec *time, char **buf, in nvram_pstore_read() argument 469 time->tv_sec = 0; in nvram_pstore_read() 470 time->tv_nsec = 0; in nvram_pstore_read() 476 time->tv_sec = last_rtas_event; in nvram_pstore_read() 477 time->tv_nsec = 0; in nvram_pstore_read() 484 time->tv_sec = 0; in nvram_pstore_read() 485 time->tv_nsec = 0; in nvram_pstore_read() 494 time->tv_sec = 0; in nvram_pstore_read() 495 time->tv_nsec = 0; in nvram_pstore_read() 536 time->tv_sec = 0; in nvram_pstore_read() [all …]
|
/linux-4.4.14/Documentation/hwmon/ |
D | lm73 | 26 affects the conversion time of the LM73's analog-to-digital converter. 28 conversion time via the 'update_interval' sysfs attribute for the 42 used to change the conversion time: 71 conversion time actively in use. 73 Mathematically, the resolution can be derived from the conversion time
|
/linux-4.4.14/Documentation/ia64/ |
D | efirtc.txt | 22 at first, the time of day service. This is required in order to access, in a 24 to initialize the system view of the time during boot. 33 EFI uses a slightly different way of representing the time, noticeably 36 expose this new way of representing time. Instead we use something very 47 To allow for a uniform interface between the legacy RTC and EFI time service, 55 The part of the driver gives access to the time of day service of EFI. 77 The driver takes care of converting back an forth between the EFI time and 89 Root privileges are required to be able to set the time of day. 115 struct rtc_time time;
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
D | time.c | 44 static void __maybe_unused _dump_time(int time, const char *func, in _dump_time() argument 49 to_tm(time, &tm); in _dump_time() 51 pr_debug("%s:%d time %d\n", func, line, time); in _dump_time()
|
/linux-4.4.14/fs/pstore/ |
D | ram.c | 152 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec *time, in ramoops_read_kmsg_hdr() argument 158 if (sscanf(buffer, RAMOOPS_KERNMSG_HDR "%lu.%lu-%c\n%n", &time->tv_sec, in ramoops_read_kmsg_hdr() 159 &time->tv_nsec, &data_type, &header_length) == 3) { in ramoops_read_kmsg_hdr() 165 &time->tv_sec, &time->tv_nsec, &header_length) == 2) { in ramoops_read_kmsg_hdr() 168 time->tv_sec = 0; in ramoops_read_kmsg_hdr() 169 time->tv_nsec = 0; in ramoops_read_kmsg_hdr() 182 int *count, struct timespec *time, in ramoops_pstore_read() argument 196 time->tv_sec = 0; in ramoops_pstore_read() 197 time->tv_nsec = 0; in ramoops_pstore_read() 208 time, compressed); in ramoops_pstore_read() [all …]
|
/linux-4.4.14/Documentation/cgroups/ |
D | blkio-controller.txt | 12 weight time based division of disk policy. It is implemented in CFQ. Hence 62 much disk time (in milliseconds), each group got and how many sectors each 63 group dispatched to the disk. We provide fairness in terms of disk time, so 184 - blkio.time 185 - disk time allocated to cgroup per device in milliseconds. First 187 third field specifies the disk time allocated to group in 211 - Total amount of time between request dispatch and request completion 214 this time represents the actual service time. When queue_depth > 1, 216 may cause the service time for a given IO to include the service time 218 io_service_time > actual time elapsed. This time is further divided by [all …]
|
D | cpuacct.txt | 18 /sys/fs/cgroup/cpuacct.usage gives the CPU time (in nanoseconds) obtained 19 by this group which is essentially the CPU time obtained by all the tasks 29 process (bash) into it. CPU time consumed by this bash and its children 34 CPU time obtained by the cgroup into user and system times. Currently
|
/linux-4.4.14/Documentation/mmc/ |
D | mmc-async-req.txt | 10 time between when an MMC request ends and another MMC request begins. 20 The increase in throughput is proportional to the time it takes to 23 more significant the prepare request time becomes. Roughly the expected 72 * The first chunk of the request should take the same time 73 * to prepare as the "MMC process command time". 74 * If prepare time exceeds MMC cmd time
|
/linux-4.4.14/arch/x86/xen/ |
D | time.c | 129 runnable = state.time[RUNSTATE_runnable] - snap->time[RUNSTATE_runnable]; in do_stolen_accounting() 130 offline = state.time[RUNSTATE_offline] - snap->time[RUNSTATE_offline]; in do_stolen_accounting() 150 &HYPERVISOR_shared_info->vcpu_info[0].time; in xen_tsc_khz() 161 src = &__this_cpu_read(xen_vcpu)->time; in xen_clocksource_read() 178 vcpu_time = &get_cpu_var(xen_vcpu)->time; in xen_read_wallclock()
|
/linux-4.4.14/Documentation/cpu-freq/ |
D | cpufreq-stats.txt | 37 All the statistics will be from the time the stats driver has been inserted 38 to the time when a read of a particular statistic is done. Obviously, stats 53 This gives the amount of time spent in each of the frequencies supported by 54 this CPU. The cat output will have "<frequency> <time>" pair in each line, which 55 will mean this CPU spent <time> usertime units of time at <frequency>. Output 57 is 10mS (similar to other time exported in /proc).
|
/linux-4.4.14/sound/drivers/opl3/ |
D | opl3_midi.c | 162 unsigned int time; in opl3_get_voice() member 168 best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ in opl3_get_voice() 181 voice_time = vp->time; in opl3_get_voice() 201 voice_time = (voice_time > vp->time) ? in opl3_get_voice() 202 voice_time : vp->time; in opl3_get_voice() 216 if (voice_time < bp->time) { in opl3_get_voice() 217 bp->time = voice_time; in opl3_get_voice() 578 vp->time = opl3->use_time++; in snd_opl3_note_on() 586 vp2->time = opl3->use_time++; in snd_opl3_note_on() 594 vp2->time = opl3->use_time++; in snd_opl3_note_on() [all …]
|
/linux-4.4.14/include/uapi/sound/ |
D | asequencer.h | 241 struct snd_seq_real_time time; member 255 union snd_seq_timestamp time; /* time */ member 278 union snd_seq_timestamp time; /* schedule time */ member 291 union snd_seq_timestamp time; member 392 union snd_seq_timestamp time; member 492 struct snd_seq_real_time time; /* current time */ member
|
/linux-4.4.14/drivers/ptp/ |
D | Kconfig | 18 time stamping units, it can be possible to achieve 36 getting hardware time stamps on the PTP Ethernet packets 50 getting hardware time stamps on the PTP Ethernet packets 69 getting hardware time stamps on the PTP Ethernet packets 82 clock. The hardware supports time stamping of PTP packets 87 hardware time stamps on the PTP Ethernet packets using the
|
/linux-4.4.14/Documentation/input/ |
D | joystick-api.txt | 31 __u32 time; /* event timestamp in milliseconds */ 112 2.4 js_event.time 115 The time an event was generated is stored in ``js_event.time''. It's a time 118 presses happened at the same time, and similar. 127 admittedly, a long time;) 165 mentioned, or because too much time elapses from one read to another 169 If time between reads is enough to fill the queue and lose an event, 170 the driver will switch to startup mode and next time you read it, 180 at a time using the typical read(2) functionality. For that, you would 214 JSIOGCVERSION is a good way to check in run-time whether the running [all …]
|
/linux-4.4.14/Documentation/timers/ |
D | hrtimers.txt | 39 settimeofday or NTP time - further underlying our experience by 47 recascaded because the expected correct event arrives in time so they 91 timers at activation time. After looking at several possible solutions 95 file systems. The rbtree is solely used for time sorted ordering, while 101 queues while keeping the time-order intact.) 109 time-changing code had to fix them up one by one, and all of them had to 110 be enqueued again. The time-ordered enqueueing and the storage of the 111 expiry time in absolute time units removes all this complex and poorly 125 Basic data types: every time value, absolute or relative, is in a 130 compile time). The hybrid union type optimizes time conversions on 32bit [all …]
|
/linux-4.4.14/arch/score/ |
D | Kconfig.debug | 15 some command-line options at build time by entering them here. In 20 bool "Enable run-time debugging" 23 If you say Y here, some debugging macros will do run-time checking.
|
/linux-4.4.14/Documentation/block/ |
D | cfq-iosched.txt | 79 multiple queues in the group at the same time and achieve higher throughput 88 to recompute the slice time for each process based on the target_latency set 91 system to get a full time slice. 97 This parameter is used to calculate the time slice for a process if cfq's 101 time for each process to issue I/O request before the cfq queue is switched. 118 device request queue in queue's slice time. The maximum number of request that 125 executed for a certain amount of time(time_slice) before switching to another 126 queue. This parameter is used to calculate the time slice of synchronous 137 queue's time slice, a request will not be dispatched if the number of request 187 time will be distributed like the following. [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_lib.h | 480 #define LWI_TIMEOUT(time, cb, data) \ argument 482 .lwi_timeout = time, \ 489 #define LWI_TIMEOUT_INTERVAL(time, interval, cb, data) \ argument 491 .lwi_timeout = time, \ 498 #define LWI_TIMEOUT_INTR(time, time_cb, sig_cb, data) \ argument 500 .lwi_timeout = time, \ 508 #define LWI_TIMEOUT_INTR_ALL(time, time_cb, sig_cb, data) \ argument 510 .lwi_timeout = time, \
|
/linux-4.4.14/drivers/net/ethernet/hp/ |
D | hp100.c | 1389 unsigned long time; in hp100_BM_shutdown() local 1413 for (time = 0; time < 5000; time++) { in hp100_BM_shutdown() 1424 for (time = 0; time < 32000; time++) { in hp100_BM_shutdown() 1434 for (time = 0; time < 10000; time++) { in hp100_BM_shutdown() 1441 if (time >= 10000) in hp100_BM_shutdown() 1449 for (time = 0; time < 10000; time++) { in hp100_BM_shutdown() 2500 unsigned long time; in hp100_down_vg_link() local 2509 time = jiffies + (HZ / 4); in hp100_down_vg_link() 2515 } while (time_after(time, jiffies)); in hp100_down_vg_link() 2517 if (time_after_eq(jiffies, time)) /* no signal->no logout */ in hp100_down_vg_link() [all …]
|
/linux-4.4.14/sound/soc/intel/common/ |
D | sst-dsp.c | 257 int time, ret; in sst_dsp_register_poll() local 267 for (time = 0; time < 5; time++) { in sst_dsp_register_poll() 279 for (time = 0; time < timeout; time++) { in sst_dsp_register_poll() 289 (time < timeout) ? "successful" : "timedout"); in sst_dsp_register_poll() 290 ret = time < timeout ? 0 : -ETIME; in sst_dsp_register_poll()
|
/linux-4.4.14/fs/ntfs/ |
D | time.h | 85 static inline struct timespec ntfs2utc(const sle64 time) in ntfs2utc() argument 90 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc()
|
/linux-4.4.14/Documentation/x86/ |
D | early-microcode.txt | 5 Kernel can update microcode in early phase of boot time. Loading microcode early 6 can fix CPU issues before they are observed during kernel boot time. 9 file and loaded to CPUs during boot time. 13 during boot time. The microcode file in cpio name space is:
|
/linux-4.4.14/arch/xtensa/ |
D | Kconfig.debug | 19 Enable this function to disable link-time optimizations. 23 Enabling this option improves the link time but increases the 24 code size, and possibly execution time.
|
/linux-4.4.14/Documentation/devicetree/bindings/regulator/ |
D | anatop-regulator.txt | 13 - anatop-delay-reg-offset: Anatop MFD step time register offset 14 - anatop-delay-bit-shift: Bit shift for the step time register 15 - anatop-delay-bit-width: Number of bits used in the step time register
|
D | ti-abb-regulator.txt | 20 - ti,settling-time: Settling time in uSecs from SoC documentation for ABB module 21 to settle down(target time for SR2_WTCNT_VALUE). 23 computing settling time from SoC Documentation for ABB module(clock 78 ti,settling-time = <30>; 98 ti,settling-time = <50>; 125 ti,settling-time = <50>;
|
/linux-4.4.14/Documentation/devicetree/bindings/serial/ |
D | rs485.txt | 16 - linux,rs485-enabled-at-boot-time: empty property telling to enable the rs485 17 feature at boot time. It can be disabled later with proper ioctl. 28 linux,rs485-enabled-at-boot-time;
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-kvm.txt | 61 handled time, samples, and so on. 111 number), time (sort by average time). 148 number), time (sort by average time). 156 a long time, because the file may be huge. A time out is needed 158 This option sets the time out limit. The default value is 500 ms.
|
/linux-4.4.14/tools/perf/util/ |
D | thread-stack.c | 561 return thread_stack__push_cp(thread->ts, ip, sample->time, ref, cp, in thread_stack__bottom() 580 sample->time, ref, in thread_stack__no_call_return() 593 return thread_stack__push_cp(ts, 0, sample->time, ref, in thread_stack__no_call_return() 600 sample->time, ref, in thread_stack__no_call_return() 618 err = thread_stack__push_cp(ts, sample->addr, sample->time, ref, cp, in thread_stack__no_call_return() 623 return thread_stack__pop_cp(thread, ts, sample->addr, sample->time, ref, in thread_stack__no_call_return() 667 return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, in thread_stack__trace_end() 715 ts->last_time = sample->time; in thread_stack__process() 734 err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, in thread_stack__process() 741 sample->time, ref, from_al->sym); in thread_stack__process() [all …]
|
/linux-4.4.14/Documentation/thermal/ |
D | intel_powerclamp.txt | 66 If the kernel can also inject idle time to the system, then a 79 thread synchronizes its idle time and duration, based on the rounding 87 Alignment of idle time around jiffies ensures scalability for HZ 92 until the next time interval. 94 The NOHZ schedule tick is disabled during idle time, but interrupts 120 time is considered largely as a non-causal system where its behavior 122 intel_powerclamp driver attempts to enforce the desired idle time 124 powerclamp moniors the actual idle for a given time window and adjust 205 idle time is injected when such a condition is detected. Currently, 230 forced idle time, excessive interrupts could result in less [all …]
|
/linux-4.4.14/sound/drivers/ |
D | Kconfig | 90 The loopback device allows time sychronization with an external 91 timing source using the time shift universal control (+-20% 92 of system time). 194 snd-ac97-codec driver module, where 'X' is the time-out 196 seconds of idle time the driver must count before it may 205 In this case, the time-out is set to 10 seconds; setting 206 the time-out to 1 second (the minimum activation value) 214 int "Default time-out for AC97 power-save mode" 218 The default time-out value in seconds for AC97 automatic
|