time 1237 arch/alpha/kernel/osf_sys.c struct timeval32 time; /* (read only) */ time 1260 arch/alpha/kernel/osf_sys.c if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || time 1270 arch/alpha/kernel/osf_sys.c if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || time 1273 arch/alpha/kernel/osf_sys.c (put_user(txc.time.tv_sec, &txc_p->time.tv_sec)) || time 1274 arch/alpha/kernel/osf_sys.c (put_user(txc.time.tv_usec, &txc_p->time.tv_usec))) time 53 arch/arc/include/asm/entry-arcv2.h ; 2. STATUS32.Z flag set if in U mode at time of interrupt (U:1,K:0) time 78 arch/arc/include/asm/entry-arcv2.h ; 2. STATUS32.Z flag set if in U mode at time of exception (U:1,K:0) time 15 arch/arm/include/asm/paravirt.h struct pv_time_ops time; time 22 arch/arm/include/asm/paravirt.h return pv_ops.time.steal_clock(cpu); time 185 arch/arm/mach-cns3xxx/pcie.c unsigned long time; time 198 arch/arm/mach-cns3xxx/pcie.c time = jiffies; time 205 arch/arm/mach-cns3xxx/pcie.c } else if (time_after(jiffies, time + 50)) { time 434 arch/arm/mach-omap2/vc.c u32 time; time 436 arch/arm/mach-omap2/vc.c time = voltage_diff / voltdm->pmic->slew_rate; time 438 arch/arm/mach-omap2/vc.c cycles = voltdm->sys_clk.rate / 1000 * time / 1000; time 700 arch/arm/mach-pxa/sharpsl_pm.c int time; time 726 arch/arm/mach-pxa/sharpsl_pm.c int time; time 740 arch/arm/mach-pxa/sharpsl_pm.c time = RCNR; time 746 arch/arm/mach-pxa/sharpsl_pm.c if ((RCNR - time) > SHARPSL_WAIT_CO_TIME) time 763 arch/arm/mach-pxa/sharpsl_pm.c time = RCNR; time 769 arch/arm/mach-pxa/sharpsl_pm.c if ((RCNR-time) > SHARPSL_WAIT_CO_TIME) { time 15 arch/arm64/include/asm/paravirt.h struct pv_time_ops time; time 22 arch/arm64/include/asm/paravirt.h return pv_ops.time.steal_clock(cpu); time 273 arch/ia64/kernel/traps.c unsigned long time; time 299 arch/ia64/kernel/traps.c if (unlikely(current_jiffies > cp->time)) time 303 arch/ia64/kernel/traps.c cp->time = current_jiffies + 5 * HZ; time 315 arch/ia64/kernel/traps.c if (current_jiffies > last.time) time 320 arch/ia64/kernel/traps.c last.time = current_jiffies + 5 * HZ; time 79 arch/m68k/kernel/time.c struct rtc_time time; time 87 arch/m68k/kernel/time.c mach_hwclk(0, &time); time 89 arch/m68k/kernel/time.c ts->tv_sec = mktime64(time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, time 90 arch/m68k/kernel/time.c time.tm_hour, time.tm_min, time.tm_sec); time 299 arch/m68k/mac/misc.c time64_t time; time 301 arch/m68k/mac/misc.c time = mktime64(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, time 309 arch/m68k/mac/misc.c data.idata = lower_32_bits(time + RTC_OFFSET); time 546 arch/m68k/mac/misc.c static void unmktime(time64_t time, long offset, time 561 arch/m68k/mac/misc.c days = div_u64_rem(time, SECS_PER_DAY, &rem); time 1195 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1197 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1208 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1210 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1234 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1236 arch/mips/include/asm/octeon/cvmx-agl-defs.h uint64_t time:16; time 1006 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 1010 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 1019 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 1023 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 3542 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:22; time 3546 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:22; time 3917 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 3919 arch/mips/include/asm/octeon/cvmx-npei-defs.h uint64_t time:32; time 2506 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t time:32; time 2508 arch/mips/include/asm/octeon/cvmx-npi-defs.h uint64_t time:32; time 157 arch/mips/lasat/ds1603.c time64_t time = now.tv_sec; time 167 arch/mips/lasat/ds1603.c rtc_write_word((unsigned long)time); time 28 arch/powerpc/include/asm/mpic_timer.h time64_t time); time 31 arch/powerpc/include/asm/mpic_timer.h void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time); time 35 arch/powerpc/include/asm/mpic_timer.h time64_t time) { return NULL; } time 38 arch/powerpc/include/asm/mpic_timer.h void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) { } time 471 arch/powerpc/include/asm/smu.h extern int smu_get_rtc_time(struct rtc_time *time, int spinwait); time 472 arch/powerpc/include/asm/smu.h extern int smu_set_rtc_time(struct rtc_time *time, int spinwait); time 442 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; time 443 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 449 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = last_rtas_event; time 450 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 457 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; time 458 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 467 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; time 468 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 509 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = 0; time 510 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 514 arch/powerpc/kernel/nvram_64.c record->time.tv_sec = be64_to_cpu(oops_hdr->timestamp); time 515 arch/powerpc/kernel/nvram_64.c record->time.tv_nsec = 0; time 169 arch/powerpc/kernel/sysfs.c u64 time; time 181 arch/powerpc/kernel/sysfs.c time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); time 185 arch/powerpc/kernel/sysfs.c time = div_u64_rem(tb_cycle, tb_ticks_per_usec, time 187 arch/powerpc/kernel/sysfs.c time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; time 190 arch/powerpc/kernel/sysfs.c time = pw20_wt; time 193 arch/powerpc/kernel/sysfs.c return sprintf(buf, "%llu\n", time > 0 ? time : 0); time 291 arch/powerpc/kernel/sysfs.c u64 time; time 303 arch/powerpc/kernel/sysfs.c time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); time 307 arch/powerpc/kernel/sysfs.c time = div_u64_rem(tb_cycle, tb_ticks_per_usec, time 309 arch/powerpc/kernel/sysfs.c time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; time 312 arch/powerpc/kernel/sysfs.c time = altivec_idle_wt; time 315 arch/powerpc/kernel/sysfs.c return sprintf(buf, "%llu\n", time > 0 ? time : 0); time 173 arch/powerpc/platforms/8xx/m8xx_setup.c time64_t time; time 177 arch/powerpc/platforms/8xx/m8xx_setup.c time = rtc_tm_to_time64(tm); time 180 arch/powerpc/platforms/8xx/m8xx_setup.c out_be32(&sys_tmr2->sit_rtc, (u32)time); time 630 arch/powerpc/platforms/cell/spu_base.c unsigned long long time = spu->stats.times[state]; time 638 arch/powerpc/platforms/cell/spu_base.c time += ktime_get_ns() - spu->stats.tstamp; time 640 arch/powerpc/platforms/cell/spu_base.c return time / NSEC_PER_MSEC; time 2220 arch/powerpc/platforms/cell/spufs/file.c unsigned long long time = ctx->stats.times[state]; time 2232 arch/powerpc/platforms/cell/spufs/file.c time += ktime_get_ns() - ctx->stats.tstamp; time 2235 arch/powerpc/platforms/cell/spufs/file.c return time / NSEC_PER_MSEC; time 49 arch/powerpc/platforms/ps3/platform.h void ps3_get_rtc_time(struct rtc_time *time); time 50 arch/powerpc/platforms/ps3/platform.h int ps3_set_rtc_time(struct rtc_time *time); time 86 arch/powerpc/sysdev/mpic_timer.c const u64 ticks, time64_t *time) time 88 arch/powerpc/sysdev/mpic_timer.c *time = (u64)div_u64(ticks, priv->timerfreq); time 93 arch/powerpc/sysdev/mpic_timer.c time64_t time, u64 *ticks) time 99 arch/powerpc/sysdev/mpic_timer.c if (time > max_value) time 102 arch/powerpc/sysdev/mpic_timer.c *ticks = (u64)time * (u64)priv->timerfreq; time 191 arch/powerpc/sysdev/mpic_timer.c static struct mpic_timer *get_timer(time64_t time) time 203 arch/powerpc/sysdev/mpic_timer.c ret = convert_time_to_ticks(priv, time, &ticks); time 287 arch/powerpc/sysdev/mpic_timer.c void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) time 308 arch/powerpc/sysdev/mpic_timer.c convert_ticks_to_time(priv, ticks, time); time 359 arch/powerpc/sysdev/mpic_timer.c time64_t time) time 367 arch/powerpc/sysdev/mpic_timer.c if (time < 0) time 370 arch/powerpc/sysdev/mpic_timer.c allocated_timer = get_timer(time); time 215 arch/s390/include/asm/fcx.h u64 time; time 23 arch/s390/include/asm/timex.h static inline int set_tod_clock(__u64 time) time 31 arch/s390/include/asm/timex.h : "=d" (cc) : "Q" (time) : "cc"); time 35 arch/s390/include/asm/timex.h static inline int store_tod_clock(__u64 *time) time 43 arch/s390/include/asm/timex.h : "=d" (cc), "=Q" (*time) : : "cc"); time 47 arch/s390/include/asm/timex.h static inline void set_clock_comparator(__u64 time) time 49 arch/s390/include/asm/timex.h asm volatile("sckc %0" : : "Q" (time)); time 52 arch/s390/include/asm/timex.h static inline void store_clock_comparator(__u64 *time) time 54 arch/s390/include/asm/timex.h asm volatile("stckc %0" : "=Q" (*time)); time 43 arch/s390/include/uapi/asm/hypfs.h char time[8]; /* HH:MM:SS in EBCDIC */ time 37 arch/s390/kernel/early.c u64 time; time 39 arch/s390/kernel/early.c if (store_tod_clock(&time) == 0) time 42 arch/s390/kernel/early.c if (set_tod_clock(TOD_UNIX_EPOCH) != 0 || store_tod_clock(&time) != 0) time 49 arch/sh/boards/mach-hp6xx/hp6xx_apm.c info->time = (2 * battery); time 49 arch/sh/include/asm/romimage-macros.h .macro WAIT, time time 1108 arch/sparc/include/asm/hypervisor.h unsigned long sun4v_tod_get(unsigned long *time); time 1125 arch/sparc/include/asm/hypervisor.h unsigned long sun4v_tod_set(unsigned long time); time 568 arch/sparc/kernel/sys_sparc_64.c kt->time.tv_usec = txc.time.tv_usec; time 570 arch/sparc/kernel/sys_sparc_64.c txc.time.tv_usec = kt->time.tv_usec; time 600 arch/sparc/kernel/sys_sparc_64.c kt->time.tv_usec = txc.time.tv_usec; time 602 arch/sparc/kernel/sys_sparc_64.c txc.time.tv_usec = kt->time.tv_usec; time 33 arch/x86/entry/vdso/vclock_gettime.c time_t time(time_t *t) __attribute__((weak, alias("__vdso_time"))); time 1475 arch/x86/events/intel/ds.c data->time = native_sched_clock_from_tsc(pebs->tsc); time 1534 arch/x86/events/intel/ds.c data->time = native_sched_clock_from_tsc(basic->tsc); time 662 arch/x86/include/asm/kvm_host.h gpa_t time; time 22 arch/x86/include/asm/paravirt.h return PVOP_CALL0(unsigned long long, time.sched_clock); time 36 arch/x86/include/asm/paravirt.h return PVOP_CALL1(u64, time.steal_clock, cpu); time 328 arch/x86/include/asm/paravirt_types.h struct pv_time_ops time; time 20 arch/x86/include/uapi/asm/mce.h __u64 time; /* Wall time_t when error was detected */ time 22 arch/x86/kernel/cpu/aperfmperf.c ktime_t time; time 61 arch/x86/kernel/cpu/aperfmperf.c s->time = ktime_get(); time 69 arch/x86/kernel/cpu/aperfmperf.c s64 time_delta = ktime_ms_delta(now, per_cpu(samples.time, cpu)); time 138 arch/x86/kernel/cpu/mce/core.c m->time = __ktime_get_real_seconds(); time 280 arch/x86/kernel/cpu/mce/core.c m->cpuvendor, m->cpuid, m->time, m->socketid, m->apicid, time 102 arch/x86/kernel/cpu/mce/inject.c m->time = ktime_get_real_seconds(); time 364 arch/x86/kernel/cpu/mshyperv.c pv_ops.time.sched_clock = sched_clock; time 135 arch/x86/kernel/cpu/vmware.c pv_ops.time.sched_clock = vmware_sched_clock; time 622 arch/x86/kernel/kvm.c pv_ops.time.steal_clock = kvm_steal_clock; time 110 arch/x86/kernel/kvmclock.c pv_ops.time.sched_clock = kvm_sched_clock_read; time 301 arch/x86/kernel/paravirt.c .time.sched_clock = native_sched_clock, time 302 arch/x86/kernel/paravirt.c .time.steal_clock = native_steal_clock, time 250 arch/x86/kernel/tsc.c return pv_ops.time.sched_clock == native_sched_clock; time 2638 arch/x86/kvm/x86.c vcpu->arch.time = 0; time 2815 arch/x86/kvm/x86.c vcpu->arch.time = data; time 3095 arch/x86/kvm/x86.c msr_info->data = vcpu->arch.time; time 50 arch/x86/um/vdso/um_vdso.c time_t time(time_t *t) __attribute__((weak, alias("__vdso_time"))); time 40 arch/x86/xen/time.c &HYPERVISOR_shared_info->vcpu_info[0].time; time 51 arch/x86/xen/time.c src = &__this_cpu_read(xen_vcpu)->time; time 73 arch/x86/xen/time.c vcpu_time = &get_cpu_var(xen_vcpu)->time; time 503 arch/x86/xen/time.c pvti = &__this_cpu_read(xen_vcpu)->time; time 522 arch/x86/xen/time.c pv_ops.time = xen_time_ops; time 564 arch/x86/xen/time.c pv_ops.time = xen_time_ops; time 358 block/bfq-cgroup.c bfq_stat_reset(&stats->time); time 379 block/bfq-cgroup.c bfq_stat_add_aux(&from->time, &from->time); time 439 block/bfq-cgroup.c bfq_stat_exit(&stats->time); time 456 block/bfq-cgroup.c bfq_stat_init(&stats->time, gfp) || time 1266 block/bfq-cgroup.c .private = offsetof(struct bfq_group, stats.time), time 1309 block/bfq-cgroup.c .private = offsetof(struct bfq_group, stats.time), time 822 block/bfq-iosched.h struct bfq_stat time; time 1787 block/blk-throttle.c unsigned long time; time 1790 block/blk-throttle.c time = min_t(unsigned long, MAX_IDLE_TIME, 4 * tg->idletime_threshold); time 1793 block/blk-throttle.c (ktime_get_ns() >> 10) - tg->last_finish_time > time || time 2228 block/blk-throttle.c int op, unsigned long time) time 2241 block/blk-throttle.c latency[index].total_latency += time; time 327 block/blk.h extern void blk_throtl_stat_add(struct request *rq, u64 time); time 330 block/blk.h static inline void blk_throtl_stat_add(struct request *rq, u64 time) { } time 128 crypto/jitterentropy.c __u64 time = 0; time 133 crypto/jitterentropy.c jent_get_nstime(&time); time 139 crypto/jitterentropy.c time ^= ec->data; time 145 crypto/jitterentropy.c shuffle ^= time & mask; time 146 crypto/jitterentropy.c time = time >> bits; time 185 crypto/jitterentropy.c static __u64 jent_lfsr_time(struct rand_data *ec, __u64 time, __u64 loop_cnt) time 204 crypto/jitterentropy.c __u64 tmp = time << (DATA_SIZE_BITS - i); time 349 crypto/jitterentropy.c __u64 time = 0; time 359 crypto/jitterentropy.c jent_get_nstime(&time); time 360 crypto/jitterentropy.c current_delta = time - ec->prev_time; time 361 crypto/jitterentropy.c ec->prev_time = time; time 551 crypto/jitterentropy.c __u64 time = 0; time 558 crypto/jitterentropy.c jent_get_nstime(&time); time 559 crypto/jitterentropy.c ec.prev_time = time; time 560 crypto/jitterentropy.c jent_lfsr_time(&ec, time, 0); time 564 crypto/jitterentropy.c if (!time || !time2) time 566 crypto/jitterentropy.c delta = time2 - time; time 591 crypto/jitterentropy.c if (!(time2 > time)) time 595 crypto/jitterentropy.c lowdelta = time2 - time; time 240 drivers/acpi/acpi_tad.c static DEVICE_ATTR(time, S_IRUSR | S_IWUSR, time_show, time_store); time 300 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_system_do_sleep(u64 time); time 302 drivers/acpi/acpica/acinterp.h acpi_status acpi_ex_system_do_stall(u32 time); time 307 drivers/acpi/acpica/acinterp.h acpi_ex_system_wait_event(union acpi_operand_object *time, time 1030 drivers/acpi/apei/erst.c record->time.tv_sec = rcd->hdr.timestamp; time 1032 drivers/acpi/apei/erst.c record->time.tv_sec = 0; time 1033 drivers/acpi/apei/erst.c record->time.tv_nsec = 0; time 101 drivers/base/power/runtime.c u64 time; time 107 drivers/base/power/runtime.c time = suspended ? dev->power.suspended_time : dev->power.active_time; time 111 drivers/base/power/runtime.c return time; time 90 drivers/base/power/trace.c static struct rtc_time time = { time 102 drivers/base/power/trace.c time.tm_year = (n % 100); time 104 drivers/base/power/trace.c time.tm_mon = (n % 12); time 106 drivers/base/power/trace.c time.tm_mday = (n % 28) + 1; time 108 drivers/base/power/trace.c time.tm_hour = (n % 24); time 110 drivers/base/power/trace.c time.tm_min = (n % 20) * 3; time 112 drivers/base/power/trace.c mc146818_set_time(&time); time 119 drivers/base/power/trace.c struct rtc_time time; time 122 drivers/base/power/trace.c mc146818_get_time(&time); time 123 drivers/base/power/trace.c pr_info("RTC time: %ptRt, date: %ptRd\n", &time, &time); time 124 drivers/base/power/trace.c val = time.tm_year; /* 100 years */ time 127 drivers/base/power/trace.c val += time.tm_mon * 100; /* 12 months */ time 128 drivers/base/power/trace.c val += (time.tm_mday-1) * 100 * 12; /* 28 month-days */ time 129 drivers/base/power/trace.c val += time.tm_hour * 100 * 12 * 28; /* 24 hours */ time 130 drivers/base/power/trace.c val += (time.tm_min / 3) * 100 * 12 * 28 * 24; /* 20 3-minute intervals */ time 445 drivers/char/apm-emulation.c info.time = -1; time 461 drivers/char/apm-emulation.c info.time, units); time 217 drivers/char/efirtc.c || copy_from_user(&wtime, &ewp->time, sizeof(struct rtc_time)) ) time 252 drivers/char/efirtc.c return copy_to_user(&ewp->time, &wtime, time 448 drivers/char/ipmi/ipmi_bt_sm.c static enum si_sm_result bt_event(struct si_sm_data *bt, long time) time 461 drivers/char/ipmi/ipmi_bt_sm.c time); time 480 drivers/char/ipmi/ipmi_bt_sm.c bt->timeout -= time; time 213 drivers/char/ipmi/ipmi_kcs_sm.c long time) time 216 drivers/char/ipmi/ipmi_kcs_sm.c kcs->ibf_timeout -= time; time 229 drivers/char/ipmi/ipmi_kcs_sm.c long time) time 232 drivers/char/ipmi/ipmi_kcs_sm.c kcs->obf_timeout -= time; time 326 drivers/char/ipmi/ipmi_kcs_sm.c static enum si_sm_result kcs_event(struct si_sm_data *kcs, long time) time 337 drivers/char/ipmi/ipmi_kcs_sm.c if (!check_ibf(kcs, status, time)) time 418 drivers/char/ipmi/ipmi_kcs_sm.c if (!check_obf(kcs, status, time)) time 461 drivers/char/ipmi/ipmi_kcs_sm.c if (!check_obf(kcs, status, time)) time 476 drivers/char/ipmi/ipmi_kcs_sm.c if (!check_obf(kcs, status, time)) time 748 drivers/char/ipmi/ipmi_si_intf.c int time) time 761 drivers/char/ipmi/ipmi_si_intf.c si_sm_result = smi_info->handlers->event(smi_info->si_sm, time); time 762 drivers/char/ipmi/ipmi_si_intf.c time = 0; time 84 drivers/char/ipmi/ipmi_si_sm.h enum si_sm_result (*event)(struct si_sm_data *smi, long time); time 315 drivers/char/ipmi/ipmi_smic_sm.c static enum si_sm_result smic_event(struct si_sm_data *smic, long time) time 329 drivers/char/ipmi/ipmi_smic_sm.c smic->smic_timeout, time); time 334 drivers/char/ipmi/ipmi_smic_sm.c if (time < SMIC_RETRY_TIMEOUT) { time 335 drivers/char/ipmi/ipmi_smic_sm.c smic->smic_timeout -= time; time 1030 drivers/char/lp.c lp_table[i].time = LP_INIT_TIME; time 1179 drivers/char/random.c unsigned long time = random_get_entropy() ^ jiffies; time 1188 drivers/char/random.c _mix_pool_bytes(&input_pool, &time, sizeof(time)); time 92 drivers/clk/ti/clkctrl.c static bool _omap4_is_timeout(union omap4_timeout *time, u32 timeout) time 107 drivers/clk/ti/clkctrl.c if (time->cycles++ < timeout) { time 112 drivers/clk/ti/clkctrl.c if (!ktime_to_ns(time->start)) { time 113 drivers/clk/ti/clkctrl.c time->start = ktime_get(); time 117 drivers/clk/ti/clkctrl.c if (ktime_us_delta(ktime_get(), time->start) < timeout) { time 269 drivers/cpufreq/cpufreq_governor.c static void dbs_update_util_handler(struct update_util_data *data, u64 time, time 294 drivers/cpufreq/cpufreq_governor.c delta_ns = time - lst; time 317 drivers/cpufreq/cpufreq_governor.c policy_dbs->last_sample_time = time; time 122 drivers/cpufreq/intel_pstate.c u64 time; time 1638 drivers/cpufreq/intel_pstate.c cpu->last_update = cpu->sample.time; time 1647 drivers/cpufreq/intel_pstate.c expired = time_after64(cpu->sample.time, cpu->last_update + time 1654 drivers/cpufreq/intel_pstate.c cpu->last_update = cpu->sample.time; time 1658 drivers/cpufreq/intel_pstate.c u64 time) time 1660 drivers/cpufreq/intel_pstate.c cpu->sample.time = time; time 1673 drivers/cpufreq/intel_pstate.c if (time_before64(time, cpu->last_io_update + 2 * TICK_NSEC)) time 1676 drivers/cpufreq/intel_pstate.c cpu->last_io_update = time; time 1687 drivers/cpufreq/intel_pstate.c u64 time, unsigned int flags) time 1694 drivers/cpufreq/intel_pstate.c intel_pstate_update_util_hwp_local(cpu, time); time 1704 drivers/cpufreq/intel_pstate.c static inline bool intel_pstate_sample(struct cpudata *cpu, u64 time) time 1720 drivers/cpufreq/intel_pstate.c cpu->last_sample_time = cpu->sample.time; time 1721 drivers/cpufreq/intel_pstate.c cpu->sample.time = time; time 1834 drivers/cpufreq/intel_pstate.c static void intel_pstate_update_util(struct update_util_data *data, u64 time, time 1844 drivers/cpufreq/intel_pstate.c delta_ns = time - cpu->last_update; time 1863 drivers/cpufreq/intel_pstate.c cpu->last_update = time; time 1864 drivers/cpufreq/intel_pstate.c delta_ns = time - cpu->sample.time; time 1868 drivers/cpufreq/intel_pstate.c if (intel_pstate_sample(cpu, time)) time 2013 drivers/cpufreq/intel_pstate.c cpu->sample.time = 0; time 53 drivers/cpufreq/powernv-cpufreq.c #define ramp_down_percent(time) ((time * time) >> 18) time 47 drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c long time; time 56 drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c time = jiffies; time 81 drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c time = jiffies - time; time 82 drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c time = jiffies_to_msecs(time); time 84 drivers/cpufreq/ppc_cbe_cpufreq_pervasive.c "pervasive unit\n", time); time 40 drivers/cpufreq/ppc_cbe_cpufreq_pmi.c long time; time 47 drivers/cpufreq/ppc_cbe_cpufreq_pmi.c time = jiffies; time 52 drivers/cpufreq/ppc_cbe_cpufreq_pmi.c time = jiffies - time; time 53 drivers/cpufreq/ppc_cbe_cpufreq_pmi.c time = jiffies_to_msecs(time); time 55 drivers/cpufreq/ppc_cbe_cpufreq_pmi.c "PMI\n", time); time 263 drivers/cpuidle/cpuidle.c dev->states_usage[entered_state].time += dev->last_residency; time 299 drivers/cpuidle/sysfs.c define_show_state_ull_function(time) time 313 drivers/cpuidle/sysfs.c define_one_state_ro(time, show_state_time); time 350 drivers/cpuidle/sysfs.c define_show_state_s2idle_ull_function(time); time 357 drivers/cpuidle/sysfs.c define_one_state_s2idle_ro(time, show_state_s2idle_time); time 405 drivers/crypto/cavium/cpt/cptvf_main.c static void cptvf_write_vq_done_timewait(struct cpt_vf *cptvf, u16 time) time 411 drivers/crypto/cavium/cpt/cptvf_main.c vqx_dwait.s.time_wait = time; time 125 drivers/crypto/nx/nx-842-pseries.c static void ibm_nx842_incr_hist(atomic64_t *times, unsigned int time) time 127 drivers/crypto/nx/nx-842-pseries.c int bucket = fls(time); time 1427 drivers/edac/pnd2_edac.c mce->cpuvendor, mce->cpuid, mce->time, mce->socketid, mce->apicid); time 3183 drivers/edac/sb_edac.c mce->time, mce->socketid, mce->apicid); time 614 drivers/edac/skx_common.c mce->time, mce->socketid, mce->apicid); time 158 drivers/extcon/extcon-max14577.c enum max14577_muic_adc_debounce_time time) time 162 drivers/extcon/extcon-max14577.c switch (time) { time 170 drivers/extcon/extcon-max14577.c time << CTRL3_ADCDBSET_SHIFT); time 216 drivers/extcon/extcon-max77693.c enum max77693_muic_adc_debounce_time time) time 220 drivers/extcon/extcon-max77693.c switch (time) { time 232 drivers/extcon/extcon-max77693.c time << MAX77693_CONTROL3_ADCDBSET_SHIFT); time 746 drivers/extcon/extcon-max77843.c enum max77843_muic_adc_debounce_time time) time 751 drivers/extcon/extcon-max77843.c switch (time) { time 759 drivers/extcon/extcon-max77843.c time << MAX77843_MUIC_CONTROL4_ADCDBSET_SHIFT); time 158 drivers/extcon/extcon-max8997.c enum max8997_muic_adc_debounce_time time) time 162 drivers/extcon/extcon-max8997.c switch (time) { time 169 drivers/extcon/extcon-max8997.c time << CONTROL3_ADCDBSET_SHIFT, time 40 drivers/firmware/efi/cper.c time64_t time = ktime_get_real_seconds(); time 48 drivers/firmware/efi/cper.c if (time < 0x80000000) time 47 drivers/firmware/efi/efi-pstore.c u64 time; time 56 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time, &data_type) == 5) { time 57 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); time 60 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; time 61 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; time 68 drivers/firmware/efi/efi-pstore.c &record->type, &part, &cnt, &time) == 4) { time 69 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, cnt); time 72 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; time 73 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; time 77 drivers/firmware/efi/efi-pstore.c &record->type, &part, &time) == 3) { time 83 drivers/firmware/efi/efi-pstore.c record->id = generic_id(time, part, 0); time 86 drivers/firmware/efi/efi-pstore.c record->time.tv_sec = time; time 87 drivers/firmware/efi/efi-pstore.c record->time.tv_nsec = 0; time 249 drivers/firmware/efi/efi-pstore.c record->id = generic_id(record->time.tv_sec, record->part, time 257 drivers/firmware/efi/efi-pstore.c (long long)record->time.tv_sec, time 334 drivers/firmware/efi/efi-pstore.c (long long)record->time.tv_sec); time 340 drivers/firmware/efi/efi-pstore.c record->type, record->part, (long long)record->time.tv_sec); time 301 drivers/firmware/efi/test/efi_test.c status = efi.get_time(gettime.time ? &efi_time : NULL, time 319 drivers/firmware/efi/test/efi_test.c if (gettime.time) { time 320 drivers/firmware/efi/test/efi_test.c if (copy_to_user(gettime.time, &efi_time, sizeof(efi_time_t))) time 337 drivers/firmware/efi/test/efi_test.c if (copy_from_user(&efi_time, settime.time, time 364 drivers/firmware/efi/test/efi_test.c getwakeuptime.time ? &efi_time : NULL); time 376 drivers/firmware/efi/test/efi_test.c if (getwakeuptime.time) { time 377 drivers/firmware/efi/test/efi_test.c if (copy_to_user(getwakeuptime.time, &efi_time, time 400 drivers/firmware/efi/test/efi_test.c if (setwakeuptime.time) { time 401 drivers/firmware/efi/test/efi_test.c if (copy_from_user(&efi_time, setwakeuptime.time, time 48 drivers/firmware/efi/test/efi_test.h efi_time_t *time; time 54 drivers/firmware/efi/test/efi_test.h efi_time_t *time; time 61 drivers/firmware/efi/test/efi_test.h efi_time_t *time; time 67 drivers/firmware/efi/test/efi_test.h efi_time_t *time; time 62 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c unsigned int time, time 66 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c unsigned int throughput = (n * (size >> 10)) / time; time 69 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c kind, n, size >> 10, sdomain, ddomain, time, time 81 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c int time; time 130 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c time = amdgpu_benchmark_do_move(adev, size, saddr, daddr, n); time 131 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c if (time < 0) time 133 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c if (time > 0) time 134 drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c amdgpu_benchmark_log_results(n, size, time, time 1689 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.time_elapsed_in_us[surface->time.index] = time 1691 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.prev_update_time_in_us; time 1692 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.prev_update_time_in_us = time 1694 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index++; time 1695 drivers/gpu/drm/amd/display/dc/core/dc.c if (surface->time.index >= DC_PLANE_UPDATE_TIMES_MAX) time 1696 drivers/gpu/drm/amd/display/dc/core/dc.c surface->time.index = 0; time 714 drivers/gpu/drm/amd/display/dc/dc.h struct dc_plane_flip_time time; time 875 drivers/gpu/drm/amd/display/modules/freesync/freesync.c unsigned int oldest_index = plane->time.index + 1; time 881 drivers/gpu/drm/amd/display/modules/freesync/freesync.c plane->time.prev_update_time_in_us; time 886 drivers/gpu/drm/amd/display/modules/freesync/freesync.c plane->time.time_elapsed_in_us[i]; time 889 drivers/gpu/drm/amd/display/modules/freesync/freesync.c plane->time.time_elapsed_in_us[oldest_index]; time 85 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time; time 144 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->time = kcalloc(core_stats->entries, time 148 drivers/gpu/drm/amd/display/modules/stats/stats.c if (core_stats->time == NULL) time 175 drivers/gpu/drm/amd/display/modules/stats/stats.c kfree(core_stats->time); time 189 drivers/gpu/drm/amd/display/modules/stats/stats.c kfree(core_stats->time); time 200 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time = NULL; time 213 drivers/gpu/drm/amd/display/modules/stats/stats.c time = core_stats->time; time 240 drivers/gpu/drm/amd/display/modules/stats/stats.c i == time[time_index].entry_id) { time 245 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].render_time_in_us, time 246 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].avg_render_time_in_us_last_ten, time 247 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].min_window, time 248 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].lfc_mid_point_in_us, time 249 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].max_window, time 250 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].vsync_to_flip_time_in_us, time 251 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].flip_to_vsync_time_in_us, time 252 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].num_vsync_between_flips, time 253 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].num_frames_inserted, time 254 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].inserted_duration_in_us, time 255 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_total_min, time 256 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_total_max, time 257 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].event_triggers, time 258 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_sync_time_in_us[0], time 259 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_sync_time_in_us[1], time 260 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_sync_time_in_us[2], time 261 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_sync_time_in_us[3], time 262 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].v_sync_time_in_us[4], time 263 drivers/gpu/drm/amd/display/modules/stats/stats.c time[time_index].flags); time 275 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time = NULL; time 283 drivers/gpu/drm/amd/display/modules/stats/stats.c memset(core_stats->time, 0, time 332 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time = NULL; time 343 drivers/gpu/drm/amd/display/modules/stats/stats.c time = core_stats->time; time 346 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].flip_timestamp_in_ns = timestamp_in_ns; time 347 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].render_time_in_us = time 348 drivers/gpu/drm/amd/display/modules/stats/stats.c (timestamp_in_ns - time[index - 1].flip_timestamp_in_ns) / 1000; time 352 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].avg_render_time_in_us_last_ten += time 353 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - i].render_time_in_us; time 354 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].avg_render_time_in_us_last_ten /= 10; time 357 drivers/gpu/drm/amd/display/modules/stats/stats.c if (time[index].num_vsync_between_flips > 0) time 358 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vsync_to_flip_time_in_us = time 360 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns) / 1000; time 362 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vsync_to_flip_time_in_us = time 364 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].vupdate_timestamp_in_ns) / 1000; time 366 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].entry_id = core_stats->entry_id; time 375 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time = NULL; time 388 drivers/gpu/drm/amd/display/modules/stats/stats.c time = core_stats->time; time 390 drivers/gpu/drm/amd/display/modules/stats/stats.c num_vsyncs = time[index].num_vsync_between_flips; time 395 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].vupdate_timestamp_in_ns; time 397 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].flip_to_vsync_time_in_us = time 399 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index - 1].flip_timestamp_in_ns) / time 403 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns; time 406 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_sync_time_in_us[num_vsyncs] = time 410 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].vupdate_timestamp_in_ns = timestamp_in_ns; time 411 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].num_vsync_between_flips++; time 425 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_time_cache *time = NULL; time 436 drivers/gpu/drm/amd/display/modules/stats/stats.c time = core_stats->time; time 439 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_total_min = v_total_min; time 440 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].v_total_max = v_total_max; time 441 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].event_triggers = event_triggers; time 442 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].min_window = window_min; time 443 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].max_window = window_max; time 444 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].lfc_mid_point_in_us = lfc_mid_point_in_us; time 445 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].num_frames_inserted = inserted_frames; time 446 drivers/gpu/drm/amd/display/modules/stats/stats.c time[index].inserted_duration_in_us = inserted_duration_in_us; time 156 drivers/gpu/drm/drm_self_refresh_helper.c struct ewma_psr_time *time; time 163 drivers/gpu/drm/drm_self_refresh_helper.c time = &sr_data->entry_avg_ms; time 165 drivers/gpu/drm/drm_self_refresh_helper.c time = &sr_data->exit_avg_ms; time 168 drivers/gpu/drm/drm_self_refresh_helper.c ewma_psr_time_add(time, commit_time_ms); time 108 drivers/gpu/drm/drm_vblank.c vblank->time = t_vblank; time 236 drivers/gpu/drm/drm_vblank.c u64 diff_ns = ktime_to_ns(ktime_sub(t_vblank, vblank->time)); time 804 drivers/gpu/drm/drm_vblank.c *vblanktime = vblank->time; time 1335 drivers/gpu/drm/drm_vblank.c diff_ns = ktime_to_ns(ktime_sub(t_vblank, vblank->time)); time 65 drivers/gpu/drm/i915/gt/uc/intel_uc_fw_abi.h u32 time; time 669 drivers/gpu/drm/i915/i915_gpu_error.c ts = ktime_to_timespec64(error->time); time 1700 drivers/gpu/drm/i915/i915_gpu_error.c error->time = ktime_get_real(); time 33 drivers/gpu/drm/i915/i915_gpu_error.h ktime_t time; time 1142 drivers/gpu/drm/i915/i915_irq.c u64 time, c0; time 1145 drivers/gpu/drm/i915/i915_irq.c time = ktime_us_delta(now.ktime, prev->ktime); time 1147 drivers/gpu/drm/i915/i915_irq.c time *= dev_priv->czclk_freq; time 1159 drivers/gpu/drm/i915/i915_irq.c if (c0 > time * rps->power.up_threshold) time 1161 drivers/gpu/drm/i915/i915_irq.c else if (c0 < time * rps->power.down_threshold) time 530 drivers/gpu/drm/msm/adreno/adreno_gpu.c ktime_get_real_ts64(&state->time); time 1502 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c s64 time; time 1507 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c time = ktime_to_ms(ktime_get()); time 1509 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c trace_dpu_enc_wait_event_timeout(drm_id, hw_id, rc, time, time 1514 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c (time < expected_time)); time 216 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h u64 time; time 466 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(uint32_t drm_id, ktime_t time), time 467 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, time), time 470 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( ktime_t, time ) time 474 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->time = time; time 477 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h ktime_to_ms(__entry->time)) time 480 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(uint32_t drm_id, ktime_t time), time 481 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, time) time 484 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(uint32_t drm_id, ktime_t time), time 485 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, time) time 519 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(uint32_t drm_id, int32_t hw_id, int rc, s64 time, time 521 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, hw_id, rc, time, expected_time, atomic_cnt), time 526 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( s64, time ) time 534 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->time = time; time 539 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->drm_id, __entry->hw_id, __entry->rc, __entry->time, time 50 drivers/gpu/drm/msm/msm_gpu.c ktime_t time; time 59 drivers/gpu/drm/msm/msm_gpu.c time = ktime_get(); time 60 drivers/gpu/drm/msm/msm_gpu.c status->total_time = ktime_us_delta(time, gpu->devfreq.time); time 61 drivers/gpu/drm/msm/msm_gpu.c gpu->devfreq.time = time; time 190 drivers/gpu/drm/msm/msm_gpu.c gpu->devfreq.time = ktime_get(); time 285 drivers/gpu/drm/msm/msm_gpu.c state->time.tv_sec, state->time.tv_nsec); time 577 drivers/gpu/drm/msm/msm_gpu.c ktime_t time; time 585 drivers/gpu/drm/msm/msm_gpu.c time = ktime_get(); time 586 drivers/gpu/drm/msm/msm_gpu.c elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); time 593 drivers/gpu/drm/msm/msm_gpu.c gpu->last_sample.time = time; time 608 drivers/gpu/drm/msm/msm_gpu.c gpu->last_sample.time = ktime_get(); time 80 drivers/gpu/drm/msm/msm_gpu.h ktime_t time; time 130 drivers/gpu/drm/msm/msm_gpu.h ktime_t time; time 189 drivers/gpu/drm/msm/msm_gpu.h struct timespec64 time; time 116 drivers/gpu/drm/nouveau/dispnv50/base507c.c s64 time = nvif_msec(device, 2000ULL, time 122 drivers/gpu/drm/nouveau/dispnv50/base507c.c return time < 0 ? time : 0; time 50 drivers/gpu/drm/nouveau/dispnv50/core507d.c s64 time = nvif_msec(device, 2000ULL, time 55 drivers/gpu/drm/nouveau/dispnv50/core507d.c return time < 0 ? time : 0; time 56 drivers/gpu/drm/nouveau/dispnv50/corec37d.c s64 time = nvif_msec(device, 2000ULL, time 62 drivers/gpu/drm/nouveau/dispnv50/corec37d.c return time < 0 ? time : 0; time 56 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c s64 time = nvif_msec(device, 2000ULL, time 62 drivers/gpu/drm/nouveau/dispnv50/ovly827e.c return time < 0 ? time : 0; time 19 drivers/gpu/drm/nouveau/include/nvif/cl0046.h __s64 time[2]; time 57 drivers/gpu/drm/nouveau/include/nvif/cl0080.h __u64 time; time 18 drivers/gpu/drm/nouveau/include/nvif/cl5070.h __s64 time[2]; time 23 drivers/gpu/drm/nouveau/include/nvkm/subdev/fault.h u64 time; time 132 drivers/gpu/drm/nouveau/nouveau_display.c if (stime) *stime = ns_to_ktime(args.scan.time[0]); time 133 drivers/gpu/drm/nouveau/nouveau_display.c if (etime) *etime = ns_to_ktime(args.scan.time[1]); time 57 drivers/gpu/drm/nouveau/nouveau_svm.c u64 time; time 472 drivers/gpu/drm/nouveau/nouveau_svm.c fault->time = (u64)timehi << 32 | timelo; time 34 drivers/gpu/drm/nouveau/nvif/device.c return args.time; time 115 drivers/gpu/drm/nouveau/nvkm/core/engine.c s64 time; time 124 drivers/gpu/drm/nouveau/nvkm/core/engine.c time = ktime_to_us(ktime_get()); time 132 drivers/gpu/drm/nouveau/nvkm/core/engine.c time = ktime_to_us(ktime_get()) - time; time 133 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_trace(subdev, "one-time init completed in %lldus\n", time); time 183 drivers/gpu/drm/nouveau/nvkm/core/object.c s64 time; time 187 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()); time 204 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()) - time; time 205 drivers/gpu/drm/nouveau/nvkm/core/object.c nvif_debug(object, "%s completed in %lldus\n", action, time); time 225 drivers/gpu/drm/nouveau/nvkm/core/object.c s64 time; time 229 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()); time 243 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()) - time; time 244 drivers/gpu/drm/nouveau/nvkm/core/object.c nvif_debug(object, "init completed in %lldus\n", time); time 262 drivers/gpu/drm/nouveau/nvkm/core/object.c s64 time; time 265 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()); time 275 drivers/gpu/drm/nouveau/nvkm/core/object.c time = ktime_to_us(ktime_get()) - time; time 276 drivers/gpu/drm/nouveau/nvkm/core/object.c nvif_debug(object, "destroy completed in %lldus...\n", time); time 114 drivers/gpu/drm/nouveau/nvkm/core/subdev.c s64 time; time 117 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()); time 130 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()) - time; time 131 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_trace(subdev, "%s completed in %lldus\n", action, time); time 138 drivers/gpu/drm/nouveau/nvkm/core/subdev.c s64 time; time 141 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()); time 151 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()) - time; time 152 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_trace(subdev, "preinit completed in %lldus\n", time); time 159 drivers/gpu/drm/nouveau/nvkm/core/subdev.c s64 time; time 163 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()); time 166 drivers/gpu/drm/nouveau/nvkm/core/subdev.c s64 time; time 168 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()); time 176 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()) - time; time 177 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_trace(subdev, "one-time init completed in %lldus\n", time); time 188 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()) - time; time 189 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_trace(subdev, "init completed in %lldus\n", time); time 197 drivers/gpu/drm/nouveau/nvkm/core/subdev.c s64 time; time 201 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()); time 204 drivers/gpu/drm/nouveau/nvkm/core/subdev.c time = ktime_to_us(ktime_get()) - time; time 205 drivers/gpu/drm/nouveau/nvkm/core/subdev.c nvkm_trace(subdev, "destroy completed in %lldus\n", time); time 2732 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c s64 time; time 2735 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()); time 2752 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()) - time; time 2753 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvdev_trace(device, "%s completed in %lldus...\n", action, time); time 2774 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c s64 time; time 2777 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()); time 2797 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()) - time; time 2798 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvdev_trace(device, "preinit completed in %lldus\n", time); time 2811 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c s64 time; time 2820 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()); time 2839 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c time = ktime_to_us(ktime_get()) - time; time 2840 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c nvdev_trace(device, "init completed in %lldus\n", time); time 211 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.time = nvkm_timer_read(device->timer); time 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.time[0] = ktime_to_ns(ktime_get()); time 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.time[1] = ktime_to_ns(ktime_get()); time 384 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c info.time = 0; time 83 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm107.c info.time = 0; time 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gp100.c info.time = 0; time 59 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c info.time = ((u64)timehi << 32) | timelo; time 139 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c info.time = 0; time 86 drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c info.time = 0; time 30 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c u64 time = nvkm_timer_read(wait->tmr); time 33 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c wait->time0 = time; time 34 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c wait->time1 = time; time 37 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c if (wait->time1 == time) { time 39 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_fatal(subdev, "stalled at %016llx\n", time); time 43 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c wait->time1 = time; time 165 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c tmr->func->time(tmr, ktime_to_ns(ktime_get())); time 30 drivers/gpu/drm/nouveau/nvkm/subdev/timer/gk20a.c .time = nv04_timer_time, time 28 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nv04_timer_time(struct nvkm_timer *tmr, u64 time) time 32 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c u32 hi = upper_32_bits(time); time 33 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c u32 lo = lower_32_bits(time); time 64 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nv04_timer_alarm_init(struct nvkm_timer *tmr, u32 time) time 67 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c nvkm_wr32(device, NV04_PTIMER_ALARM_0, time); time 142 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv04.c .time = nv04_timer_time, time 79 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv40.c .time = nv04_timer_time, time 76 drivers/gpu/drm/nouveau/nvkm/subdev/timer/nv41.c .time = nv04_timer_time, time 14 drivers/gpu/drm/nouveau/nvkm/subdev/timer/priv.h void (*time)(struct nvkm_timer *, u64 time); time 15 drivers/gpu/drm/nouveau/nvkm/subdev/timer/priv.h void (*alarm_init)(struct nvkm_timer *, u32 time); time 76 drivers/gpu/drm/radeon/radeon_benchmark.c unsigned int time, time 80 drivers/gpu/drm/radeon/radeon_benchmark.c unsigned int throughput = (n * (size >> 10)) / time; time 83 drivers/gpu/drm/radeon/radeon_benchmark.c kind, n, size >> 10, sdomain, ddomain, time, time 94 drivers/gpu/drm/radeon/radeon_benchmark.c int time; time 123 drivers/gpu/drm/radeon/radeon_benchmark.c time = radeon_benchmark_do_move(rdev, size, saddr, daddr, time 126 drivers/gpu/drm/radeon/radeon_benchmark.c if (time < 0) time 128 drivers/gpu/drm/radeon/radeon_benchmark.c if (time > 0) time 129 drivers/gpu/drm/radeon/radeon_benchmark.c radeon_benchmark_log_results(n, size, time, time 134 drivers/gpu/drm/radeon/radeon_benchmark.c time = radeon_benchmark_do_move(rdev, size, saddr, daddr, time 137 drivers/gpu/drm/radeon/radeon_benchmark.c if (time < 0) time 139 drivers/gpu/drm/radeon/radeon_benchmark.c if (time > 0) time 140 drivers/gpu/drm/radeon/radeon_benchmark.c radeon_benchmark_log_results(n, size, time, time 90 drivers/gpu/drm/vkms/vkms_crtc.c if (WARN_ON(*vblank_time == vblank->time)) time 829 drivers/hwmon/ibmaem.c u64 before, after, delta, time; time 834 drivers/hwmon/ibmaem.c time = ktime_get_ns(); time 846 drivers/hwmon/ibmaem.c time = ktime_get_ns() - time; time 853 drivers/hwmon/ibmaem.c (unsigned long long)div64_u64(delta * NSEC_PER_SEC, time)); time 657 drivers/hwmon/lm93.c static u8 LM93_SPINUP_TIME_TO_REG(int time) time 661 drivers/hwmon/lm93.c if (time <= lm93_spinup_time_map[i]) time 744 drivers/iio/adc/ina2xx-adc.c s64 time; time 746 drivers/iio/adc/ina2xx-adc.c time = iio_get_time_ns(indio_dev); time 764 drivers/iio/adc/ina2xx-adc.c iio_push_to_buffers_with_timestamp(indio_dev, data, time); time 73 drivers/iio/common/ssp_sensors/ssp_iio.c __le32 time; time 86 drivers/iio/common/ssp_sensors/ssp_iio.c memcpy(&time, &((char *)buf)[len], SSP_TIME_SIZE); time 88 drivers/iio/common/ssp_sensors/ssp_iio.c timestamp + (int64_t)le32_to_cpu(time) * 1000000; time 47 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h static inline void ssp_convert_to_freq(u32 time, int *integer_part, time 50 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h if (time == 0) { time 56 drivers/iio/common/ssp_sensors/ssp_iio_sensor.h *integer_part = SSP_FACTOR_WITH_MS / time; time 354 drivers/iio/light/opt3001.c static int opt3001_set_int_time(struct opt3001 *opt, int time) time 368 drivers/iio/light/opt3001.c switch (time) { time 1109 drivers/iio/light/tsl2772.c u8 time; time 1143 drivers/iio/light/tsl2772.c time = chip->settings.als_time; time 1145 drivers/iio/light/tsl2772.c time = chip->settings.prox_time; time 1147 drivers/iio/light/tsl2772.c count = 256 - time; time 1182 drivers/iio/light/tsl2772.c u8 time; time 1212 drivers/iio/light/tsl2772.c time = chip->settings.als_time; time 1219 drivers/iio/light/tsl2772.c time = chip->settings.prox_time; time 1223 drivers/iio/light/tsl2772.c filter_delay = persistence * (256 - time) * time 297 drivers/infiniband/core/addr.c static void set_timeout(struct addr_req *req, unsigned long time) time 301 drivers/infiniband/core/addr.c delay = time - jiffies; time 144 drivers/input/joydev.c event.time = jiffies_to_msecs(jiffies); time 301 drivers/input/joydev.c event->time = jiffies_to_msecs(jiffies); time 237 drivers/input/joystick/analog.c u64 time[4], start, loop, now; time 266 drivers/input/joystick/analog.c time[i] = now; time 278 drivers/input/joystick/analog.c port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop; time 29 drivers/input/joystick/joydump.c unsigned int time; time 81 drivers/input/joystick/joydump.c dump->time = t; time 92 drivers/input/joystick/joydump.c dump->time = t; time 118 drivers/input/joystick/joydump.c i, dump->time - prev->time); time 224 drivers/input/keyboard/atkbd.c unsigned long time; time 502 drivers/input/keyboard/atkbd.c value = time_before(jiffies, atkbd->time) && atkbd->last == code ? 1 : 2; time 506 drivers/input/keyboard/atkbd.c atkbd->time = jiffies + msecs_to_jiffies(dev->rep[REP_DELAY]) / 2; time 227 drivers/input/keyboard/lm8323.c static void lm8323_set_active_time(struct lm8323_chip *lm, int time) time 229 drivers/input/keyboard/lm8323.c lm8323_write(lm, 2, LM8323_CMD_SET_ACTIVE, time >> 2); time 536 drivers/input/keyboard/lm8323.c int ret, time; time 538 drivers/input/keyboard/lm8323.c ret = kstrtoint(buf, 10, &time); time 543 drivers/input/keyboard/lm8323.c pwm->fade_time = time; time 547 drivers/input/keyboard/lm8323.c static DEVICE_ATTR(time, 0644, lm8323_pwm_show_time, lm8323_pwm_store_time); time 48 drivers/input/misc/axp20x-pek.c unsigned int time; time 53 drivers/input/misc/axp20x-pek.c { .time = 128, .idx = 0 }, time 54 drivers/input/misc/axp20x-pek.c { .time = 1000, .idx = 2 }, time 55 drivers/input/misc/axp20x-pek.c { .time = 3000, .idx = 1 }, time 56 drivers/input/misc/axp20x-pek.c { .time = 2000, .idx = 3 }, time 60 drivers/input/misc/axp20x-pek.c { .time = 128, .idx = 0 }, time 61 drivers/input/misc/axp20x-pek.c { .time = 1000, .idx = 1 }, time 62 drivers/input/misc/axp20x-pek.c { .time = 2000, .idx = 2 }, time 63 drivers/input/misc/axp20x-pek.c { .time = 3000, .idx = 3 }, time 67 drivers/input/misc/axp20x-pek.c { .time = 4000, .idx = 0 }, time 68 drivers/input/misc/axp20x-pek.c { .time = 6000, .idx = 1 }, time 69 drivers/input/misc/axp20x-pek.c { .time = 8000, .idx = 2 }, time 70 drivers/input/misc/axp20x-pek.c { .time = 10000, .idx = 3 }, time 88 drivers/input/misc/axp20x-pek.c const struct axp20x_time *time, time 103 drivers/input/misc/axp20x-pek.c if (val == time[i].idx) time 104 drivers/input/misc/axp20x-pek.c val = time[i].time; time 130 drivers/input/misc/axp20x-pek.c const struct axp20x_time *time, time 155 drivers/input/misc/axp20x-pek.c err = abs(time[i].time - val); time 158 drivers/input/misc/axp20x-pek.c idx = time[i].idx; time 892 drivers/input/mouse/cyapa.c u16 time; time 895 drivers/input/mouse/cyapa.c if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { time 911 drivers/input/mouse/cyapa.c cyapa->runtime_suspend_sleep_time = min_t(u16, time, 1000); time 83 drivers/macintosh/apm_emu.c info->time = time_units; time 365 drivers/macintosh/smu.c struct rtc_time *time) time 370 drivers/macintosh/smu.c cmd_buf->data[1] = hex2bcd(time->tm_sec); time 371 drivers/macintosh/smu.c cmd_buf->data[2] = hex2bcd(time->tm_min); time 372 drivers/macintosh/smu.c cmd_buf->data[3] = hex2bcd(time->tm_hour); time 373 drivers/macintosh/smu.c cmd_buf->data[4] = time->tm_wday; time 374 drivers/macintosh/smu.c cmd_buf->data[5] = hex2bcd(time->tm_mday); time 375 drivers/macintosh/smu.c cmd_buf->data[6] = hex2bcd(time->tm_mon) + 1; time 376 drivers/macintosh/smu.c cmd_buf->data[7] = hex2bcd(time->tm_year - 100); time 380 drivers/macintosh/smu.c int smu_get_rtc_time(struct rtc_time *time, int spinwait) time 388 drivers/macintosh/smu.c memset(time, 0, sizeof(struct rtc_time)); time 395 drivers/macintosh/smu.c time->tm_sec = bcd2hex(cmd.buffer[0]); time 396 drivers/macintosh/smu.c time->tm_min = bcd2hex(cmd.buffer[1]); time 397 drivers/macintosh/smu.c time->tm_hour = bcd2hex(cmd.buffer[2]); time 398 drivers/macintosh/smu.c time->tm_wday = bcd2hex(cmd.buffer[3]); time 399 drivers/macintosh/smu.c time->tm_mday = bcd2hex(cmd.buffer[4]); time 400 drivers/macintosh/smu.c time->tm_mon = bcd2hex(cmd.buffer[5]) - 1; time 401 drivers/macintosh/smu.c time->tm_year = bcd2hex(cmd.buffer[6]) + 100; time 407 drivers/macintosh/smu.c int smu_set_rtc_time(struct rtc_time *time, int spinwait) time 417 drivers/macintosh/smu.c hex2bcd(time->tm_sec), time 418 drivers/macintosh/smu.c hex2bcd(time->tm_min), time 419 drivers/macintosh/smu.c hex2bcd(time->tm_hour), time 420 drivers/macintosh/smu.c time->tm_wday, time 421 drivers/macintosh/smu.c hex2bcd(time->tm_mday), time 422 drivers/macintosh/smu.c hex2bcd(time->tm_mon) + 1, time 423 drivers/macintosh/smu.c hex2bcd(time->tm_year - 100)); time 707 drivers/macintosh/via-pmu.c long amperage, voltage, time, max; time 753 drivers/macintosh/via-pmu.c time = (charge * 16440) / amperage; time 755 drivers/macintosh/via-pmu.c time = 0; time 759 drivers/macintosh/via-pmu.c charge = max = amperage = voltage = time = 0; time 766 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].time_remaining = time; time 1192 drivers/md/bcache/bset.c spin_lock_init(&state->time.lock); time 1291 drivers/md/bcache/bset.c bch_time_stats_update(&state->time, start_time); time 1335 drivers/md/bcache/bset.c bch_time_stats_update(&state->time, start_time); time 369 drivers/md/bcache/bset.h struct time_stats time; time 722 drivers/md/bcache/sysfs.c sysfs_print_time_stats(&c->sort.time, btree_sort, ms, us); time 379 drivers/md/bcache/util.h void bch_time_stats_update(struct time_stats *stats, uint64_t time); time 106 drivers/md/dm-thin-metadata.c __le32 time; time 183 drivers/md/dm-thin-metadata.c uint32_t time; time 555 drivers/md/dm-thin-metadata.c disk_super->time = 0; time 777 drivers/md/dm-thin-metadata.c pmd->time = le32_to_cpu(disk_super->time); time 867 drivers/md/dm-thin-metadata.c disk_super->time = cpu_to_le32(pmd->time); time 906 drivers/md/dm-thin-metadata.c pmd->time = 0; time 1016 drivers/md/dm-thin-metadata.c details_le.creation_time = cpu_to_le32(pmd->time); time 1017 drivers/md/dm-thin-metadata.c details_le.snapshotted_time = cpu_to_le32(pmd->time); time 1102 drivers/md/dm-thin-metadata.c dm_thin_id origin, uint32_t time) time 1112 drivers/md/dm-thin-metadata.c td->snapshotted_time = time; time 1115 drivers/md/dm-thin-metadata.c snap->snapshotted_time = time; time 1156 drivers/md/dm-thin-metadata.c pmd->time++; time 1162 drivers/md/dm-thin-metadata.c r = __set_snapshot_details(pmd, td, origin, pmd->time); time 1470 drivers/md/dm-thin-metadata.c static bool __snapshotted_since(struct dm_thin_device *td, uint32_t time) time 1472 drivers/md/dm-thin-metadata.c return td->snapshotted_time > time; time 1615 drivers/md/dm-thin-metadata.c value = cpu_to_le64(pack_block_time(data_block, pmd->time)); time 1220 drivers/media/dvb-frontends/dib7000m.c int time, ret; time 1232 drivers/media/dvb-frontends/dib7000m.c time = dib7000m_agc_startup(fe); time 1233 drivers/media/dvb-frontends/dib7000m.c if (time != -1) time 1234 drivers/media/dvb-frontends/dib7000m.c msleep(time); time 1235 drivers/media/dvb-frontends/dib7000m.c } while (time != -1); time 1521 drivers/media/dvb-frontends/dib7000p.c int time, ret; time 1537 drivers/media/dvb-frontends/dib7000p.c time = dib7000p_agc_startup(fe); time 1538 drivers/media/dvb-frontends/dib7000p.c if (time != -1) time 1539 drivers/media/dvb-frontends/dib7000p.c msleep(time); time 1540 drivers/media/dvb-frontends/dib7000p.c } while (time != -1); time 3580 drivers/media/dvb-frontends/dib8000.c int l, i, active, time, time_slave = 0; time 3631 drivers/media/dvb-frontends/dib8000.c time = dib8000_agc_startup(state->fe[0]); time 3634 drivers/media/dvb-frontends/dib8000.c if (time == 0) time 3635 drivers/media/dvb-frontends/dib8000.c time = time_slave; time 3636 drivers/media/dvb-frontends/dib8000.c else if ((time_slave != 0) && (time_slave > time)) time 3637 drivers/media/dvb-frontends/dib8000.c time = time_slave; time 3639 drivers/media/dvb-frontends/dib8000.c if (time == 0) time 3650 drivers/media/dvb-frontends/dib8000.c time = 10 * (time + 99)/100; time 3651 drivers/media/dvb-frontends/dib8000.c usleep_range(time * 1000, (time + 1) * 1000); time 1086 drivers/media/dvb-frontends/stb0899_algo.c int time = -10, lock = 0, uwp, csm; time 1101 drivers/media/dvb-frontends/stb0899_algo.c time += 10; time 1104 drivers/media/dvb-frontends/stb0899_algo.c } while ((!lock) && (time <= timeout)); time 1120 drivers/media/dvb-frontends/stb0899_algo.c int time = 0, lock = 0; time 1123 drivers/media/dvb-frontends/stb0899_algo.c while ((!lock) && (time < timeout)) { time 1127 drivers/media/dvb-frontends/stb0899_algo.c time++; time 1139 drivers/media/dvb-frontends/stb0899_algo.c int time = 0, Locked; time 1143 drivers/media/dvb-frontends/stb0899_algo.c time++; time 1146 drivers/media/dvb-frontends/stb0899_algo.c } while ((!Locked) && (time < timeout)); time 688 drivers/media/i2c/s5k5baf.c unsigned int time = exposure / 10; time 691 drivers/media/i2c/s5k5baf.c time & 0xffff, time >> 16, 1); time 512 drivers/media/i2c/s5k6aa.c unsigned int time = exposure / 10; time 514 drivers/media/i2c/s5k6aa.c int ret = s5k6aa_write(client, REG_SF_USR_EXPOSURE_L, time & 0xffff); time 516 drivers/media/i2c/s5k6aa.c ret = s5k6aa_write(client, REG_SF_USR_EXPOSURE_H, time >> 16); time 176 drivers/media/pci/ddbridge/ddbridge-mci.h u16 time; time 531 drivers/media/platform/qcom/camss/camss-csid.c unsigned long time; time 538 drivers/media/platform/qcom/camss/camss-csid.c time = wait_for_completion_timeout(&csid->reset_complete, time 540 drivers/media/platform/qcom/camss/camss-csid.c if (!time) { time 268 drivers/media/platform/qcom/camss/camss-ispif.c unsigned long time; time 308 drivers/media/platform/qcom/camss/camss-ispif.c time = wait_for_completion_timeout(&ispif->reset_complete, time 310 drivers/media/platform/qcom/camss/camss-ispif.c if (!time) { time 280 drivers/media/platform/qcom/camss/camss-vfe.c unsigned long time; time 286 drivers/media/platform/qcom/camss/camss-vfe.c time = wait_for_completion_timeout(&vfe->reset_complete, time 288 drivers/media/platform/qcom/camss/camss-vfe.c if (!time) { time 304 drivers/media/platform/qcom/camss/camss-vfe.c unsigned long time; time 310 drivers/media/platform/qcom/camss/camss-vfe.c time = wait_for_completion_timeout(&vfe->halt_complete, time 312 drivers/media/platform/qcom/camss/camss-vfe.c if (!time) { time 779 drivers/media/platform/qcom/camss/camss-vfe.c unsigned long time; time 787 drivers/media/platform/qcom/camss/camss-vfe.c time = wait_for_completion_timeout(&output->sof, time 789 drivers/media/platform/qcom/camss/camss-vfe.c if (!time) time 800 drivers/media/platform/qcom/camss/camss-vfe.c time = wait_for_completion_timeout(&output->reg_update, time 802 drivers/media/platform/qcom/camss/camss-vfe.c if (!time) time 49 drivers/media/platform/vivid/vivid-rds-gen.c unsigned time; time 98 drivers/media/platform/vivid/vivid-rds-gen.c time = (tm.tm_hour << 12) | time 106 drivers/media/platform/vivid/vivid-rds-gen.c data[2].lsb |= (time >> 16) & 1; time 109 drivers/media/platform/vivid/vivid-rds-gen.c data[3].lsb = time & 0xff; time 110 drivers/media/platform/vivid/vivid-rds-gen.c data[3].msb = (time >> 8) & 0xff; time 62 drivers/media/usb/em28xx/em28xx-i2c.c int time = EM28XX_I2C_XFER_TIMEOUT; time 66 drivers/media/usb/em28xx/em28xx-i2c.c time += 4; /* Assume 4 ms for transfers */ time 70 drivers/media/usb/em28xx/em28xx-i2c.c time += 1; /* Assume 1 ms for transfers */ time 76 drivers/media/usb/em28xx/em28xx-i2c.c return msecs_to_jiffies(time); time 436 drivers/media/usb/uvc/uvc_video.c ktime_t time; time 486 drivers/media/usb/uvc/uvc_video.c time = uvc_video_get_time(); time 523 drivers/media/usb/uvc/uvc_video.c sample->host_time = time; time 1236 drivers/media/usb/uvc/uvc_video.c ktime_t time; time 1270 drivers/media/usb/uvc/uvc_video.c time = uvc_video_get_time(); time 1273 drivers/media/usb/uvc/uvc_video.c put_unaligned(ktime_to_ns(time), &meta->ns); time 1284 drivers/media/usb/uvc/uvc_video.c __func__, ktime_to_ns(time), meta->sof, meta->length, time 604 drivers/memory/omap-gpmc.c int time, enum gpmc_clk_domain cd, const char *name) time 609 drivers/memory/omap-gpmc.c if (time == 0) time 612 drivers/memory/omap-gpmc.c ticks = gpmc_ns_to_clk_ticks(time, cs, cd); time 621 drivers/memory/omap-gpmc.c __func__, cs, name, time, ticks, max); time 631 drivers/memory/omap-gpmc.c (l >> st_bit) & mask, time); time 119 drivers/memstick/core/mspro_block.c unsigned short time; time 456 drivers/memstick/core/mspro_block.c x_spfile->time >> 11, time 457 drivers/memstick/core/mspro_block.c (x_spfile->time >> 5) & 0x3f, time 458 drivers/memstick/core/mspro_block.c (x_spfile->time & 0x1f) * 2); time 1148 drivers/message/fusion/mptscsih.c long time = jiffies; time 1159 drivers/message/fusion/mptscsih.c if (time - hd->last_queue_full > 10 * HZ) { time 1162 drivers/message/fusion/mptscsih.c hd->last_queue_full = time; time 966 drivers/mfd/menelaus.c menelaus_to_time(regs, &w->time); time 993 drivers/mfd/menelaus.c status = time_to_menelaus(&w->time, MENELAUS_RTC_AL_SEC); time 1082 drivers/mmc/host/sh_mmcif.c long time; time 1130 drivers/mmc/host/sh_mmcif.c time = wait_for_completion_interruptible_timeout(&host->dma_complete, time 1147 drivers/mmc/host/sh_mmcif.c } else if (!time) { time 1150 drivers/mmc/host/sh_mmcif.c } else if (time < 0) { time 1152 drivers/mmc/host/sh_mmcif.c "wait_for_completion_...() error %ld!\n", time); time 1153 drivers/mmc/host/sh_mmcif.c data->error = time; time 253 drivers/mtd/nand/raw/meson_nand.c static void meson_nfc_cmd_idle(struct meson_nfc *nfc, u32 time) time 255 drivers/mtd/nand/raw/meson_nand.c writel(nfc->param.chip_select | NFC_CMD_IDLE | (time & 0x3ff), time 197 drivers/net/can/mscan/mscan.h u16 time; /* + 0x5c 0x2e */ time 216 drivers/net/can/mscan/mscan.h u16 time; /* + 0x7c 0x3e */ time 199 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time[3]; time 208 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time; time 215 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time[3]; time 229 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time; time 243 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time[3]; time 261 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time; time 281 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c __le16 time[3]; time 128 drivers/net/can/usb/peak_usb/pcan_usb_core.c void peak_usb_get_ts_time(struct peak_time_ref *time_ref, u32 ts, ktime_t *time) time 143 drivers/net/can/usb/peak_usb/pcan_usb_core.c *time = ktime_add_us(time_ref->tv_host_0, delta_us); time 145 drivers/net/can/usb/peak_usb/pcan_usb_core.c *time = ktime_get(); time 1107 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int closest_timer(const struct sge *s, int time) time 1112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c delta = time - s->timer_val[i]; time 2141 drivers/net/ethernet/cisco/enic/enic_main.c unsigned long time; time 2154 drivers/net/ethernet/cisco/enic/enic_main.c time = jiffies + (HZ * 2); time 2166 drivers/net/ethernet/cisco/enic/enic_main.c } while (time_after(time, jiffies)); time 239 drivers/net/ethernet/freescale/gianfar.h #define mk_ic_value(count, time) (IC_ICEN | \ time 241 drivers/net/ethernet/freescale/gianfar.h mk_ic_ictt(time)) time 469 drivers/net/ethernet/freescale/ucc_geth.h u32 time; /* temporary variable handled by QE */ time 1106 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c rem_nsec = do_div(stats.time, HCLGE_BILLION_NANO_SECONDS); time 1108 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c (unsigned long)stats.time, rem_nsec / 1000, time 1932 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c mac_tnl_stats.time = local_clock(); time 667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u64 time; time 1371 drivers/net/ethernet/hp/hp100.c unsigned long time; time 1395 drivers/net/ethernet/hp/hp100.c for (time = 0; time < 5000; time++) { time 1406 drivers/net/ethernet/hp/hp100.c for (time = 0; time < 32000; time++) { time 1416 drivers/net/ethernet/hp/hp100.c for (time = 0; time < 10000; time++) { time 1423 drivers/net/ethernet/hp/hp100.c if (time >= 10000) time 1431 drivers/net/ethernet/hp/hp100.c for (time = 0; time < 10000; time++) { time 2482 drivers/net/ethernet/hp/hp100.c unsigned long time; time 2491 drivers/net/ethernet/hp/hp100.c time = jiffies + (HZ / 4); time 2497 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2499 drivers/net/ethernet/hp/hp100.c if (time_after_eq(jiffies, time)) /* no signal->no logout */ time 2508 drivers/net/ethernet/hp/hp100.c time = jiffies + (HZ / 2); time 2514 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2517 drivers/net/ethernet/hp/hp100.c if (time_after_eq(jiffies, time)) time 2547 drivers/net/ethernet/hp/hp100.c time = jiffies + (HZ * 5); time 2553 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2559 drivers/net/ethernet/hp/hp100.c time = jiffies + (3 * HZ); /* Timeout 3s */ time 2565 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2567 drivers/net/ethernet/hp/hp100.c if (time_before_eq(time, jiffies)) { time 2574 drivers/net/ethernet/hp/hp100.c time = jiffies + (2 * HZ); /* This seems to take a while.... */ time 2578 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2588 drivers/net/ethernet/hp/hp100.c unsigned long time; time 2623 drivers/net/ethernet/hp/hp100.c time = jiffies + (HZ / 10); time 2629 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2659 drivers/net/ethernet/hp/hp100.c time = jiffies + (1 * HZ); /* 1 sec timeout for cable st */ time 2665 drivers/net/ethernet/hp/hp100.c } while (time_before(jiffies, time)); time 2667 drivers/net/ethernet/hp/hp100.c if (time_after_eq(jiffies, time)) { time 2678 drivers/net/ethernet/hp/hp100.c time = jiffies + (2 * HZ); /* again a timeout */ time 2689 drivers/net/ethernet/hp/hp100.c } while (time_after(time, jiffies)); time 2693 drivers/net/ethernet/hp/hp100.c if (time_before_eq(jiffies, time) && (val & HP100_LINK_UP_ST)) { time 29 drivers/net/ethernet/huawei/hinic/hinic_port.h u8 time[HINIC_COMPILE_TIME_LEN]; time 1385 drivers/net/ethernet/intel/e1000/e1000_ethtool.c unsigned long time; time 1414 drivers/net/ethernet/intel/e1000/e1000_ethtool.c time = jiffies; /* set the start time for the receive */ time 1434 drivers/net/ethernet/intel/e1000/e1000_ethtool.c } while (good_cnt < 64 && time_after(time + 20, jiffies)); time 1440 drivers/net/ethernet/intel/e1000/e1000_ethtool.c if (time_after_eq(jiffies, time + 2)) { time 1636 drivers/net/ethernet/intel/e1000e/ethtool.c unsigned long time; time 1670 drivers/net/ethernet/intel/e1000e/ethtool.c time = jiffies; /* set the start time for the receive */ time 1691 drivers/net/ethernet/intel/e1000e/ethtool.c } while ((good_cnt < 64) && !time_after(jiffies, time + 20)); time 1696 drivers/net/ethernet/intel/e1000e/ethtool.c if (time_after(jiffies, time + 20)) { time 188 drivers/net/ethernet/intel/fm10k/fm10k_common.c u16 i, time; time 210 drivers/net/ethernet/intel/fm10k/fm10k_common.c for (i = 0, time = FM10K_QUEUE_DISABLE_TIMEOUT; time;) { time 226 drivers/net/ethernet/intel/fm10k/fm10k_common.c time--; time 227 drivers/net/ethernet/intel/fm10k/fm10k_common.c if (time) time 4970 drivers/net/ethernet/intel/i40e/i40e_common.c u32 time, u32 interval) time 5006 drivers/net/ethernet/intel/i40e/i40e_common.c if (time > 0 && interval > 0) { time 5007 drivers/net/ethernet/intel/i40e/i40e_common.c for (i = 0; i < time * 1000; i += interval) { time 59 drivers/net/ethernet/intel/i40e/i40e_prototype.h u32 time, u32 interval); time 435 drivers/net/ethernet/intel/i40e/i40e_prototype.h u32 time, u32 interval); time 30 drivers/net/ethernet/intel/i40e/i40e_type.h #define I40E_MS_TO_GTIME(time) ((time) * 1000) time 1797 drivers/net/ethernet/mellanox/mlx4/port.c int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time) time 1806 drivers/net/ethernet/mellanox/mlx4/port.c *((__be32 *)mailbox->buf) = cpu_to_be32(time); time 1387 drivers/net/ethernet/micrel/ksz884x.c unsigned long time; time 4305 drivers/net/ethernet/micrel/ksz884x.c static void ksz_start_timer(struct ksz_timer_info *info, int time) time 4308 drivers/net/ethernet/micrel/ksz884x.c info->timer.expires = jiffies + time; time 5514 drivers/net/ethernet/micrel/ksz884x.c hw_priv->counter[i].time = next_jiffies; time 6664 drivers/net/ethernet/micrel/ksz884x.c } else if (time_after_eq(jiffies, hw_priv->counter[i].time)) { time 6669 drivers/net/ethernet/micrel/ksz884x.c hw_priv->counter[i].time = next_jiffies; time 1191 drivers/net/ethernet/neterion/s2io.c u32 time; time 1705 drivers/net/ethernet/neterion/s2io.c time = 0; time 1711 drivers/net/ethernet/neterion/s2io.c if (time > 10) { time 1716 drivers/net/ethernet/neterion/s2io.c time++; time 89 drivers/net/ethernet/qlogic/qed/qed_vf.c int rc = 0, time = 100; time 131 drivers/net/ethernet/qlogic/qed/qed_vf.c while ((!*done) && time) { time 133 drivers/net/ethernet/qlogic/qed/qed_vf.c time--; time 197 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c unsigned long time; time 217 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c time = tmp_fil->ftime; time 218 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (time_after(jiffies, QLCNIC_READD_AGE * HZ + time)) time 1198 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c u16 ctx_id, pkts, time; time 1205 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c time = cmd->req.arg[2] >> 16; time 1210 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c time < coal->rx_time_us) time 1215 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c time < coal->tx_time_us) time 1231 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c ctx_id, pkts, time, type); time 356 drivers/net/ethernet/sfc/mcdi.c unsigned long time, finish; time 386 drivers/net/ethernet/sfc/mcdi.c time = jiffies; time 391 drivers/net/ethernet/sfc/mcdi.c if (time_after(time, finish)) time 894 drivers/net/fddi/skfp/fplustm.c u_long time=0 ; time 913 drivers/net/fddi/skfp/fplustm.c time = hwt_quick_read(smc) ; time 971 drivers/net/fddi/skfp/fplustm.c hwt_wait_time(smc,time,MS2BCLK(10)) ; time 504 drivers/net/fddi/skfp/h/cmtdef.h void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, time 525 drivers/net/fddi/skfp/h/cmtdef.h void hwt_start(struct s_smc *smc, u_long time); time 59 drivers/net/fddi/skfp/hwt.c void hwt_start(struct s_smc *smc, u_long time) time 63 drivers/net/fddi/skfp/hwt.c if (time > HWT_MAX) time 64 drivers/net/fddi/skfp/hwt.c time = HWT_MAX ; time 66 drivers/net/fddi/skfp/hwt.c smc->hw.t_start = time ; time 69 drivers/net/fddi/skfp/hwt.c cnt = (u_short)time ; time 198 drivers/net/fddi/skfp/hwt.c u_long time ; time 202 drivers/net/fddi/skfp/hwt.c time = inpd(ADDR(B2_TI_VAL)) ; time 203 drivers/net/fddi/skfp/hwt.c outpd(ADDR(B2_TI_INI),time) ; time 207 drivers/net/fddi/skfp/hwt.c return time; time 208 drivers/net/fddi/skfp/smt.c u_long time; time 211 drivers/net/fddi/skfp/smt.c time = smt_get_time(); time 212 drivers/net/fddi/skfp/smt.c count = ((time - smc->sm.last_tok_time[mac_index]) * time 226 drivers/net/fddi/skfp/smt.c smc->sm.last_tok_time[mac_index] = time; time 234 drivers/net/fddi/skfp/smt.c u_long time ; time 273 drivers/net/fddi/skfp/smt.c time = smt_get_time() ; time 275 drivers/net/fddi/skfp/smt.c if (time - smc->sm.smt_last_lem >= TICKS_PER_SECOND*8) { time 290 drivers/net/fddi/skfp/smt.c smc->sm.smt_last_lem = time ; time 374 drivers/net/fddi/skfp/smt.c if (time - smc->sm.smt_last_notify >= (u_long) time 386 drivers/net/fddi/skfp/smt.c smc->sm.smt_last_notify = time ; time 393 drivers/net/fddi/skfp/smt.c time - smc->sm.smt_tvu > 228*TICKS_PER_SECOND) { time 416 drivers/net/fddi/skfp/smt.c time - smc->sm.smt_tvd > 228*TICKS_PER_SECOND) { time 438 drivers/net/fddi/skfp/smt.c if (time - smc->sm.last_tok_time[i] > 2*TICKS_PER_SECOND ){ time 1226 drivers/net/fddi/skfp/smt.c u_long time ; time 1235 drivers/net/fddi/skfp/smt.c time = utime * 100 ; time 1236 drivers/net/fddi/skfp/smt.c time /= TICKS_PER_SECOND ; time 1238 drivers/net/fddi/skfp/smt.c p[1] = (u_char)((time>>(8+8+8+8-1)) & 1) ; time 1239 drivers/net/fddi/skfp/smt.c p[2] = (u_char)(time>>(8+8+8-1)) ; time 1240 drivers/net/fddi/skfp/smt.c p[3] = (u_char)(time>>(8+8-1)) ; time 1241 drivers/net/fddi/skfp/smt.c p[4] = (u_char)(time>>(8-1)) ; time 1242 drivers/net/fddi/skfp/smt.c p[5] = (u_char)(time<<1) ; time 58 drivers/net/fddi/skfp/smttimer.c void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, time 65 drivers/net/fddi/skfp/smttimer.c time /= 16 ; /* input is uS, clock ticks are 16uS */ time 66 drivers/net/fddi/skfp/smttimer.c if (!time) time 67 drivers/net/fddi/skfp/smttimer.c time = 1 ; time 75 drivers/net/fddi/skfp/smttimer.c timer->tm_delta = time ; time 76 drivers/net/fddi/skfp/smttimer.c hwt_start(smc,time) ; time 89 drivers/net/fddi/skfp/smttimer.c if (delta + tm->tm_delta > time) { time 97 drivers/net/fddi/skfp/smttimer.c timer->tm_delta = time - delta ; time 301 drivers/net/hamradio/dmascc.c unsigned long time, start[MAX_NUM_DEVS], delay[MAX_NUM_DEVS], time 374 drivers/net/hamradio/dmascc.c time = jiffies; time 379 drivers/net/hamradio/dmascc.c while (jiffies - time < 13) { time 445 drivers/net/hamradio/dmascc.c unsigned long time; time 526 drivers/net/hamradio/dmascc.c time = jiffies; time 527 drivers/net/hamradio/dmascc.c while (jiffies - time < 2 + HZ / TMR_0_HZ); time 1932 drivers/net/hamradio/scc.c if (!arg || copy_from_user(&cal, arg, sizeof(cal)) || cal.time == 0) time 1935 drivers/net/hamradio/scc.c scc_start_calibrate(scc, cal.time, cal.pattern); time 44 drivers/net/wan/hdlc_cisco.c __be32 time; time 116 drivers/net/wan/hdlc_cisco.c data->time = htonl((jiffies - INITIAL_JIFFIES) * (1000 / HZ)); time 228 drivers/net/wan/hdlc_cisco.c sec = ntohl(cisco_data->time) / 1000; time 580 drivers/net/wireless/ath/ath10k/hw.c survey->time = CCNT_TO_MSEC(ar, cc); time 2650 drivers/net/wireless/ath/ath10k/wmi.c survey->time = (params->cycle_count / params->mac_clk_mhz) / 1000; time 5702 drivers/net/wireless/ath/ath10k/wmi.c survey->time = div_u64(total, cc_freq_hz); time 661 drivers/net/wireless/ath/ath5k/mac80211-ops.c ah->survey.time += cc->cycles / div; time 527 drivers/net/wireless/ath/ath9k/link.c survey->time += cc->cycles / div; time 191 drivers/net/wireless/ath/carl9170/cmd.c info->time = ar->tally.active; time 194 drivers/net/wireless/ath/carl9170/cmd.c do_div(info->time, 1000); time 408 drivers/net/wireless/broadcom/b43/debugfs.c unsigned long time, time 411 drivers/net/wireless/broadcom/b43/debugfs.c expire = time + expire; time 987 drivers/net/wireless/broadcom/b43/phy_lp.c static bool lpphy_rx_iq_est(struct b43_wldev *dev, u16 samples, u8 time, time 994 drivers/net/wireless/broadcom/b43/phy_lp.c b43_phy_maskset(dev, B43_LPPHY_IQ_ENABLE_WAIT_TIME_ADDR, 0xFF00, time); time 4338 drivers/net/wireless/broadcom/b43/phy_n.c u16 samps, u8 time, bool wait) time 4344 drivers/net/wireless/broadcom/b43/phy_n.c b43_phy_maskset(dev, B43_NPHY_IQEST_WT, ~B43_NPHY_IQEST_WT_VAL, time); time 8510 drivers/net/wireless/intel/ipw2x00/ipw2100.c u8 time[2]; // hours, minutes time 660 drivers/net/wireless/intel/ipw2x00/ipw2200.c error->elem[i].time, time 667 drivers/net/wireless/intel/ipw2x00/ipw2200.c error->log[i].time, time 1286 drivers/net/wireless/intel/ipw2x00/ipw2200.c log[i].time, log[i].event, log[i].data); time 1309 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->error->elem[i].time, time 1322 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->error->log[i].time, time 1089 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 time; time 1099 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 time; time 1342 drivers/net/wireless/intel/iwlegacy/3945-mac.c u32 desc, time, count, base, data1; time 1365 drivers/net/wireless/intel/iwlegacy/3945-mac.c time = il_read_targ_mem(il, base + i + 1 * sizeof(u32)); time 1373 drivers/net/wireless/intel/iwlegacy/3945-mac.c il3945_desc_lookup(desc), desc, time, blink1, blink2, time 5082 drivers/net/wireless/intel/iwlegacy/4965-mac.c u32 desc, time, count, base, data1; time 5114 drivers/net/wireless/intel/iwlegacy/4965-mac.c time = il_read_targ_mem(il, base + 11 * sizeof(u32)); time 5120 drivers/net/wireless/intel/iwlegacy/4965-mac.c il4965_desc_lookup(desc), desc, time, data1, data2, line); time 462 drivers/net/wireless/intel/iwlegacy/common.c il_blink_compensation(struct il_priv *il, u8 time, u16 compensation) time 467 drivers/net/wireless/intel/iwlegacy/common.c return time; time 470 drivers/net/wireless/intel/iwlegacy/common.c return (u8) ((time * compensation) >> 6); time 72 drivers/net/wireless/intel/iwlwifi/dvm/led.c u8 time, u16 compensation) time 77 drivers/net/wireless/intel/iwlwifi/dvm/led.c return time; time 80 drivers/net/wireless/intel/iwlwifi/dvm/led.c return (u8)((time * compensation) >> 6); time 409 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ev, time, data; /* event log data */ time 439 drivers/net/wireless/intel/iwlwifi/dvm/main.c time = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT); time 442 drivers/net/wireless/intel/iwlwifi/dvm/main.c priv->trans->dev, 0, time, ev); time 446 drivers/net/wireless/intel/iwlwifi/dvm/main.c priv->trans->dev, time, data, ev); time 1704 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ev, time, data; /* event log data */ time 1739 drivers/net/wireless/intel/iwlwifi/dvm/main.c time = iwl_read32(trans, HBUS_TARG_MEM_RDAT); time 1745 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); time 1748 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); time 1750 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); time 1757 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, data, ev); time 1760 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, data, ev); time 1761 drivers/net/wireless/intel/iwlwifi/dvm/main.c trace_iwlwifi_dev_ucode_event(trans->dev, time, time 351 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le16 time; time 378 drivers/net/wireless/intel/iwlwifi/fw/api/nvm-reg.h __le16 time; time 121 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), time 122 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h TP_ARGS(dev, time, data, ev), time 126 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __field(u32, time) time 132 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __entry->time = time; time 137 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __get_str(dev), __entry->time, __entry->data, __entry->ev) time 21 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), time 22 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h TP_ARGS(dev, time, data, ev), time 26 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __field(u32, time) time 32 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __entry->time = time; time 37 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __get_str(dev), __entry->time, __entry->data, __entry->ev) time 4721 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c survey->time = mvm->accu_radio_stats.on_time_rf + time 4723 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c do_div(survey->time, USEC_PER_MSEC); time 534 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c resp_cp->time = mcc_resp_v3->time; time 2064 drivers/net/wireless/intersil/hostap/hostap_hw.c stats.mac_time = le32_to_cpu(rxdesc->time); time 81 drivers/net/wireless/intersil/hostap/hostap_wlan.h __le32 time; /* timestamp, 1 microsecond resolution */ time 181 drivers/net/wireless/intersil/orinoco/main.c __le32 time; time 305 drivers/net/wireless/intersil/p54/main.c info->time = 0; time 631 drivers/net/wireless/intersil/p54/main.c if (survey->time != 0) { time 596 drivers/net/wireless/intersil/p54/txrx.c survey->time = priv->survey_raw.active; time 600 drivers/net/wireless/intersil/p54/txrx.c do_div(survey->time, 1024); time 1886 drivers/net/wireless/mac80211_hwsim.c survey->time = time 1890 drivers/net/wireless/mac80211_hwsim.c survey->time_busy = survey->time/8; time 1565 drivers/net/wireless/marvell/mwifiex/cfg80211.c survey->time = pchan_stats[idx].cca_scan_dur; time 3121 drivers/net/wireless/marvell/mwl8k.c survey->time = jiffies_to_msecs(priv->channel_time); time 457 drivers/net/wireless/mediatek/mt76/mac80211.c survey->time = div_u64(state->cc_active, 1000); time 115 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c u64 time; time 127 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c time = (tbtt - PRE_TBTT_USEC) * 1000ull; time 128 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); time 134 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c u64 tsf, time; time 146 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c time = ((1000000000ull * dev->mt76.beacon_int) >> 10); time 150 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c time -= (PRE_TBTT_USEC - tbtt) * 1000ull; time 152 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c time += (tbtt - PRE_TBTT_USEC) * 1000ull; time 154 drivers/net/wireless/mediatek/mt76/mt76x02_usb_core.c hrtimer_start(&dev->pre_tbtt_timer, time, HRTIMER_MODE_REL); time 779 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c survey->time = stats.cca_try; time 10528 drivers/net/wireless/ralink/rt2x00/rt2800lib.c survey->time = (idle + busy) / 1000; time 295 drivers/net/wireless/wl3501.h char time[8]; time 48 drivers/oprofile/oprof.h int oprofile_set_timeout(unsigned long time); time 1210 drivers/parport/share.c dev->time = jiffies; time 119 drivers/pinctrl/pinctrl-amd.c u32 time; time 146 drivers/pinctrl/pinctrl-amd.c time = debounce / 61; time 147 drivers/pinctrl/pinctrl-amd.c pin_reg |= time & DB_TMR_OUT_MASK; time 151 drivers/pinctrl/pinctrl-amd.c time = debounce / 244; time 152 drivers/pinctrl/pinctrl-amd.c pin_reg |= time & DB_TMR_OUT_MASK; time 156 drivers/pinctrl/pinctrl-amd.c time = debounce / 15600; time 157 drivers/pinctrl/pinctrl-amd.c pin_reg |= time & DB_TMR_OUT_MASK; time 161 drivers/pinctrl/pinctrl-amd.c time = debounce / 62500; time 162 drivers/pinctrl/pinctrl-amd.c pin_reg |= time & DB_TMR_OUT_MASK; time 565 drivers/platform/x86/toshiba_acpi.c static int toshiba_kbd_illum_status_set(struct toshiba_acpi_dev *dev, u32 time) time 572 drivers/platform/x86/toshiba_acpi.c result = sci_write(dev, SCI_KBD_ILLUM_STATUS, time); time 582 drivers/platform/x86/toshiba_acpi.c static int toshiba_kbd_illum_status_get(struct toshiba_acpi_dev *dev, u32 *time) time 589 drivers/platform/x86/toshiba_acpi.c result = sci_read(dev, SCI_KBD_ILLUM_STATUS, time); time 1812 drivers/platform/x86/toshiba_acpi.c int time = toshiba->kbd_time << HCI_MISC_SHIFT; time 1817 drivers/platform/x86/toshiba_acpi.c time |= toshiba->kbd_mode; time 1820 drivers/platform/x86/toshiba_acpi.c time |= mode; time 1823 drivers/platform/x86/toshiba_acpi.c ret = toshiba_kbd_illum_status_set(toshiba, time); time 1857 drivers/platform/x86/toshiba_acpi.c u32 time; time 1859 drivers/platform/x86/toshiba_acpi.c if (toshiba_kbd_illum_status_get(toshiba, &time) < 0) time 1862 drivers/platform/x86/toshiba_acpi.c return sprintf(buf, "%i\n", time & SCI_KBD_MODE_MASK); time 1895 drivers/platform/x86/toshiba_acpi.c int time; time 1898 drivers/platform/x86/toshiba_acpi.c ret = kstrtoint(buf, 0, &time); time 1904 drivers/platform/x86/toshiba_acpi.c if (time < 0 || time > 60) time 1907 drivers/platform/x86/toshiba_acpi.c if (time < 1 || time > 60) time 1914 drivers/platform/x86/toshiba_acpi.c if (toshiba->kbd_time != time) { time 1916 drivers/platform/x86/toshiba_acpi.c time = time << HCI_MISC_SHIFT; time 1919 drivers/platform/x86/toshiba_acpi.c time |= SCI_KBD_MODE_FNZ; time 1921 drivers/platform/x86/toshiba_acpi.c time |= SCI_KBD_MODE_AUTO; time 1923 drivers/platform/x86/toshiba_acpi.c ret = toshiba_kbd_illum_status_set(toshiba, time); time 1927 drivers/platform/x86/toshiba_acpi.c toshiba->kbd_time = time >> HCI_MISC_SHIFT; time 1938 drivers/platform/x86/toshiba_acpi.c u32 time; time 1940 drivers/platform/x86/toshiba_acpi.c if (toshiba_kbd_illum_status_get(toshiba, &time) < 0) time 1943 drivers/platform/x86/toshiba_acpi.c return sprintf(buf, "%i\n", time >> HCI_MISC_SHIFT); time 196 drivers/power/supply/apm_power.c int time; time 198 drivers/power/supply/apm_power.c time = do_calculate_time(status, SOURCE_ENERGY); time 199 drivers/power/supply/apm_power.c if (time != -1) time 200 drivers/power/supply/apm_power.c return time; time 202 drivers/power/supply/apm_power.c time = do_calculate_time(status, SOURCE_CHARGE); time 203 drivers/power/supply/apm_power.c if (time != -1) time 204 drivers/power/supply/apm_power.c return time; time 206 drivers/power/supply/apm_power.c time = do_calculate_time(status, SOURCE_VOLTAGE); time 207 drivers/power/supply/apm_power.c if (time != -1) time 208 drivers/power/supply/apm_power.c return time; time 344 drivers/power/supply/apm_power.c info->time = time_to_full.intval / 60; time 346 drivers/power/supply/apm_power.c info->time = calculate_time(status.intval); time 350 drivers/power/supply/apm_power.c info->time = time_to_empty.intval / 60; time 352 drivers/power/supply/apm_power.c info->time = calculate_time(status.intval); time 101 drivers/power/supply/cpcap-battery.c ktime_t time; time 390 drivers/power/supply/cpcap-battery.c s64 delta_ms = ktime_to_ms(ktime_sub(now, latest->time)); time 396 drivers/power/supply/cpcap-battery.c state.time = now; time 128 drivers/ptp/ptp_clock.c ts.tv_sec = tx->time.tv_sec; time 129 drivers/ptp/ptp_clock.c ts.tv_nsec = tx->time.tv_usec; time 359 drivers/rtc/class.c if (!err && !rtc_valid_tm(&alrm.time)) time 261 drivers/rtc/dev.c if (copy_to_user(uarg, &alarm.time, sizeof(tm))) time 268 drivers/rtc/dev.c if (copy_from_user(&alarm.time, uarg, sizeof(tm))) time 273 drivers/rtc/dev.c alarm.time.tm_wday = -1; time 274 drivers/rtc/dev.c alarm.time.tm_yday = -1; time 275 drivers/rtc/dev.c alarm.time.tm_isdst = -1; time 298 drivers/rtc/dev.c alarm.time.tm_mday = tm.tm_mday; time 299 drivers/rtc/dev.c alarm.time.tm_mon = tm.tm_mon; time 300 drivers/rtc/dev.c alarm.time.tm_year = tm.tm_year; time 301 drivers/rtc/dev.c err = rtc_valid_tm(&alarm.time); time 304 drivers/rtc/dev.c then = rtc_tm_to_time64(&alarm.time); time 309 drivers/rtc/dev.c alarm.time.tm_mday = tm.tm_mday; time 310 drivers/rtc/dev.c alarm.time.tm_mon = tm.tm_mon; time 311 drivers/rtc/dev.c alarm.time.tm_year = tm.tm_year; time 70 drivers/rtc/interface.c time64_t time = rtc_tm_to_time64(tm); time 77 drivers/rtc/interface.c if (time < range_min || time > range_max) time 194 drivers/rtc/interface.c alarm->time.tm_sec = -1; time 195 drivers/rtc/interface.c alarm->time.tm_min = -1; time 196 drivers/rtc/interface.c alarm->time.tm_hour = -1; time 197 drivers/rtc/interface.c alarm->time.tm_mday = -1; time 198 drivers/rtc/interface.c alarm->time.tm_mon = -1; time 199 drivers/rtc/interface.c alarm->time.tm_year = -1; time 200 drivers/rtc/interface.c alarm->time.tm_wday = -1; time 201 drivers/rtc/interface.c alarm->time.tm_yday = -1; time 202 drivers/rtc/interface.c alarm->time.tm_isdst = -1; time 208 drivers/rtc/interface.c trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); time 277 drivers/rtc/interface.c if (rtc_valid_tm(&alarm->time) == 0) { time 278 drivers/rtc/interface.c rtc_add_offset(rtc, &alarm->time); time 296 drivers/rtc/interface.c if (alarm->time.tm_sec == -1) time 297 drivers/rtc/interface.c alarm->time.tm_sec = now.tm_sec; time 298 drivers/rtc/interface.c if (alarm->time.tm_min == -1) time 299 drivers/rtc/interface.c alarm->time.tm_min = now.tm_min; time 300 drivers/rtc/interface.c if (alarm->time.tm_hour == -1) time 301 drivers/rtc/interface.c alarm->time.tm_hour = now.tm_hour; time 304 drivers/rtc/interface.c if (alarm->time.tm_mday < 1 || alarm->time.tm_mday > 31) { time 305 drivers/rtc/interface.c alarm->time.tm_mday = now.tm_mday; time 308 drivers/rtc/interface.c if ((unsigned int)alarm->time.tm_mon >= 12) { time 309 drivers/rtc/interface.c alarm->time.tm_mon = now.tm_mon; time 313 drivers/rtc/interface.c if (alarm->time.tm_year == -1) { time 314 drivers/rtc/interface.c alarm->time.tm_year = now.tm_year; time 322 drivers/rtc/interface.c err = rtc_valid_tm(&alarm->time); time 328 drivers/rtc/interface.c t_alm = rtc_tm_to_time64(&alarm->time); time 341 drivers/rtc/interface.c rtc_time64_to_tm(t_alm, &alarm->time); time 352 drivers/rtc/interface.c if (alarm->time.tm_mon < 11) { time 353 drivers/rtc/interface.c alarm->time.tm_mon++; time 355 drivers/rtc/interface.c alarm->time.tm_mon = 0; time 356 drivers/rtc/interface.c alarm->time.tm_year++; time 358 drivers/rtc/interface.c days = rtc_month_days(alarm->time.tm_mon, time 359 drivers/rtc/interface.c alarm->time.tm_year); time 360 drivers/rtc/interface.c } while (days < alarm->time.tm_mday); time 367 drivers/rtc/interface.c alarm->time.tm_year++; time 368 drivers/rtc/interface.c } while (!is_leap_year(alarm->time.tm_year + 1900) && time 369 drivers/rtc/interface.c rtc_valid_tm(&alarm->time) != 0); time 376 drivers/rtc/interface.c err = rtc_valid_tm(&alarm->time); time 381 drivers/rtc/interface.c &alarm->time); time 400 drivers/rtc/interface.c alarm->time = rtc_ktime_to_tm(rtc->aie_timer.node.expires); time 404 drivers/rtc/interface.c trace_rtc_read_alarm(rtc_tm_to_time64(&alarm->time), err); time 415 drivers/rtc/interface.c err = rtc_valid_tm(&alarm->time); time 419 drivers/rtc/interface.c scheduled = rtc_tm_to_time64(&alarm->time); time 435 drivers/rtc/interface.c rtc_subtract_offset(rtc, &alarm->time); time 444 drivers/rtc/interface.c trace_rtc_set_alarm(rtc_tm_to_time64(&alarm->time), err); time 457 drivers/rtc/interface.c err = rtc_valid_tm(&alarm->time); time 461 drivers/rtc/interface.c err = rtc_valid_range(rtc, &alarm->time); time 471 drivers/rtc/interface.c rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); time 488 drivers/rtc/interface.c err = rtc_valid_tm(&alarm->time); time 500 drivers/rtc/interface.c rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); time 814 drivers/rtc/interface.c alarm.time = rtc_ktime_to_tm(timer->node.expires); time 867 drivers/rtc/interface.c alarm.time = rtc_ktime_to_tm(next->expires); time 930 drivers/rtc/interface.c alarm.time = rtc_ktime_to_tm(next->expires); time 49 drivers/rtc/lib.c void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) time 55 drivers/rtc/lib.c days = div_s64_rem(time, 86400, &secs); time 57 drivers/rtc/proc.c seq_printf(seq, "alrm_time\t: %ptRt\n", &alrm.time); time 58 drivers/rtc/proc.c seq_printf(seq, "alrm_date\t: %ptRd\n", &alrm.time); time 163 drivers/rtc/rtc-88pm80x.c rtc_time64_to_tm(ticks, &alrm->time); time 195 drivers/rtc/rtc-88pm80x.c rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); time 183 drivers/rtc/rtc-88pm860x.c rtc_time_to_tm(ticks, &alrm->time); time 215 drivers/rtc/rtc-88pm860x.c rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); time 301 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; time 354 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; time 440 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; time 544 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; time 78 drivers/rtc/rtc-ab3100.c time64_t time; time 104 drivers/rtc/rtc-ab3100.c time = hw_counter / (u64) (AB3100_RTC_CLOCK_RATE * 2); time 107 drivers/rtc/rtc-ab3100.c rtc_time64_to_tm(time, tm); time 114 drivers/rtc/rtc-ab3100.c time64_t time; time 138 drivers/rtc/rtc-ab3100.c time = hw_counter / (u64) (AB3100_RTC_CLOCK_RATE * 2); time 140 drivers/rtc/rtc-ab3100.c rtc_time64_to_tm(time, &alarm->time); time 142 drivers/rtc/rtc-ab3100.c return rtc_valid_tm(&alarm->time); time 154 drivers/rtc/rtc-ab3100.c secs = rtc_tm_to_time64(&alarm->time); time 171 drivers/rtc/rtc-ab8500.c rtc_time_to_tm(secs, &alarm->time); time 191 drivers/rtc/rtc-ab8500.c rtc_tm_to_time(&alarm->time, &secs); time 285 drivers/rtc/rtc-abx80x.c t->time.tm_sec = bcd2bin(buf[0] & 0x7F); time 286 drivers/rtc/rtc-abx80x.c t->time.tm_min = bcd2bin(buf[1] & 0x7F); time 287 drivers/rtc/rtc-abx80x.c t->time.tm_hour = bcd2bin(buf[2] & 0x3F); time 288 drivers/rtc/rtc-abx80x.c t->time.tm_mday = bcd2bin(buf[3] & 0x3F); time 289 drivers/rtc/rtc-abx80x.c t->time.tm_mon = bcd2bin(buf[4] & 0x1F) - 1; time 290 drivers/rtc/rtc-abx80x.c t->time.tm_wday = buf[5] & 0x7; time 308 drivers/rtc/rtc-abx80x.c alarm[1] = bin2bcd(t->time.tm_sec); time 309 drivers/rtc/rtc-abx80x.c alarm[2] = bin2bcd(t->time.tm_min); time 310 drivers/rtc/rtc-abx80x.c alarm[3] = bin2bcd(t->time.tm_hour); time 311 drivers/rtc/rtc-abx80x.c alarm[4] = bin2bcd(t->time.tm_mday); time 312 drivers/rtc/rtc-abx80x.c alarm[5] = bin2bcd(t->time.tm_mon + 1); time 455 drivers/rtc/rtc-ac100.c struct rtc_time *alrm_tm = &alrm->time; time 486 drivers/rtc/rtc-ac100.c struct rtc_time *alrm_tm = &alrm->time; time 216 drivers/rtc/rtc-armada38x.c unsigned long time, flags; time 219 drivers/rtc/rtc-armada38x.c time = rtc->data->read_rtc_reg(rtc, RTC_TIME); time 222 drivers/rtc/rtc-armada38x.c rtc_time64_to_tm(time, tm); time 247 drivers/rtc/rtc-armada38x.c unsigned long time, flags; time 249 drivers/rtc/rtc-armada38x.c time = rtc_tm_to_time64(tm); time 255 drivers/rtc/rtc-armada38x.c rtc_delayed_write(time, rtc, RTC_TIME); time 264 drivers/rtc/rtc-armada38x.c unsigned long time, flags; time 271 drivers/rtc/rtc-armada38x.c time = rtc->data->read_rtc_reg(rtc, reg); time 277 drivers/rtc/rtc-armada38x.c rtc_time64_to_tm(time, &alrm->time); time 287 drivers/rtc/rtc-armada38x.c unsigned long time, flags; time 289 drivers/rtc/rtc-armada38x.c time = rtc_tm_to_time64(&alrm->time); time 293 drivers/rtc/rtc-armada38x.c rtc_delayed_write(time, rtc, reg); time 118 drivers/rtc/rtc-as3722.c as3722_reg_to_time(as_time_array, &alrm->time); time 129 drivers/rtc/rtc-as3722.c if (alrm->time.tm_year < (AS3722_RTC_START_YEAR - 1900)) time 138 drivers/rtc/rtc-as3722.c as3722_time_to_reg(as_time_array, &alrm->time); time 195 drivers/rtc/rtc-asm9260.c alrm->time.tm_year = ioread32(priv->iobase + HW_ALYEAR); time 196 drivers/rtc/rtc-asm9260.c alrm->time.tm_mon = ioread32(priv->iobase + HW_ALMON); time 197 drivers/rtc/rtc-asm9260.c alrm->time.tm_mday = ioread32(priv->iobase + HW_ALDOM); time 198 drivers/rtc/rtc-asm9260.c alrm->time.tm_wday = ioread32(priv->iobase + HW_ALDOW); time 199 drivers/rtc/rtc-asm9260.c alrm->time.tm_yday = ioread32(priv->iobase + HW_ALDOY); time 200 drivers/rtc/rtc-asm9260.c alrm->time.tm_hour = ioread32(priv->iobase + HW_ALHOUR); time 201 drivers/rtc/rtc-asm9260.c alrm->time.tm_min = ioread32(priv->iobase + HW_ALMIN); time 202 drivers/rtc/rtc-asm9260.c alrm->time.tm_sec = ioread32(priv->iobase + HW_ALSEC); time 207 drivers/rtc/rtc-asm9260.c return rtc_valid_tm(&alrm->time); time 214 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_year, priv->iobase + HW_ALYEAR); time 215 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_mon, priv->iobase + HW_ALMON); time 216 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_mday, priv->iobase + HW_ALDOM); time 217 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_wday, priv->iobase + HW_ALDOW); time 218 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_yday, priv->iobase + HW_ALDOY); time 219 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_hour, priv->iobase + HW_ALHOUR); time 220 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_min, priv->iobase + HW_ALMIN); time 221 drivers/rtc/rtc-asm9260.c iowrite32(alrm->time.tm_sec, priv->iobase + HW_ALSEC); time 111 drivers/rtc/rtc-at91rm9200.c unsigned int time, date; time 115 drivers/rtc/rtc-at91rm9200.c time = at91_rtc_read(timereg); time 117 drivers/rtc/rtc-at91rm9200.c } while ((time != at91_rtc_read(timereg)) || time 120 drivers/rtc/rtc-at91rm9200.c tm->tm_sec = bcd2bin((time & AT91_RTC_SEC) >> 0); time 121 drivers/rtc/rtc-at91rm9200.c tm->tm_min = bcd2bin((time & AT91_RTC_MIN) >> 8); time 122 drivers/rtc/rtc-at91rm9200.c tm->tm_hour = bcd2bin((time & AT91_RTC_HOUR) >> 16); time 195 drivers/rtc/rtc-at91rm9200.c struct rtc_time *tm = &alrm->time; time 218 drivers/rtc/rtc-at91rm9200.c tm.tm_mon = alrm->time.tm_mon; time 219 drivers/rtc/rtc-at91rm9200.c tm.tm_mday = alrm->time.tm_mday; time 220 drivers/rtc/rtc-at91rm9200.c tm.tm_hour = alrm->time.tm_hour; time 221 drivers/rtc/rtc-at91rm9200.c tm.tm_min = alrm->time.tm_min; time 222 drivers/rtc/rtc-at91rm9200.c tm.tm_sec = alrm->time.tm_sec; time 178 drivers/rtc/rtc-at91sam9.c struct rtc_time *tm = &alrm->time; time 202 drivers/rtc/rtc-at91sam9.c struct rtc_time *tm = &alrm->time; time 27 drivers/rtc/rtc-bd70528.c struct bd70528_rtc_day time; time 35 drivers/rtc/rtc-bd70528.c struct bd70528_rtc_day time; time 183 drivers/rtc/rtc-bd70528.c r->time.hour &= ~(BD70528_MASK_RTC_HOUR_PM | BD70528_MASK_RTC_HOUR_24H); time 185 drivers/rtc/rtc-bd70528.c tmday2rtc(t, &r->time); time 189 drivers/rtc/rtc-bd70528.c r->time.hour |= BD70528_MASK_RTC_HOUR_24H; time 198 drivers/rtc/rtc-bd70528.c t->tm_sec = bcd2bin(r->time.sec & BD70528_MASK_RTC_SEC); time 199 drivers/rtc/rtc-bd70528.c t->tm_min = bcd2bin(r->time.min & BD70528_MASK_RTC_MINUTE); time 200 drivers/rtc/rtc-bd70528.c t->tm_hour = bcd2bin(r->time.hour & BD70528_MASK_RTC_HOUR); time 205 drivers/rtc/rtc-bd70528.c if (!(r->time.hour & BD70528_MASK_RTC_HOUR_24H)) { time 207 drivers/rtc/rtc-bd70528.c if (r->time.hour & BD70528_MASK_RTC_HOUR_PM) time 238 drivers/rtc/rtc-bd70528.c tm2rtc(&a->time, &alm.data); time 239 drivers/rtc/rtc-bd70528.c tmday2rtc(&a->time, &wake.time); time 278 drivers/rtc/rtc-bd70528.c rtc2tm(&alm.data, &a->time); time 279 drivers/rtc/rtc-bd70528.c a->time.tm_mday = -1; time 280 drivers/rtc/rtc-bd70528.c a->time.tm_mon = -1; time 281 drivers/rtc/rtc-bd70528.c a->time.tm_year = -1; time 156 drivers/rtc/rtc-brcmstb-waketimer.c rtc_time64_to_tm(sec, &alarm->time); time 172 drivers/rtc/rtc-brcmstb-waketimer.c sec = rtc_tm_to_time64(&alarm->time); time 208 drivers/rtc/rtc-cadence.c cdns_rtc_reg2time(reg, &alarm->time); time 211 drivers/rtc/rtc-cadence.c alarm->time.tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg)); time 212 drivers/rtc/rtc-cadence.c alarm->time.tm_mon = bcd2bin(FIELD_GET(CDNS_RTC_CAL_M, reg)) - 1; time 226 drivers/rtc/rtc-cadence.c timar = cdns_rtc_time2reg(&alarm->time); time 227 drivers/rtc/rtc-cadence.c calar = FIELD_PREP(CDNS_RTC_CAL_D, bin2bcd(alarm->time.tm_mday)) time 228 drivers/rtc/rtc-cadence.c | FIELD_PREP(CDNS_RTC_CAL_M, bin2bcd(alarm->time.tm_mon + 1)); time 266 drivers/rtc/rtc-cmos.c t->time.tm_sec = CMOS_READ(RTC_SECONDS_ALARM); time 267 drivers/rtc/rtc-cmos.c t->time.tm_min = CMOS_READ(RTC_MINUTES_ALARM); time 268 drivers/rtc/rtc-cmos.c t->time.tm_hour = CMOS_READ(RTC_HOURS_ALARM); time 272 drivers/rtc/rtc-cmos.c t->time.tm_mday = CMOS_READ(cmos->day_alrm) & 0x3f; time 273 drivers/rtc/rtc-cmos.c if (!t->time.tm_mday) time 274 drivers/rtc/rtc-cmos.c t->time.tm_mday = -1; time 277 drivers/rtc/rtc-cmos.c t->time.tm_mon = CMOS_READ(cmos->mon_alrm); time 278 drivers/rtc/rtc-cmos.c if (!t->time.tm_mon) time 279 drivers/rtc/rtc-cmos.c t->time.tm_mon = -1; time 287 drivers/rtc/rtc-cmos.c if (((unsigned)t->time.tm_sec) < 0x60) time 288 drivers/rtc/rtc-cmos.c t->time.tm_sec = bcd2bin(t->time.tm_sec); time 290 drivers/rtc/rtc-cmos.c t->time.tm_sec = -1; time 291 drivers/rtc/rtc-cmos.c if (((unsigned)t->time.tm_min) < 0x60) time 292 drivers/rtc/rtc-cmos.c t->time.tm_min = bcd2bin(t->time.tm_min); time 294 drivers/rtc/rtc-cmos.c t->time.tm_min = -1; time 295 drivers/rtc/rtc-cmos.c if (((unsigned)t->time.tm_hour) < 0x24) time 296 drivers/rtc/rtc-cmos.c t->time.tm_hour = bcd2bin(t->time.tm_hour); time 298 drivers/rtc/rtc-cmos.c t->time.tm_hour = -1; time 301 drivers/rtc/rtc-cmos.c if (((unsigned)t->time.tm_mday) <= 0x31) time 302 drivers/rtc/rtc-cmos.c t->time.tm_mday = bcd2bin(t->time.tm_mday); time 304 drivers/rtc/rtc-cmos.c t->time.tm_mday = -1; time 307 drivers/rtc/rtc-cmos.c if (((unsigned)t->time.tm_mon) <= 0x12) time 308 drivers/rtc/rtc-cmos.c t->time.tm_mon = bcd2bin(t->time.tm_mon)-1; time 310 drivers/rtc/rtc-cmos.c t->time.tm_mon = -1; time 392 drivers/rtc/rtc-cmos.c t_alrm = rtc_tm_to_time64(&t->time); time 416 drivers/rtc/rtc-cmos.c t_alrm = rtc_tm_to_time64(&t->time); time 435 drivers/rtc/rtc-cmos.c t_alrm = rtc_tm_to_time64(&t->time); time 460 drivers/rtc/rtc-cmos.c mon = t->time.tm_mon + 1; time 461 drivers/rtc/rtc-cmos.c mday = t->time.tm_mday; time 462 drivers/rtc/rtc-cmos.c hrs = t->time.tm_hour; time 463 drivers/rtc/rtc-cmos.c min = t->time.tm_min; time 464 drivers/rtc/rtc-cmos.c sec = t->time.tm_sec; time 498 drivers/rtc/rtc-cmos.c hpet_set_alarm_time(t->time.tm_hour, t->time.tm_min, time 499 drivers/rtc/rtc-cmos.c t->time.tm_sec); time 507 drivers/rtc/rtc-cmos.c cmos->alarm_expires = rtc_tm_to_time64(&t->time); time 967 drivers/rtc/rtc-cmos.c rtc_time64_to_tm(t_now - 1, &alarm.time); time 1057 drivers/rtc/rtc-cmos.c t_current_expires = rtc_tm_to_time64(¤t_alarm.time); time 1058 drivers/rtc/rtc-cmos.c t_saved_expires = rtc_tm_to_time64(&cmos->saved_wkalrm.time); time 109 drivers/rtc/rtc-coh901331.c rtc_time64_to_tm(readl(rtap->virtbase + COH901331_ALARM), &alarm->time); time 120 drivers/rtc/rtc-coh901331.c unsigned long time = rtc_tm_to_time64(&alarm->time); time 123 drivers/rtc/rtc-coh901331.c writel(time, rtap->virtbase + COH901331_ALARM); time 54 drivers/rtc/rtc-cpcap.c unsigned long int time; time 57 drivers/rtc/rtc-cpcap.c time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); time 59 drivers/rtc/rtc-cpcap.c rtc_time_to_tm(time, rtc); time 64 drivers/rtc/rtc-cpcap.c unsigned long time; time 66 drivers/rtc/rtc-cpcap.c rtc_tm_to_time(rtc, &time); time 68 drivers/rtc/rtc-cpcap.c cpcap->day = time / SECS_PER_DAY; time 69 drivers/rtc/rtc-cpcap.c time %= SECS_PER_DAY; time 70 drivers/rtc/rtc-cpcap.c cpcap->tod2 = (time >> 8) & TOD2_MASK; time 71 drivers/rtc/rtc-cpcap.c cpcap->tod1 = time & TOD1_MASK; time 188 drivers/rtc/rtc-cpcap.c cpcap2rtc_time(&alrm->time, &cpcap_tm); time 189 drivers/rtc/rtc-cpcap.c return rtc_valid_tm(&alrm->time); time 200 drivers/rtc/rtc-cpcap.c rtc2cpcap_time(&cpcap_tm, &alrm->time); time 55 drivers/rtc/rtc-cros-ec.c *response = msg.data.time; time 72 drivers/rtc/rtc-cros-ec.c msg.data.time = param; time 91 drivers/rtc/rtc-cros-ec.c u32 time; time 93 drivers/rtc/rtc-cros-ec.c ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &time); time 99 drivers/rtc/rtc-cros-ec.c rtc_time64_to_tm(time, tm); time 110 drivers/rtc/rtc-cros-ec.c time64_t time; time 112 drivers/rtc/rtc-cros-ec.c time = rtc_tm_to_time64(tm); time 113 drivers/rtc/rtc-cros-ec.c if (time < 0 || time > U32_MAX) time 116 drivers/rtc/rtc-cros-ec.c ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_VALUE, (u32)time); time 150 drivers/rtc/rtc-cros-ec.c rtc_time64_to_tm(current_time + alarm_offset, &alrm->time); time 176 drivers/rtc/rtc-cros-ec.c alarm_time = rtc_tm_to_time64(&alrm->time); time 226 drivers/rtc/rtc-da9052.c struct rtc_time *tm = &alrm->time; time 242 drivers/rtc/rtc-da9052.c struct rtc_time *tm = &alrm->time; time 179 drivers/rtc/rtc-da9055.c struct rtc_time *tm = &alrm->time; time 195 drivers/rtc/rtc-da9055.c struct rtc_time *tm = &alrm->time; time 287 drivers/rtc/rtc-da9063.c da9063_data_to_tm(data, &alrm->time, rtc); time 312 drivers/rtc/rtc-da9063.c da9063_tm_to_data(&alrm->time, data, rtc); time 378 drivers/rtc/rtc-davinci.c alm->time.tm_sec = 0; time 383 drivers/rtc/rtc-davinci.c alm->time.tm_min = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_AMIN)); time 386 drivers/rtc/rtc-davinci.c alm->time.tm_hour = bcd2bin(rtcss_read(davinci_rtc, PRTCSS_RTC_AHOUR)); time 399 drivers/rtc/rtc-davinci.c if (convertfromdays(days, &alm->time) < 0) time 416 drivers/rtc/rtc-davinci.c if (alm->time.tm_mday <= 0 && alm->time.tm_mon < 0 time 417 drivers/rtc/rtc-davinci.c && alm->time.tm_year < 0) { time 424 drivers/rtc/rtc-davinci.c alm->time.tm_mday = tm.tm_mday; time 425 drivers/rtc/rtc-davinci.c alm->time.tm_mon = tm.tm_mon; time 426 drivers/rtc/rtc-davinci.c alm->time.tm_year = tm.tm_year; time 427 drivers/rtc/rtc-davinci.c rtc_tm_to_time(&alm->time, &then); time 431 drivers/rtc/rtc-davinci.c alm->time.tm_mday = tm.tm_mday; time 432 drivers/rtc/rtc-davinci.c alm->time.tm_mon = tm.tm_mon; time 433 drivers/rtc/rtc-davinci.c alm->time.tm_year = tm.tm_year; time 437 drivers/rtc/rtc-davinci.c if (convert2days(&days, &alm->time) < 0) time 443 drivers/rtc/rtc-davinci.c rtcss_write(davinci_rtc, bin2bcd(alm->time.tm_min), PRTCSS_RTC_AMIN); time 446 drivers/rtc/rtc-davinci.c rtcss_write(davinci_rtc, bin2bcd(alm->time.tm_hour), PRTCSS_RTC_AHOUR); time 121 drivers/rtc/rtc-digicolor.c rtc_time64_to_tm(reference + alarm_reg, &alarm->time); time 139 drivers/rtc/rtc-digicolor.c alarm_time = rtc_tm_to_time64(&alarm->time); time 35 drivers/rtc/rtc-dm355evm.c union evm_time time; time 48 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[0] == status) time 50 drivers/rtc/rtc-dm355evm.c time.bytes[0] = status; time 55 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[1] == status) time 57 drivers/rtc/rtc-dm355evm.c time.bytes[1] = status; time 62 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[2] == status) time 64 drivers/rtc/rtc-dm355evm.c time.bytes[2] = status; time 69 drivers/rtc/rtc-dm355evm.c if (tries && time.bytes[3] == status) time 71 drivers/rtc/rtc-dm355evm.c time.bytes[3] = status; time 75 drivers/rtc/rtc-dm355evm.c dev_dbg(dev, "read timestamp %08x\n", time.value); time 77 drivers/rtc/rtc-dm355evm.c rtc_time64_to_tm(le32_to_cpu(time.value), tm); time 83 drivers/rtc/rtc-dm355evm.c union evm_time time; time 88 drivers/rtc/rtc-dm355evm.c time.value = cpu_to_le32(value); time 90 drivers/rtc/rtc-dm355evm.c dev_dbg(dev, "write timestamp %08x\n", time.value); time 96 drivers/rtc/rtc-dm355evm.c status = dm355evm_msp_write(time.bytes[0], DM355EVM_MSP_RTC_0); time 100 drivers/rtc/rtc-dm355evm.c status = dm355evm_msp_write(time.bytes[1], DM355EVM_MSP_RTC_1); time 104 drivers/rtc/rtc-dm355evm.c status = dm355evm_msp_write(time.bytes[2], DM355EVM_MSP_RTC_2); time 108 drivers/rtc/rtc-dm355evm.c status = dm355evm_msp_write(time.bytes[3], DM355EVM_MSP_RTC_3); time 272 drivers/rtc/rtc-ds1286.c alm->time.tm_min = ds1286_rtc_read(priv, RTC_MINUTES_ALARM) & 0x7f; time 273 drivers/rtc/rtc-ds1286.c alm->time.tm_hour = ds1286_rtc_read(priv, RTC_HOURS_ALARM) & 0x1f; time 274 drivers/rtc/rtc-ds1286.c alm->time.tm_wday = ds1286_rtc_read(priv, RTC_DAY_ALARM) & 0x07; time 278 drivers/rtc/rtc-ds1286.c alm->time.tm_min = bcd2bin(alm->time.tm_min); time 279 drivers/rtc/rtc-ds1286.c alm->time.tm_hour = bcd2bin(alm->time.tm_hour); time 280 drivers/rtc/rtc-ds1286.c alm->time.tm_sec = 0; time 289 drivers/rtc/rtc-ds1286.c hrs = alm->time.tm_hour; time 290 drivers/rtc/rtc-ds1286.c min = alm->time.tm_min; time 291 drivers/rtc/rtc-ds1286.c sec = alm->time.tm_sec; time 39 drivers/rtc/rtc-ds1302.c static int ds1302_rtc_set_time(struct device *dev, struct rtc_time *time) time 60 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_sec); time 61 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_min); time 62 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_hour); time 63 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_mday); time 64 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_mon + 1); time 65 drivers/rtc/rtc-ds1302.c *bp++ = time->tm_wday + 1; time 66 drivers/rtc/rtc-ds1302.c *bp++ = bin2bcd(time->tm_year % 100); time 74 drivers/rtc/rtc-ds1302.c static int ds1302_rtc_get_time(struct device *dev, struct rtc_time *time) time 90 drivers/rtc/rtc-ds1302.c time->tm_sec = bcd2bin(buf[RTC_ADDR_SEC]); time 91 drivers/rtc/rtc-ds1302.c time->tm_min = bcd2bin(buf[RTC_ADDR_MIN]); time 92 drivers/rtc/rtc-ds1302.c time->tm_hour = bcd2bin(buf[RTC_ADDR_HOUR]); time 93 drivers/rtc/rtc-ds1302.c time->tm_wday = buf[RTC_ADDR_DAY] - 1; time 94 drivers/rtc/rtc-ds1302.c time->tm_mday = bcd2bin(buf[RTC_ADDR_DATE]); time 95 drivers/rtc/rtc-ds1302.c time->tm_mon = bcd2bin(buf[RTC_ADDR_MON]) - 1; time 96 drivers/rtc/rtc-ds1302.c time->tm_year = bcd2bin(buf[RTC_ADDR_YEAR]) + 100; time 170 drivers/rtc/rtc-ds1305.c static int ds1305_get_time(struct device *dev, struct rtc_time *time) time 188 drivers/rtc/rtc-ds1305.c time->tm_sec = bcd2bin(buf[DS1305_SEC]); time 189 drivers/rtc/rtc-ds1305.c time->tm_min = bcd2bin(buf[DS1305_MIN]); time 190 drivers/rtc/rtc-ds1305.c time->tm_hour = bcd2hour(buf[DS1305_HOUR]); time 191 drivers/rtc/rtc-ds1305.c time->tm_wday = buf[DS1305_WDAY] - 1; time 192 drivers/rtc/rtc-ds1305.c time->tm_mday = bcd2bin(buf[DS1305_MDAY]); time 193 drivers/rtc/rtc-ds1305.c time->tm_mon = bcd2bin(buf[DS1305_MON]) - 1; time 194 drivers/rtc/rtc-ds1305.c time->tm_year = bcd2bin(buf[DS1305_YEAR]) + 100; time 198 drivers/rtc/rtc-ds1305.c "read", time->tm_sec, time->tm_min, time 199 drivers/rtc/rtc-ds1305.c time->tm_hour, time->tm_mday, time 200 drivers/rtc/rtc-ds1305.c time->tm_mon, time->tm_year, time->tm_wday); time 205 drivers/rtc/rtc-ds1305.c static int ds1305_set_time(struct device *dev, struct rtc_time *time) time 213 drivers/rtc/rtc-ds1305.c "write", time->tm_sec, time->tm_min, time 214 drivers/rtc/rtc-ds1305.c time->tm_hour, time->tm_mday, time 215 drivers/rtc/rtc-ds1305.c time->tm_mon, time->tm_year, time->tm_wday); time 220 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_sec); time 221 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_min); time 222 drivers/rtc/rtc-ds1305.c *bp++ = hour2bcd(ds1305->hr12, time->tm_hour); time 223 drivers/rtc/rtc-ds1305.c *bp++ = (time->tm_wday < 7) ? (time->tm_wday + 1) : 1; time 224 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_mday); time 225 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_mon + 1); time 226 drivers/rtc/rtc-ds1305.c *bp++ = bin2bcd(time->tm_year - 100); time 308 drivers/rtc/rtc-ds1305.c alm->time.tm_sec = bcd2bin(buf[DS1305_SEC]); time 309 drivers/rtc/rtc-ds1305.c alm->time.tm_min = bcd2bin(buf[DS1305_MIN]); time 310 drivers/rtc/rtc-ds1305.c alm->time.tm_hour = bcd2hour(buf[DS1305_HOUR]); time 328 drivers/rtc/rtc-ds1305.c status = rtc_tm_to_time(&alm->time, &later); time 359 drivers/rtc/rtc-ds1305.c buf[1 + DS1305_SEC] = bin2bcd(alm->time.tm_sec); time 360 drivers/rtc/rtc-ds1305.c buf[1 + DS1305_MIN] = bin2bcd(alm->time.tm_min); time 361 drivers/rtc/rtc-ds1305.c buf[1 + DS1305_HOUR] = hour2bcd(ds1305->hr12, alm->time.tm_hour); time 397 drivers/rtc/rtc-ds1307.c t->time.tm_sec = bcd2bin(regs[0] & 0x7f); time 398 drivers/rtc/rtc-ds1307.c t->time.tm_min = bcd2bin(regs[1] & 0x7f); time 399 drivers/rtc/rtc-ds1307.c t->time.tm_hour = bcd2bin(regs[2] & 0x3f); time 400 drivers/rtc/rtc-ds1307.c t->time.tm_mday = bcd2bin(regs[3] & 0x3f); time 408 drivers/rtc/rtc-ds1307.c "alarm read", t->time.tm_sec, t->time.tm_min, time 409 drivers/rtc/rtc-ds1307.c t->time.tm_hour, t->time.tm_mday, time 427 drivers/rtc/rtc-ds1307.c "alarm set", t->time.tm_sec, t->time.tm_min, time 428 drivers/rtc/rtc-ds1307.c t->time.tm_hour, t->time.tm_mday, time 445 drivers/rtc/rtc-ds1307.c regs[0] = bin2bcd(t->time.tm_sec); time 446 drivers/rtc/rtc-ds1307.c regs[1] = bin2bcd(t->time.tm_min); time 447 drivers/rtc/rtc-ds1307.c regs[2] = bin2bcd(t->time.tm_hour); time 448 drivers/rtc/rtc-ds1307.c regs[3] = bin2bcd(t->time.tm_mday); time 568 drivers/rtc/rtc-ds1307.c t->time.tm_sec = -1; time 569 drivers/rtc/rtc-ds1307.c t->time.tm_min = bcd2bin(ald[0] & 0x7f); time 570 drivers/rtc/rtc-ds1307.c t->time.tm_hour = bcd2bin(ald[1] & 0x7f); time 571 drivers/rtc/rtc-ds1307.c t->time.tm_wday = -1; time 572 drivers/rtc/rtc-ds1307.c t->time.tm_mday = bcd2bin(ald[2] & 0x7f); time 573 drivers/rtc/rtc-ds1307.c t->time.tm_mon = -1; time 574 drivers/rtc/rtc-ds1307.c t->time.tm_year = -1; time 575 drivers/rtc/rtc-ds1307.c t->time.tm_yday = -1; time 576 drivers/rtc/rtc-ds1307.c t->time.tm_isdst = -1; time 579 drivers/rtc/rtc-ds1307.c __func__, t->time.tm_sec, t->time.tm_min, t->time.tm_hour, time 580 drivers/rtc/rtc-ds1307.c t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, t->enabled); time 596 drivers/rtc/rtc-ds1307.c t->time.tm_sec, t->time.tm_min, t->time.tm_hour, time 597 drivers/rtc/rtc-ds1307.c t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, time 616 drivers/rtc/rtc-ds1307.c ald[0] = bin2bcd(t->time.tm_min); time 617 drivers/rtc/rtc-ds1307.c ald[1] = bin2bcd(t->time.tm_hour); time 618 drivers/rtc/rtc-ds1307.c ald[2] = bin2bcd(t->time.tm_mday); time 704 drivers/rtc/rtc-ds1307.c t->time.tm_sec = bcd2bin(regs[3] & 0x7f); time 705 drivers/rtc/rtc-ds1307.c t->time.tm_min = bcd2bin(regs[4] & 0x7f); time 706 drivers/rtc/rtc-ds1307.c t->time.tm_hour = bcd2bin(regs[5] & 0x3f); time 707 drivers/rtc/rtc-ds1307.c t->time.tm_wday = bcd2bin(regs[6] & 0x7) - 1; time 708 drivers/rtc/rtc-ds1307.c t->time.tm_mday = bcd2bin(regs[7] & 0x3f); time 709 drivers/rtc/rtc-ds1307.c t->time.tm_mon = bcd2bin(regs[8] & 0x1f) - 1; time 710 drivers/rtc/rtc-ds1307.c t->time.tm_year = -1; time 711 drivers/rtc/rtc-ds1307.c t->time.tm_yday = -1; time 712 drivers/rtc/rtc-ds1307.c t->time.tm_isdst = -1; time 716 drivers/rtc/rtc-ds1307.c t->time.tm_sec, t->time.tm_min, t->time.tm_hour, time 717 drivers/rtc/rtc-ds1307.c t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, t->enabled, time 753 drivers/rtc/rtc-ds1307.c wday = mcp794xx_alm_weekday(dev, &t->time); time 759 drivers/rtc/rtc-ds1307.c t->time.tm_sec, t->time.tm_min, t->time.tm_hour, time 760 drivers/rtc/rtc-ds1307.c t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, time 770 drivers/rtc/rtc-ds1307.c regs[3] = bin2bcd(t->time.tm_sec); time 771 drivers/rtc/rtc-ds1307.c regs[4] = bin2bcd(t->time.tm_min); time 772 drivers/rtc/rtc-ds1307.c regs[5] = bin2bcd(t->time.tm_hour); time 774 drivers/rtc/rtc-ds1307.c regs[7] = bin2bcd(t->time.tm_mday); time 775 drivers/rtc/rtc-ds1307.c regs[8] = bin2bcd(t->time.tm_mon + 1); time 366 drivers/rtc/rtc-ds1343.c alarm->time.tm_sec = priv->alarm_sec < 0 ? 0 : priv->alarm_sec; time 367 drivers/rtc/rtc-ds1343.c alarm->time.tm_min = priv->alarm_min < 0 ? 0 : priv->alarm_min; time 368 drivers/rtc/rtc-ds1343.c alarm->time.tm_hour = priv->alarm_hour < 0 ? 0 : priv->alarm_hour; time 369 drivers/rtc/rtc-ds1343.c alarm->time.tm_mday = priv->alarm_mday < 0 ? 0 : priv->alarm_mday; time 386 drivers/rtc/rtc-ds1343.c priv->alarm_sec = alarm->time.tm_sec; time 387 drivers/rtc/rtc-ds1343.c priv->alarm_min = alarm->time.tm_min; time 388 drivers/rtc/rtc-ds1343.c priv->alarm_hour = alarm->time.tm_hour; time 389 drivers/rtc/rtc-ds1343.c priv->alarm_mday = alarm->time.tm_mday; time 85 drivers/rtc/rtc-ds1374.c static int ds1374_read_rtc(struct i2c_client *client, u32 *time, time 102 drivers/rtc/rtc-ds1374.c for (i = nbytes - 1, *time = 0; i >= 0; i--) time 103 drivers/rtc/rtc-ds1374.c *time = (*time << 8) | buf[i]; time 108 drivers/rtc/rtc-ds1374.c static int ds1374_write_rtc(struct i2c_client *client, u32 time, time 120 drivers/rtc/rtc-ds1374.c buf[i] = time & 0xff; time 121 drivers/rtc/rtc-ds1374.c time >>= 8; time 159 drivers/rtc/rtc-ds1374.c static int ds1374_read_time(struct device *dev, struct rtc_time *time) time 167 drivers/rtc/rtc-ds1374.c rtc_time_to_tm(itime, time); time 172 drivers/rtc/rtc-ds1374.c static int ds1374_set_time(struct device *dev, struct rtc_time *time) time 177 drivers/rtc/rtc-ds1374.c rtc_tm_to_time(time, &itime); time 215 drivers/rtc/rtc-ds1374.c rtc_time_to_tm(now + cur_alarm, &alarm->time); time 240 drivers/rtc/rtc-ds1374.c rtc_tm_to_time(&alarm->time, &new_alarm); time 319 drivers/rtc/rtc-ds1511.c pdata->alrm_mday = alrm->time.tm_mday; time 320 drivers/rtc/rtc-ds1511.c pdata->alrm_hour = alrm->time.tm_hour; time 321 drivers/rtc/rtc-ds1511.c pdata->alrm_min = alrm->time.tm_min; time 322 drivers/rtc/rtc-ds1511.c pdata->alrm_sec = alrm->time.tm_sec; time 338 drivers/rtc/rtc-ds1511.c alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; time 339 drivers/rtc/rtc-ds1511.c alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; time 340 drivers/rtc/rtc-ds1511.c alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; time 341 drivers/rtc/rtc-ds1511.c alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; time 157 drivers/rtc/rtc-ds1553.c pdata->alrm_mday = alrm->time.tm_mday; time 158 drivers/rtc/rtc-ds1553.c pdata->alrm_hour = alrm->time.tm_hour; time 159 drivers/rtc/rtc-ds1553.c pdata->alrm_min = alrm->time.tm_min; time 160 drivers/rtc/rtc-ds1553.c pdata->alrm_sec = alrm->time.tm_sec; time 173 drivers/rtc/rtc-ds1553.c alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; time 174 drivers/rtc/rtc-ds1553.c alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; time 175 drivers/rtc/rtc-ds1553.c alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; time 176 drivers/rtc/rtc-ds1553.c alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; time 29 drivers/rtc/rtc-ds1672.c unsigned long time; time 71 drivers/rtc/rtc-ds1672.c time = ((unsigned long)buf[3] << 24) | (buf[2] << 16) | time 74 drivers/rtc/rtc-ds1672.c rtc_time64_to_tm(time, tm); time 383 drivers/rtc/rtc-ds1685.c alrm->time.tm_sec = ds1685_rtc_bcd2bin(rtc, seconds, time 388 drivers/rtc/rtc-ds1685.c alrm->time.tm_min = ds1685_rtc_bcd2bin(rtc, minutes, time 393 drivers/rtc/rtc-ds1685.c alrm->time.tm_hour = ds1685_rtc_bcd2bin(rtc, hours, time 398 drivers/rtc/rtc-ds1685.c alrm->time.tm_mday = ds1685_rtc_bcd2bin(rtc, mday, RTC_MDAY_BCD_MASK, time 419 drivers/rtc/rtc-ds1685.c seconds = ds1685_rtc_bin2bcd(rtc, alrm->time.tm_sec, time 422 drivers/rtc/rtc-ds1685.c minutes = ds1685_rtc_bin2bcd(rtc, alrm->time.tm_min, time 425 drivers/rtc/rtc-ds1685.c hours = ds1685_rtc_bin2bcd(rtc, alrm->time.tm_hour, time 428 drivers/rtc/rtc-ds1685.c mday = ds1685_rtc_bin2bcd(rtc, alrm->time.tm_mday, time 454 drivers/rtc/rtc-ds1685.c alrm->time.tm_mon = -1; time 455 drivers/rtc/rtc-ds1685.c alrm->time.tm_year = -1; time 456 drivers/rtc/rtc-ds1685.c alrm->time.tm_wday = -1; time 457 drivers/rtc/rtc-ds1685.c alrm->time.tm_yday = -1; time 458 drivers/rtc/rtc-ds1685.c alrm->time.tm_isdst = -1; time 184 drivers/rtc/rtc-ds2404.c unsigned long time = 0; time 188 drivers/rtc/rtc-ds2404.c time = le32_to_cpu(hw_time); time 190 drivers/rtc/rtc-ds2404.c rtc_time64_to_tm(time, dt); time 196 drivers/rtc/rtc-ds2404.c u32 time = cpu_to_le32(rtc_tm_to_time64(dt)); time 197 drivers/rtc/rtc-ds2404.c ds2404_write_memory(dev, 0x203, 4, (u8 *)&time); time 97 drivers/rtc/rtc-ds3232.c static int ds3232_read_time(struct device *dev, struct rtc_time *time) time 126 drivers/rtc/rtc-ds3232.c time->tm_sec = bcd2bin(second); time 127 drivers/rtc/rtc-ds3232.c time->tm_min = bcd2bin(minute); time 131 drivers/rtc/rtc-ds3232.c time->tm_hour = bcd2bin(hour & 0x1F) + 12; time 133 drivers/rtc/rtc-ds3232.c time->tm_hour = bcd2bin(hour & 0x1F); time 135 drivers/rtc/rtc-ds3232.c time->tm_hour = bcd2bin(hour); time 139 drivers/rtc/rtc-ds3232.c time->tm_wday = bcd2bin(week) - 1; time 140 drivers/rtc/rtc-ds3232.c time->tm_mday = bcd2bin(day); time 142 drivers/rtc/rtc-ds3232.c time->tm_mon = bcd2bin(month & 0x7F) - 1; time 146 drivers/rtc/rtc-ds3232.c time->tm_year = bcd2bin(year) + add_century; time 151 drivers/rtc/rtc-ds3232.c static int ds3232_set_time(struct device *dev, struct rtc_time *time) time 158 drivers/rtc/rtc-ds3232.c buf[0] = bin2bcd(time->tm_sec); time 159 drivers/rtc/rtc-ds3232.c buf[1] = bin2bcd(time->tm_min); time 160 drivers/rtc/rtc-ds3232.c buf[2] = bin2bcd(time->tm_hour); time 162 drivers/rtc/rtc-ds3232.c buf[3] = bin2bcd(time->tm_wday + 1); time 163 drivers/rtc/rtc-ds3232.c buf[4] = bin2bcd(time->tm_mday); /* Date */ time 165 drivers/rtc/rtc-ds3232.c buf[5] = bin2bcd(time->tm_mon + 1); time 166 drivers/rtc/rtc-ds3232.c if (time->tm_year >= 100) { time 168 drivers/rtc/rtc-ds3232.c buf[6] = bin2bcd(time->tm_year - 100); time 170 drivers/rtc/rtc-ds3232.c buf[6] = bin2bcd(time->tm_year); time 198 drivers/rtc/rtc-ds3232.c alarm->time.tm_sec = bcd2bin(buf[0] & 0x7F); time 199 drivers/rtc/rtc-ds3232.c alarm->time.tm_min = bcd2bin(buf[1] & 0x7F); time 200 drivers/rtc/rtc-ds3232.c alarm->time.tm_hour = bcd2bin(buf[2] & 0x7F); time 201 drivers/rtc/rtc-ds3232.c alarm->time.tm_mday = bcd2bin(buf[3] & 0x7F); time 225 drivers/rtc/rtc-ds3232.c buf[0] = bin2bcd(alarm->time.tm_sec); time 226 drivers/rtc/rtc-ds3232.c buf[1] = bin2bcd(alarm->time.tm_min); time 227 drivers/rtc/rtc-ds3232.c buf[2] = bin2bcd(alarm->time.tm_hour); time 228 drivers/rtc/rtc-ds3232.c buf[3] = bin2bcd(alarm->time.tm_mday); time 129 drivers/rtc/rtc-efi.c if (!convert_from_efi_time(&eft, &wkalrm->time)) time 132 drivers/rtc/rtc-efi.c return rtc_valid_tm(&wkalrm->time); time 140 drivers/rtc/rtc-efi.c convert_to_efi_time(&wkalrm->time, &eft); time 55 drivers/rtc/rtc-ep93xx.c unsigned long time; time 57 drivers/rtc/rtc-ep93xx.c time = readl(ep93xx_rtc->mmio_base + EP93XX_RTC_DATA); time 59 drivers/rtc/rtc-ep93xx.c rtc_time64_to_tm(time, tm); time 186 drivers/rtc/rtc-fm3130.c struct rtc_time *tm = &alrm->time; time 242 drivers/rtc/rtc-fm3130.c struct rtc_time *tm = &alrm->time; time 215 drivers/rtc/rtc-fsl-ftm-alarm.c rtc_tm_to_time(&alm->time, &alm_time); time 69 drivers/rtc/rtc-ftrtc010.c timeu64_t time; time 77 drivers/rtc/rtc-ftrtc010.c time = offset + days * 86400 + hour * 3600 + min * 60 + sec; time 79 drivers/rtc/rtc-ftrtc010.c rtc_time64_to_tm(time, tm); time 88 drivers/rtc/rtc-ftrtc010.c timeu64_t time; time 90 drivers/rtc/rtc-ftrtc010.c time = rtc_tm_to_time64(tm); time 97 drivers/rtc/rtc-ftrtc010.c offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); time 51 drivers/rtc/rtc-goldfish.c rtc_time64_to_tm(rtc_alarm, &alrm->time); time 73 drivers/rtc/rtc-goldfish.c rtc_alarm64 = rtc_tm_to_time64(&alrm->time) * NSEC_PER_SEC; time 125 drivers/rtc/rtc-goldfish.c u64 time; time 132 drivers/rtc/rtc-goldfish.c time = (time_high << 32) | time_low; time 134 drivers/rtc/rtc-goldfish.c do_div(time, NSEC_PER_SEC); time 136 drivers/rtc/rtc-goldfish.c rtc_time64_to_tm(time, tm); time 186 drivers/rtc/rtc-hym8563.c struct rtc_time *alm_tm = &alm->time; time 223 drivers/rtc/rtc-hym8563.c struct rtc_time *alm_tm = &alm->time; time 29 drivers/rtc/rtc-imx-sc.c u32 time; time 59 drivers/rtc/rtc-imx-sc.c rtc_time64_to_tm(msg.time, tm); time 98 drivers/rtc/rtc-imx-sc.c struct rtc_time *alrm_tm = &alrm->time; time 611 drivers/rtc/rtc-imxdi.c rtc_time64_to_tm(dcamr, &alarm->time); time 636 drivers/rtc/rtc-imxdi.c rc = di_write_wait(imxdi, rtc_tm_to_time64(&alarm->time), DCAMR); time 349 drivers/rtc/rtc-isl1208.c struct rtc_time *const tm = &alarm->time; time 396 drivers/rtc/rtc-isl1208.c struct rtc_time *alarm_tm = &alarm->time; time 145 drivers/rtc/rtc-jz4740.c static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) time 169 drivers/rtc/rtc-jz4740.c rtc_time64_to_tm(secs, time); time 174 drivers/rtc/rtc-jz4740.c static int jz4740_rtc_set_time(struct device *dev, struct rtc_time *time) time 179 drivers/rtc/rtc-jz4740.c ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, rtc_tm_to_time64(time)); time 199 drivers/rtc/rtc-jz4740.c rtc_time64_to_tm(secs, &alrm->time); time 208 drivers/rtc/rtc-jz4740.c uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time)); time 167 drivers/rtc/rtc-lp8788.c struct rtc_time *tm = &alarm->time; time 192 drivers/rtc/rtc-lp8788.c struct rtc_time *tm = &alarm->time; time 114 drivers/rtc/rtc-lpc24xx.c struct rtc_time *tm = &wkalrm->time; time 128 drivers/rtc/rtc-lpc24xx.c return rtc_valid_tm(&wkalrm->time); time 134 drivers/rtc/rtc-lpc24xx.c struct rtc_time *tm = &wkalrm->time; time 55 drivers/rtc/rtc-lpc32xx.c static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) time 61 drivers/rtc/rtc-lpc32xx.c rtc_time64_to_tm(elapsed_sec, time); time 66 drivers/rtc/rtc-lpc32xx.c static int lpc32xx_rtc_set_time(struct device *dev, struct rtc_time *time) time 69 drivers/rtc/rtc-lpc32xx.c u32 secs = rtc_tm_to_time64(time); time 91 drivers/rtc/rtc-lpc32xx.c rtc_time64_to_tm(rtc_readl(rtc, LPC32XX_RTC_MATCH0), &wkalrm->time); time 96 drivers/rtc/rtc-lpc32xx.c return rtc_valid_tm(&wkalrm->time); time 106 drivers/rtc/rtc-lpc32xx.c alarmsecs = rtc_tm_to_time64(&wkalrm->time); time 327 drivers/rtc/rtc-m41t80.c alarmvals[0] = bin2bcd(alrm->time.tm_mon + 1); time 328 drivers/rtc/rtc-m41t80.c alarmvals[1] = bin2bcd(alrm->time.tm_mday); time 329 drivers/rtc/rtc-m41t80.c alarmvals[2] = bin2bcd(alrm->time.tm_hour); time 330 drivers/rtc/rtc-m41t80.c alarmvals[3] = bin2bcd(alrm->time.tm_min); time 331 drivers/rtc/rtc-m41t80.c alarmvals[4] = bin2bcd(alrm->time.tm_sec); time 391 drivers/rtc/rtc-m41t80.c alrm->time.tm_sec = bcd2bin(alarmvals[4] & 0x7f); time 392 drivers/rtc/rtc-m41t80.c alrm->time.tm_min = bcd2bin(alarmvals[3] & 0x7f); time 393 drivers/rtc/rtc-m41t80.c alrm->time.tm_hour = bcd2bin(alarmvals[2] & 0x3f); time 394 drivers/rtc/rtc-m41t80.c alrm->time.tm_mday = bcd2bin(alarmvals[1] & 0x3f); time 395 drivers/rtc/rtc-m41t80.c alrm->time.tm_mon = bcd2bin(alarmvals[0] & 0x3f) - 1; time 153 drivers/rtc/rtc-m48t59.c struct rtc_time *tm = &alrm->time; time 197 drivers/rtc/rtc-m48t59.c struct rtc_time *tm = &alrm->time; time 414 drivers/rtc/rtc-max77686.c max77686_rtc_data_to_tm(data, &alrm->time, info); time 573 drivers/rtc/rtc-max77686.c ret = max77686_rtc_tm_to_data(&alrm->time, data, info); time 133 drivers/rtc/rtc-max8907.c regs_to_tm(regs, &alrm->time); time 150 drivers/rtc/rtc-max8907.c tm_to_regs(&alrm->time, regs); time 188 drivers/rtc/rtc-max8925.c ret = tm_calc(&alrm->time, buf, TIME_NUM); time 223 drivers/rtc/rtc-max8925.c ret = data_calc(buf, &alrm->time, TIME_NUM); time 195 drivers/rtc/rtc-max8997.c max8997_rtc_data_to_tm(data, &alrm->time, info->rtc_24hr_mode); time 298 drivers/rtc/rtc-max8997.c ret = max8997_rtc_tm_to_data(&alrm->time, data); time 147 drivers/rtc/rtc-max8998.c max8998_data_to_tm(data, &alrm->time); time 200 drivers/rtc/rtc-max8998.c max8998_tm_to_data(&alrm->time, data); time 191 drivers/rtc/rtc-mc13xxx.c rtc_time64_to_tm(s1970, &alarm->time); time 215 drivers/rtc/rtc-mc13xxx.c s1970 = rtc_tm_to_time64(&alarm->time); time 25 drivers/rtc/rtc-mc146818-lib.c unsigned int mc146818_get_time(struct rtc_time *time) time 54 drivers/rtc/rtc-mc146818-lib.c time->tm_sec = CMOS_READ(RTC_SECONDS); time 55 drivers/rtc/rtc-mc146818-lib.c time->tm_min = CMOS_READ(RTC_MINUTES); time 56 drivers/rtc/rtc-mc146818-lib.c time->tm_hour = CMOS_READ(RTC_HOURS); time 57 drivers/rtc/rtc-mc146818-lib.c time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); time 58 drivers/rtc/rtc-mc146818-lib.c time->tm_mon = CMOS_READ(RTC_MONTH); time 59 drivers/rtc/rtc-mc146818-lib.c time->tm_year = CMOS_READ(RTC_YEAR); time 73 drivers/rtc/rtc-mc146818-lib.c time->tm_sec = bcd2bin(time->tm_sec); time 74 drivers/rtc/rtc-mc146818-lib.c time->tm_min = bcd2bin(time->tm_min); time 75 drivers/rtc/rtc-mc146818-lib.c time->tm_hour = bcd2bin(time->tm_hour); time 76 drivers/rtc/rtc-mc146818-lib.c time->tm_mday = bcd2bin(time->tm_mday); time 77 drivers/rtc/rtc-mc146818-lib.c time->tm_mon = bcd2bin(time->tm_mon); time 78 drivers/rtc/rtc-mc146818-lib.c time->tm_year = bcd2bin(time->tm_year); time 83 drivers/rtc/rtc-mc146818-lib.c time->tm_year += real_year - 72; time 87 drivers/rtc/rtc-mc146818-lib.c time->tm_year += (century - 19) * 100; time 93 drivers/rtc/rtc-mc146818-lib.c if (time->tm_year <= 69) time 94 drivers/rtc/rtc-mc146818-lib.c time->tm_year += 100; time 96 drivers/rtc/rtc-mc146818-lib.c time->tm_mon--; time 103 drivers/rtc/rtc-mc146818-lib.c int mc146818_set_time(struct rtc_time *time) time 114 drivers/rtc/rtc-mc146818-lib.c yrs = time->tm_year; time 115 drivers/rtc/rtc-mc146818-lib.c mon = time->tm_mon + 1; /* tm_mon starts at zero */ time 116 drivers/rtc/rtc-mc146818-lib.c day = time->tm_mday; time 117 drivers/rtc/rtc-mc146818-lib.c hrs = time->tm_hour; time 118 drivers/rtc/rtc-mc146818-lib.c min = time->tm_min; time 119 drivers/rtc/rtc-mc146818-lib.c sec = time->tm_sec; time 274 drivers/rtc/rtc-mcp795.c later = rtc_tm_to_time64(&alm->time); time 279 drivers/rtc/rtc-mcp795.c (SEC_PER_DAY * (365 + is_leap_year(alm->time.tm_year)))) time 290 drivers/rtc/rtc-mcp795.c alm->time.tm_year = -1; time 291 drivers/rtc/rtc-mcp795.c alm->time.tm_isdst = -1; time 292 drivers/rtc/rtc-mcp795.c alm->time.tm_yday = -1; time 294 drivers/rtc/rtc-mcp795.c tmp[0] = (tmp[0] & 0x80) | bin2bcd(alm->time.tm_sec); time 295 drivers/rtc/rtc-mcp795.c tmp[1] = (tmp[1] & 0x80) | bin2bcd(alm->time.tm_min); time 296 drivers/rtc/rtc-mcp795.c tmp[2] = (tmp[2] & 0xE0) | bin2bcd(alm->time.tm_hour); time 297 drivers/rtc/rtc-mcp795.c tmp[3] = (tmp[3] & 0x80) | bin2bcd(alm->time.tm_wday + 1); time 300 drivers/rtc/rtc-mcp795.c tmp[4] = (tmp[4] & 0xC0) | bin2bcd(alm->time.tm_mday); time 301 drivers/rtc/rtc-mcp795.c tmp[5] = (tmp[5] & 0xE0) | bin2bcd(alm->time.tm_mon + 1); time 315 drivers/rtc/rtc-mcp795.c &alm->time, alm->time.tm_wday, &alm->time); time 329 drivers/rtc/rtc-mcp795.c alm->time.tm_sec = bcd2bin(data[0] & 0x7F); time 330 drivers/rtc/rtc-mcp795.c alm->time.tm_min = bcd2bin(data[1] & 0x7F); time 331 drivers/rtc/rtc-mcp795.c alm->time.tm_hour = bcd2bin(data[2] & 0x1F); time 332 drivers/rtc/rtc-mcp795.c alm->time.tm_wday = bcd2bin(data[3] & 0x07) - 1; time 333 drivers/rtc/rtc-mcp795.c alm->time.tm_mday = bcd2bin(data[4] & 0x3F); time 334 drivers/rtc/rtc-mcp795.c alm->time.tm_mon = bcd2bin(data[5] & 0x1F) - 1; time 335 drivers/rtc/rtc-mcp795.c alm->time.tm_year = -1; time 336 drivers/rtc/rtc-mcp795.c alm->time.tm_isdst = -1; time 337 drivers/rtc/rtc-mcp795.c alm->time.tm_yday = -1; time 340 drivers/rtc/rtc-mcp795.c &alm->time, alm->time.tm_wday, &alm->time); time 23 drivers/rtc/rtc-meson-vrtc.c struct timespec64 time; time 26 drivers/rtc/rtc-meson-vrtc.c ktime_get_raw_ts64(&time); time 27 drivers/rtc/rtc-meson-vrtc.c rtc_time64_to_tm(time.tv_sec, tm); time 33 drivers/rtc/rtc-meson-vrtc.c unsigned long time) time 35 drivers/rtc/rtc-meson-vrtc.c writel_relaxed(time, vrtc->io_alarm); time 44 drivers/rtc/rtc-meson-vrtc.c vrtc->alarm_time = rtc_tm_to_time64(&alarm->time); time 102 drivers/rtc/rtc-meson-vrtc.c struct timespec64 time; time 104 drivers/rtc/rtc-meson-vrtc.c ktime_get_raw_ts64(&time); time 105 drivers/rtc/rtc-meson-vrtc.c local_time = time.tv_sec; time 234 drivers/rtc/rtc-meson.c u32 time; time 237 drivers/rtc/rtc-meson.c ret = regmap_read(rtc->serial, RTC_COUNTER, &time); time 239 drivers/rtc/rtc-meson.c rtc_time64_to_tm(time, tm); time 218 drivers/rtc/rtc-mpc5121.c if (alarm->time.tm_sec) { time 219 drivers/rtc/rtc-mpc5121.c alarm->time.tm_sec = 0; time 220 drivers/rtc/rtc-mpc5121.c alarm->time.tm_min++; time 221 drivers/rtc/rtc-mpc5121.c if (alarm->time.tm_min >= 60) { time 222 drivers/rtc/rtc-mpc5121.c alarm->time.tm_min = 0; time 223 drivers/rtc/rtc-mpc5121.c alarm->time.tm_hour++; time 224 drivers/rtc/rtc-mpc5121.c if (alarm->time.tm_hour >= 24) time 225 drivers/rtc/rtc-mpc5121.c alarm->time.tm_hour = 0; time 229 drivers/rtc/rtc-mpc5121.c alarm->time.tm_mday = -1; time 230 drivers/rtc/rtc-mpc5121.c alarm->time.tm_mon = -1; time 231 drivers/rtc/rtc-mpc5121.c alarm->time.tm_year = -1; time 233 drivers/rtc/rtc-mpc5121.c out_8(®s->alm_min_set, alarm->time.tm_min); time 234 drivers/rtc/rtc-mpc5121.c out_8(®s->alm_hour_set, alarm->time.tm_hour); time 84 drivers/rtc/rtc-mrst.c static int mrst_read_time(struct device *dev, struct rtc_time *time) time 92 drivers/rtc/rtc-mrst.c time->tm_sec = vrtc_cmos_read(RTC_SECONDS); time 93 drivers/rtc/rtc-mrst.c time->tm_min = vrtc_cmos_read(RTC_MINUTES); time 94 drivers/rtc/rtc-mrst.c time->tm_hour = vrtc_cmos_read(RTC_HOURS); time 95 drivers/rtc/rtc-mrst.c time->tm_mday = vrtc_cmos_read(RTC_DAY_OF_MONTH); time 96 drivers/rtc/rtc-mrst.c time->tm_mon = vrtc_cmos_read(RTC_MONTH); time 97 drivers/rtc/rtc-mrst.c time->tm_year = vrtc_cmos_read(RTC_YEAR); time 101 drivers/rtc/rtc-mrst.c time->tm_year += 72; time 102 drivers/rtc/rtc-mrst.c time->tm_mon--; time 106 drivers/rtc/rtc-mrst.c static int mrst_set_time(struct device *dev, struct rtc_time *time) time 113 drivers/rtc/rtc-mrst.c yrs = time->tm_year; time 114 drivers/rtc/rtc-mrst.c mon = time->tm_mon + 1; /* tm_mon starts at zero */ time 115 drivers/rtc/rtc-mrst.c day = time->tm_mday; time 116 drivers/rtc/rtc-mrst.c hrs = time->tm_hour; time 117 drivers/rtc/rtc-mrst.c min = time->tm_min; time 118 drivers/rtc/rtc-mrst.c sec = time->tm_sec; time 149 drivers/rtc/rtc-mrst.c t->time.tm_sec = vrtc_cmos_read(RTC_SECONDS_ALARM); time 150 drivers/rtc/rtc-mrst.c t->time.tm_min = vrtc_cmos_read(RTC_MINUTES_ALARM); time 151 drivers/rtc/rtc-mrst.c t->time.tm_hour = vrtc_cmos_read(RTC_HOURS_ALARM); time 212 drivers/rtc/rtc-mrst.c hrs = t->time.tm_hour; time 213 drivers/rtc/rtc-mrst.c min = t->time.tm_min; time 214 drivers/rtc/rtc-mrst.c sec = t->time.tm_sec; time 151 drivers/rtc/rtc-mt6397.c time64_t time; time 169 drivers/rtc/rtc-mt6397.c time = rtc_tm_to_time64(tm); time 174 drivers/rtc/rtc-mt6397.c days = div_s64(time, 86400); time 213 drivers/rtc/rtc-mt6397.c struct rtc_time *tm = &alm->time; time 254 drivers/rtc/rtc-mt6397.c struct rtc_time *tm = &alm->time; time 250 drivers/rtc/rtc-mt7622.c struct rtc_time *alrm_tm = &wkalrm->time; time 263 drivers/rtc/rtc-mt7622.c struct rtc_time *alrm_tm = &wkalrm->time; time 116 drivers/rtc/rtc-mv.c alm->time.tm_sec = bcd2bin(second); time 117 drivers/rtc/rtc-mv.c alm->time.tm_min = bcd2bin(minute); time 118 drivers/rtc/rtc-mv.c alm->time.tm_hour = bcd2bin(hour); time 119 drivers/rtc/rtc-mv.c alm->time.tm_mday = bcd2bin(day); time 120 drivers/rtc/rtc-mv.c alm->time.tm_wday = bcd2bin(wday); time 121 drivers/rtc/rtc-mv.c alm->time.tm_mon = bcd2bin(month) - 1; time 123 drivers/rtc/rtc-mv.c alm->time.tm_year = bcd2bin(year) + 100; time 127 drivers/rtc/rtc-mv.c return rtc_valid_tm(&alm->time); time 136 drivers/rtc/rtc-mv.c if (alm->time.tm_sec >= 0) time 137 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_sec)) time 139 drivers/rtc/rtc-mv.c if (alm->time.tm_min >= 0) time 140 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_min)) time 142 drivers/rtc/rtc-mv.c if (alm->time.tm_hour >= 0) time 143 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_hour)) time 148 drivers/rtc/rtc-mv.c if (alm->time.tm_mday >= 0) time 149 drivers/rtc/rtc-mv.c rtc_reg = (RTC_ALARM_VALID | bin2bcd(alm->time.tm_mday)) time 154 drivers/rtc/rtc-mv.c if (alm->time.tm_mon >= 0) time 155 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_mon + 1)) time 158 drivers/rtc/rtc-mv.c if (alm->time.tm_year >= 0) time 159 drivers/rtc/rtc-mv.c rtc_reg |= (RTC_ALARM_VALID | bin2bcd(alm->time.tm_year - 100)) time 132 drivers/rtc/rtc-mxc.c static void set_alarm_or_time(struct device *dev, int time_alarm, time64_t time) time 138 drivers/rtc/rtc-mxc.c day = div_s64_rem(time, 86400, &tod); time 170 drivers/rtc/rtc-mxc.c time64_t time; time 174 drivers/rtc/rtc-mxc.c time = rtc_tm_to_time64(alrm); time 178 drivers/rtc/rtc-mxc.c set_alarm_or_time(dev, MXC_RTC_ALARM, time); time 260 drivers/rtc/rtc-mxc.c time64_t time = rtc_tm_to_time64(tm); time 264 drivers/rtc/rtc-mxc.c set_alarm_or_time(dev, MXC_RTC_TIME, time); time 265 drivers/rtc/rtc-mxc.c } while (time != get_alarm_or_time(dev, MXC_RTC_TIME)); time 280 drivers/rtc/rtc-mxc.c rtc_time64_to_tm(get_alarm_or_time(dev, MXC_RTC_ALARM), &alrm->time); time 293 drivers/rtc/rtc-mxc.c rtc_update_alarm(dev, &alrm->time); time 295 drivers/rtc/rtc-mxc.c memcpy(&pdata->g_rtc_alarm, &alrm->time, sizeof(struct rtc_time)); time 167 drivers/rtc/rtc-mxc_v2.c time64_t time = rtc_tm_to_time64(tm); time 174 drivers/rtc/rtc-mxc_v2.c writel(time, pdata->ioaddr + SRTC_LPSCMR); time 198 drivers/rtc/rtc-mxc_v2.c rtc_time64_to_tm(readl(ioaddr + SRTC_LPSAR), &alrm->time); time 241 drivers/rtc/rtc-mxc_v2.c const time64_t time = rtc_tm_to_time64(&alrm->time); time 248 drivers/rtc/rtc-mxc_v2.c writel((u32)time, pdata->ioaddr + SRTC_LPSAR); time 348 drivers/rtc/rtc-omap.c alm->time.tm_sec = rtc_read(rtc, OMAP_RTC_ALARM_SECONDS_REG); time 349 drivers/rtc/rtc-omap.c alm->time.tm_min = rtc_read(rtc, OMAP_RTC_ALARM_MINUTES_REG); time 350 drivers/rtc/rtc-omap.c alm->time.tm_hour = rtc_read(rtc, OMAP_RTC_ALARM_HOURS_REG); time 351 drivers/rtc/rtc-omap.c alm->time.tm_mday = rtc_read(rtc, OMAP_RTC_ALARM_DAYS_REG); time 352 drivers/rtc/rtc-omap.c alm->time.tm_mon = rtc_read(rtc, OMAP_RTC_ALARM_MONTHS_REG); time 353 drivers/rtc/rtc-omap.c alm->time.tm_year = rtc_read(rtc, OMAP_RTC_ALARM_YEARS_REG); time 357 drivers/rtc/rtc-omap.c bcd2tm(&alm->time); time 370 drivers/rtc/rtc-omap.c tm2bcd(&alm->time); time 376 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_YEARS_REG, alm->time.tm_year); time 377 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_MONTHS_REG, alm->time.tm_mon); time 378 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_DAYS_REG, alm->time.tm_mday); time 379 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_HOURS_REG, alm->time.tm_hour); time 380 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_MINUTES_REG, alm->time.tm_min); time 381 drivers/rtc/rtc-omap.c rtc_write(rtc, OMAP_RTC_ALARM_SECONDS_REG, alm->time.tm_sec); time 160 drivers/rtc/rtc-opal.c opal_to_tm(y_m_d, h_m_s_ms, &alarm->time); time 177 drivers/rtc/rtc-opal.c tm_to_opal(&alarm->time, &y_m_d, &h_m_s_ms); time 140 drivers/rtc/rtc-palmas.c alm->time.tm_sec = bcd2bin(alarm_data[0]); time 141 drivers/rtc/rtc-palmas.c alm->time.tm_min = bcd2bin(alarm_data[1]); time 142 drivers/rtc/rtc-palmas.c alm->time.tm_hour = bcd2bin(alarm_data[2]); time 143 drivers/rtc/rtc-palmas.c alm->time.tm_mday = bcd2bin(alarm_data[3]); time 144 drivers/rtc/rtc-palmas.c alm->time.tm_mon = bcd2bin(alarm_data[4]) - 1; time 145 drivers/rtc/rtc-palmas.c alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; time 171 drivers/rtc/rtc-palmas.c alarm_data[0] = bin2bcd(alm->time.tm_sec); time 172 drivers/rtc/rtc-palmas.c alarm_data[1] = bin2bcd(alm->time.tm_min); time 173 drivers/rtc/rtc-palmas.c alarm_data[2] = bin2bcd(alm->time.tm_hour); time 174 drivers/rtc/rtc-palmas.c alarm_data[3] = bin2bcd(alm->time.tm_mday); time 175 drivers/rtc/rtc-palmas.c alarm_data[4] = bin2bcd(alm->time.tm_mon + 1); time 176 drivers/rtc/rtc-palmas.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); time 43 drivers/rtc/rtc-pcap.c struct rtc_time *tm = &alrm->time; time 62 drivers/rtc/rtc-pcap.c unsigned long secs = rtc_tm_to_time64(&alrm->time); time 259 drivers/rtc/rtc-pcf2123.c alm->time.tm_min = bcd2bin(rxbuf[0] & 0x7F); time 260 drivers/rtc/rtc-pcf2123.c alm->time.tm_hour = bcd2bin(rxbuf[1] & 0x3F); time 261 drivers/rtc/rtc-pcf2123.c alm->time.tm_mday = bcd2bin(rxbuf[2] & 0x3F); time 262 drivers/rtc/rtc-pcf2123.c alm->time.tm_wday = bcd2bin(rxbuf[3] & 0x07); time 264 drivers/rtc/rtc-pcf2123.c dev_dbg(dev, "%s: alm is %ptR\n", __func__, &alm->time); time 281 drivers/rtc/rtc-pcf2123.c dev_dbg(dev, "%s: alm is %ptR\n", __func__, &alm->time); time 294 drivers/rtc/rtc-pcf2123.c txbuf[0] = bin2bcd(alm->time.tm_min & 0x7F); time 295 drivers/rtc/rtc-pcf2123.c txbuf[1] = bin2bcd(alm->time.tm_hour & 0x3F); time 296 drivers/rtc/rtc-pcf2123.c txbuf[2] = bin2bcd(alm->time.tm_mday & 0x3F); time 51 drivers/rtc/rtc-pcf50633.c u_int8_t time[PCF50633_TI_EXTENT]; time 64 drivers/rtc/rtc-pcf50633.c rtc->tm_sec = bcd2bin(pcf->time[PCF50633_TI_SEC]); time 65 drivers/rtc/rtc-pcf50633.c rtc->tm_min = bcd2bin(pcf->time[PCF50633_TI_MIN]); time 66 drivers/rtc/rtc-pcf50633.c rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]); time 67 drivers/rtc/rtc-pcf50633.c rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]); time 68 drivers/rtc/rtc-pcf50633.c rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]); time 69 drivers/rtc/rtc-pcf50633.c rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1; time 70 drivers/rtc/rtc-pcf50633.c rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; time 75 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_SEC] = bin2bcd(rtc->tm_sec); time 76 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_MIN] = bin2bcd(rtc->tm_min); time 77 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_HOUR] = bin2bcd(rtc->tm_hour); time 78 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_WKDAY] = bin2bcd(rtc->tm_wday); time 79 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_DAY] = bin2bcd(rtc->tm_mday); time 80 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_MONTH] = bin2bcd(rtc->tm_mon + 1); time 81 drivers/rtc/rtc-pcf50633.c pcf->time[PCF50633_TI_YEAR] = bin2bcd(rtc->tm_year % 100); time 113 drivers/rtc/rtc-pcf50633.c &pcf_tm.time[0]); time 120 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_DAY], time 121 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_MONTH], time 122 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_YEAR], time 123 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_HOUR], time 124 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_MIN], time 125 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_SEC]); time 147 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_DAY], time 148 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_MONTH], time 149 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_YEAR], time 150 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_HOUR], time 151 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_MIN], time 152 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_SEC]); time 163 drivers/rtc/rtc-pcf50633.c &pcf_tm.time[0]); time 183 drivers/rtc/rtc-pcf50633.c PCF50633_TI_EXTENT, &pcf_tm.time[0]); time 189 drivers/rtc/rtc-pcf50633.c pcf2rtc_time(&alrm->time, &pcf_tm); time 191 drivers/rtc/rtc-pcf50633.c return rtc_valid_tm(&alrm->time); time 202 drivers/rtc/rtc-pcf50633.c rtc2pcf_time(&pcf_tm, &alrm->time); time 205 drivers/rtc/rtc-pcf50633.c pcf_tm.time[PCF50633_TI_WKDAY] = 7; time 215 drivers/rtc/rtc-pcf50633.c PCF50633_TI_EXTENT, &pcf_tm.time[0]); time 162 drivers/rtc/rtc-pcf85063.c alrm->time.tm_sec = bcd2bin(buf[0]); time 163 drivers/rtc/rtc-pcf85063.c alrm->time.tm_min = bcd2bin(buf[1]); time 164 drivers/rtc/rtc-pcf85063.c alrm->time.tm_hour = bcd2bin(buf[2]); time 165 drivers/rtc/rtc-pcf85063.c alrm->time.tm_mday = bcd2bin(buf[3]); time 182 drivers/rtc/rtc-pcf85063.c buf[0] = bin2bcd(alrm->time.tm_sec); time 183 drivers/rtc/rtc-pcf85063.c buf[1] = bin2bcd(alrm->time.tm_min); time 184 drivers/rtc/rtc-pcf85063.c buf[2] = bin2bcd(alrm->time.tm_hour); time 185 drivers/rtc/rtc-pcf85063.c buf[3] = bin2bcd(alrm->time.tm_mday); time 193 drivers/rtc/rtc-pcf85363.c alrm->time.tm_sec = bcd2bin(buf[0]); time 194 drivers/rtc/rtc-pcf85363.c alrm->time.tm_min = bcd2bin(buf[1]); time 195 drivers/rtc/rtc-pcf85363.c alrm->time.tm_hour = bcd2bin(buf[2]); time 196 drivers/rtc/rtc-pcf85363.c alrm->time.tm_mday = bcd2bin(buf[3]); time 197 drivers/rtc/rtc-pcf85363.c alrm->time.tm_mon = bcd2bin(buf[4]) - 1; time 244 drivers/rtc/rtc-pcf85363.c buf[0] = bin2bcd(alrm->time.tm_sec); time 245 drivers/rtc/rtc-pcf85363.c buf[1] = bin2bcd(alrm->time.tm_min); time 246 drivers/rtc/rtc-pcf85363.c buf[2] = bin2bcd(alrm->time.tm_hour); time 247 drivers/rtc/rtc-pcf85363.c buf[3] = bin2bcd(alrm->time.tm_mday); time 248 drivers/rtc/rtc-pcf85363.c buf[4] = bin2bcd(alrm->time.tm_mon + 1); time 331 drivers/rtc/rtc-pcf8563.c tm->time.tm_sec = 0; time 332 drivers/rtc/rtc-pcf8563.c tm->time.tm_min = bcd2bin(buf[0] & 0x7F); time 333 drivers/rtc/rtc-pcf8563.c tm->time.tm_hour = bcd2bin(buf[1] & 0x3F); time 334 drivers/rtc/rtc-pcf8563.c tm->time.tm_mday = bcd2bin(buf[2] & 0x3F); time 335 drivers/rtc/rtc-pcf8563.c tm->time.tm_wday = bcd2bin(buf[3] & 0x7); time 342 drivers/rtc/rtc-pcf8563.c " enabled=%d, pending=%d\n", __func__, tm->time.tm_min, time 343 drivers/rtc/rtc-pcf8563.c tm->time.tm_hour, tm->time.tm_mday, tm->time.tm_wday, time 356 drivers/rtc/rtc-pcf8563.c if (tm->time.tm_sec) { time 357 drivers/rtc/rtc-pcf8563.c time64_t alarm_time = rtc_tm_to_time64(&tm->time); time 359 drivers/rtc/rtc-pcf8563.c alarm_time += 60 - tm->time.tm_sec; time 360 drivers/rtc/rtc-pcf8563.c rtc_time64_to_tm(alarm_time, &tm->time); time 365 drivers/rtc/rtc-pcf8563.c tm->time.tm_min, tm->time.tm_hour, tm->time.tm_wday, time 366 drivers/rtc/rtc-pcf8563.c tm->time.tm_mday, tm->enabled, tm->pending); time 368 drivers/rtc/rtc-pcf8563.c buf[0] = bin2bcd(tm->time.tm_min); time 369 drivers/rtc/rtc-pcf8563.c buf[1] = bin2bcd(tm->time.tm_hour); time 370 drivers/rtc/rtc-pcf8563.c buf[2] = bin2bcd(tm->time.tm_mday); time 371 drivers/rtc/rtc-pcf8563.c buf[3] = tm->time.tm_wday & 0x07; time 193 drivers/rtc/rtc-pic32.c struct rtc_time *alm_tm = &alrm->time; time 225 drivers/rtc/rtc-pic32.c struct rtc_time *tm = &alrm->time; time 39 drivers/rtc/rtc-pl030.c rtc_time_to_tm(readl(rtc->base + RTC_MR), &alrm->time); time 46 drivers/rtc/rtc-pl030.c unsigned long time; time 52 drivers/rtc/rtc-pl030.c ret = rtc_valid_tm(&alrm->time); time 54 drivers/rtc/rtc-pl030.c ret = rtc_tm_to_time(&alrm->time, &time); time 56 drivers/rtc/rtc-pl030.c writel(time, rtc->base + RTC_MR); time 80 drivers/rtc/rtc-pl030.c unsigned long time; time 83 drivers/rtc/rtc-pl030.c ret = rtc_tm_to_time(tm, &time); time 85 drivers/rtc/rtc-pl030.c writel(time + 1, rtc->base + RTC_LR); time 126 drivers/rtc/rtc-pl031.c unsigned long time; time 129 drivers/rtc/rtc-pl031.c rtc_tm_to_time(tm, &time); time 130 drivers/rtc/rtc-pl031.c rtc_time_to_tm(time, &calc_tm); time 178 drivers/rtc/rtc-pl031.c unsigned long time; time 183 drivers/rtc/rtc-pl031.c ret = pl031_stv2_tm_to_time(dev, tm, &time, &bcd_year); time 186 drivers/rtc/rtc-pl031.c writel(time, ldata->base + RTC_LR); time 198 drivers/rtc/rtc-pl031.c readl(ldata->base + RTC_YMR), &alarm->time); time 209 drivers/rtc/rtc-pl031.c unsigned long time; time 214 drivers/rtc/rtc-pl031.c ret = rtc_valid_tm(&alarm->time); time 216 drivers/rtc/rtc-pl031.c ret = pl031_stv2_tm_to_time(dev, &alarm->time, time 217 drivers/rtc/rtc-pl031.c &time, &bcd_year); time 220 drivers/rtc/rtc-pl031.c writel(time, ldata->base + RTC_MR); time 258 drivers/rtc/rtc-pl031.c unsigned long time; time 262 drivers/rtc/rtc-pl031.c ret = rtc_tm_to_time(tm, &time); time 265 drivers/rtc/rtc-pl031.c writel(time, ldata->base + RTC_LR); time 274 drivers/rtc/rtc-pl031.c rtc_time_to_tm(readl(ldata->base + RTC_MR), &alarm->time); time 285 drivers/rtc/rtc-pl031.c unsigned long time; time 289 drivers/rtc/rtc-pl031.c ret = rtc_valid_tm(&alarm->time); time 291 drivers/rtc/rtc-pl031.c ret = rtc_tm_to_time(&alarm->time, &time); time 293 drivers/rtc/rtc-pl031.c writel(time, ldata->base + RTC_MR); time 320 drivers/rtc/rtc-pl031.c unsigned long time, data; time 362 drivers/rtc/rtc-pl031.c time = readl(ldata->base + RTC_DR); time 363 drivers/rtc/rtc-pl031.c if ((time & time 366 drivers/rtc/rtc-pl031.c time = time | (0x7 << RTC_WDAY_SHIFT); time 368 drivers/rtc/rtc-pl031.c writel(time, ldata->base + RTC_LR); time 227 drivers/rtc/rtc-pm8xxx.c rtc_tm_to_time(&alarm->time, &secs); time 259 drivers/rtc/rtc-pm8xxx.c &alarm->time, &alarm->time); time 283 drivers/rtc/rtc-pm8xxx.c rtc_time_to_tm(secs, &alarm->time); time 285 drivers/rtc/rtc-pm8xxx.c rc = rtc_valid_tm(&alarm->time); time 292 drivers/rtc/rtc-pm8xxx.c &alarm->time, &alarm->time); time 109 drivers/rtc/rtc-puv3.c struct rtc_time *alm_tm = &alrm->time; time 122 drivers/rtc/rtc-puv3.c struct rtc_time *tm = &alrm->time; time 252 drivers/rtc/rtc-pxa.c tm_calc(ryar, rdar, &alrm->time); time 267 drivers/rtc/rtc-pxa.c rtc_writel(pxa_rtc, RYAR1, ryxr_calc(&alrm->time)); time 268 drivers/rtc/rtc-pxa.c rtc_writel(pxa_rtc, RDAR1, rdxr_calc(&alrm->time)); time 262 drivers/rtc/rtc-r7301.c rtc7301_get_time(priv, &alarm->time, true); time 285 drivers/rtc/rtc-r7301.c rtc7301_write_time(priv, &alarm->time, true); time 121 drivers/rtc/rtc-rc5t583.c alm->time.tm_sec = 0; time 122 drivers/rtc/rtc-rc5t583.c alm->time.tm_min = bcd2bin(alarm_data[0]); time 123 drivers/rtc/rtc-rc5t583.c alm->time.tm_hour = bcd2bin(alarm_data[1]); time 124 drivers/rtc/rtc-rc5t583.c alm->time.tm_mday = bcd2bin(alarm_data[2]); time 125 drivers/rtc/rtc-rc5t583.c alm->time.tm_mon = bcd2bin(alarm_data[3]) - 1; time 126 drivers/rtc/rtc-rc5t583.c alm->time.tm_year = bcd2bin(alarm_data[4]) + 100; time 149 drivers/rtc/rtc-rc5t583.c alarm_data[0] = bin2bcd(alm->time.tm_min); time 150 drivers/rtc/rtc-rc5t583.c alarm_data[1] = bin2bcd(alm->time.tm_hour); time 151 drivers/rtc/rtc-rc5t583.c alarm_data[2] = bin2bcd(alm->time.tm_mday); time 152 drivers/rtc/rtc-rc5t583.c alarm_data[3] = bin2bcd(alm->time.tm_mon + 1); time 153 drivers/rtc/rtc-rc5t583.c alarm_data[4] = bin2bcd(alm->time.tm_year - 100); time 77 drivers/rtc/rtc-rk808.c time64_t time = rtc_tm_to_time64(tm); time 78 drivers/rtc/rtc-rk808.c rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); time 84 drivers/rtc/rtc-rk808.c time64_t time = rtc_tm_to_time64(tm); time 85 drivers/rtc/rtc-rk808.c rtc_time64_to_tm(time - extra_days * 86400, tm); time 92 drivers/rtc/rtc-rk808.c rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); time 207 drivers/rtc/rtc-rk808.c alrm->time.tm_sec = bcd2bin(alrm_data[0] & SECONDS_REG_MSK); time 208 drivers/rtc/rtc-rk808.c alrm->time.tm_min = bcd2bin(alrm_data[1] & MINUTES_REG_MAK); time 209 drivers/rtc/rtc-rk808.c alrm->time.tm_hour = bcd2bin(alrm_data[2] & HOURS_REG_MSK); time 210 drivers/rtc/rtc-rk808.c alrm->time.tm_mday = bcd2bin(alrm_data[3] & DAYS_REG_MSK); time 211 drivers/rtc/rtc-rk808.c alrm->time.tm_mon = (bcd2bin(alrm_data[4] & MONTHS_REG_MSK)) - 1; time 212 drivers/rtc/rtc-rk808.c alrm->time.tm_year = (bcd2bin(alrm_data[5] & YEARS_REG_MSK)) + 100; time 213 drivers/rtc/rtc-rk808.c rockchip_to_gregorian(&alrm->time); time 222 drivers/rtc/rtc-rk808.c &alrm->time, alrm->time.tm_wday, &alrm->time); time 265 drivers/rtc/rtc-rk808.c &alrm->time, alrm->time.tm_wday, &alrm->time); time 267 drivers/rtc/rtc-rk808.c gregorian_to_rockchip(&alrm->time); time 268 drivers/rtc/rtc-rk808.c alrm_data[0] = bin2bcd(alrm->time.tm_sec); time 269 drivers/rtc/rtc-rk808.c alrm_data[1] = bin2bcd(alrm->time.tm_min); time 270 drivers/rtc/rtc-rk808.c alrm_data[2] = bin2bcd(alrm->time.tm_hour); time 271 drivers/rtc/rtc-rk808.c alrm_data[3] = bin2bcd(alrm->time.tm_mday); time 272 drivers/rtc/rtc-rk808.c alrm_data[4] = bin2bcd(alrm->time.tm_mon + 1); time 273 drivers/rtc/rtc-rk808.c alrm_data[5] = bin2bcd(alrm->time.tm_year - 100); time 403 drivers/rtc/rtc-rs5c372.c t->time.tm_sec = 0; time 404 drivers/rtc/rtc-rs5c372.c t->time.tm_min = bcd2bin(rs5c->regs[RS5C_REG_ALARM_A_MIN] & 0x7f); time 405 drivers/rtc/rtc-rs5c372.c t->time.tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C_REG_ALARM_A_HOURS]); time 422 drivers/rtc/rtc-rs5c372.c if (t->time.tm_mday != -1 time 423 drivers/rtc/rtc-rs5c372.c || t->time.tm_mon != -1 time 424 drivers/rtc/rtc-rs5c372.c || t->time.tm_year != -1) time 444 drivers/rtc/rtc-rs5c372.c buf[0] = bin2bcd(t->time.tm_min); time 445 drivers/rtc/rtc-rs5c372.c buf[1] = rs5c_hr2reg(rs5c, t->time.tm_hour); time 290 drivers/rtc/rtc-rv3028.c alrm->time.tm_sec = 0; time 291 drivers/rtc/rtc-rv3028.c alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); time 292 drivers/rtc/rtc-rv3028.c alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); time 293 drivers/rtc/rtc-rv3028.c alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); time 309 drivers/rtc/rtc-rv3028.c if (alrm->time.tm_sec) { time 310 drivers/rtc/rtc-rv3028.c time64_t alarm_time = rtc_tm_to_time64(&alrm->time); time 312 drivers/rtc/rtc-rv3028.c alarm_time += 60 - alrm->time.tm_sec; time 313 drivers/rtc/rtc-rv3028.c rtc_time64_to_tm(alarm_time, &alrm->time); time 321 drivers/rtc/rtc-rv3028.c alarmvals[0] = bin2bcd(alrm->time.tm_min); time 322 drivers/rtc/rtc-rv3028.c alarmvals[1] = bin2bcd(alrm->time.tm_hour); time 323 drivers/rtc/rtc-rv3028.c alarmvals[2] = bin2bcd(alrm->time.tm_mday); time 414 drivers/rtc/rtc-rv3029c2.c struct rtc_time *const tm = &alarm->time; time 485 drivers/rtc/rtc-rv3029c2.c struct rtc_time *const tm = &alarm->time; time 294 drivers/rtc/rtc-rv8803.c alrm->time.tm_sec = 0; time 295 drivers/rtc/rtc-rv8803.c alrm->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); time 296 drivers/rtc/rtc-rv8803.c alrm->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); time 297 drivers/rtc/rtc-rv8803.c alrm->time.tm_mday = bcd2bin(alarmvals[2] & 0x3f); time 314 drivers/rtc/rtc-rv8803.c if (alrm->time.tm_sec) { time 315 drivers/rtc/rtc-rv8803.c time64_t alarm_time = rtc_tm_to_time64(&alrm->time); time 317 drivers/rtc/rtc-rv8803.c alarm_time += 60 - alrm->time.tm_sec; time 318 drivers/rtc/rtc-rv8803.c rtc_time64_to_tm(alarm_time, &alrm->time); time 329 drivers/rtc/rtc-rv8803.c alarmvals[0] = bin2bcd(alrm->time.tm_min); time 330 drivers/rtc/rtc-rv8803.c alarmvals[1] = bin2bcd(alrm->time.tm_hour); time 331 drivers/rtc/rtc-rv8803.c alarmvals[2] = bin2bcd(alrm->time.tm_mday); time 265 drivers/rtc/rtc-rx8010.c t->time.tm_sec = 0; time 266 drivers/rtc/rtc-rx8010.c t->time.tm_min = bcd2bin(alarmvals[0] & 0x7f); time 267 drivers/rtc/rtc-rx8010.c t->time.tm_hour = bcd2bin(alarmvals[1] & 0x3f); time 270 drivers/rtc/rtc-rx8010.c t->time.tm_mday = bcd2bin(alarmvals[2] & 0x7f); time 305 drivers/rtc/rtc-rx8010.c alarmvals[0] = bin2bcd(t->time.tm_min); time 306 drivers/rtc/rtc-rx8010.c alarmvals[1] = bin2bcd(t->time.tm_hour); time 307 drivers/rtc/rtc-rx8010.c alarmvals[2] = bin2bcd(t->time.tm_mday); time 303 drivers/rtc/rtc-rx8025.c t->time.tm_sec = 0; time 304 drivers/rtc/rtc-rx8025.c t->time.tm_min = bcd2bin(ald[0] & 0x7f); time 306 drivers/rtc/rtc-rx8025.c t->time.tm_hour = bcd2bin(ald[1] & 0x3f); time 308 drivers/rtc/rtc-rx8025.c t->time.tm_hour = bcd2bin(ald[1] & 0x1f) % 12 time 311 drivers/rtc/rtc-rx8025.c dev_dbg(dev, "%s: date: %ptRr\n", __func__, &t->time); time 332 drivers/rtc/rtc-rx8025.c if (t->time.tm_sec) { time 333 drivers/rtc/rtc-rx8025.c time64_t alarm_time = rtc_tm_to_time64(&t->time); time 335 drivers/rtc/rtc-rx8025.c alarm_time += 60 - t->time.tm_sec; time 336 drivers/rtc/rtc-rx8025.c rtc_time64_to_tm(alarm_time, &t->time); time 339 drivers/rtc/rtc-rx8025.c ald[0] = bin2bcd(t->time.tm_min); time 341 drivers/rtc/rtc-rx8025.c ald[1] = bin2bcd(t->time.tm_hour); time 343 drivers/rtc/rtc-rx8025.c ald[1] = (t->time.tm_hour >= 12 ? 0x20 : 0) time 344 drivers/rtc/rtc-rx8025.c | bin2bcd((t->time.tm_hour + 11) % 12 + 1); time 284 drivers/rtc/rtc-s35390a.c "mon=%d, year=%d, wday=%d\n", __func__, alm->time.tm_sec, time 285 drivers/rtc/rtc-s35390a.c alm->time.tm_min, alm->time.tm_hour, alm->time.tm_mday, time 286 drivers/rtc/rtc-s35390a.c alm->time.tm_mon, alm->time.tm_year, alm->time.tm_wday); time 288 drivers/rtc/rtc-s35390a.c if (alm->time.tm_sec != 0) time 311 drivers/rtc/rtc-s35390a.c if (alm->time.tm_wday != -1) time 312 drivers/rtc/rtc-s35390a.c buf[S35390A_ALRM_BYTE_WDAY] = bin2bcd(alm->time.tm_wday) | 0x80; time 317 drivers/rtc/rtc-s35390a.c alm->time.tm_hour) | 0x80; time 318 drivers/rtc/rtc-s35390a.c buf[S35390A_ALRM_BYTE_MINS] = bin2bcd(alm->time.tm_min) | 0x80; time 320 drivers/rtc/rtc-s35390a.c if (alm->time.tm_hour >= 12) time 367 drivers/rtc/rtc-s35390a.c alm->time.tm_wday = time 371 drivers/rtc/rtc-s35390a.c alm->time.tm_hour = time 376 drivers/rtc/rtc-s35390a.c alm->time.tm_min = bcd2bin(buf[S35390A_ALRM_BYTE_MINS] & ~0x80); time 379 drivers/rtc/rtc-s35390a.c alm->time.tm_sec = 0; time 382 drivers/rtc/rtc-s35390a.c __func__, alm->time.tm_min, alm->time.tm_hour, time 383 drivers/rtc/rtc-s35390a.c alm->time.tm_wday); time 252 drivers/rtc/rtc-s3c.c struct rtc_time *alm_tm = &alrm->time; time 302 drivers/rtc/rtc-s3c.c struct rtc_time *tm = &alrm->time; time 64 drivers/rtc/rtc-s5m.c unsigned int time; time 91 drivers/rtc/rtc-s5m.c .time = S5M_RTC_SEC, time 105 drivers/rtc/rtc-s5m.c .time = S2MPS_RTC_SEC, time 119 drivers/rtc/rtc-s5m.c .time = S2MPS_RTC_SEC, time 136 drivers/rtc/rtc-s5m.c .time = S2MPS_RTC_SEC, time 388 drivers/rtc/rtc-s5m.c ret = regmap_bulk_read(info->regmap, info->regs->time, data, time 439 drivers/rtc/rtc-s5m.c ret = regmap_raw_write(info->regmap, info->regs->time, data, time 463 drivers/rtc/rtc-s5m.c s5m8763_data_to_tm(data, &alrm->time); time 475 drivers/rtc/rtc-s5m.c s5m8767_data_to_tm(data, &alrm->time, info->rtc_24hr_mode); time 489 drivers/rtc/rtc-s5m.c dev_dbg(dev, "%s: %ptR(%d)\n", __func__, &alrm->time, alrm->time.tm_wday); time 597 drivers/rtc/rtc-s5m.c s5m8763_tm_to_data(&alrm->time, data); time 604 drivers/rtc/rtc-s5m.c s5m8767_tm_to_data(&alrm->time, data); time 611 drivers/rtc/rtc-s5m.c dev_dbg(dev, "%s: %ptR(%d)\n", __func__, &alrm->time, alrm->time.tm_wday); time 121 drivers/rtc/rtc-sa1100.c unsigned long time; time 124 drivers/rtc/rtc-sa1100.c ret = rtc_tm_to_time(tm, &time); time 126 drivers/rtc/rtc-sa1100.c writel_relaxed(time, info->rcnr); time 144 drivers/rtc/rtc-sa1100.c unsigned long time; time 148 drivers/rtc/rtc-sa1100.c ret = rtc_tm_to_time(&alrm->time, &time); time 153 drivers/rtc/rtc-sa1100.c writel_relaxed(time, info->rtar); time 313 drivers/rtc/rtc-sc27xx.c rtc_time64_to_tm(secs, &alrm->time); time 332 drivers/rtc/rtc-sc27xx.c time64_t secs = rtc_tm_to_time64(&alrm->time); time 432 drivers/rtc/rtc-sc27xx.c rtc_time64_to_tm(secs, &alrm->time); time 451 drivers/rtc/rtc-sc27xx.c time64_t secs = rtc_tm_to_time64(&alrm->time); time 469 drivers/rtc/rtc-sc27xx.c if (!rtc->rtc->aie_timer.enabled || rtc_tm_sub(&aie_time, &alrm->time)) time 394 drivers/rtc/rtc-sh.c struct rtc_time *tm = &wkalrm->time; time 428 drivers/rtc/rtc-sh.c struct rtc_time *tm = &wkalrm->time; time 95 drivers/rtc/rtc-sirfsoc.c | rtc_alarm >> RTC_SHIFT, &(alrm->time)); time 99 drivers/rtc/rtc-sirfsoc.c | rtc_alarm >> RTC_SHIFT, &(alrm->time)); time 116 drivers/rtc/rtc-sirfsoc.c rtc_tm_to_time(&(alrm->time), &rtc_alarm); time 152 drivers/rtc/rtc-snvs.c unsigned long time = rtc_read_lp_counter(data); time 154 drivers/rtc/rtc-snvs.c rtc_time64_to_tm(time, tm); time 162 drivers/rtc/rtc-snvs.c unsigned long time = rtc_tm_to_time64(tm); time 171 drivers/rtc/rtc-snvs.c regmap_write(data->regmap, data->offset + SNVS_LPSRTCLR, time << CNTR_TO_SECS_SH); time 172 drivers/rtc/rtc-snvs.c regmap_write(data->regmap, data->offset + SNVS_LPSRTCMR, time >> (32 - CNTR_TO_SECS_SH)); time 186 drivers/rtc/rtc-snvs.c rtc_time64_to_tm(lptar, &alrm->time); time 208 drivers/rtc/rtc-snvs.c unsigned long time = rtc_tm_to_time64(&alrm->time); time 215 drivers/rtc/rtc-snvs.c regmap_write(data->regmap, data->offset + SNVS_LPTAR, time); time 205 drivers/rtc/rtc-spear.c unsigned int time, date; time 210 drivers/rtc/rtc-spear.c time = readl(config->ioaddr + TIME_REG); time 212 drivers/rtc/rtc-spear.c tm->tm_sec = (time >> SECOND_SHIFT) & SECOND_MASK; time 213 drivers/rtc/rtc-spear.c tm->tm_min = (time >> MINUTE_SHIFT) & MIN_MASK; time 214 drivers/rtc/rtc-spear.c tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; time 234 drivers/rtc/rtc-spear.c unsigned int time, date; time 239 drivers/rtc/rtc-spear.c time = (tm->tm_sec << SECOND_SHIFT) | (tm->tm_min << MINUTE_SHIFT) | time 243 drivers/rtc/rtc-spear.c writel(time, config->ioaddr + TIME_REG); time 260 drivers/rtc/rtc-spear.c unsigned int time, date; time 264 drivers/rtc/rtc-spear.c time = readl(config->ioaddr + ALARM_TIME_REG); time 266 drivers/rtc/rtc-spear.c alm->time.tm_sec = (time >> SECOND_SHIFT) & SECOND_MASK; time 267 drivers/rtc/rtc-spear.c alm->time.tm_min = (time >> MINUTE_SHIFT) & MIN_MASK; time 268 drivers/rtc/rtc-spear.c alm->time.tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; time 269 drivers/rtc/rtc-spear.c alm->time.tm_mday = (date >> MDAY_SHIFT) & DAY_MASK; time 270 drivers/rtc/rtc-spear.c alm->time.tm_mon = (date >> MONTH_SHIFT) & MONTH_MASK; time 271 drivers/rtc/rtc-spear.c alm->time.tm_year = (date >> YEAR_SHIFT) & YEAR_MASK; time 273 drivers/rtc/rtc-spear.c bcd2tm(&alm->time); time 290 drivers/rtc/rtc-spear.c unsigned int time, date; time 293 drivers/rtc/rtc-spear.c tm2bcd(&alm->time); time 297 drivers/rtc/rtc-spear.c time = (alm->time.tm_sec << SECOND_SHIFT) | (alm->time.tm_min << time 298 drivers/rtc/rtc-spear.c MINUTE_SHIFT) | (alm->time.tm_hour << HOUR_SHIFT); time 299 drivers/rtc/rtc-spear.c date = (alm->time.tm_mday << MDAY_SHIFT) | (alm->time.tm_mon << time 300 drivers/rtc/rtc-spear.c MONTH_SHIFT) | (alm->time.tm_year << YEAR_SHIFT); time 302 drivers/rtc/rtc-spear.c writel(time, config->ioaddr + ALARM_TIME_REG); time 163 drivers/rtc/rtc-st-lpc.c alarm_secs = rtc_tm_to_time64(&t->time); time 165 drivers/rtc/rtc-stk17ta8.c pdata->alrm_mday = alrm->time.tm_mday; time 166 drivers/rtc/rtc-stk17ta8.c pdata->alrm_hour = alrm->time.tm_hour; time 167 drivers/rtc/rtc-stk17ta8.c pdata->alrm_min = alrm->time.tm_min; time 168 drivers/rtc/rtc-stk17ta8.c pdata->alrm_sec = alrm->time.tm_sec; time 181 drivers/rtc/rtc-stk17ta8.c alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday; time 182 drivers/rtc/rtc-stk17ta8.c alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour; time 183 drivers/rtc/rtc-stk17ta8.c alrm->time.tm_min = pdata->alrm_min < 0 ? 0 : pdata->alrm_min; time 184 drivers/rtc/rtc-stk17ta8.c alrm->time.tm_sec = pdata->alrm_sec < 0 ? 0 : pdata->alrm_sec; time 341 drivers/rtc/rtc-stm32.c struct rtc_time *tm = &alrm->time; time 470 drivers/rtc/rtc-stm32.c struct rtc_time *tm = &alrm->time; time 209 drivers/rtc/rtc-stmp3xxx.c rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_ALARM), &alm->time); time 217 drivers/rtc/rtc-stmp3xxx.c writel(rtc_tm_to_time64(&alm->time), rtc_data->io + STMP3XXX_RTC_ALARM); time 21 drivers/rtc/rtc-sun4v.c unsigned long ret, time; time 25 drivers/rtc/rtc-sun4v.c ret = sun4v_tod_get(&time); time 27 drivers/rtc/rtc-sun4v.c return time; time 459 drivers/rtc/rtc-sun6i.c u32 date, time; time 466 drivers/rtc/rtc-sun6i.c time = readl(chip->base + SUN6I_RTC_HMS); time 468 drivers/rtc/rtc-sun6i.c (time != readl(chip->base + SUN6I_RTC_HMS))); time 470 drivers/rtc/rtc-sun6i.c rtc_tm->tm_sec = SUN6I_TIME_GET_SEC_VALUE(time); time 471 drivers/rtc/rtc-sun6i.c rtc_tm->tm_min = SUN6I_TIME_GET_MIN_VALUE(time); time 472 drivers/rtc/rtc-sun6i.c rtc_tm->tm_hour = SUN6I_TIME_GET_HOUR_VALUE(time); time 503 drivers/rtc/rtc-sun6i.c rtc_time_to_tm(chip->alarm, &wkalrm->time); time 511 drivers/rtc/rtc-sun6i.c struct rtc_time *alrm_tm = &wkalrm->time; time 572 drivers/rtc/rtc-sun6i.c u32 time = 0; time 592 drivers/rtc/rtc-sun6i.c time = SUN6I_TIME_SET_SEC_VALUE(rtc_tm->tm_sec) | time 603 drivers/rtc/rtc-sun6i.c writel(time, chip->base + SUN6I_RTC_HMS); time 188 drivers/rtc/rtc-sunxi.c struct rtc_time *alrm_tm = &wkalrm->time; time 223 drivers/rtc/rtc-sunxi.c u32 date, time; time 230 drivers/rtc/rtc-sunxi.c time = readl(chip->base + SUNXI_RTC_HMS); time 232 drivers/rtc/rtc-sunxi.c (time != readl(chip->base + SUNXI_RTC_HMS))); time 234 drivers/rtc/rtc-sunxi.c rtc_tm->tm_sec = SUNXI_TIME_GET_SEC_VALUE(time); time 235 drivers/rtc/rtc-sunxi.c rtc_tm->tm_min = SUNXI_TIME_GET_MIN_VALUE(time); time 236 drivers/rtc/rtc-sunxi.c rtc_tm->tm_hour = SUNXI_TIME_GET_HOUR_VALUE(time); time 257 drivers/rtc/rtc-sunxi.c struct rtc_time *alrm_tm = &wkalrm->time; time 332 drivers/rtc/rtc-sunxi.c u32 time = 0; time 359 drivers/rtc/rtc-sunxi.c time = SUNXI_TIME_SET_SEC_VALUE(rtc_tm->tm_sec) | time 366 drivers/rtc/rtc-sunxi.c writel(time, chip->base + SUNXI_RTC_HMS); time 161 drivers/rtc/rtc-tegra.c rtc_time64_to_tm(sec, &alarm->time); time 199 drivers/rtc/rtc-tegra.c sec = rtc_tm_to_time64(&alarm->time); time 211 drivers/rtc/rtc-tegra.c dev_vdbg(dev, "alarm set as %u, %ptR\n", sec, &alarm->time); time 32 drivers/rtc/rtc-test.c rtc_time64_to_tm(alarm, &alrm->time); time 44 drivers/rtc/rtc-test.c timeout = rtc_tm_to_time64(&alrm->time) - ktime_get_real_seconds(); time 160 drivers/rtc/rtc-tps6586x.c seconds = rtc_tm_to_time64(&alrm->time); time 213 drivers/rtc/rtc-tps6586x.c rtc_time64_to_tm(seconds, &alrm->time); time 153 drivers/rtc/rtc-tps65910.c alm->time.tm_sec = bcd2bin(alarm_data[0]); time 154 drivers/rtc/rtc-tps65910.c alm->time.tm_min = bcd2bin(alarm_data[1]); time 155 drivers/rtc/rtc-tps65910.c alm->time.tm_hour = bcd2bin(alarm_data[2]); time 156 drivers/rtc/rtc-tps65910.c alm->time.tm_mday = bcd2bin(alarm_data[3]); time 157 drivers/rtc/rtc-tps65910.c alm->time.tm_mon = bcd2bin(alarm_data[4]) - 1; time 158 drivers/rtc/rtc-tps65910.c alm->time.tm_year = bcd2bin(alarm_data[5]) + 100; time 180 drivers/rtc/rtc-tps65910.c alarm_data[0] = bin2bcd(alm->time.tm_sec); time 181 drivers/rtc/rtc-tps65910.c alarm_data[1] = bin2bcd(alm->time.tm_min); time 182 drivers/rtc/rtc-tps65910.c alarm_data[2] = bin2bcd(alm->time.tm_hour); time 183 drivers/rtc/rtc-tps65910.c alarm_data[3] = bin2bcd(alm->time.tm_mday); time 184 drivers/rtc/rtc-tps65910.c alarm_data[4] = bin2bcd(alm->time.tm_mon + 1); time 185 drivers/rtc/rtc-tps65910.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); time 148 drivers/rtc/rtc-tps80031.c buff[0] = bin2bcd(alrm->time.tm_sec); time 149 drivers/rtc/rtc-tps80031.c buff[1] = bin2bcd(alrm->time.tm_min); time 150 drivers/rtc/rtc-tps80031.c buff[2] = bin2bcd(alrm->time.tm_hour); time 151 drivers/rtc/rtc-tps80031.c buff[3] = bin2bcd(alrm->time.tm_mday); time 152 drivers/rtc/rtc-tps80031.c buff[4] = bin2bcd(alrm->time.tm_mon + 1); time 153 drivers/rtc/rtc-tps80031.c buff[5] = bin2bcd(alrm->time.tm_year % RTC_YEAR_OFFSET); time 178 drivers/rtc/rtc-tps80031.c alrm->time.tm_sec = bcd2bin(buff[0]); time 179 drivers/rtc/rtc-tps80031.c alrm->time.tm_min = bcd2bin(buff[1]); time 180 drivers/rtc/rtc-tps80031.c alrm->time.tm_hour = bcd2bin(buff[2]); time 181 drivers/rtc/rtc-tps80031.c alrm->time.tm_mday = bcd2bin(buff[3]); time 182 drivers/rtc/rtc-tps80031.c alrm->time.tm_mon = bcd2bin(buff[4]) - 1; time 183 drivers/rtc/rtc-tps80031.c alrm->time.tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; time 383 drivers/rtc/rtc-twl.c alm->time.tm_sec = bcd2bin(rtc_data[0]); time 384 drivers/rtc/rtc-twl.c alm->time.tm_min = bcd2bin(rtc_data[1]); time 385 drivers/rtc/rtc-twl.c alm->time.tm_hour = bcd2bin(rtc_data[2]); time 386 drivers/rtc/rtc-twl.c alm->time.tm_mday = bcd2bin(rtc_data[3]); time 387 drivers/rtc/rtc-twl.c alm->time.tm_mon = bcd2bin(rtc_data[4]) - 1; time 388 drivers/rtc/rtc-twl.c alm->time.tm_year = bcd2bin(rtc_data[5]) + 100; time 408 drivers/rtc/rtc-twl.c alarm_data[0] = bin2bcd(alm->time.tm_sec); time 409 drivers/rtc/rtc-twl.c alarm_data[1] = bin2bcd(alm->time.tm_min); time 410 drivers/rtc/rtc-twl.c alarm_data[2] = bin2bcd(alm->time.tm_hour); time 411 drivers/rtc/rtc-twl.c alarm_data[3] = bin2bcd(alm->time.tm_mday); time 412 drivers/rtc/rtc-twl.c alarm_data[4] = bin2bcd(alm->time.tm_mon + 1); time 413 drivers/rtc/rtc-twl.c alarm_data[5] = bin2bcd(alm->time.tm_year - 100); time 119 drivers/rtc/rtc-tx4939.c sec = rtc_tm_to_time64(&alrm->time); time 162 drivers/rtc/rtc-tx4939.c rtc_time64_to_tm(sec, &alrm->time); time 163 drivers/rtc/rtc-tx4939.c return rtc_valid_tm(&alrm->time); time 109 drivers/rtc/rtc-vr41xx.c static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time) time 116 drivers/rtc/rtc-vr41xx.c rtc_time64_to_tm(epoch_sec + elapsed_sec, time); time 121 drivers/rtc/rtc-vr41xx.c static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time) time 126 drivers/rtc/rtc-vr41xx.c current_sec = rtc_tm_to_time64(time); time 136 drivers/rtc/rtc-vr41xx.c struct rtc_time *time = &wkalrm->time; time 147 drivers/rtc/rtc-vr41xx.c rtc_time64_to_tm((high << 17) | (mid << 1) | (low >> 15), time); time 156 drivers/rtc/rtc-vr41xx.c alarm_sec = rtc_tm_to_time64(&wkalrm->time); time 104 drivers/rtc/rtc-vt8500.c u32 date, time; time 107 drivers/rtc/rtc-vt8500.c time = readl(vt8500_rtc->regbase + VT8500_RTC_TR); time 109 drivers/rtc/rtc-vt8500.c tm->tm_sec = bcd2bin(time & TIME_SEC_MASK); time 110 drivers/rtc/rtc-vt8500.c tm->tm_min = bcd2bin((time & TIME_MIN_MASK) >> TIME_MIN_S); time 111 drivers/rtc/rtc-vt8500.c tm->tm_hour = bcd2bin((time & TIME_HOUR_MASK) >> TIME_HOUR_S); time 116 drivers/rtc/rtc-vt8500.c tm->tm_wday = (time & TIME_DOW_MASK) >> TIME_DOW_S; time 153 drivers/rtc/rtc-vt8500.c alrm->time.tm_mday = bcd2bin((alarm & ALARM_DAY_MASK) >> ALARM_DAY_S); time 154 drivers/rtc/rtc-vt8500.c alrm->time.tm_hour = bcd2bin((alarm & TIME_HOUR_MASK) >> TIME_HOUR_S); time 155 drivers/rtc/rtc-vt8500.c alrm->time.tm_min = bcd2bin((alarm & TIME_MIN_MASK) >> TIME_MIN_S); time 156 drivers/rtc/rtc-vt8500.c alrm->time.tm_sec = bcd2bin((alarm & TIME_SEC_MASK)); time 161 drivers/rtc/rtc-vt8500.c return rtc_valid_tm(&alrm->time); time 169 drivers/rtc/rtc-vt8500.c | (bin2bcd(alrm->time.tm_mday) << ALARM_DAY_S) time 170 drivers/rtc/rtc-vt8500.c | (bin2bcd(alrm->time.tm_hour) << TIME_HOUR_S) time 171 drivers/rtc/rtc-vt8500.c | (bin2bcd(alrm->time.tm_min) << TIME_MIN_S) time 172 drivers/rtc/rtc-vt8500.c | (bin2bcd(alrm->time.tm_sec)), time 152 drivers/rtc/rtc-wm831x.c u32 time = (time1[0] << 16) | time1[1]; time 154 drivers/rtc/rtc-wm831x.c rtc_time64_to_tm(time, tm); time 173 drivers/rtc/rtc-wm831x.c unsigned long time, new_time; time 177 drivers/rtc/rtc-wm831x.c time = rtc_tm_to_time64(tm); time 180 drivers/rtc/rtc-wm831x.c (time >> 16) & 0xffff); time 186 drivers/rtc/rtc-wm831x.c ret = wm831x_reg_write(wm831x, WM831X_RTC_TIME_2, time & 0xffff); time 219 drivers/rtc/rtc-wm831x.c if (new_time - time > 1) { time 235 drivers/rtc/rtc-wm831x.c u32 time; time 244 drivers/rtc/rtc-wm831x.c time = (data[0] << 16) | data[1]; time 246 drivers/rtc/rtc-wm831x.c rtc_time64_to_tm(time, &alrm->time); time 283 drivers/rtc/rtc-wm831x.c unsigned long time; time 285 drivers/rtc/rtc-wm831x.c time = rtc_tm_to_time64(&alrm->time); time 294 drivers/rtc/rtc-wm831x.c (time >> 16) & 0xffff); time 300 drivers/rtc/rtc-wm831x.c ret = wm831x_reg_write(wm831x, WM831X_RTC_ALARM_2, time & 0xffff); time 93 drivers/rtc/rtc-wm8350.c u16 time[4]; time 97 drivers/rtc/rtc-wm8350.c time[0] = tm->tm_sec; time 98 drivers/rtc/rtc-wm8350.c time[0] |= tm->tm_min << WM8350_RTC_MINS_SHIFT; time 99 drivers/rtc/rtc-wm8350.c time[1] = tm->tm_hour; time 100 drivers/rtc/rtc-wm8350.c time[1] |= (tm->tm_wday + 1) << WM8350_RTC_DAY_SHIFT; time 101 drivers/rtc/rtc-wm8350.c time[2] = tm->tm_mday; time 102 drivers/rtc/rtc-wm8350.c time[2] |= (tm->tm_mon + 1) << WM8350_RTC_MTH_SHIFT; time 103 drivers/rtc/rtc-wm8350.c time[3] = ((tm->tm_year + 1900) / 100) << WM8350_RTC_YHUNDREDS_SHIFT; time 104 drivers/rtc/rtc-wm8350.c time[3] |= (tm->tm_year + 1900) % 100; time 107 drivers/rtc/rtc-wm8350.c time[0], time[1], time[2], time[3]); time 126 drivers/rtc/rtc-wm8350.c ret = wm8350_block_write(wm8350, WM8350_RTC_SECONDS_MINUTES, 4, time); time 142 drivers/rtc/rtc-wm8350.c struct rtc_time *tm = &alrm->time; time 143 drivers/rtc/rtc-wm8350.c u16 time[4]; time 146 drivers/rtc/rtc-wm8350.c ret = wm8350_block_read(wm8350, WM8350_ALARM_SECONDS_MINUTES, 4, time); time 150 drivers/rtc/rtc-wm8350.c tm->tm_sec = time[0] & WM8350_RTC_ALMSECS_MASK; time 154 drivers/rtc/rtc-wm8350.c tm->tm_min = time[0] & WM8350_RTC_ALMMINS_MASK; time 160 drivers/rtc/rtc-wm8350.c tm->tm_hour = time[1] & WM8350_RTC_ALMHRS_MASK; time 164 drivers/rtc/rtc-wm8350.c tm->tm_wday = ((time[1] >> WM8350_RTC_ALMDAY_SHIFT) & 0x7) - 1; time 168 drivers/rtc/rtc-wm8350.c tm->tm_mon = time[2] & WM8350_RTC_ALMMTH_MASK; time 174 drivers/rtc/rtc-wm8350.c tm->tm_mday = (time[2] & WM8350_RTC_ALMDATE_MASK); time 180 drivers/rtc/rtc-wm8350.c alrm->enabled = !(time[3] & WM8350_RTC_ALMSTS); time 246 drivers/rtc/rtc-wm8350.c struct rtc_time *tm = &alrm->time; time 247 drivers/rtc/rtc-wm8350.c u16 time[3]; time 250 drivers/rtc/rtc-wm8350.c memset(time, 0, sizeof(time)); time 253 drivers/rtc/rtc-wm8350.c time[0] |= tm->tm_sec; time 255 drivers/rtc/rtc-wm8350.c time[0] |= WM8350_RTC_ALMSECS_MASK; time 258 drivers/rtc/rtc-wm8350.c time[0] |= tm->tm_min << WM8350_RTC_ALMMINS_SHIFT; time 260 drivers/rtc/rtc-wm8350.c time[0] |= WM8350_RTC_ALMMINS_MASK; time 263 drivers/rtc/rtc-wm8350.c time[1] |= tm->tm_hour; time 265 drivers/rtc/rtc-wm8350.c time[1] |= WM8350_RTC_ALMHRS_MASK; time 268 drivers/rtc/rtc-wm8350.c time[1] |= (tm->tm_wday + 1) << WM8350_RTC_ALMDAY_SHIFT; time 270 drivers/rtc/rtc-wm8350.c time[1] |= WM8350_RTC_ALMDAY_MASK; time 273 drivers/rtc/rtc-wm8350.c time[2] |= tm->tm_mday; time 275 drivers/rtc/rtc-wm8350.c time[2] |= WM8350_RTC_ALMDATE_MASK; time 278 drivers/rtc/rtc-wm8350.c time[2] |= (tm->tm_mon + 1) << WM8350_RTC_ALMMTH_SHIFT; time 280 drivers/rtc/rtc-wm8350.c time[2] |= WM8350_RTC_ALMMTH_MASK; time 288 drivers/rtc/rtc-wm8350.c 3, time); time 523 drivers/rtc/rtc-x1205.c err = x1205_get_datetime(client, &alrm->time, X1205_ALM0_BASE); time 531 drivers/rtc/rtc-x1205.c &alrm->time, X1205_ALM0_BASE, alrm->enabled); time 71 drivers/rtc/rtc-xgene.c rtc_time64_to_tm(0, &alrm->time); time 106 drivers/rtc/rtc-xgene.c writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR); time 117 drivers/rtc/rtc-zynqmp.c rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_ALRM), &alrm->time); time 140 drivers/rtc/rtc-zynqmp.c alarm_time = rtc_tm_to_time64(&alrm->time); time 57 drivers/rtc/sysfs.c static DEVICE_ATTR_RO(time); time 67 drivers/rtc/sysfs.c time64_t time; time 69 drivers/rtc/sysfs.c time = rtc_tm_to_time64(&tm); time 70 drivers/rtc/sysfs.c retval = sprintf(buf, "%lld\n", time); time 140 drivers/rtc/sysfs.c alarm = rtc_tm_to_time64(&alm.time); time 162 drivers/rtc/sysfs.c retval = rtc_read_time(rtc, &alm.time); time 165 drivers/rtc/sysfs.c now = rtc_tm_to_time64(&alm.time); time 192 drivers/rtc/sysfs.c push = rtc_tm_to_time64(&alm.time); time 207 drivers/rtc/sysfs.c rtc_time64_to_tm(alarm, &alm.time); time 158 drivers/s390/char/sclp.c __sclp_set_request_timer(unsigned long time, void (*cb)(struct timer_list *)) time 162 drivers/s390/char/sclp.c sclp_request_timer.expires = jiffies + time; time 650 drivers/s390/cio/cmf.c u64 time; time 668 drivers/s390/cio/cmf.c time = cmb_data->last_update - cdev->private->cmb_start_time; time 675 drivers/s390/cio/cmf.c data->elapsed_time = tod_to_ns(time); time 910 drivers/s390/cio/cmf.c u64 time; time 927 drivers/s390/cio/cmf.c time = cmb_data->last_update - cdev->private->cmb_start_time; time 934 drivers/s390/cio/cmf.c data->elapsed_time = tod_to_ns(time); time 1108 drivers/s390/crypto/ap_bus.c int time; time 1110 drivers/s390/crypto/ap_bus.c if (sscanf(buf, "%d\n", &time) != 1 || time < 5 || time > 120) time 1112 drivers/s390/crypto/ap_bus.c ap_config_time = time; time 1150 drivers/s390/crypto/ap_bus.c unsigned long long time; time 1154 drivers/s390/crypto/ap_bus.c if (sscanf(buf, "%llu\n", &time) != 1 || time < 1 || time 1155 drivers/s390/crypto/ap_bus.c time > 120000000000ULL) time 1157 drivers/s390/crypto/ap_bus.c poll_timeout = time; time 439 drivers/scsi/aha152x.c unsigned long time[maxstate]; time 2379 drivers/scsi/aha152x.c HOSTDATA(shpnt)->time[STATE] += jiffies-start; time 2792 drivers/scsi/aha152x.c HOSTDATA(shpnt)->time[i]=0; time 2886 drivers/scsi/aha152x.c HOSTDATA(shpnt)->time[i]); time 923 drivers/scsi/aic94xx/aic94xx_init.c static int asd_scan_finished(struct Scsi_Host *shost, unsigned long time) time 927 drivers/scsi/aic94xx/aic94xx_init.c if (time < HZ) time 463 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_profile_on(struct bfa_s *bfa, time64_t time) time 475 drivers/scsi/bfa/bfa_fcpim.c fcpim->io_profile_start_time = time; time 305 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_profile_on(struct bfa_s *bfa, time64_t time); time 3276 drivers/scsi/bfa/bfa_svc.c time64_t time = ktime_get_seconds(); time 3291 drivers/scsi/bfa/bfa_svc.c time - fcport->stats_reset_time; time 1888 drivers/scsi/csiostor/csio_lnode.c unsigned long time, unsigned long max_scan_ticks, time 1893 drivers/scsi/csiostor/csio_lnode.c if (time >= max_scan_ticks) time 2248 drivers/scsi/csiostor/csio_scsi.c csio_scan_finished(struct Scsi_Host *shost, unsigned long time) time 2257 drivers/scsi/csiostor/csio_scsi.c rv = csio_scan_done(ln, jiffies, time, csio_max_scan_tmo * HZ, time 1275 drivers/scsi/csiostor/csio_wr.c csio_closest_timer(struct csio_sge *s, int time) time 1280 drivers/scsi/csiostor/csio_wr.c delta = time - s->timer_val[i]; time 205 drivers/scsi/esas2r/esas2r_disc.c u32 time = currtime - a->disc_start_time; time 211 drivers/scsi/esas2r/esas2r_disc.c if (time < a->disc_wait_time time 215 drivers/scsi/esas2r/esas2r_disc.c if (time >= 3000 time 231 drivers/scsi/esas2r/esas2r_disc.c a->disc_wait_time = time + 3000; time 246 drivers/scsi/esas2r/esas2r_disc.c if (time < a->disc_wait_time) { time 1365 drivers/scsi/esas2r/esas2r_flash.c u32 time = jiffies_to_msecs(jiffies); time 1370 drivers/scsi/esas2r/esas2r_flash.c n->sas_addr[4] = HIBYTE(LOWORD(time)); time 1371 drivers/scsi/esas2r/esas2r_flash.c n->sas_addr[5] = LOBYTE(LOWORD(time)); time 832 drivers/scsi/fcoe/fcoe_ctlr.c deadline = fcf->time + fcf->fka_period + fcf->fka_period / 2; time 861 drivers/scsi/fcoe/fcoe_ctlr.c (!sel_time || time_before(sel_time, fcf->time))) time 862 drivers/scsi/fcoe/fcoe_ctlr.c sel_time = fcf->time; time 1082 drivers/scsi/fcoe/fcoe_ctlr.c fcf->time = jiffies; time 2536 drivers/scsi/fcoe/fcoe_ctlr.c frport->time = 0; time 2662 drivers/scsi/fcoe/fcoe_ctlr.c if (!frport->time && fip->state == FIP_ST_VNMP_UP) { time 2668 drivers/scsi/fcoe/fcoe_ctlr.c frport->time = jiffies; time 2710 drivers/scsi/fcoe/fcoe_ctlr.c if (!frport->time) { time 2714 drivers/scsi/fcoe/fcoe_ctlr.c deadline = frport->time + time 2717 drivers/scsi/fcoe/fcoe_ctlr.c frport->time = 0; time 3068 drivers/scsi/fcoe/fcoe_ctlr.c if (frport->time) time 454 drivers/scsi/fnic/fnic_main.c unsigned long time; time 471 drivers/scsi/fnic/fnic_main.c time = jiffies + (HZ * 2); time 480 drivers/scsi/fnic/fnic_main.c } while (time_after(time, jiffies) || (count < 3)); time 147 drivers/scsi/gdth.c static int gdth_wait(gdth_ha_str *ha, int index,u32 time); time 1058 drivers/scsi/gdth.c static int gdth_wait(gdth_ha_str *ha, int index, u32 time) time 1063 drivers/scsi/gdth.c TRACE(("gdth_wait() hanum %d index %d time %d\n", ha->hanum, index, time)); time 1075 drivers/scsi/gdth.c } while (--time); time 575 drivers/scsi/hisi_sas/hisi_sas.h extern int hisi_sas_scan_finished(struct Scsi_Host *shost, unsigned long time); time 838 drivers/scsi/hisi_sas/hisi_sas_main.c int hisi_sas_scan_finished(struct Scsi_Host *shost, unsigned long time) time 844 drivers/scsi/hisi_sas/hisi_sas_main.c if (time < HZ) time 3505 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int entries, entries_old = 0, time; time 3507 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (time = 0; time < timeout_ms; time += delay_ms) { time 3516 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (time >= timeout_ms) { time 3521 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c dev_dbg(dev, "wait commands complete %dms\n", time); time 2601 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int entries, entries_old = 0, time; time 2603 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (time = 0; time < timeout_ms; time += delay_ms) { time 2612 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if (time >= timeout_ms) { time 2617 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c dev_dbg(dev, "wait commands complete %dms\n", time); time 154 drivers/scsi/ibmvscsi/ibmvfc.c entry->time = jiffies; time 187 drivers/scsi/ibmvscsi/ibmvfc.c entry->time = jiffies; time 2801 drivers/scsi/ibmvscsi/ibmvfc.c static int ibmvfc_scan_finished(struct Scsi_Host *shost, unsigned long time) time 2808 drivers/scsi/ibmvscsi/ibmvfc.c if (time >= (init_timeout * HZ)) { time 500 drivers/scsi/ibmvscsi/ibmvfc.h u32 time; time 595 drivers/scsi/ipr.c trace_entry->time = jiffies; time 1430 drivers/scsi/ipr.h u32 time; time 4556 drivers/scsi/ips.c int time; time 4582 drivers/scsi/ips.c time = 60 * IPS_ONE_SEC; /* Max Wait time is 60 seconds */ time 4585 drivers/scsi/ips.c while ((time > 0) && (!done)) { time 4589 drivers/scsi/ips.c time--; time 5533 drivers/scsi/ips.c ips_wait(ips_ha_t * ha, int time, int intr) time 5543 drivers/scsi/ips.c time *= IPS_ONE_SEC; /* convert seconds */ time 5545 drivers/scsi/ips.c while ((time > 0) && (!done)) { time 5575 drivers/scsi/ips.c time--; time 654 drivers/scsi/isci/host.c int isci_host_scan_finished(struct Scsi_Host *shost, unsigned long time) time 4431 drivers/scsi/lpfc/lpfc_init.c int lpfc_scan_finished(struct Scsi_Host *shost, unsigned long time) time 4443 drivers/scsi/lpfc/lpfc_init.c if (time >= msecs_to_jiffies(30 * 1000)) { time 4450 drivers/scsi/lpfc/lpfc_init.c if (time >= msecs_to_jiffies(15 * 1000) && time 4463 drivers/scsi/lpfc/lpfc_init.c if (vport->fc_map_cnt == 0 && time < msecs_to_jiffies(2 * 1000)) time 2182 drivers/scsi/megaraid/megaraid_sas.h } __attribute__ ((packed)) time; time 1046 drivers/scsi/megaraid/megaraid_sas_fusion.c ktime_t time; time 1116 drivers/scsi/megaraid/megaraid_sas_fusion.c time = ktime_get_real(); time 1118 drivers/scsi/megaraid/megaraid_sas_fusion.c IOCInitMessage->TimeStamp = cpu_to_le64(ktime_to_ms(time)); time 10217 drivers/scsi/mpt3sas/mpt3sas_scsih.c scsih_scan_finished(struct Scsi_Host *shost, unsigned long time) time 10227 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (time >= (300 * HZ)) { time 739 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_tune_interrupt(struct mvs_info *mvi, u32 time) time 747 drivers/scsi/mvsas/mv_64xx.c if (time == 0) { time 756 drivers/scsi/mvsas/mv_64xx.c tmp = 0x10000 | time; time 1018 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_tune_interrupt(struct mvs_info *mvi, u32 time) time 1026 drivers/scsi/mvsas/mv_94xx.c if (time == 0) { time 1035 drivers/scsi/mvsas/mv_94xx.c tmp = 0x10000 | time; time 287 drivers/scsi/mvsas/mv_sas.c int mvs_scan_finished(struct Scsi_Host *shost, unsigned long time) time 155 drivers/scsi/mvsas/mv_sas.h void (*tune_interrupt)(struct mvs_info *mvi, u32 time); time 440 drivers/scsi/mvsas/mv_sas.h int mvs_scan_finished(struct Scsi_Host *shost, unsigned long time); time 836 drivers/scsi/mvumi.c u64 time; time 855 drivers/scsi/mvumi.c time = ktime_get_real_seconds(); time 856 drivers/scsi/mvumi.c local_time = (time - (sys_tz.tz_minuteswest * 60)); time 424 drivers/scsi/nsp32.c static void nsp32_start_timer(struct scsi_cmnd *SCpnt, int time) time 428 drivers/scsi/nsp32.c nsp32_dbg(NSP32_DEBUG_INTR, "timer=%d", time); time 430 drivers/scsi/nsp32.c if (time & (~TIMER_CNT_MASK)) { time 434 drivers/scsi/nsp32.c nsp32_write2(base, TIMER_SET, time & TIMER_CNT_MASK); time 752 drivers/scsi/nsp32.c int time = 0; time 756 drivers/scsi/nsp32.c time++; time 758 drivers/scsi/nsp32.c (time <= ARBIT_TIMEOUT_TIME)); time 761 drivers/scsi/nsp32.c "arbit: 0x%x, delay time: %d", arbit, time); time 503 drivers/scsi/pcmcia/nsp_cs.c static void nsp_start_timer(struct scsi_cmnd *SCpnt, int time) time 509 drivers/scsi/pcmcia/nsp_cs.c data->TimerCount = time; time 510 drivers/scsi/pcmcia/nsp_cs.c nsp_index_write(base, TIMERCOUNT, time); time 309 drivers/scsi/pcmcia/nsp_cs.h static void nsp_start_timer (struct scsi_cmnd *SCpnt, int time); time 276 drivers/scsi/pm8001/pm8001_sas.c int pm8001_scan_finished(struct Scsi_Host *shost, unsigned long time) time 282 drivers/scsi/pm8001/pm8001_sas.c if (time < HZ) time 643 drivers/scsi/pm8001/pm8001_sas.h int pm8001_scan_finished(struct Scsi_Host *shost, unsigned long time); time 581 drivers/scsi/qla1280.h __le16 time; /* Time. */ time 2712 drivers/scsi/qla2xxx/qla_os.c qla2xxx_scan_finished(struct Scsi_Host *shost, unsigned long time) time 2720 drivers/scsi/qla2xxx/qla_os.c if (time > vha->hw->loop_reset_delay * HZ) time 182 drivers/scsi/qlogicpti.h u16 time; time 1768 drivers/scsi/scsi_transport_iscsi.c int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time) time 801 drivers/scsi/smartpqi/smartpqi_init.c u8 time[8]; time 830 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(sizeof(buffer->time), time 837 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[0] = bin2bcd(tm.tm_hour); time 838 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[1] = bin2bcd(tm.tm_min); time 839 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[2] = bin2bcd(tm.tm_sec); time 840 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[3] = 0; time 841 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[4] = bin2bcd(tm.tm_mon + 1); time 842 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[5] = bin2bcd(tm.tm_mday); time 843 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[6] = bin2bcd(year / 100); time 844 drivers/scsi/smartpqi/smartpqi_init.c buffer->time[7] = bin2bcd(year % 100); time 192 drivers/scsi/snic/snic_main.c unsigned long time; time 207 drivers/scsi/snic/snic_main.c time = jiffies + (HZ * 2); time 217 drivers/scsi/snic/snic_main.c } while (time_after(time, jiffies) || (retry_cnt < 3)); time 382 drivers/soundwire/cadence_master.c unsigned long time; time 412 drivers/soundwire/cadence_master.c time = wait_for_completion_timeout(&cdns->tx_complete, time 414 drivers/soundwire/cadence_master.c if (!time) { time 427 drivers/soundwire/cadence_master.c unsigned long time; time 452 drivers/soundwire/cadence_master.c time = wait_for_completion_timeout(&cdns->tx_complete, time 454 drivers/soundwire/cadence_master.c if (!time) { time 1508 drivers/spi/spi-pl022.c unsigned long time, timeout; time 1549 drivers/spi/spi-pl022.c time = jiffies; time 1551 drivers/spi/spi-pl022.c if (time_after(time, timeout)) { time 521 drivers/staging/greybus/tools/loopback_test.c local_time = time(NULL); time 122 drivers/staging/gs_fpgaboot/gs_fpgaboot.c pr_info("time: %s\n", fimage->time); time 148 drivers/staging/gs_fpgaboot/gs_fpgaboot.c err = readinfo_bitstream(bitdata, fimage->time, MAX_STR, &offset); time 38 drivers/staging/gs_fpgaboot/gs_fpgaboot.h char time[MAX_STR]; time 1736 drivers/staging/iio/addac/adt7316.c s64 time; time 1743 drivers/staging/iio/addac/adt7316.c time = iio_get_time_ns(indio_dev); time 1749 drivers/staging/iio/addac/adt7316.c time); time 1755 drivers/staging/iio/addac/adt7316.c time); time 1761 drivers/staging/iio/addac/adt7316.c time); time 1767 drivers/staging/iio/addac/adt7316.c time); time 1773 drivers/staging/iio/addac/adt7316.c time); time 1779 drivers/staging/iio/addac/adt7316.c time); time 1785 drivers/staging/iio/addac/adt7316.c time); time 1472 drivers/staging/ks7010/ks_hostif.c pp->time = cpu_to_le16(priv->reg.phy_info_timer); time 1475 drivers/staging/ks7010/ks_hostif.c pp->time = cpu_to_le16(0); time 465 drivers/staging/ks7010/ks_hostif.h __le16 time; /* unit 100ms */ time 264 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c u8 time = 0; time 270 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c if (time++ < 100) time 277 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c if (time++ < 100) time 290 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c u8 time = 0; time 298 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c if (time++ < 100) time 75 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c void rtl92e_enter_sleep(struct net_device *dev, u64 time) time 85 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c time -= msecs_to_jiffies(8 + 16 + 7); time 88 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c if (time_before((unsigned long)time, timeout)) { time 91 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c time - jiffies, msecs_to_jiffies(MIN_SLEEP_TIME)); time 95 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c if (time_after((unsigned long)time, timeout)) { time 97 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c time - jiffies, msecs_to_jiffies(MAX_SLEEP_TIME)); time 101 drivers/staging/rtl8192e/rtl8192e/rtl_ps.c tmp = time - jiffies; time 20 drivers/staging/rtl8192e/rtl8192e/rtl_ps.h void rtl92e_enter_sleep(struct net_device *dev, u64 time); time 1755 drivers/staging/rtl8192e/rtllib.h void (*enter_sleep_state)(struct net_device *dev, u64 time); time 1961 drivers/staging/rtl8192e/rtllib_softmac.c static short rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) time 1993 drivers/staging/rtl8192e/rtllib_softmac.c if (time) { time 2036 drivers/staging/rtl8192e/rtllib_softmac.c *time = ieee->current_network.last_dtim_sta_time time 2049 drivers/staging/rtl8192e/rtllib_softmac.c u64 time; time 2066 drivers/staging/rtl8192e/rtllib_softmac.c sleep = rtllib_sta_ps_sleep(ieee, &time); time 2072 drivers/staging/rtl8192e/rtllib_softmac.c ieee->enter_sleep_state(ieee->dev, time); time 2080 drivers/staging/rtl8192e/rtllib_softmac.c ieee->ps_time = time; time 363 drivers/staging/rtl8192u/r819xU_phy.c u8 time = 0; time 385 drivers/staging/rtl8192u/r819xU_phy.c if (time++ < 100) { time 400 drivers/staging/rtl8192u/r819xU_phy.c if (time++ < 100) { time 426 drivers/staging/rtl8192u/r819xU_phy.c u8 time = 0; time 451 drivers/staging/rtl8192u/r819xU_phy.c if (time++ < 100) { time 279 drivers/staging/speakup/main.c int time = spk_bleep_time; time 285 drivers/staging/speakup/main.c spk_unprocessed_sound.jiffies = msecs_to_jiffies(time); time 535 drivers/staging/wlan-ng/hfa384x.h u32 time; time 3262 drivers/staging/wlan-ng/hfa384x_usb.c le32_to_cpus(&usbin->rxfrm.desc.time); time 3302 drivers/staging/wlan-ng/hfa384x_usb.c rxmeta->mactime = usbin->rxfrm.desc.time; time 3395 drivers/staging/wlan-ng/hfa384x_usb.c caphdr->mactime = __cpu_to_be64(rxdesc->time * 1000); time 59 drivers/thermal/cpu_cooling.c u64 time; time 237 drivers/thermal/cpu_cooling.c delta_idle = now_idle - idle_time->time; time 245 drivers/thermal/cpu_cooling.c idle_time->time = now_idle; time 331 drivers/thermal/ti-soc-thermal/ti-bandgap.c int time; time 334 drivers/thermal/ti-soc-thermal/ti-bandgap.c time = ti_bandgap_readl(bgp, tsr->bgap_counter); time 335 drivers/thermal/ti-soc-thermal/ti-bandgap.c time = (time & tsr->counter_mask) >> time 337 drivers/thermal/ti-soc-thermal/ti-bandgap.c time = time * 1000 / bgp->clk_rate; time 338 drivers/thermal/ti-soc-thermal/ti-bandgap.c *interval = time; time 204 drivers/thunderbolt/nhi.c descriptor->time = 0; time 34 drivers/thunderbolt/nhi_regs.h u32 time; /* write zero */ time 44 drivers/tty/hvc/hvc_dcc.c unsigned long time = jiffies + (HZ / 10); time 49 drivers/tty/hvc/hvc_dcc.c while (time_is_after_jiffies(time)) { time 2139 drivers/tty/n_tty.c int minimum, time; time 2162 drivers/tty/n_tty.c minimum = time = 0; time 2167 drivers/tty/n_tty.c time = (HZ / 10) * TIME_CHAR(tty); time 2263 drivers/tty/n_tty.c if (time) time 2264 drivers/tty/n_tty.c timeout = time; time 820 drivers/tty/tty_io.c static void tty_update_time(struct timespec64 *time) time 830 drivers/tty/tty_io.c if ((sec ^ time->tv_sec) & ~7) time 831 drivers/tty/tty_io.c time->tv_sec = sec; time 2463 drivers/usb/class/usbtmc.c int time; time 2465 drivers/usb/class/usbtmc.c time = usb_wait_anchor_empty_timeout(&file_data->submitted, 1000); time 2466 drivers/usb/class/usbtmc.c if (!time) time 1257 drivers/usb/gadget/udc/fusb300_udc.c u32 time) time 1263 drivers/usb/gadget/udc/fusb300_udc.c reg |= FUSB300_SSCR2_U2TIMEOUT(time); time 1269 drivers/usb/gadget/udc/fusb300_udc.c u32 time) time 1275 drivers/usb/gadget/udc/fusb300_udc.c reg |= FUSB300_SSCR2_U1TIMEOUT(time); time 891 drivers/usb/host/r8a66597-hcd.c u16 time = 1; time 896 drivers/usb/host/r8a66597-hcd.c time = IITV; time 898 drivers/usb/host/r8a66597-hcd.c time = interval ? interval - 1 : 0; time 901 drivers/usb/host/r8a66597-hcd.c time = IITV; time 907 drivers/usb/host/r8a66597-hcd.c time = 1 << i; time 912 drivers/usb/host/r8a66597-hcd.c return time; time 918 drivers/usb/host/r8a66597-hcd.c unsigned long time = 1; time 925 drivers/usb/host/r8a66597-hcd.c time *= 2; time 926 drivers/usb/host/r8a66597-hcd.c time = time * 125 / 1000; /* uSOF -> msec */ time 928 drivers/usb/host/r8a66597-hcd.c time = interval; time 931 drivers/usb/host/r8a66597-hcd.c return time; time 1246 drivers/usb/host/r8a66597-hcd.c unsigned long time; time 1256 drivers/usb/host/r8a66597-hcd.c time = 30; time 1259 drivers/usb/host/r8a66597-hcd.c time = 50; time 1264 drivers/usb/host/r8a66597-hcd.c jiffies + msecs_to_jiffies(time)); time 130 drivers/usb/host/xhci-rcar.c int retval, index, j, time; time 169 drivers/usb/host/xhci-rcar.c for (time = 0; time < timeout; time++) { time 175 drivers/usb/host/xhci-rcar.c if (time == timeout) { time 185 drivers/usb/host/xhci-rcar.c for (time = 0; time < timeout; time++) { time 193 drivers/usb/host/xhci-rcar.c if (time == timeout) time 796 drivers/usb/host/xhci-tegra.c struct tm time; time 901 drivers/usb/host/xhci-tegra.c time64_to_tm(timestamp, 0, &time); time 904 drivers/usb/host/xhci-tegra.c time.tm_year + 1900, time.tm_mon + 1, time.tm_mday, time 905 drivers/usb/host/xhci-tegra.c time.tm_hour, time.tm_min, time.tm_sec); time 766 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short data, data2, time, i, j, k, m, n, o; time 778 drivers/usb/misc/sisusbvga/sisusb_init.c j = time = 64; time 787 drivers/usb/misc/sisusbvga/sisusb_init.c time = 256; time 811 drivers/usb/misc/sisusbvga/sisusb_init.c if (time == 256) { time 395 drivers/usb/misc/usblcd.c int time; time 397 drivers/usb/misc/usblcd.c time = usb_wait_anchor_empty_timeout(&dev->submitted, 1000); time 398 drivers/usb/misc/usblcd.c if (!time) time 588 drivers/usb/usb-skeleton.c int time; time 590 drivers/usb/usb-skeleton.c time = usb_wait_anchor_empty_timeout(&dev->submitted, 1000); time 591 drivers/usb/usb-skeleton.c if (!time) time 162 drivers/usb/usbip/vudc.h void v_kick_timer(struct vudc *udc, unsigned long time); time 472 drivers/usb/usbip/vudc_transfer.c void v_kick_timer(struct vudc *udc, unsigned long time) time 485 drivers/usb/usbip/vudc_transfer.c mod_timer(&t->timer, time); time 2876 drivers/video/fbdev/sis/init.c unsigned short data, data2, time, i, j, k, m, n, o; time 2883 drivers/video/fbdev/sis/init.c j = time = 64; time 2889 drivers/video/fbdev/sis/init.c time = 256; time 2920 drivers/video/fbdev/sis/init.c if(time == 256) { time 167 drivers/watchdog/coh901327_wdt.c unsigned int time) time 169 drivers/watchdog/coh901327_wdt.c wdt_dev->timeout = time; time 171 drivers/watchdog/coh901327_wdt.c writew(time * 100, virtbase + U300_WDOG_TR); time 35 drivers/watchdog/da9052_wdt.c int time; /* Seconds */ time 76 drivers/watchdog/da9052_wdt.c if (da9052_wdt_maps[i].time == timeout) time 244 drivers/watchdog/eurotechwdt.c int time; time 278 drivers/watchdog/eurotechwdt.c if (copy_from_user(&time, p, sizeof(int))) time 282 drivers/watchdog/eurotechwdt.c if (time < 0 || time > 255) time 286 drivers/watchdog/eurotechwdt.c eurwdt_timeout = time; time 287 drivers/watchdog/eurotechwdt.c eurwdt_set_timeout(time); time 157 drivers/watchdog/i6300esb.c unsigned int time) time 166 drivers/watchdog/i6300esb.c val = time << 9; time 183 drivers/watchdog/i6300esb.c wdd->timeout = time; time 106 drivers/watchdog/ixp4xx_wdt.c int time; time 128 drivers/watchdog/ixp4xx_wdt.c ret = get_user(time, (int *)arg); time 132 drivers/watchdog/ixp4xx_wdt.c if (time <= 0 || time > 60) { time 137 drivers/watchdog/ixp4xx_wdt.c heartbeat = time; time 124 drivers/watchdog/m54xx_wdt.c int time; time 146 drivers/watchdog/m54xx_wdt.c ret = get_user(time, (int *)arg); time 150 drivers/watchdog/m54xx_wdt.c if (time <= 0 || time > 30) { time 155 drivers/watchdog/m54xx_wdt.c heartbeat = time; time 39 drivers/watchdog/rn5t618_wdt.c unsigned int time; time 54 drivers/watchdog/rn5t618_wdt.c if (rn5t618_wdt_map[i].time + 1 >= t) time 65 drivers/watchdog/rn5t618_wdt.c wdt_dev->timeout = rn5t618_wdt_map[i].time; time 152 drivers/watchdog/rn5t618_wdt.c min_timeout = rn5t618_wdt_map[0].time; time 153 drivers/watchdog/rn5t618_wdt.c max_timeout = rn5t618_wdt_map[ARRAY_SIZE(rn5t618_wdt_map) - 1].time; time 95 drivers/watchdog/sa1100_wdt.c int time; time 119 drivers/watchdog/sa1100_wdt.c ret = get_user(time, p); time 123 drivers/watchdog/sa1100_wdt.c if (time <= 0 || (oscr_freq * (long long)time >= 0xffffffff)) { time 128 drivers/watchdog/sa1100_wdt.c pre_margin = oscr_freq * time; time 173 drivers/watchdog/sb_wdog.c unsigned long time; time 193 drivers/watchdog/sb_wdog.c ret = get_user(time, p); time 197 drivers/watchdog/sb_wdog.c time *= 1000000; time 198 drivers/watchdog/sb_wdog.c if (time > 0x7fffffUL) { time 202 drivers/watchdog/sb_wdog.c timeout = time; time 124 drivers/watchdog/sbc_fitpc2_wdt.c int time; time 146 drivers/watchdog/sbc_fitpc2_wdt.c ret = get_user(time, (int *)arg); time 150 drivers/watchdog/sbc_fitpc2_wdt.c if (time < 31 || time > 255) { time 155 drivers/watchdog/sbc_fitpc2_wdt.c margin = time; time 39 drivers/watchdog/wm831x_wdt.c unsigned int time; /* Seconds */ time 147 drivers/watchdog/wm831x_wdt.c if (wm831x_wdt_cfgs[i].time == timeout) time 226 drivers/watchdog/wm831x_wdt.c wm831x_wdt->timeout = wm831x_wdt_cfgs[i].time; time 28 drivers/watchdog/wm8350_wdt.c unsigned int time; /* Seconds */ time 44 drivers/watchdog/wm8350_wdt.c if (wm8350_wdt_cfgs[i].time == timeout) time 51 drivers/xen/efi.c BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); time 52 drivers/xen/efi.c memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); time 81 drivers/xen/time.c res->time[i] += per_cpu(old_runstate_time, cpu)[i]; time 107 drivers/xen/time.c memcpy(runstate_delta[cpu].time, state.time, time 108 drivers/xen/time.c sizeof(runstate_delta[cpu].time)); time 123 drivers/xen/time.c runstate_delta[cpu].time[i]; time 157 drivers/xen/time.c return state.time[RUNSTATE_runnable] + state.time[RUNSTATE_offline]; time 178 drivers/xen/time.c pv_ops.time.steal_clock = xen_steal_clock; time 129 fs/bad_inode.c static int bad_inode_update_time(struct inode *inode, struct timespec64 *time, time 48 fs/ceph/dir.c di->time = jiffies; time 1174 fs/ceph/dir.c di->time = jiffies; time 1356 fs/ceph/dir.c if (time_before(jiffies, di->time + lwc->dir_lease_ttl)) time 1412 fs/ceph/dir.c di->time = jiffies; time 1441 fs/ceph/dir.c time_before(jiffies, di->time)) time 1067 fs/ceph/inode.c time_before(ttl, di->time)) time 1081 fs/ceph/inode.c di->time = ttl; time 1169 fs/ceph/inode.c di->time = jiffies; time 3938 fs/ceph/mds_client.c di->time = di->lease_renew_from + duration; time 279 fs/ceph/super.h unsigned long time; time 707 fs/cifs/cifsencrypt.c ntlmv2->time = rsp_timestamp; time 330 fs/cifs/cifsfs.c cifs_inode->time = 0; time 969 fs/cifs/cifsfs.c CIFS_I(inode)->time = 0; time 1118 fs/cifs/cifsfs.c CIFS_I(target_inode)->time = 0; time 1184 fs/cifs/cifsfs.c CIFS_I(target_inode)->time = 0; time 44 fs/cifs/cifsfs.h static inline void cifs_set_time(struct dentry *dentry, unsigned long time) time 46 fs/cifs/cifsfs.h dentry->d_fsdata = (void *) time; time 1418 fs/cifs/cifsglob.h unsigned long time; /* jiffies of last update of inode */ time 709 fs/cifs/cifspdu.h __le64 time; time 4158 fs/cifs/cifssmb.c __u32 time = le32_to_cpu(pSMBr->last_write_time); time 4164 fs/cifs/cifssmb.c ts.tv_sec = time; time 748 fs/cifs/dir.c CIFS_I(inode)->time = 0; /* force reval */ time 185 fs/cifs/inode.c cifs_i->time = 0; time 187 fs/cifs/inode.c cifs_i->time = jiffies; time 417 fs/cifs/inode.c CIFS_I(*pinode)->time = 0; /* force reval */ time 425 fs/cifs/inode.c CIFS_I(*pinode)->time = 0; /* force reval */ time 701 fs/cifs/inode.c CIFS_I(inode)->time = 0; time 757 fs/cifs/inode.c CIFS_I(*inode)->time != 0) { time 938 fs/cifs/inode.c CIFS_I(*inode)->time = 0; /* force reval */ time 946 fs/cifs/inode.c CIFS_I(*inode)->time = 0; /* force reval */ time 1429 fs/cifs/inode.c cifs_inode->time = 0; /* will force revalidate to get info time 1435 fs/cifs/inode.c CIFS_I(dir)->time = 0; /* force revalidate of dir as well */ time 1644 fs/cifs/inode.c CIFS_I(inode)->time = 0; time 1699 fs/cifs/inode.c cifsInode->time = 0; time 1706 fs/cifs/inode.c cifsInode->time = 0; time 1883 fs/cifs/inode.c CIFS_I(source_dir)->time = CIFS_I(target_dir)->time = 0; time 1903 fs/cifs/inode.c if (cifs_i->time == 0) time 1915 fs/cifs/inode.c if (!time_in_range(jiffies, cifs_i->time, time 1916 fs/cifs/inode.c cifs_i->time + cifs_sb->actimeo)) time 2198 fs/cifs/inode.c cifs_i->time = 0; time 2410 fs/cifs/inode.c cifsInode->time = 0; time 587 fs/cifs/link.c cifsInode->time = 0; time 951 fs/cifs/netmisc.c u16 time = le16_to_cpu(le_time); time 952 fs/cifs/netmisc.c SMB_TIME *st = (SMB_TIME *)&time; time 955 fs/cifs/netmisc.c cifs_dbg(FYI, "date %d time %d\n", date, time); time 541 fs/cifs/readdir.c if (cifsInfo->time == 0) time 116 fs/cifs/xattr.c CIFS_I(inode)->time = 0; time 291 fs/coredump.c time64_t time; time 293 fs/coredump.c time = ktime_get_real_seconds(); time 294 fs/coredump.c err = cn_printf(cn, "%lld", time); time 837 fs/ext4/ext4.h static inline __le32 ext4_encode_extra_time(struct timespec64 *time) time 839 fs/ext4/ext4.h u32 extra =((time->tv_sec - (s32)time->tv_sec) >> 32) & EXT4_EPOCH_MASK; time 840 fs/ext4/ext4.h return cpu_to_le32(extra | (time->tv_nsec << EXT4_EPOCH_BITS)); time 843 fs/ext4/ext4.h static inline void ext4_decode_extra_time(struct timespec64 *time, time 847 fs/ext4/ext4.h time->tv_sec += (u64)(le32_to_cpu(extra) & EXT4_EPOCH_MASK) << 32; time 848 fs/ext4/ext4.h time->tv_nsec = (le32_to_cpu(extra) & EXT4_NSEC_MASK) >> EXT4_EPOCH_BITS; time 1144 fs/fat/dir.c __le16 date, time; time 1159 fs/fat/dir.c fat_time_unix2fat(sbi, ts, &time, &date, &time_cs); time 1169 fs/fat/dir.c de[0].time = de[1].time = time; time 1173 fs/fat/dir.c de[0].ctime = de[1].ctime = time; time 446 fs/fat/fat.h __le16 *time, __le16 *date, u8 *time_cs); time 567 fs/fat/inode.c fat_time_fat2unix(sbi, &inode->i_mtime, de->time, de->date, 0); time 886 fs/fat/inode.c fat_time_unix2fat(sbi, &inode->i_mtime, &raw_entry->time, time 201 fs/fat/misc.c u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); time 215 fs/fat/misc.c second = (time & 0x1f) << 1; time 216 fs/fat/misc.c second += ((time >> 5) & 0x3f) * SECS_PER_MIN; time 217 fs/fat/misc.c second += (time >> 11) * SECS_PER_HOUR; time 235 fs/fat/misc.c __le16 *time, __le16 *date, u8 *time_cs) time 242 fs/fat/misc.c *time = 0; time 249 fs/fat/misc.c *time = cpu_to_le16((23 << 11) | (59 << 5) | 29); time 263 fs/fat/misc.c *time = cpu_to_le16(tm.tm_hour << 11 | tm.tm_min << 5 | tm.tm_sec); time 233 fs/fat/namei_msdos.c __le16 time, date; time 241 fs/fat/namei_msdos.c fat_time_unix2fat(sbi, ts, &time, &date, NULL); time 245 fs/fat/namei_msdos.c de.time = time; time 591 fs/fat/namei_vfat.c __le16 time, date; time 645 fs/fat/namei_vfat.c fat_time_unix2fat(sbi, ts, &time, &date, &time_cs); time 646 fs/fat/namei_vfat.c de->time = de->ctime = time; time 28 fs/fuse/dir.c static inline void __fuse_dentry_settime(struct dentry *entry, u64 time) time 30 fs/fuse/dir.c entry->d_fsdata = (void *) time; time 40 fs/fuse/dir.c u64 time; time 44 fs/fuse/dir.c static inline void __fuse_dentry_settime(struct dentry *dentry, u64 time) time 46 fs/fuse/dir.c ((union fuse_dentry *) dentry->d_fsdata)->time = time; time 51 fs/fuse/dir.c return ((union fuse_dentry *) entry->d_fsdata)->time; time 55 fs/fuse/dir.c static void fuse_dentry_settime(struct dentry *dentry, u64 time) time 58 fs/fuse/dir.c bool delete = !time && fc->delete_stale; time 73 fs/fuse/dir.c __fuse_dentry_settime(dentry, time); time 255 fs/hfs/hfs_fs.h #define hfs_m_to_utime(time) (struct timespec){ .tv_sec = __hfs_m_to_utime(time) } time 256 fs/hfs/hfs_fs.h #define hfs_u_to_mtime(time) __hfs_u_to_mtime((time).tv_sec) time 1656 fs/inode.c int generic_update_time(struct inode *inode, struct timespec64 *time, int flags) time 1662 fs/inode.c inode->i_atime = *time; time 1666 fs/inode.c inode->i_ctime = *time; time 1668 fs/inode.c inode->i_mtime = *time; time 1684 fs/inode.c static int update_time(struct inode *inode, struct timespec64 *time, int flags) time 1691 fs/inode.c return update_time(inode, time, flags); time 425 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, time 431 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, time 437 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, time 443 fs/isofs/rock.c iso_date(rr->u.TF.times[cnt++].time, time 69 fs/isofs/rock.h __u8 time[7]; /* actually 6 unsigned, 1 signed */ time 410 fs/jffs2/nodelist.h int namelen, struct jffs2_inode_info *dead_f, uint32_t time); time 412 fs/jffs2/nodelist.h uint8_t type, const char *name, int namelen, uint32_t time); time 549 fs/jffs2/write.c uint32_t time) time 581 fs/jffs2/write.c rd->mctime = cpu_to_je32(time); time 669 fs/jffs2/write.c int jffs2_do_link (struct jffs2_sb_info *c, struct jffs2_inode_info *dir_f, uint32_t ino, uint8_t type, const char *name, int namelen, uint32_t time) time 698 fs/jffs2/write.c rd->mctime = cpu_to_je32(time); time 1717 fs/locks.c void lease_get_mtime(struct inode *inode, struct timespec64 *time) time 1734 fs/locks.c *time = current_time(inode); time 630 fs/nfs/callback_xdr.c static __be32 encode_attr_time(struct xdr_stream *xdr, const struct timespec *time) time 637 fs/nfs/callback_xdr.c p = xdr_encode_hyper(p, time->tv_sec); time 638 fs/nfs/callback_xdr.c *p = htonl(time->tv_nsec); time 642 fs/nfs/callback_xdr.c static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) time 646 fs/nfs/callback_xdr.c return encode_attr_time(xdr,time); time 649 fs/nfs/callback_xdr.c static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) time 653 fs/nfs/callback_xdr.c return encode_attr_time(xdr,time); time 4078 fs/nfs/nfs4xdr.c static int decode_attr_time(struct xdr_stream *xdr, struct timespec *time) time 4085 fs/nfs/nfs4xdr.c xdr_decode_nfstime4(p, time); time 4089 fs/nfs/nfs4xdr.c static int decode_attr_time_access(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) time 4093 fs/nfs/nfs4xdr.c time->tv_sec = 0; time 4094 fs/nfs/nfs4xdr.c time->tv_nsec = 0; time 4098 fs/nfs/nfs4xdr.c status = decode_attr_time(xdr, time); time 4103 fs/nfs/nfs4xdr.c dprintk("%s: atime=%ld\n", __func__, (long)time->tv_sec); time 4107 fs/nfs/nfs4xdr.c static int decode_attr_time_metadata(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) time 4111 fs/nfs/nfs4xdr.c time->tv_sec = 0; time 4112 fs/nfs/nfs4xdr.c time->tv_nsec = 0; time 4116 fs/nfs/nfs4xdr.c status = decode_attr_time(xdr, time); time 4121 fs/nfs/nfs4xdr.c dprintk("%s: ctime=%ld\n", __func__, (long)time->tv_sec); time 4126 fs/nfs/nfs4xdr.c struct timespec *time) time 4130 fs/nfs/nfs4xdr.c time->tv_sec = 0; time 4131 fs/nfs/nfs4xdr.c time->tv_nsec = 0; time 4135 fs/nfs/nfs4xdr.c status = decode_attr_time(xdr, time); time 4138 fs/nfs/nfs4xdr.c dprintk("%s: time_delta=%ld %ld\n", __func__, (long)time->tv_sec, time 4139 fs/nfs/nfs4xdr.c (long)time->tv_nsec); time 4189 fs/nfs/nfs4xdr.c static int decode_attr_time_modify(struct xdr_stream *xdr, uint32_t *bitmap, struct timespec *time) time 4193 fs/nfs/nfs4xdr.c time->tv_sec = 0; time 4194 fs/nfs/nfs4xdr.c time->tv_nsec = 0; time 4198 fs/nfs/nfs4xdr.c status = decode_attr_time(xdr, time); time 4203 fs/nfs/nfs4xdr.c dprintk("%s: mtime=%ld\n", __func__, (long)time->tv_sec); time 35 fs/nfsd/nfs3xdr.c encode_time3(__be32 *p, struct timespec *time) time 37 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) time->tv_sec); *p++ = htonl(time->tv_nsec); time 42 fs/nfsd/nfs3xdr.c decode_time3(__be32 *p, struct timespec *time) time 44 fs/nfsd/nfs3xdr.c time->tv_sec = ntohl(*p++); time 45 fs/nfsd/nfs3xdr.c time->tv_nsec = ntohl(*p++); time 333 fs/nfsd/nfs3xdr.c struct timespec time; time 334 fs/nfsd/nfs3xdr.c p = decode_time3(p, &time); time 335 fs/nfsd/nfs3xdr.c args->guardtime = time.tv_sec; time 959 fs/nfsd/nfsctl.c time_t *time, struct nfsd_net *nn) time 984 fs/nfsd/nfsctl.c *time = i; time 987 fs/nfsd/nfsctl.c return scnprintf(buf, SIMPLE_TRANSACTION_LIMIT, "%ld\n", *time); time 991 fs/nfsd/nfsctl.c time_t *time, struct nfsd_net *nn) time 996 fs/nfsd/nfsctl.c rv = __nfsd4_write_time(file, buf, size, time, nn); time 135 fs/nfsd/nfsxdr.c struct timespec64 time; time 176 fs/nfsd/nfsxdr.c time = stat->mtime; time 177 fs/nfsd/nfsxdr.c lease_get_mtime(d_inode(dentry), &time); time 178 fs/nfsd/nfsxdr.c *p++ = htonl((u32) time.tv_sec); time 179 fs/nfsd/nfsxdr.c *p++ = htonl(time.tv_nsec ? time.tv_nsec / 1000 : 0); time 74 fs/ntfs/time.h static inline struct timespec64 ntfs2utc(const sle64 time) time 79 fs/ntfs/time.h u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); time 170 fs/ntfs/usnjrnl.h /*0x20*/sle64 time; /* Time when this record was created. */ time 1887 fs/ocfs2/journal.c unsigned long time; time 1889 fs/ocfs2/journal.c get_random_bytes(&time, sizeof(time)); time 1890 fs/ocfs2/journal.c time = ORPHAN_SCAN_SCHEDULE_TIMEOUT + (time % 5000); time 1891 fs/ocfs2/journal.c return msecs_to_jiffies(time); time 98 fs/orangefs/dcache.c unsigned long time = (unsigned long) dentry->d_fsdata; time 100 fs/orangefs/dcache.c if (time_before(jiffies, time)) time 986 fs/orangefs/inode.c int orangefs_update_time(struct inode *inode, struct timespec64 *time, int flags) time 991 fs/orangefs/inode.c generic_update_time(inode, time, flags); time 487 fs/orangefs/orangefs-kernel.h unsigned long time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; time 489 fs/orangefs/orangefs-kernel.h dentry->d_fsdata = (void *) time; time 503 fs/proc/base.c lr->count, lr->time, lr->max); time 341 fs/pstore/inode.c if (record->time.tv_sec) time 342 fs/pstore/inode.c inode->i_mtime = inode->i_ctime = record->time; time 381 fs/pstore/platform.c record->time = ns_to_timespec64(ktime_get_real_fast_ns()); time 138 fs/pstore/ram.c static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, time 145 fs/pstore/ram.c (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type, time 147 fs/pstore/ram.c time->tv_nsec *= 1000; time 153 fs/pstore/ram.c (time64_t *)&time->tv_sec, &time->tv_nsec, time 155 fs/pstore/ram.c time->tv_nsec *= 1000; time 158 fs/pstore/ram.c time->tv_sec = 0; time 159 fs/pstore/ram.c time->tv_nsec = 0; time 236 fs/pstore/ram.c record->time.tv_sec = 0; time 237 fs/pstore/ram.c record->time.tv_nsec = 0; time 247 fs/pstore/ram.c &record->time, time 341 fs/pstore/ram.c (time64_t)record->time.tv_sec, time 342 fs/pstore/ram.c record->time.tv_nsec / 1000, time 38 fs/sysv/inode.c u32 time = (u32)ktime_get_real_seconds(), old_time; time 50 fs/sysv/inode.c *sbi->s_sb_state = cpu_to_fs32(sbi, 0x7c269d38u - time); time 51 fs/sysv/inode.c *sbi->s_sb_time = cpu_to_fs32(sbi, time); time 1264 fs/ubifs/dir.c struct timespec64 time; time 1350 fs/ubifs/dir.c time = current_time(old_dir); time 1351 fs/ubifs/dir.c old_inode->i_ctime = time; time 1380 fs/ubifs/dir.c old_dir->i_mtime = old_dir->i_ctime = time; time 1381 fs/ubifs/dir.c new_dir->i_mtime = new_dir->i_ctime = time; time 1398 fs/ubifs/dir.c new_inode->i_ctime = time; time 1497 fs/ubifs/dir.c struct timespec64 time; time 1515 fs/ubifs/dir.c time = current_time(old_dir); time 1516 fs/ubifs/dir.c fst_inode->i_ctime = time; time 1517 fs/ubifs/dir.c snd_inode->i_ctime = time; time 1518 fs/ubifs/dir.c old_dir->i_mtime = old_dir->i_ctime = time; time 1519 fs/ubifs/dir.c new_dir->i_mtime = new_dir->i_ctime = time; time 1371 fs/ubifs/file.c int ubifs_update_time(struct inode *inode, struct timespec64 *time, time 1381 fs/ubifs/file.c return generic_update_time(inode, time, flags); time 1389 fs/ubifs/file.c inode->i_atime = *time; time 1391 fs/ubifs/file.c inode->i_ctime = *time; time 1393 fs/ubifs/file.c inode->i_mtime = *time; time 62 fs/ubifs/shrinker.c time64_t time = ktime_get_seconds(); time 110 fs/ubifs/shrinker.c abs(time - znode->time) >= age) { time 1175 fs/ubifs/tnc.c time64_t time = ktime_get_seconds(); time 1187 fs/ubifs/tnc.c znode->time = time; time 1202 fs/ubifs/tnc.c znode->time = time; time 1311 fs/ubifs/tnc.c time64_t time = ktime_get_seconds(); time 1326 fs/ubifs/tnc.c znode->time = time; time 1341 fs/ubifs/tnc.c znode->time = time; time 441 fs/ubifs/tnc_misc.c znode->time = ktime_get_seconds(); time 781 fs/ubifs/ubifs.h time64_t time; time 1992 fs/ubifs/ubifs.h int ubifs_update_time(struct inode *inode, struct timespec64 *time, int flags); time 1670 fs/udf/inode.c static void udf_adjust_time(struct udf_inode_info *iinfo, struct timespec64 time) time 1672 fs/udf/inode.c if (iinfo->i_crtime.tv_sec > time.tv_sec || time 1673 fs/udf/inode.c (iinfo->i_crtime.tv_sec == time.tv_sec && time 1674 fs/udf/inode.c iinfo->i_crtime.tv_nsec > time.tv_nsec)) time 1675 fs/udf/inode.c iinfo->i_crtime = time; time 238 include/acpi/actypes.h #define acpi_os_acquire_mutex(handle,time) acpi_os_wait_semaphore (handle, 1, time) time 118 include/drm/drm_vblank.h ktime_t time; time 130 include/keys/rxrpc-type.h static inline u32 rxrpc_time64_to_u32(time64_t time) time 132 include/keys/rxrpc-type.h if (time < 0) time 135 include/keys/rxrpc-type.h if (time > UINT_MAX) time 138 include/keys/rxrpc-type.h return (u32)time; time 144 include/keys/rxrpc-type.h static inline time64_t rxrpc_u32_to_time64(u32 time) time 146 include/keys/rxrpc-type.h return (time64_t)time; time 43 include/linux/apm-emulation.h int time; time 116 include/linux/blk_types.h static inline u64 __bio_issue_time(u64 time) time 118 include/linux/blk_types.h return time & BIO_ISSUE_TIME_MASK; time 35 include/linux/cpuidle.h unsigned long long time; /* in US */ time 54 include/linux/dim.h ktime_t time; time 250 include/linux/dim.h s->time = ktime_get(); time 1168 include/linux/fs.h extern void lease_get_mtime(struct inode *, struct timespec64 *time); time 1289 include/linux/fs.h struct timespec64 *time) time 198 include/linux/gameport.h static inline int gameport_time(struct gameport *gameport, int time) time 200 include/linux/gameport.h return (time * gameport->speed) / 1000; time 239 include/linux/hrtimer.h static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time) time 241 include/linux/hrtimer.h timer->node.expires = time; time 242 include/linux/hrtimer.h timer->_softexpires = time; time 245 include/linux/hrtimer.h static inline void hrtimer_set_expires_range(struct hrtimer *timer, ktime_t time, ktime_t delta) time 247 include/linux/hrtimer.h timer->_softexpires = time; time 248 include/linux/hrtimer.h timer->node.expires = ktime_add_safe(time, delta); time 251 include/linux/hrtimer.h static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta) time 253 include/linux/hrtimer.h timer->_softexpires = time; time 254 include/linux/hrtimer.h timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); time 263 include/linux/hrtimer.h static inline void hrtimer_add_expires(struct hrtimer *timer, ktime_t time) time 265 include/linux/hrtimer.h timer->node.expires = ktime_add_safe(timer->node.expires, time); time 266 include/linux/hrtimer.h timer->_softexpires = ktime_add_safe(timer->_softexpires, time); time 24 include/linux/latencytop.h unsigned long time; time 24 include/linux/lp.h #define LP_TIME(minor) lp_table[(minor)].time /* wait time */ time 50 include/linux/lp.h unsigned int time; time 126 include/linux/mc146818rtc.h unsigned int mc146818_get_time(struct rtc_time *time); time 127 include/linux/mc146818rtc.h int mc146818_set_time(struct rtc_time *time); time 1400 include/linux/mlx4/device.h int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time); time 153 include/linux/parport.h unsigned long int time; time 390 include/linux/parport.h unsigned long int timeslip = (jiffies - dev->time); time 408 include/linux/parport.h unsigned long int timeslip = (jiffies - dev->time); time 778 include/linux/perf_event.h u64 time; time 853 include/linux/perf_event.h u64 time; time 955 include/linux/perf_event.h u64 time; time 2856 include/linux/platform_data/cros_ec_commands.h uint32_t time; time 2860 include/linux/platform_data/cros_ec_commands.h uint32_t time; time 73 include/linux/pstore.h struct timespec64 time; time 34 include/linux/restart_block.h u64 time; time 25 include/linux/rtc.h extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm); time 37 include/linux/rtc.h static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) time 39 include/linux/rtc.h rtc_time64_to_tm(time, tm); time 42 include/linux/rtc.h static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) time 44 include/linux/rtc.h *time = rtc_tm_to_time64(tm); time 18 include/linux/sched/cpufreq.h void (*func)(struct update_util_data *data, u64 time, unsigned int flags); time 22 include/linux/sched/cpufreq.h void (*func)(struct update_util_data *data, u64 time, time 276 include/linux/sunrpc/cache.h static inline int get_time(char **bpp, time_t *time) time 290 include/linux/sunrpc/cache.h *time = (time_t)ll; time 364 include/linux/tcp.h u64 time; time 371 include/linux/tcp.h u64 time; time 49 include/linux/time32.h struct old_timeval32 time; time 811 include/net/cfg80211.h u64 time; time 231 include/net/dst.h static inline void dst_use_noref(struct dst_entry *dst, unsigned long time) time 233 include/net/dst.h if (unlikely(time != dst->lastuse)) { time 235 include/net/dst.h dst->lastuse = time; time 239 include/net/dst.h static inline void dst_hold_and_use(struct dst_entry *dst, unsigned long time) time 242 include/net/dst.h dst_use_noref(dst, time); time 44 include/net/smc.h u64 time; time 203 include/scsi/libfcoe.h unsigned long time; time 233 include/scsi/libfcoe.h unsigned long time; time 429 include/scsi/scsi_transport_iscsi.h extern int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time); time 163 include/sound/emux_synth.h unsigned int time; /* An allocation time */ time 272 include/sound/opl3.h unsigned int time; /* An allocation time */ time 43 include/sound/sof/info.h uint8_t time[10]; time 266 include/sound/vx_core.h int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time); time 267 include/sound/vx_core.h #define vx_check_isr(chip,mask,bit,time) snd_vx_check_reg_bit(chip, VX_ISR, mask, bit, time) time 48 include/trace/events/mce.h __entry->walltime = m->time; time 104 include/uapi/linux/blktrace_api.h __u64 time; /* in nanoseconds */ time 30 include/uapi/linux/input.h struct timeval time; time 31 include/uapi/linux/input.h #define input_event_sec time.tv_sec time 32 include/uapi/linux/input.h #define input_event_usec time.tv_usec time 45 include/uapi/linux/joystick.h __u32 time; /* event timestamp in milliseconds */ time 181 include/uapi/linux/msdos_fs.h __le16 time,date,start;/* time, date and first cluster */ time 40 include/uapi/linux/rtc.h struct rtc_time time; /* time the alarm is set to */ time 169 include/uapi/linux/scc.h unsigned int time; time 76 include/uapi/linux/timex.h struct timeval time; /* (read only, except for ADJ_SETOFFSET) */ time 114 include/uapi/linux/timex.h struct __kernel_timex_timeval time; /* (read only, except for ADJ_SETOFFSET) */ time 242 include/uapi/sound/asequencer.h struct snd_seq_real_time time; time 256 include/uapi/sound/asequencer.h union snd_seq_timestamp time; /* time */ time 279 include/uapi/sound/asequencer.h union snd_seq_timestamp time; /* schedule time */ time 292 include/uapi/sound/asequencer.h union snd_seq_timestamp time; time 395 include/uapi/sound/asequencer.h union snd_seq_timestamp time; time 495 include/uapi/sound/asequencer.h struct snd_seq_real_time time; /* current time */ time 155 include/xen/interface/platform.h } time; time 92 include/xen/interface/vcpu.h uint64_t time[4]; time 343 include/xen/interface/xen-mca.h __u64 time; /* wall time_t when error was detected */ time 552 include/xen/interface/xen.h struct pvclock_vcpu_time_info time; time 645 ipc/mqueue.c signed long time; time 653 ipc/mqueue.c time = schedule_hrtimeout_range_clock(timeout, 0, time 669 ipc/mqueue.c if (time == 0) { time 77 kernel/cgroup/cpuset.c time64_t time; /* clock (secs) when val computed */ time 2056 kernel/cgroup/cpuset.c fmp->time = 0; time 2067 kernel/cgroup/cpuset.c ticks = now - fmp->time; time 2075 kernel/cgroup/cpuset.c fmp->time = now; time 715 kernel/events/core.c return t->time; time 727 kernel/events/core.c info->time += now - info->timestamp; time 1458 kernel/events/core.c ctx->time += now - ctx->timestamp; time 1469 kernel/events/core.c return ctx ? ctx->time : 0; time 1785 kernel/events/core.c size += sizeof(data->time); time 6206 kernel/events/core.c data->time = perf_event_clock(event); time 6237 kernel/events/core.c perf_output_put(handle, data->time); time 6378 kernel/events/core.c perf_output_put(handle, data->time); time 7029 kernel/events/core.c u64 time; time 7072 kernel/events/core.c task_event->event_id.time = perf_event_clock(event); time 7866 kernel/events/core.c u64 time; time 7875 kernel/events/core.c .time = perf_event_clock(event), time 9758 kernel/events/core.c local64_set(&event->hw.prev_count, event->ctx->time); time 9765 kernel/events/core.c task_clock_event_update(event, event->ctx->time); time 9786 kernel/events/core.c u64 time = event->ctx->time + delta; time 9788 kernel/events/core.c task_clock_event_update(event, time); time 489 kernel/futex.c futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, time 492 kernel/futex.c if (!time) time 502 kernel/futex.c hrtimer_set_expires_range_ns(&timeout->timer, *time, range_ns); time 2853 kernel/futex.c restart->futex.time = *abs_time; time 2874 kernel/futex.c t = restart->futex.time; time 2894 kernel/futex.c ktime_t *time, int trylock) time 2910 kernel/futex.c to = futex_setup_timer(time, &timeout, FLAGS_CLOCKRT, 0); time 119 kernel/latencytop.c latency_record[i].time += lat->time; time 120 kernel/latencytop.c if (lat->time > latency_record[i].max) time 121 kernel/latencytop.c latency_record[i].max = lat->time; time 168 kernel/latencytop.c lat.time = usecs; time 196 kernel/latencytop.c mylat->time += lat.time; time 197 kernel/latencytop.c if (lat.time > mylat->max) time 198 kernel/latencytop.c mylat->max = lat.time; time 229 kernel/latencytop.c lr->count, lr->time, lr->max); time 202 kernel/locking/lockdep.c static void lock_time_inc(struct lock_time *lt, u64 time) time 204 kernel/locking/lockdep.c if (time > lt->max) time 205 kernel/locking/lockdep.c lt->max = time; time 207 kernel/locking/lockdep.c if (time < lt->min || !lt->nr) time 208 kernel/locking/lockdep.c lt->min = time; time 210 kernel/locking/lockdep.c lt->total += time; time 389 kernel/locking/lockdep_proc.c static void seq_time(struct seq_file *m, s64 time) time 393 kernel/locking/lockdep_proc.c snprint_time(num, sizeof(num), time); time 79 kernel/power/suspend_test.c status = rtc_read_time(rtc, &alm.time); time 84 kernel/power/suspend_test.c rtc_tm_to_time(&alm.time, &now); time 87 kernel/power/suspend_test.c rtc_time_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time); time 1288 kernel/printk/printk.c module_param_named(time, printk_time, bool, S_IRUGO | S_IWUSR); time 1317 kernel/printk/printk.c bool time, char *buf) time 1324 kernel/printk/printk.c if (time) time 1329 kernel/printk/printk.c if (IS_ENABLED(CONFIG_PRINTK_CALLER) || time) { time 1338 kernel/printk/printk.c bool time, char *buf, size_t size) time 1344 kernel/printk/printk.c const size_t prefix_len = print_prefix(msg, syslog, time, prefix); time 1454 kernel/printk/printk.c bool time; time 1460 kernel/printk/printk.c time = printk_time; time 1471 kernel/printk/printk.c len += msg_print_text(msg, true, time, NULL, 0); time 1482 kernel/printk/printk.c len -= msg_print_text(msg, true, time, NULL, 0); time 1493 kernel/printk/printk.c int textlen = msg_print_text(msg, true, time, text, time 1619 kernel/printk/printk.c bool time = syslog_partial ? syslog_time : printk_time; time 1624 kernel/printk/printk.c error += msg_print_text(msg, true, time, NULL, time 1626 kernel/printk/printk.c time = printk_time; time 2120 kernel/printk/printk.c bool time, char *buf, size_t size) { return 0; } time 3289 kernel/printk/printk.c bool time = printk_time; time 3313 kernel/printk/printk.c l += msg_print_text(msg, true, time, NULL, 0); time 3324 kernel/printk/printk.c l -= msg_print_text(msg, true, time, NULL, 0); time 3337 kernel/printk/printk.c l += msg_print_text(msg, syslog, time, buf + l, size - l); time 283 kernel/sched/core.c ktime_t time; time 291 kernel/sched/core.c time = ktime_add_ns(timer->base->get_time(), delta); time 293 kernel/sched/core.c hrtimer_set_expires(timer, time); time 33 kernel/sched/cpufreq.c void (*func)(struct update_util_data *data, u64 time, time 69 kernel/sched/cpufreq_schedutil.c static bool sugov_should_update_freq(struct sugov_policy *sg_policy, u64 time) time 97 kernel/sched/cpufreq_schedutil.c delta_ns = time - sg_policy->last_freq_update_time; time 102 kernel/sched/cpufreq_schedutil.c static bool sugov_update_next_freq(struct sugov_policy *sg_policy, u64 time, time 109 kernel/sched/cpufreq_schedutil.c sg_policy->last_freq_update_time = time; time 114 kernel/sched/cpufreq_schedutil.c static void sugov_fast_switch(struct sugov_policy *sg_policy, u64 time, time 120 kernel/sched/cpufreq_schedutil.c if (!sugov_update_next_freq(sg_policy, time, next_freq)) time 135 kernel/sched/cpufreq_schedutil.c static void sugov_deferred_update(struct sugov_policy *sg_policy, u64 time, time 138 kernel/sched/cpufreq_schedutil.c if (!sugov_update_next_freq(sg_policy, time, next_freq)) time 315 kernel/sched/cpufreq_schedutil.c static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, time 318 kernel/sched/cpufreq_schedutil.c s64 delta_ns = time - sg_cpu->last_update; time 344 kernel/sched/cpufreq_schedutil.c static void sugov_iowait_boost(struct sugov_cpu *sg_cpu, u64 time, time 351 kernel/sched/cpufreq_schedutil.c sugov_iowait_reset(sg_cpu, time, set_iowait_boost)) time 393 kernel/sched/cpufreq_schedutil.c static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, time 403 kernel/sched/cpufreq_schedutil.c if (sugov_iowait_reset(sg_cpu, time, false)) time 450 kernel/sched/cpufreq_schedutil.c static void sugov_update_single(struct update_util_data *hook, u64 time, time 459 kernel/sched/cpufreq_schedutil.c sugov_iowait_boost(sg_cpu, time, flags); time 460 kernel/sched/cpufreq_schedutil.c sg_cpu->last_update = time; time 464 kernel/sched/cpufreq_schedutil.c if (!sugov_should_update_freq(sg_policy, time)) time 472 kernel/sched/cpufreq_schedutil.c util = sugov_iowait_apply(sg_cpu, time, util, max); time 491 kernel/sched/cpufreq_schedutil.c sugov_fast_switch(sg_policy, time, next_f); time 494 kernel/sched/cpufreq_schedutil.c sugov_deferred_update(sg_policy, time, next_f); time 499 kernel/sched/cpufreq_schedutil.c static unsigned int sugov_next_freq_shared(struct sugov_cpu *sg_cpu, u64 time) time 512 kernel/sched/cpufreq_schedutil.c j_util = sugov_iowait_apply(j_sg_cpu, time, j_util, j_max); time 524 kernel/sched/cpufreq_schedutil.c sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags) time 532 kernel/sched/cpufreq_schedutil.c sugov_iowait_boost(sg_cpu, time, flags); time 533 kernel/sched/cpufreq_schedutil.c sg_cpu->last_update = time; time 537 kernel/sched/cpufreq_schedutil.c if (sugov_should_update_freq(sg_policy, time)) { time 538 kernel/sched/cpufreq_schedutil.c next_f = sugov_next_freq_shared(sg_cpu, time); time 541 kernel/sched/cpufreq_schedutil.c sugov_fast_switch(sg_policy, time, next_f); time 543 kernel/sched/cpufreq_schedutil.c sugov_deferred_update(sg_policy, time, next_f); time 5963 kernel/sched/fair.c u64 time, cost; time 5990 kernel/sched/fair.c time = cpu_clock(this); time 6003 kernel/sched/fair.c time = cpu_clock(this) - time; time 6005 kernel/sched/fair.c delta = (s64)(time - cost) / 8; time 283 kernel/sched/psi.c u64 time, u64 period) time 295 kernel/sched/psi.c pct = div_u64(time * 100, period); time 774 kernel/time/ntp.c txc->time.tv_sec = ts->tv_sec; time 775 kernel/time/ntp.c txc->time.tv_usec = ts->tv_nsec; time 777 kernel/time/ntp.c txc->time.tv_usec = ts->tv_nsec / NSEC_PER_USEC; time 784 kernel/time/ntp.c txc->time.tv_sec--; time 789 kernel/time/ntp.c txc->time.tv_sec++; time 807 kernel/time/posix-cpu-timers.c static bool check_rlimit(u64 time, u64 limit, int signo, bool rt, bool hard) time 809 kernel/time/posix-cpu-timers.c if (time < limit) time 62 kernel/time/time.c SYSCALL_DEFINE1(time, time_t __user *, tloc) time 305 kernel/time/time.c txc->time.tv_sec = tx32.time.tv_sec; time 306 kernel/time/time.c txc->time.tv_usec = tx32.time.tv_usec; time 334 kernel/time/time.c tx32.time.tv_sec = txc->time.tv_sec; time 335 kernel/time/time.c tx32.time.tv_usec = txc->time.tv_usec; time 2283 kernel/time/timekeeping.c if (txc->time.tv_usec < 0) time 2287 kernel/time/timekeeping.c if (txc->time.tv_usec >= NSEC_PER_SEC) time 2290 kernel/time/timekeeping.c if (txc->time.tv_usec >= USEC_PER_SEC) time 2329 kernel/time/timekeeping.c delta.tv_sec = txc->time.tv_sec; time 2330 kernel/time/timekeeping.c delta.tv_nsec = txc->time.tv_usec; time 96 kernel/trace/blktrace.c t->time = ktime_to_ns(ktime_get()); time 278 kernel/trace/blktrace.c t->time = ktime_to_ns(ktime_get()); time 1550 kernel/trace/blktrace.c .time = iter->ts, time 394 kernel/trace/ftrace.c unsigned long long time; time 471 kernel/trace/ftrace.c if (a->time < b->time) time 473 kernel/trace/ftrace.c if (a->time > b->time) time 527 kernel/trace/ftrace.c avg = div64_ul(rec->time, rec->counter); time 547 kernel/trace/ftrace.c rec->time * rec->time; time 558 kernel/trace/ftrace.c trace_print_graph_duration(rec->time, &s); time 848 kernel/trace/ftrace.c rec->time += calltime; time 26 kernel/trace/preemptirq_delay_test.c static void busy_wait(ulong time) time 34 kernel/trace/preemptirq_delay_test.c } while ((end - start) < (time * 1000)); time 753 kernel/trace/ring_buffer.c u64 time; time 756 kernel/trace/ring_buffer.c time = rb_time_stamp(buffer); time 759 kernel/trace/ring_buffer.c return time; time 233 kernel/trace/ring_buffer_benchmark.c unsigned long long time; time 297 kernel/trace/ring_buffer_benchmark.c time = ktime_us_delta(end_time, start_time); time 325 kernel/trace/ring_buffer_benchmark.c trace_printk("Time: %lld (usecs)\n", time); time 338 kernel/trace/ring_buffer_benchmark.c do_div(time, USEC_PER_MSEC); time 339 kernel/trace/ring_buffer_benchmark.c if (time) time 340 kernel/trace/ring_buffer_benchmark.c hit /= (long)time; time 353 kernel/trace/ring_buffer_benchmark.c if (time) time 354 kernel/trace/ring_buffer_benchmark.c missed /= (long)time; time 62 kernel/trace/trace_functions_graph.c { TRACER_OPT(sleep-time, TRACE_GRAPH_SLEEP_TIME) }, time 66 kernel/trace/trace_functions_graph.c { TRACER_OPT(graph-time, TRACE_GRAPH_GRAPH_TIME) }, time 193 kernel/trace/trace_functions_graph.c u64 time = trace_clock_local(); time 201 kernel/trace/trace_functions_graph.c .calltime = time, time 202 kernel/trace/trace_functions_graph.c .rettime = time, time 119 kernel/tsacct.c u64 time, delta; time 124 kernel/tsacct.c time = stime + utime; time 125 kernel/tsacct.c delta = time - tsk->acct_timexpd; time 130 kernel/tsacct.c tsk->acct_timexpd = time; time 61 lib/dim/dim.c u32 delta_us = ktime_us_delta(end->time, start->time); time 39 lib/find_bit_benchmark.c ktime_t time; time 41 lib/find_bit_benchmark.c time = ktime_get(); time 46 lib/find_bit_benchmark.c time = ktime_get() - time; time 47 lib/find_bit_benchmark.c pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); time 55 lib/find_bit_benchmark.c ktime_t time; time 57 lib/find_bit_benchmark.c time = ktime_get(); time 60 lib/find_bit_benchmark.c time = ktime_get() - time; time 61 lib/find_bit_benchmark.c pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); time 69 lib/find_bit_benchmark.c ktime_t time; time 71 lib/find_bit_benchmark.c time = ktime_get(); time 74 lib/find_bit_benchmark.c time = ktime_get() - time; time 75 lib/find_bit_benchmark.c pr_err("find_next_zero_bit: %18llu ns, %6ld iterations\n", time, cnt); time 83 lib/find_bit_benchmark.c ktime_t time; time 85 lib/find_bit_benchmark.c time = ktime_get(); time 93 lib/find_bit_benchmark.c time = ktime_get() - time; time 94 lib/find_bit_benchmark.c pr_err("find_last_bit: %18llu ns, %6ld iterations\n", time, cnt); time 103 lib/find_bit_benchmark.c ktime_t time; time 105 lib/find_bit_benchmark.c time = ktime_get(); time 108 lib/find_bit_benchmark.c time = ktime_get() - time; time 109 lib/find_bit_benchmark.c pr_err("find_next_and_bit: %18llu ns, %6ld iterations\n", time, cnt); time 66 lib/interval_tree_test.c cycles_t time1, time2, time; time 94 lib/interval_tree_test.c time = time2 - time1; time 96 lib/interval_tree_test.c time = div_u64(time, perf_loops); time 97 lib/interval_tree_test.c printk(" -> %llu cycles\n", (unsigned long long)time); time 116 lib/interval_tree_test.c time = time2 - time1; time 118 lib/interval_tree_test.c time = div_u64(time, search_loops); time 121 lib/interval_tree_test.c (unsigned long long)time, results); time 245 lib/rbtree_test.c cycles_t time1, time2, time; time 267 lib/rbtree_test.c time = time2 - time1; time 269 lib/rbtree_test.c time = div_u64(time, perf_loops); time 271 lib/rbtree_test.c (unsigned long long)time); time 283 lib/rbtree_test.c time = time2 - time1; time 285 lib/rbtree_test.c time = div_u64(time, perf_loops); time 287 lib/rbtree_test.c (unsigned long long)time); time 300 lib/rbtree_test.c time = time2 - time1; time 302 lib/rbtree_test.c time = div_u64(time, perf_loops); time 304 lib/rbtree_test.c (unsigned long long)time); time 312 lib/rbtree_test.c time = time2 - time1; time 314 lib/rbtree_test.c time = div_u64(time, perf_loops); time 316 lib/rbtree_test.c printk(" non-cached: %llu cycles\n", (unsigned long long)time); time 324 lib/rbtree_test.c time = time2 - time1; time 326 lib/rbtree_test.c time = div_u64(time, perf_loops); time 327 lib/rbtree_test.c printk(" cached: %llu cycles\n", (unsigned long long)time); time 360 lib/rbtree_test.c time = time2 - time1; time 362 lib/rbtree_test.c time = div_u64(time, perf_loops); time 363 lib/rbtree_test.c printk(" -> test 1 (latency of nnodes insert+delete): %llu cycles\n", (unsigned long long)time); time 375 lib/rbtree_test.c time = time2 - time1; time 377 lib/rbtree_test.c time = div_u64(time, perf_loops); time 378 lib/rbtree_test.c printk(" -> test 2 (latency of nnodes cached insert+delete): %llu cycles\n", (unsigned long long)time); time 289 lib/test_bitmap.c ktime_t time; time 301 lib/test_bitmap.c time = ktime_get(); time 304 lib/test_bitmap.c time = ktime_get() - time; time 307 lib/test_bitmap.c time = ktime_get(); time 309 lib/test_bitmap.c time = ktime_get() - time; time 328 lib/test_bitmap.c mode, i, ptest.in, time); time 722 lib/test_rhashtable.c s64 time; time 734 lib/test_rhashtable.c time = test_rhashtable(&ht, objs, entries); time 736 lib/test_rhashtable.c if (time < 0) { time 738 lib/test_rhashtable.c pr_warn("Test failed: return code %lld\n", time); time 742 lib/test_rhashtable.c total_time += time; time 351 lib/test_vmalloc.c u64 time; time 429 lib/test_vmalloc.c per_cpu_test_data[t->cpu][index].time = delta; time 526 lib/test_vmalloc.c per_cpu_test_data[cpu][i].time); time 167 lib/vdso/gettimeofday.c static __maybe_unused time_t __cvdso_time(time_t *time) time 172 lib/vdso/gettimeofday.c if (time) time 173 lib/vdso/gettimeofday.c *time = t; time 1178 net/atm/mpc.c entry->time = ktime_get_seconds(); time 120 net/atm/mpoa_caches.c entry->time = ktime_get_seconds(); time 238 net/atm/mpoa_caches.c if ((now - entry->time) > entry->ctrl_info.holding_time) { time 480 net/atm/mpoa_caches.c entry->time = ktime_get_seconds(); time 495 net/atm/mpoa_caches.c entry->time = ktime_get_seconds(); time 512 net/atm/mpoa_caches.c if ((now - entry->time) > entry->ctrl_info.holding_time) { time 20 net/atm/mpoa_caches.h time64_t time; time 57 net/atm/mpoa_caches.h time64_t time; time 153 net/atm/mpoa_proc.c unsigned long seconds_delta = now - in_entry->time; time 173 net/atm/mpoa_proc.c unsigned long seconds_delta = now - eg_entry->time; time 18 net/bpf/test_run.c u32 *retval, u32 *time) time 68 net/bpf/test_run.c *time = time_spent > U32_MAX ? U32_MAX : (u32)time_spent; time 744 net/bridge/br_multicast.c unsigned long time; time 769 net/bridge/br_multicast.c time = jiffies; time 770 net/bridge/br_multicast.c time += own_query->startup_sent < br->multicast_startup_query_count ? time 773 net/bridge/br_multicast.c mod_timer(&own_query->timer, time); time 1387 net/bridge/br_multicast.c unsigned long time; time 1430 net/bridge/br_multicast.c time = jiffies + br->multicast_last_member_count * time 1433 net/bridge/br_multicast.c mod_timer(&own_query->timer, time); time 1443 net/bridge/br_multicast.c time_after(p->timer.expires, time) : time 1445 net/bridge/br_multicast.c mod_timer(&p->timer, time); time 1453 net/bridge/br_multicast.c time = now + br->multicast_last_member_count * time 1459 net/bridge/br_multicast.c time_after(mp->timer.expires, time) : time 1461 net/bridge/br_multicast.c mod_timer(&mp->timer, time); time 1475 net/bridge/br_multicast.c time_after(p->timer.expires, time) : time 1477 net/bridge/br_multicast.c mod_timer(&p->timer, time); time 450 net/ipv4/tcp_input.c tp->rcvq_space.time = tp->tcp_mstamp; time 562 net/ipv4/tcp_input.c if (tp->rcv_rtt_est.time == 0) time 566 net/ipv4/tcp_input.c delta_us = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcv_rtt_est.time); time 573 net/ipv4/tcp_input.c tp->rcv_rtt_est.time = tp->tcp_mstamp; time 607 net/ipv4/tcp_input.c int time; time 612 net/ipv4/tcp_input.c time = tcp_stamp_us_delta(tp->tcp_mstamp, tp->rcvq_space.time); time 613 net/ipv4/tcp_input.c if (time < (tp->rcv_rtt_est.rtt_us >> 3) || tp->rcv_rtt_est.rtt_us == 0) time 663 net/ipv4/tcp_input.c tp->rcvq_space.time = tp->tcp_mstamp; time 177 net/mac80211/ethtool.c data[i++] = survey.time; time 394 net/netfilter/ipvs/ip_vs_sync.c unsigned long time) time 400 net/netfilter/ipvs/ip_vs_sync.c if (sb && time_after_eq(jiffies - sb->firstuse, time)) { time 155 net/netfilter/xt_recent.c static void recent_entry_reap(struct recent_table *t, unsigned long time) time 167 net/netfilter/xt_recent.c if (time_after(time, e->stamps[e->index-1])) time 292 net/netfilter/xt_recent.c unsigned long time = jiffies - info->seconds * HZ; time 296 net/netfilter/xt_recent.c if (info->seconds && time_after(time, e->stamps[i])) time 306 net/netfilter/xt_recent.c recent_entry_reap(t, time); time 80 net/netfilter/xt_time.c static inline unsigned int localtime_1(struct xtm *r, time_t time) time 85 net/netfilter/xt_time.c v = time % SECONDS_PER_DAY; time 93 net/netfilter/xt_time.c static inline void localtime_2(struct xtm *r, time_t time) time 99 net/netfilter/xt_time.c r->dse = time / 86400; time 108 net/netfilter/xt_time.c static void localtime_3(struct xtm *r, time_t time) time 46 net/nfc/llcp.h unsigned long time; time 167 net/nfc/llcp_commands.c sdreq->time = jiffies; time 244 net/nfc/llcp_core.c unsigned long time; time 253 net/nfc/llcp_core.c time = jiffies - msecs_to_jiffies(3 * local->remote_lto); time 256 net/nfc/llcp_core.c if (time_after(sdp->time, time)) time 508 net/sched/sch_cbq.c ktime_t time; time 510 net/sched/sch_cbq.c time = 0; time 511 net/sched/sch_cbq.c time = ktime_add_ns(time, PSCHED_TICKS2NS(now + delay)); time 512 net/sched/sch_cbq.c hrtimer_start(&q->delay_timer, time, HRTIMER_MODE_ABS_PINNED); time 142 net/sched/sch_taprio.c static s32 get_cycle_time_elapsed(struct sched_gate_list *sched, ktime_t time) time 147 net/sched/sch_taprio.c time_since_sched_start = ktime_sub(time, sched->base_time); time 188 net/sched/sch_taprio.c ktime_t time, time 212 net/sched/sch_taprio.c cycle_elapsed = get_cycle_time_elapsed(sched, time); time 213 net/sched/sch_taprio.c curr_intv_end = ktime_sub_ns(time, cycle_elapsed); time 230 net/sched/sch_taprio.c if (ktime_before(txtime, time) || validate_interval) { time 231 net/sched/sch_taprio.c transmit_end_time = ktime_add_ns(time, packet_transmit_time); time 232 net/sched/sch_taprio.c if ((ktime_before(curr_intv_start, time) && time 234 net/sched/sch_taprio.c (ktime_after(curr_intv_start, time) && !validate_interval)) { time 928 net/wireless/nl80211.c u32 time; time 930 net/wireless/nl80211.c time = elapsed_jiffies_msecs(chan->dfs_state_entered); time 936 net/wireless/nl80211.c time)) time 8829 net/wireless/nl80211.c survey->time, NL80211_SURVEY_INFO_PAD)) time 1743 net/wireless/trace.h __field(u64, time) time 1756 net/wireless/trace.h __entry->time = info->time; time 1770 net/wireless/trace.h __entry->time, __entry->time_busy, time 513 samples/bpf/test_lru_dist.c srand(time(NULL)); time 54 samples/bpf/xdp_adjust_tail_user.c time_t started_at = time(NULL); time 59 samples/bpf/xdp_adjust_tail_user.c while (!kill_after_s || time(NULL) - started_at <= kill_after_s) { time 55 samples/bpf/xdp_tx_iptunnel_user.c time_t started_at = time(NULL); time 62 samples/bpf/xdp_tx_iptunnel_user.c while (!kill_after_s || time(NULL) - started_at <= kill_after_s) { time 224 samples/connector/ucon.c time(&tm); time 1772 samples/mic/mpssd/mpssd.c time(&t); time 1040 security/keys/key.c time64_t time; time 1055 security/keys/key.c time = ktime_get_real_seconds(); time 1056 security/keys/key.c if (key->revoked_at == 0 || key->revoked_at > time) { time 1057 security/keys/key.c key->revoked_at = time; time 1051 security/tomoyo/common.h void tomoyo_convert_time(time64_t time, struct tomoyo_time *stamp); time 120 sound/core/seq/oss/seq_oss_device.h void snd_seq_oss_process_queue(struct seq_oss_devinfo *dp, abstime_t time); time 233 sound/core/seq/oss/seq_oss_event.c tmp.echo = (q->t.time << 8) | SEQ_ECHO; time 249 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_timer_tempo(dp->timer, q->t.time); time 437 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_writeq_wakeup(dp->writeq, rec->t.time); time 39 sound/core/seq/oss/seq_oss_event.h unsigned int time; time 53 sound/core/seq/oss/seq_oss_ioctl.c tmpev.time.tick = 0; time 585 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); time 600 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); time 229 sound/core/seq/oss/seq_oss_readq.c rec.t.time = curt; time 169 sound/core/seq/oss/seq_oss_rw.c event.time.tick = snd_seq_oss_timer_cur_tick(dp->timer); time 75 sound/core/seq/oss/seq_oss_timer.c abstime_t parm = ev->t.time; time 85 sound/core/seq/oss/seq_oss_writeq.c abstime_t time; time 87 sound/core/seq/oss/seq_oss_writeq.c time = snd_seq_oss_timer_cur_tick(dp->timer); time 88 sound/core/seq/oss/seq_oss_writeq.c if (q->sync_time >= time) time 99 sound/core/seq/oss/seq_oss_writeq.c ev.time.tick = time; time 104 sound/core/seq/oss/seq_oss_writeq.c rec->t.time = time; time 113 sound/core/seq/oss/seq_oss_writeq.c if (! q->sync_event_put || q->sync_time >= time) time 122 sound/core/seq/oss/seq_oss_writeq.c snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) time 127 sound/core/seq/oss/seq_oss_writeq.c q->sync_time = time; time 32 sound/core/seq/oss/seq_oss_writeq.h void snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time); time 583 sound/core/seq/seq_clientmgr.c event->time.time = snd_seq_timer_get_cur_time(q->timer, true); time 586 sound/core/seq/seq_clientmgr.c event->time.tick = snd_seq_timer_get_cur_tick(q->timer); time 892 sound/core/seq/seq_clientmgr.c ev->time.tick += ev->data.note.duration; time 896 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec += 1000000 * (ev->data.note.duration % 1000); time 897 sound/core/seq/seq_clientmgr.c ev->time.time.tv_sec += ev->data.note.duration / 1000 + time 898 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec / 1000000000; time 899 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec %= 1000000000; time 1662 sound/core/seq/seq_clientmgr.c status->time = snd_seq_timer_get_cur_time(tmr, true); time 91 sound/core/seq/seq_prioq.c return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); time 94 sound/core/seq/seq_prioq.c return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); time 108 sound/core/seq/seq_prioq.c if (a->time.tick > b->time.tick) time 110 sound/core/seq/seq_prioq.c else if (a->time.tick == b->time.tick) time 116 sound/core/seq/seq_prioq.c if (a->time.time.tv_sec > b->time.time.tv_sec) time 118 sound/core/seq/seq_prioq.c else if (a->time.time.tv_sec == b->time.time.tv_sec) { time 119 sound/core/seq/seq_prioq.c if (a->time.time.tv_nsec > b->time.time.tv_nsec) time 121 sound/core/seq/seq_prioq.c else if (a->time.time.tv_nsec == b->time.time.tv_nsec) time 206 sound/core/seq/seq_prioq.c return snd_seq_compare_tick_time(current_time, &ev->time.tick); time 208 sound/core/seq/seq_prioq.c return snd_seq_compare_real_time(current_time, &ev->time.time); time 262 sound/core/seq/seq_prioq.c if (cell->event.time.tick) time 266 sound/core/seq/seq_prioq.c if (cell->event.time.time.tv_sec || time 267 sound/core/seq/seq_prioq.c cell->event.time.time.tv_nsec) time 347 sound/core/seq/seq_prioq.c res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); time 349 sound/core/seq/seq_prioq.c res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); time 355 sound/core/seq/seq_prioq.c res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); time 357 sound/core/seq/seq_prioq.c res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); time 304 sound/core/seq/seq_queue.c cell->event.time.tick += q->timer->tick.cur_tick; time 308 sound/core/seq/seq_queue.c snd_seq_inc_real_time(&cell->event.time.time, time 648 sound/core/seq/seq_queue.c sev.time.tick = q->timer->tick.cur_tick; time 691 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { time 697 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_time(q->timer, ev->data.queue.param.time.time) == 0) { time 60 sound/drivers/mts64.c u8 time[4]; /* [0]=hh, [1]=mm, [2]=ss, [3]=ff */ time 459 sound/drivers/mts64.c mts->time[0], mts->time[1], time 460 sound/drivers/mts64.c mts->time[2], mts->time[3], time 519 sound/drivers/mts64.c uctl->value.integer.value[0] = mts->time[idx]; time 530 sound/drivers/mts64.c unsigned int time = uctl->value.integer.value[0] % 60; time 534 sound/drivers/mts64.c if (mts->time[idx] != time) { time 536 sound/drivers/mts64.c mts->time[idx] = time; time 144 sound/drivers/opl3/opl3_midi.c unsigned int time; time 150 sound/drivers/opl3/opl3_midi.c best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ time 163 sound/drivers/opl3/opl3_midi.c voice_time = vp->time; time 183 sound/drivers/opl3/opl3_midi.c voice_time = (voice_time > vp->time) ? time 184 sound/drivers/opl3/opl3_midi.c voice_time : vp->time; time 198 sound/drivers/opl3/opl3_midi.c if (voice_time < bp->time) { time 199 sound/drivers/opl3/opl3_midi.c bp->time = voice_time; time 561 sound/drivers/opl3/opl3_midi.c vp->time = opl3->use_time++; time 569 sound/drivers/opl3/opl3_midi.c vp2->time = opl3->use_time++; time 577 sound/drivers/opl3/opl3_midi.c vp2->time = opl3->use_time++; time 636 sound/drivers/opl3/opl3_midi.c vp->time = opl3->use_time++; time 641 sound/drivers/opl3/opl3_midi.c vp2->time = opl3->use_time++; time 766 sound/drivers/opl3/opl3_midi.c vp->time = opl3->use_time++; time 55 sound/drivers/opl3/opl3_seq.c opl3->voices[idx].time = 0; time 39 sound/drivers/vx/vx_core.c int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) time 41 sound/drivers/vx/vx_core.c unsigned long end_time = jiffies + (time * HZ + 999) / 1000; time 157 sound/isa/sb/emu8000_callback.c unsigned int time; time 165 sound/isa/sb/emu8000_callback.c best[i].time = (unsigned int)(-1); /* XXX MAX_?INT really */ time 200 sound/isa/sb/emu8000_callback.c if (vp->time < bp->time) { time 201 sound/isa/sb/emu8000_callback.c bp->time = vp->time; time 206 sound/pci/echoaudio/midi.c int bytes, sent, time; time 241 sound/pci/echoaudio/midi.c time = (sent << 3) / 25 + 1; /* 8/25=0.32ms to send a byte */ time 242 sound/pci/echoaudio/midi.c mod_timer(&chip->timer, jiffies + (time * HZ + 999) / 1000); time 244 sound/pci/echoaudio/midi.c "Timer armed(%d)\n", ((time * HZ + 999) / 1000)); time 19 sound/pci/emu10k1/emu10k1_callback.c unsigned int time; time 216 sound/pci/emu10k1/emu10k1_callback.c best[i].time = (unsigned int)-1; /* XXX MAX_?INT really */ time 261 sound/pci/emu10k1/emu10k1_callback.c if (vp->time < bp->time) { time 262 sound/pci/emu10k1/emu10k1_callback.c bp->time = vp->time; time 495 sound/pci/intel8x0.c int time; time 515 sound/pci/intel8x0.c time = 100; time 520 sound/pci/intel8x0.c } while (time--); time 610 sound/pci/intel8x0.c int time = 100; time 613 sound/pci/intel8x0.c while (--time && (igetdword(chip, ICHREG(ALI_CAS)) & ALI_CAS_SEM_BUSY)) time 615 sound/pci/intel8x0.c if (! time && ! chip->in_ac97_init) time 301 sound/pci/intel8x0m.c int time; time 312 sound/pci/intel8x0m.c time = 100; time 317 sound/pci/intel8x0m.c } while (time--); time 114 sound/pci/pcxhr/pcxhr_core.c unsigned char mask, unsigned char bit, int time, time 118 sound/pci/pcxhr/pcxhr_core.c unsigned long end_time = jiffies + (time * HZ + 999) / 1000; time 828 sound/pci/riptide/riptide.c unsigned int time = 0; time 863 sound/pci/riptide/riptide.c for (j = 0, time = 0; time < CMDIF_TIMEOUT; j++, time += 2) { time 875 sound/pci/riptide/riptide.c time < CMDIF_TIMEOUT) { time 877 sound/pci/riptide/riptide.c time++; time 879 sound/pci/riptide/riptide.c if (time < CMDIF_TIMEOUT) { /* read response */ time 893 sound/pci/riptide/riptide.c if (time == CMDIF_TIMEOUT) { time 900 sound/pci/riptide/riptide.c cif->cmdtime += time; time 901 sound/pci/riptide/riptide.c if (time > cif->cmdtimemax) time 902 sound/pci/riptide/riptide.c cif->cmdtimemax = time; time 903 sound/pci/riptide/riptide.c if (time < cif->cmdtimemin) time 904 sound/pci/riptide/riptide.c cif->cmdtimemin = time; time 963 sound/soc/codecs/cs42l52.c long int time; time 966 sound/soc/codecs/cs42l52.c ret = kstrtol(buf, 10, &time); time 970 sound/soc/codecs/cs42l52.c input_event(cs42l52->beep, EV_SND, SND_TONE, time); time 1027 sound/soc/codecs/cs42l56.c long int time; time 1030 sound/soc/codecs/cs42l56.c ret = kstrtol(buf, 10, &time); time 1034 sound/soc/codecs/cs42l56.c input_event(cs42l56->beep, EV_SND, SND_TONE, time); time 165 sound/soc/codecs/twl4030.c static inline void twl4030_wait_ms(int time) time 167 sound/soc/codecs/twl4030.c if (time < 60) { time 168 sound/soc/codecs/twl4030.c time *= 1000; time 169 sound/soc/codecs/twl4030.c usleep_range(time, time + 500); time 171 sound/soc/codecs/twl4030.c msleep(time); time 3219 sound/soc/codecs/wm8962.c long int time; time 3222 sound/soc/codecs/wm8962.c ret = kstrtol(buf, 10, &time); time 3226 sound/soc/codecs/wm8962.c input_event(wm8962->beep, EV_SND, SND_TONE, time); time 230 sound/soc/intel/atom/sst-mfld-dsp.h unsigned char time[16]; /* Firmware build time */ time 237 sound/soc/intel/atom/sst/sst_ipc.c init->build_info.date, init->build_info.time); time 126 sound/soc/intel/baytrail/sst-baytrail-ipc.c u8 time[16]; time 743 sound/soc/intel/baytrail/sst-baytrail-ipc.c init.build_info.date, init.build_info.time); time 246 sound/soc/intel/common/sst-dsp.c u32 target, u32 time, char *operation) time 262 sound/soc/intel/common/sst-dsp.c timeout = jiffies + msecs_to_jiffies(time); time 771 sound/soc/sof/ipc.c v->build, v->date, v->time, time 95 sound/synth/emux/emux_synth.c vp->time = emu->use_time++; time 423 sound/synth/emux/emux_synth.c vp->time = 0; time 496 sound/synth/emux/emux_synth.c vp->time = emu->use_time++; time 927 sound/synth/emux/emux_synth.c vp->time = 0; time 187 sound/usb/hiface/pcm.c int i, time; time 193 sound/usb/hiface/pcm.c time = usb_wait_anchor_empty_timeout( time 195 sound/usb/hiface/pcm.c if (!time) time 42 tools/bpf/bpftool/map_perf_ring.c u64 time; time 87 tools/bpf/bpftool/map_perf_ring.c jsonw_uint(json_wtr, e->time); time 103 tools/bpf/bpftool/map_perf_ring.c e->time / 1000000000ULL, e->time % 1000000000ULL, time 58 tools/laptop/dslm/dslm.c static char *myctime(time_t time) time 60 tools/laptop/dslm/dslm.c char *ts = ctime(&time); time 84 tools/laptop/dslm/dslm.c start_time = last_time = time(0); time 93 tools/laptop/dslm/dslm.c curr_time = time(0); time 109 tools/laptop/dslm/dslm.c total_time = time(0) - start_time; time 296 tools/lib/bpf/netlink.c int seq = time(NULL); time 335 tools/lib/bpf/netlink.c int seq = time(NULL); time 374 tools/lib/bpf/netlink.c int seq = time(NULL); time 414 tools/lib/bpf/netlink.c int seq = time(NULL); time 5518 tools/lib/traceevent/event-parse.c unsigned long long time; time 5529 tools/lib/traceevent/event-parse.c time = record->ts; time 5531 tools/lib/traceevent/event-parse.c time += div / 2; time 5532 tools/lib/traceevent/event-parse.c time /= div; time 5538 tools/lib/traceevent/event-parse.c if (p10 > 1 && p10 < time) time 5539 tools/lib/traceevent/event-parse.c trace_seq_printf(s, "%5llu.%0*llu", time / p10, prec, time % p10); time 5541 tools/lib/traceevent/event-parse.c trace_seq_printf(s, "%12llu\n", time); time 134 tools/perf/arch/x86/tests/perf-time-to-tsc.c comm1_time = sample.time; time 139 tools/perf/arch/x86/tests/perf-time-to-tsc.c comm2_time = sample.time; time 393 tools/perf/builtin-diff.c sample->time)) { time 534 tools/perf/builtin-inject.c sample_sw.time = sample->time; time 932 tools/perf/builtin-kmem.c if (perf_time__skip_sample(&ptime, sample->time)) time 168 tools/perf/builtin-kvm.c event->total.time = 0; time 172 tools/perf/builtin-kvm.c event->vcpu[j].time = 0; time 264 tools/perf/builtin-kvm.c kvm_stats->time += time_diff; time 382 tools/perf/builtin-kvm.c if (sample->time < time_begin) { time 387 tools/perf/builtin-kvm.c time_diff = sample->time - time_begin; time 395 tools/perf/builtin-kvm.c sample->time, sample->pid, vcpu_record->vcpu_id, time 445 tools/perf/builtin-kvm.c return handle_begin_event(kvm, vcpu_record, &key, sample->time); time 477 tools/perf/builtin-kvm.c GET_EVENT_KEY(time, time); time 488 tools/perf/builtin-kvm.c DEF_SORT_NAME_KEY(time, mean), time 467 tools/perf/builtin-lock.c seq->prev_event_time = sample->time; time 506 tools/perf/builtin-lock.c contended_term = sample->time - seq->prev_event_time; time 530 tools/perf/builtin-lock.c seq->prev_event_time = sample->time; time 585 tools/perf/builtin-lock.c seq->prev_event_time = sample->time; time 67 tools/perf/builtin-record.c unsigned long time; time 119 tools/perf/builtin-record.c return rec->switch_output.time && time 830 tools/perf/builtin-record.c rec->evlist->first_sample_time = sample->time; time 832 tools/perf/builtin-record.c rec->evlist->last_sample_time = sample->time; time 1611 tools/perf/builtin-record.c if (rec->switch_output.time) time 1612 tools/perf/builtin-record.c alarm(rec->switch_output.time); time 2036 tools/perf/builtin-record.c s->time = val; time 2038 tools/perf/builtin-record.c s->str, s->time); time 2342 tools/perf/builtin-record.c if (rec->switch_output.time) { time 2344 tools/perf/builtin-record.c alarm(rec->switch_output.time); time 252 tools/perf/builtin-report.c sample->time)) { time 824 tools/perf/builtin-sched.c add_sched_event_wakeup(sched, waker, sample->time, wakee); time 839 tools/perf/builtin-sched.c u64 timestamp0, timestamp = sample->time; time 1111 tools/perf/builtin-sched.c u64 timestamp0, timestamp = sample->time; time 1180 tools/perf/builtin-sched.c u64 timestamp = sample->time; time 1215 tools/perf/builtin-sched.c u64 timestamp = sample->time; time 1273 tools/perf/builtin-sched.c u64 timestamp = sample->time; time 1530 tools/perf/builtin-sched.c u64 timestamp0, timestamp = sample->time; time 2381 tools/perf/builtin-sched.c timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); time 2417 tools/perf/builtin-sched.c tr->ready_to_run = sample->time; time 2421 tools/perf/builtin-sched.c !perf_time__skip_sample(&sched->ptime, sample->time)) time 2454 tools/perf/builtin-sched.c timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); time 2519 tools/perf/builtin-sched.c u64 tprev, t = sample->time; time 2620 tools/perf/builtin-sched.c tr->last_time = sample->time; time 2629 tools/perf/builtin-sched.c perf_evsel__save_time(evsel, sample->time, sample->cpu); time 2650 tools/perf/builtin-sched.c timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); time 702 tools/perf/builtin-script.c u64 t = sample->time; time 705 tools/perf/builtin-script.c initial_time = sample->time; time 706 tools/perf/builtin-script.c t = sample->time - initial_time; time 2002 tools/perf/builtin-script.c sample->time)) { time 2007 tools/perf/builtin-script.c if (sample->time < last_timestamp) { time 2010 tools/perf/builtin-script.c sample->time); time 2013 tools/perf/builtin-script.c last_timestamp = sample->time; time 2107 tools/perf/builtin-script.c sample->time = 0; time 2145 tools/perf/builtin-script.c sample->time = 0; time 2181 tools/perf/builtin-script.c sample->time = event->fork.time; time 2213 tools/perf/builtin-script.c sample->time = 0; time 2251 tools/perf/builtin-script.c sample->time = 0; time 2285 tools/perf/builtin-script.c sample->time = 0; time 3262 tools/perf/builtin-script.c process_stat(counter, round->time); time 3265 tools/perf/builtin-script.c process_stat_interval(round->time); time 235 tools/perf/builtin-stat.c #define WRITE_STAT_ROUND_EVENT(time, interval) \ time 236 tools/perf/builtin-stat.c write_stat_round_event(time, PERF_STAT_ROUND_TYPE__ ## interval) time 1466 tools/perf/builtin-stat.c update_stats(&walltime_nsecs_stats, stat_round->time); time 1468 tools/perf/builtin-stat.c if (stat_config.interval && stat_round->time) { time 1469 tools/perf/builtin-stat.c tsh.tv_sec = stat_round->time / NSEC_PER_SEC; time 1470 tools/perf/builtin-stat.c tsh.tv_nsec = stat_round->time % NSEC_PER_SEC; time 186 tools/perf/builtin-timechart.c u64 time; time 329 tools/perf/builtin-timechart.c pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); time 339 tools/perf/builtin-timechart.c pid_exit(tchart, event->fork.pid, event->fork.time); time 415 tools/perf/builtin-timechart.c we->time = timestamp; time 561 tools/perf/builtin-timechart.c if (!tchart->first_time || tchart->first_time > sample->time) time 562 tools/perf/builtin-timechart.c tchart->first_time = sample->time; time 563 tools/perf/builtin-timechart.c if (tchart->last_time < sample->time) time 564 tools/perf/builtin-timechart.c tchart->last_time = sample->time; time 586 tools/perf/builtin-timechart.c c_state_end(tchart, cpu_id, sample->time); time 588 tools/perf/builtin-timechart.c c_state_start(cpu_id, sample->time, state); time 601 tools/perf/builtin-timechart.c p_state_change(tchart, cpu_id, sample->time, state); time 615 tools/perf/builtin-timechart.c sched_wakeup(tchart, sample->cpu, sample->time, waker, wakee, flags, backtrace); time 629 tools/perf/builtin-timechart.c sched_switch(tchart, sample->cpu, sample->time, prev_pid, next_pid, time 644 tools/perf/builtin-timechart.c c_state_start(cpu_id, sample->time, value); time 654 tools/perf/builtin-timechart.c c_state_end(tchart, sample->cpu, sample->time); time 667 tools/perf/builtin-timechart.c p_state_change(tchart, cpu_id, sample->time, value); time 848 tools/perf/builtin-timechart.c sample->time, fd); time 858 tools/perf/builtin-timechart.c sample->time, ret); time 868 tools/perf/builtin-timechart.c sample->time, fd); time 878 tools/perf/builtin-timechart.c sample->time, ret); time 888 tools/perf/builtin-timechart.c sample->time, fd); time 898 tools/perf/builtin-timechart.c sample->time, ret); time 908 tools/perf/builtin-timechart.c sample->time, fd); time 918 tools/perf/builtin-timechart.c sample->time, ret); time 928 tools/perf/builtin-timechart.c sample->time, fd); time 938 tools/perf/builtin-timechart.c sample->time, ret); time 948 tools/perf/builtin-timechart.c sample->time, fd); time 958 tools/perf/builtin-timechart.c sample->time, ret); time 1052 tools/perf/builtin-timechart.c if (c->Y && c->start_time <= we->time && c->end_time >= we->time) { time 1090 tools/perf/builtin-timechart.c svg_interrupt(we->time, to, we->backtrace); time 1092 tools/perf/builtin-timechart.c svg_wakeline(we->time, from, to, we->backtrace); time 1094 tools/perf/builtin-timechart.c svg_partial_wakeline(we->time, from, task_from, to, time 1867 tools/perf/builtin-trace.c if (ttrace->entry_time && sample->time > ttrace->entry_time) time 1868 tools/perf/builtin-trace.c duration = sample->time - ttrace->entry_time; time 1907 tools/perf/builtin-trace.c double ts = (double)sample->time / NSEC_PER_MSEC; time 1990 tools/perf/builtin-trace.c ttrace->entry_time = sample->time; time 2127 tools/perf/builtin-trace.c duration = sample->time - ttrace->entry_time; time 2376 tools/perf/builtin-trace.c trace__fprintf_tstamp(trace, sample->time, trace->output); time 2487 tools/perf/builtin-trace.c trace__fprintf_entry_head(trace, thread, 0, true, sample->time, trace->output); time 2539 tools/perf/builtin-trace.c trace->base_time = sample->time; time 138 tools/perf/jvmti/jvmti_agent.c time(&t); time 52 tools/perf/lib/include/perf/event.h __u64 time; time 80 tools/perf/lib/include/perf/event.h __u64 time; time 239 tools/perf/lib/include/perf/event.h __u64 time; time 305 tools/perf/lib/include/perf/event.h __u64 time; time 455 tools/perf/perf.c srandom(time(NULL)); time 63 tools/perf/tests/bp_signal.c return time(NULL); time 35 tools/perf/tests/bp_signal_overflow.c return time(NULL); time 193 tools/perf/tests/perf-record.c pr_info("%" PRIu64" %d ", sample.time, sample.cpu); time 197 tools/perf/tests/perf-record.c if (prev_time > sample.time) { time 199 tools/perf/tests/perf-record.c name, prev_time, sample.time); time 203 tools/perf/tests/perf-record.c prev_time = sample.time; time 51 tools/perf/tests/sample-parsing.c COMP(time); time 189 tools/perf/tests/sample-parsing.c .time = 104, time 101 tools/perf/tests/stat.c TEST_ASSERT_VAL("wrong time", stat_round->time == 0xdeadbeef); time 230 tools/perf/tests/switch-tracking.c if (!sample.time) { time 235 tools/perf/tests/switch-tracking.c node->event_time = sample.time; time 2357 tools/perf/ui/browsers/hists.c unsigned long time; time 2571 tools/perf/ui/browsers/hists.c if (act->time) { time 2573 tools/perf/ui/browsers/hists.c unsigned long starttime = act->time; time 2574 tools/perf/ui/browsers/hists.c unsigned long endtime = act->time + symbol_conf.time_quantum; time 2646 tools/perf/ui/browsers/hists.c j += timestamp__scnprintf_usec(he->time, tstr + j, time 2649 tools/perf/ui/browsers/hists.c timestamp__scnprintf_usec(he->time + symbol_conf.time_quantum, time 2653 tools/perf/ui/browsers/hists.c act->time = he->time; time 50 tools/perf/ui/browsers/res_sample.c timestamp__scnprintf_nsec(res_samples[i].time, tbuf, sizeof tbuf); time 68 tools/perf/ui/browsers/res_sample.c n = timestamp__scnprintf_nsec(r->time - context_len, trange, sizeof trange); time 70 tools/perf/ui/browsers/res_sample.c timestamp__scnprintf_nsec(r->time + context_len, trange + n, sizeof trange - n); time 72 tools/perf/ui/browsers/res_sample.c timestamp__scnprintf_nsec(r->time, tsample, sizeof tsample); time 880 tools/perf/util/auxtrace.c auxtrace_error->time = timestamp; time 1175 tools/perf/util/auxtrace.c unsigned long long nsecs = e->time; time 1192 tools/perf/util/auxtrace.c msg = (const char *)&e->time; time 2267 tools/perf/util/cs-etm.c if (sample->time && (sample->time != (u64) -1)) time 2268 tools/perf/util/cs-etm.c timestamp = sample->time; time 810 tools/perf/util/data-convert-bt.c pr_time2(sample->time, "sample %" PRIu64 "\n", c->events_count); time 818 tools/perf/util/data-convert-bt.c bt_ctf_clock_set_time(cw->clock, sample->time); time 885 tools/perf/util/data-convert-bt.c bt_ctf_clock_set_time(cw->clock, sample->time); \ time 910 tools/perf/util/data-convert-bt.c __NON_SAMPLE_SET_FIELD(fork, u64, time); time 918 tools/perf/util/data-convert-bt.c __NON_SAMPLE_SET_FIELD(fork, u64, time); time 1260 tools/perf/util/data-convert-bt.c __NON_SAMPLE_ADD_FIELD(u64, time); time 1268 tools/perf/util/data-convert-bt.c __NON_SAMPLE_ADD_FIELD(u64, time); time 120 tools/perf/util/event.h u64 time; time 1160 tools/perf/util/evlist.c size += sizeof(data->time); time 805 tools/perf/util/evsel.c if (term->val.time) time 1883 tools/perf/util/evsel.c sample->time = *array; time 1951 tools/perf/util/evsel.c data->stream_id = data->id = data->time = -1ULL; time 1994 tools/perf/util/evsel.c data->time = *array; time 2224 tools/perf/util/evsel.c .time = -1ULL, time 2232 tools/perf/util/evsel.c *timestamp = data.time; time 36 tools/perf/util/evsel_config.h bool time; time 667 tools/perf/util/hist.c r->time = sample->time; time 716 tools/perf/util/hist.c .time = hist_time(sample->time), time 75 tools/perf/util/intel-bts.c u64 time; time 138 tools/perf/util/intel-bts.c sample->tid, 0, "Lost trace data", sample->time); time 609 tools/perf/util/intel-bts.c if (sample->time && sample->time != (u64)-1) time 610 tools/perf/util/intel-bts.c timestamp = perf_time_to_tsc(sample->time, &bts->tc); time 161 tools/perf/util/intel-pt.c u64 time; time 1224 tools/perf/util/intel-pt.c sample->time = tsc_to_perf_time(ptq->timestamp, &pt->tc); time 1747 tools/perf/util/intel-pt.c sample.time = tsc_to_perf_time(timestamp, &pt->tc); time 2315 tools/perf/util/intel-pt.c ptq->time = time_; time 2326 tools/perf/util/intel-pt.c sample->pid, sample->tid, 0, sample->time); time 2417 tools/perf/util/intel-pt.c cpu, tid, sample->time, perf_time_to_tsc(sample->time, time 2420 tools/perf/util/intel-pt.c ret = intel_pt_sync_switch(pt, cpu, tid, sample->time); time 2496 tools/perf/util/intel-pt.c cpu, pid, tid, sample->time, perf_time_to_tsc(sample->time, time 2499 tools/perf/util/intel-pt.c ret = intel_pt_sync_switch(pt, cpu, tid, sample->time); time 2515 tools/perf/util/intel-pt.c event->itrace_start.tid, sample->time, time 2516 tools/perf/util/intel-pt.c perf_time_to_tsc(sample->time, &pt->tc)); time 2541 tools/perf/util/intel-pt.c if (sample->time && sample->time != (u64)-1) time 2542 tools/perf/util/intel-pt.c timestamp = perf_time_to_tsc(sample->time, &pt->tc); time 2556 tools/perf/util/intel-pt.c sample->time); time 2581 tools/perf/util/intel-pt.c event->header.type, sample->cpu, sample->time, timestamp); time 403 tools/perf/util/jitdump.c u64 time; time 475 tools/perf/util/jitdump.c id->time = convert_timestamp(jd, jr->load.p.timestamp); time 485 tools/perf/util/jitdump.c sample.time = id->time; time 516 tools/perf/util/jitdump.c u64 time; time 567 tools/perf/util/jitdump.c id->time = convert_timestamp(jd, jr->load.p.timestamp); time 577 tools/perf/util/jitdump.c sample.time = id->time; time 23 tools/perf/util/kvm-stat.h u64 time; time 612 tools/perf/util/machine.c __thread__set_comm(thread, event->comm.comm, sample->time, exec)) { time 643 tools/perf/util/machine.c thread__set_namespaces(thread, sample->time, &event->namespaces)) { time 1848 tools/perf/util/machine.c thread__fork(thread, parent, sample->time, do_maps_clone) < 0) { time 1198 tools/perf/util/parse-events.c ADD_CONFIG_TERM(TIME, time, term->val.num); time 116 tools/perf/util/python.c sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \ time 176 tools/perf/util/python.c member_def(perf_record_fork, time, T_ULONGLONG, "timestamp"), time 189 tools/perf/util/python.c pevent->event.fork.time); time 236 tools/perf/util/python.c member_def(perf_record_throttle, time, T_ULONGLONG, "timestamp"), time 249 tools/perf/util/python.c te->time, te->id, te->stream_id); time 907 tools/perf/util/s390-cpumsf.c sample->time); time 919 tools/perf/util/s390-cpumsf.c u64 timestamp = sample->time; time 351 tools/perf/util/scripting-engines/trace-event-perl.c unsigned long long nsecs = sample->time; time 751 tools/perf/util/scripting-engines/trace-event-python.c PyLong_FromUnsignedLongLong(sample->time)); time 806 tools/perf/util/scripting-engines/trace-event-python.c unsigned long long nsecs = sample->time; time 1137 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 9, es->sample->time); time 1254 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 2, sample->time); time 605 tools/perf/util/session.c event->fork.time = bswap_64(event->fork.time); time 660 tools/perf/util/session.c event->throttle.time = bswap_64(event->throttle.time); time 831 tools/perf/util/session.c event->auxtrace_error.time = bswap_64(event->auxtrace_error.time); time 906 tools/perf/util/session.c event->stat_round.time = bswap_64(event->stat_round.time); time 1167 tools/perf/util/session.c printf("%" PRIu64 " ", sample->time); time 1504 tools/perf/util/session.c struct perf_sample sample = { .time = 0, }; time 673 tools/perf/util/sort.c return right->time - left->time; time 682 tools/perf/util/sort.c timestamp__scnprintf_nsec(he->time, he_time, time 685 tools/perf/util/sort.c timestamp__scnprintf_usec(he->time, he_time, time 39 tools/perf/util/sort.h u64 time; time 135 tools/perf/util/sort.h long time; time 443 tools/perf/util/stat.c ret = fprintf(fp, "\n... time %" PRI_lu64 ", type %s\n", rd->time, time 56 tools/perf/util/synthetic-events.c .time = -1, time 1121 tools/perf/util/synthetic-events.c event.time = evtime; time 1265 tools/perf/util/synthetic-events.c *array = sample->time; time 51 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat_round(struct perf_tool *tool, u64 time, u64 type, perf_event__handler_t process, struct machine *machine); time 629 tools/perf/util/thread-stack.c return thread_stack__push_cp(ts, ip, sample->time, ref, cp, time 636 tools/perf/util/thread-stack.c u64 tm = sample->time; time 663 tools/perf/util/thread-stack.c u64 tm = sample->time; time 782 tools/perf/util/thread-stack.c return thread_stack__push_cp(ts, ret_addr, sample->time, ref, cp, time 895 tools/perf/util/thread-stack.c ts->last_time = sample->time; time 913 tools/perf/util/thread-stack.c err = thread_stack__push_cp(ts, ret_addr, sample->time, ref, time 946 tools/perf/util/thread-stack.c sample->time, ref, from_al->sym); time 954 tools/perf/util/thread-stack.c err = thread_stack__trace_begin(thread, ts, sample->time, ref); time 972 tools/perf/util/thread-stack.c err = thread_stack__push_cp(ts, 0, sample->time, ref, cp, false, time 721 tools/power/acpi/os_specific/service_layers/osunixxf.c struct timespec time; time 785 tools/power/acpi/os_specific/service_layers/osunixxf.c if (clock_gettime(CLOCK_REALTIME, &time) == -1) { time 790 tools/power/acpi/os_specific/service_layers/osunixxf.c time.tv_sec += (msec_timeout / ACPI_MSEC_PER_SEC); time 791 tools/power/acpi/os_specific/service_layers/osunixxf.c time.tv_nsec += time 796 tools/power/acpi/os_specific/service_layers/osunixxf.c if (time.tv_nsec >= ACPI_NSEC_PER_SEC) { time 797 tools/power/acpi/os_specific/service_layers/osunixxf.c time.tv_sec += (time.tv_nsec / ACPI_NSEC_PER_SEC); time 798 tools/power/acpi/os_specific/service_layers/osunixxf.c time.tv_nsec = (time.tv_nsec % ACPI_NSEC_PER_SEC); time 801 tools/power/acpi/os_specific/service_layers/osunixxf.c while (((ret_val = sem_timedwait(sem, &time)) == -1) time 984 tools/power/acpi/os_specific/service_layers/osunixxf.c struct timeval time; time 988 tools/power/acpi/os_specific/service_layers/osunixxf.c gettimeofday(&time, NULL); time 992 tools/power/acpi/os_specific/service_layers/osunixxf.c return (((u64)time.tv_sec * ACPI_100NSEC_PER_SEC) + time 993 tools/power/acpi/os_specific/service_layers/osunixxf.c ((u64)time.tv_usec * ACPI_100NSEC_PER_USEC)); time 88 tools/power/cpupower/bench/parse.c dirname, sysdata.nodename, sysdata.release, time(NULL)); time 91 tools/power/cpupower/bench/parse.c dirname, time(NULL)); time 286 tools/testing/radix-tree/idr-test.c time_t start = time(NULL); time 293 tools/testing/radix-tree/idr-test.c } while (time(NULL) < start + 10); time 302 tools/testing/radix-tree/idr-test.c time_t start = time(NULL); time 313 tools/testing/radix-tree/idr-test.c } while (time(NULL) < start + 11); time 467 tools/testing/radix-tree/idr-test.c time_t s = time(NULL); time 484 tools/testing/radix-tree/idr-test.c if (time(NULL) < s + 10) time 288 tools/testing/radix-tree/main.c unsigned int seed = time(NULL); time 32 tools/testing/selftests/bpf/bpf_rand.h srand(time(NULL)); time 45 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c now = time(NULL); time 1726 tools/testing/selftests/bpf/test_maps.c srand(time(NULL)); time 543 tools/testing/selftests/bpf/test_progs.c srand(time(NULL)); time 31 tools/testing/selftests/bpf/test_tag.c srand(time(NULL)); time 76 tools/testing/selftests/intel_pstate/aperf.c start = before.time*1000 + before.millitm; time 77 tools/testing/selftests/intel_pstate/aperf.c finish = after.time*1000 + after.millitm; time 100 tools/testing/selftests/ir/ir_loopback.c srand(time(NULL)); time 501 tools/testing/selftests/kvm/dirty_log_test.c srandom(time(0)); time 75 tools/testing/selftests/media_tests/media_device_test.c srand((unsigned int) time(NULL)); time 69 tools/testing/selftests/media_tests/video_device_test.c srand((unsigned int) time(NULL)); time 461 tools/testing/selftests/net/ip_defrag.c seed = time(NULL); time 108 tools/testing/selftests/net/nettest.c now = time(NULL); time 327 tools/testing/selftests/net/tcp_fastopen_backup_key.c srand(time(NULL)); time 408 tools/testing/selftests/pidfd/pidfd_test.c time_t prog_start = time(NULL); time 430 tools/testing/selftests/pidfd/pidfd_test.c time_t prog_time = time(NULL) - prog_start; time 464 tools/testing/selftests/pidfd/pidfd_test.c *child_exit_secs = time(NULL); time 472 tools/testing/selftests/pidfd/pidfd_test.c time_t prog_start = time(NULL); time 508 tools/testing/selftests/pidfd/pidfd_test.c time_t since_child_exit = time(NULL) - *child_exit_secs; time 99 tools/testing/selftests/powerpc/harness.c void test_harness_set_timeout(uint64_t time) time 101 tools/testing/selftests/powerpc/harness.c timeout = time; time 26 tools/testing/selftests/powerpc/include/utils.h void test_harness_set_timeout(uint64_t time); time 50 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); time 681 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); time 725 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); time 161 tools/testing/selftests/powerpc/ptrace/core-pkey.c info->core_time = time(NULL); time 181 tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c srand ( time(NULL) ); time 226 tools/testing/selftests/powerpc/signal/sigfuz.c srand(time(NULL) + getpid()); time 91 tools/testing/selftests/powerpc/stringloops/memcmp.c srandom(time(0)); time 117 tools/testing/selftests/powerpc/stringloops/memcmp.c srandom(time(0)); time 297 tools/testing/selftests/ptp/testptp.c tx.time.tv_sec = adjtime; time 298 tools/testing/selftests/ptp/testptp.c tx.time.tv_usec = 0; time 174 tools/testing/selftests/rtc/rtctest.c rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time); time 177 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; time 178 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&alarm.time); time 193 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_mday, alarm.time.tm_mon + 1, time 194 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_year + 1900, alarm.time.tm_hour, time 195 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_min, alarm.time.tm_sec); time 276 tools/testing/selftests/rtc/rtctest.c rc = ioctl(self->fd, RTC_RD_TIME, &alarm.time); time 279 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec; time 280 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&alarm.time); time 295 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_mday, alarm.time.tm_mon + 1, time 296 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_year + 1900, alarm.time.tm_hour, time 297 tools/testing/selftests/rtc/rtctest.c alarm.time.tm_min, alarm.time.tm_sec); time 26 tools/testing/selftests/rtc/setdate.c const char *time = default_time; time 30 tools/testing/selftests/rtc/setdate.c time = argv[3]; time 50 tools/testing/selftests/rtc/setdate.c sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); time 46 tools/testing/selftests/sync/sync_stress_merge.c srand(time(NULL)); time 34 tools/testing/selftests/timers/freq-step.c double time; time 72 tools/testing/selftests/timers/freq-step.c sample->time = ts1.tv_sec + ts1.tv_nsec / 1e9; time 85 tools/testing/selftests/timers/freq-step.c txc.time.tv_sec = 0; time 86 tools/testing/selftests/timers/freq-step.c txc.time.tv_usec = 0; time 120 tools/testing/selftests/timers/freq-step.c x = samples[i].time; time 135 tools/testing/selftests/timers/freq-step.c x = samples[i].time; time 106 tools/testing/selftests/timers/inconsistency-check.c t = time(0); time 141 tools/testing/selftests/timers/inconsistency-check.c t = time(0); time 138 tools/testing/selftests/timers/leap-a-day.c if (tx.time.tv_sec < next_leap) { time 142 tools/testing/selftests/timers/leap-a-day.c tx.time.tv_sec, time 143 tools/testing/selftests/timers/leap-a-day.c tx.time.tv_usec, time 151 tools/testing/selftests/timers/leap-a-day.c tx.time.tv_sec, time 152 tools/testing/selftests/timers/leap-a-day.c tx.time.tv_usec, time 328 tools/testing/selftests/timers/leap-a-day.c now = tx.time.tv_sec; time 344 tools/testing/selftests/timers/leap-a-day.c ctime_r(&tx.time.tv_sec, buf); time 349 tools/testing/selftests/timers/leap-a-day.c tx.time.tv_usec, time 353 tools/testing/selftests/timers/leap-a-day.c now = tx.time.tv_sec; time 96 tools/testing/selftests/timers/leapcrash.c while (tx.time.tv_sec < next_leap + 1) { time 48 tools/testing/selftests/timers/set-2038.c int settime(long long time) time 53 tools/testing/selftests/timers/set-2038.c now.tv_sec = (time_t)time; time 58 tools/testing/selftests/timers/set-2038.c printf("Setting time to 0x%lx: %d\n", (long)time, ret); time 88 tools/testing/selftests/timers/set-2038.c start = time(0); time 162 tools/testing/selftests/timers/threadtest.c start = time(0); time 172 tools/testing/selftests/timers/threadtest.c while (time(&now) < start + runtime) { time 205 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_sec = offset / NSEC_PER_SEC; time 206 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_usec = offset % NSEC_PER_SEC; time 208 tools/testing/selftests/timers/valid-adjtimex.c if (offset < 0 && tmx.time.tv_usec) { time 209 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_sec -= 1; time 210 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_usec += NSEC_PER_SEC; time 213 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_sec = offset / USEC_PER_SEC; time 214 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_usec = offset % USEC_PER_SEC; time 216 tools/testing/selftests/timers/valid-adjtimex.c if (offset < 0 && tmx.time.tv_usec) { time 217 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_sec -= 1; time 218 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_usec += USEC_PER_SEC; time 224 tools/testing/selftests/timers/valid-adjtimex.c printf("(sec: %ld usec: %ld) ", tmx.time.tv_sec, tmx.time.tv_usec); time 240 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_sec = sec; time 241 tools/testing/selftests/timers/valid-adjtimex.c tmx.time.tv_usec = usec; time 244 tools/testing/selftests/timers/valid-adjtimex.c printf("Invalid (sec: %ld usec: %ld) did not fail! ", tmx.time.tv_sec, tmx.time.tv_usec); time 153 tools/testing/selftests/vm/mlock-random-test.c srand(time(NULL)); time 230 tools/testing/selftests/vm/mlock-random-test.c srand(time(NULL)); time 296 tools/testing/selftests/vm/userfaultfd.c seed = (unsigned int) time(NULL) - bounces; time 324 tools/testing/selftests/vm/userfaultfd.c start = time(NULL); time 385 tools/testing/selftests/vm/userfaultfd.c if (time(NULL) - start > 1) time 389 tools/testing/selftests/vm/userfaultfd.c time(NULL) - start); time 937 tools/vm/page-types.c long now = time(NULL); time 530 usr/gen_init_cpio.c default_mtime = time(NULL);