/linux-master/drivers/rtc/ |
H A D | rtc-ds1672.c | 29 unsigned long time; local 54 dev_warn(&client->dev, "Oscillator not enabled. Set time to enable.\n"); 71 time = ((unsigned long)buf[3] << 24) | (buf[2] << 16) | 74 rtc_time64_to_tm(time, tm);
|
H A D | rtc-loongson.c | 226 alrm->time.tm_sec = FIELD_GET(TOY_MATCH_SEC, alarm_data); 227 alrm->time.tm_min = FIELD_GET(TOY_MATCH_MIN, alarm_data); 228 alrm->time.tm_hour = FIELD_GET(TOY_MATCH_HOUR, alarm_data); 229 alrm->time.tm_mday = FIELD_GET(TOY_MATCH_DAY, alarm_data); 230 alrm->time.tm_mon = FIELD_GET(TOY_MATCH_MON, alarm_data) - 1; 235 * SYS_TOYMATCH is used to match the alarm time value and determine if 242 alrm->time.tm_year = FIELD_GET(TOY_MATCH_YEAR, alarm_data) + priv->fix_year; 269 alarm_data = FIELD_PREP(TOY_MATCH_SEC, alrm->time.tm_sec) 270 | FIELD_PREP(TOY_MATCH_MIN, alrm->time.tm_min) 271 | FIELD_PREP(TOY_MATCH_HOUR, alrm->time [all...] |
H A D | rtc-tps65910.c | 31 /* Total number of RTC registers needed to set time*/ 60 * Gets current tps65910 RTC time and date parameters. 62 * The RTC's time/alarm representation is not what gmtime(3) requires 112 /* Stop RTC while updating the RTC time registers */ 120 /* update all the time registers in one shot */ 138 * Gets current tps65910 RTC alarm time. 154 alm->time.tm_sec = bcd2bin(alarm_data[0]); 155 alm->time.tm_min = bcd2bin(alarm_data[1]); 156 alm->time.tm_hour = bcd2bin(alarm_data[2]); 157 alm->time [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic_timer.c | 85 const u64 ticks, time64_t *time) 87 *time = (u64)div_u64(ticks, priv->timerfreq); 90 /* the time set by the user is converted to "ticks" */ 92 time64_t time, u64 *ticks) 98 if (time > max_value) 101 *ticks = (u64)time * (u64)priv->timerfreq; 170 /* Two cascade timers: Support the maximum time */ 190 static struct mpic_timer *get_timer(time64_t time) argument 202 ret = convert_time_to_ticks(priv, time, &ticks); 280 * mpic_get_remain_time - get timer time 84 convert_ticks_to_time(struct timer_group_priv *priv, const u64 ticks, time64_t *time) argument 91 convert_time_to_ticks(struct timer_group_priv *priv, time64_t time, u64 *ticks) argument 286 mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) argument 357 mpic_request_timer(irq_handler_t fn, void *dev, time64_t time) argument [all...] |
/linux-master/arch/mips/bcm47xx/ |
H A D | time.c | 27 #include <asm/time.h>
|
/linux-master/kernel/time/ |
H A D | timekeeping_debug.c | 3 * debugfs file to track time spent in suspend 14 #include <linux/time.h> 25 seq_puts(s, " time (secs) count\n");
|
/linux-master/tools/leds/ |
H A D | uledmon.c | 6 * timestamp and brightness value is printed each time the brightness changes. 17 #include <time.h>
|
/linux-master/arch/mips/generic/ |
H A D | irq.c | 15 #include <asm/time.h>
|
/linux-master/arch/mips/kernel/ |
H A D | csrc-ioasic.c | 12 #include <asm/time.h>
|
H A D | csrc-bcm1480.c | 10 #include <asm/time.h>
|
/linux-master/arch/mips/rb532/ |
H A D | time.c | 19 #include <asm/time.h> 26 * register for each time tick. There is no RTC available.
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | futex_bench.c | 10 #include <time.h> 34 printf("time = %.6f\n", ts_end.tv_sec - ts_start.tv_sec + (ts_end.tv_nsec - ts_start.tv_nsec) / 1e9);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_self_refresh_helper.c | 47 * connectors must be SR aware and all will enter/exit SR mode at the same time. 133 * drm_self_refresh_helper_update_avg_times - Updates a crtc's SR time averages 135 * @commit_time_ms: the amount of time in ms that this commit took to complete 156 struct ewma_psr_time *time; local 163 time = &sr_data->entry_avg_ms; 165 time = &sr_data->exit_avg_ms; 168 ewma_psr_time_add(time, commit_time_ms); 253 * for even poorly performing panels). As time goes on, this will be
|
/linux-master/tools/perf/util/ |
H A D | evsel_config.h | 39 bool time; member in union:evsel_config_term::__anon2073
|
/linux-master/arch/x86/include/uapi/asm/ |
H A D | mce.h | 19 __u64 tsc; /* CPU time stamp counter */ 20 __u64 time; /* Wall time_t when error was detected */ member in struct:mce
|
/linux-master/arch/sparc/include/asm/ |
H A D | vvar.h | 11 #include <linux/time.h>
|
/linux-master/fs/pstore/ |
H A D | internal.h | 6 #include <linux/time.h>
|
/linux-master/arch/um/kernel/skas/ |
H A D | syscall.c | 13 #include <linux/time-internal.h>
|
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | scapyPlugin.py | 7 import time namespace
|
/linux-master/arch/um/include/linux/ |
H A D | time-internal.h | 18 unsigned long long time; member in struct:time_travel_event
|
/linux-master/arch/arm/mach-shmobile/ |
H A D | setup-sh73a0.c | 20 #include <asm/mach/time.h>
|
/linux-master/arch/mips/pic32/pic32mzda/ |
H A D | time.c | 13 #include <asm/time.h>
|
/linux-master/fs/coda/ |
H A D | symlink.c | 13 #include <linux/time.h>
|
/linux-master/fs/proc/ |
H A D | loadavg.c | 11 #include <linux/time.h>
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | fault.h | 27 u64 time; member in struct:nvkm_fault_data
|