/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-ab8500.c | 171 rtc_time64_to_tm(secs, &alarm->time); in ab8500_rtc_read_alarm() 189 mins = (unsigned long)rtc_tm_to_time64(&alarm->time) / 60; in ab8500_rtc_set_alarm() 195 /* Set the alarm time */ in ab8500_rtc_set_alarm()
|
H A D | rtc-88pm80x.c | 73 * Calculate the next alarm time given the requested alarm time mask 74 * and the current time. 163 rtc_time64_to_tm(ticks, &alrm->time); in pm80x_rtc_read_alarm() 194 dev_dbg(info->dev, "%s, now time : %lu\n", __func__, ticks); in pm80x_rtc_set_alarm() 195 rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); in pm80x_rtc_set_alarm() 198 dev_dbg(info->dev, "%s, alarm time: %lu\n", __func__, ticks); in pm80x_rtc_set_alarm()
|
H A D | rtc-da9055.c | 3 * Real time clock driver for DA9055 144 dev_err(rtc->da9055->dev, "Failed to read RTC time : %d\n", in da9055_rtc_read_time() 179 struct rtc_time *tm = &alrm->time; in da9055_rtc_read_alarm() 195 struct rtc_time *tm = &alrm->time; in da9055_rtc_set_alarm()
|
H A D | rtc-da9052.c | 3 * Real time clock driver for DA9052 94 rtc_err(rtc, "Timed out reading alarm time\n"); in da9052_read_alarm() 163 rtc_err(rtc, "Failed to read RTC time : %d\n", ret); in da9052_rtc_read_time() 171 rtc_err(rtc, "Failed to read RTC time : %d\n", ret); in da9052_rtc_read_time() 191 rtc_err(rtc, "Timed out reading time\n"); in da9052_rtc_read_time() 217 rtc_err(rtc, "failed to set RTC time: %d\n", ret); in da9052_rtc_set_time() 224 struct rtc_time *tm = &alrm->time; in da9052_rtc_read_alarm() 240 struct rtc_time *tm = &alrm->time; in da9052_rtc_set_alarm()
|
H A D | rtc-lp8788.c | 167 struct rtc_time *tm = &alarm->time; in lp8788_read_alarm() 192 struct rtc_time *tm = &alarm->time; in lp8788_set_alarm() 265 /* even the alarm IRQ number is not specified, rtc time should work */ in lp8788_alarm_irq_register()
|
H A D | rtc-max8998.c | 147 max8998_data_to_tm(data, &alrm->time); in max8998_rtc_read_alarm() 200 max8998_tm_to_data(&alrm->time, data); in max8998_rtc_set_alarm()
|
H A D | rtc-max8925.c | 188 ret = tm_calc(&alrm->time, buf, TIME_NUM); in max8925_rtc_read_alarm() 223 ret = data_calc(buf, &alrm->time, TIME_NUM); in max8925_rtc_set_alarm()
|
H A D | rtc-mc13xxx.c | 102 * already updated while the time isn't yet. in mc13xxx_rtc_set_time() 191 rtc_time64_to_tm(s1970, &alarm->time); in mc13xxx_rtc_read_alarm() 215 s1970 = rtc_tm_to_time64(&alarm->time); in mc13xxx_rtc_set_alarm()
|
H A D | rtc-opal.c | 111 * with the rtc utility time conversion functions, we use the 'u64' to store 160 opal_to_tm(y_m_d, h_m_s_ms, &alarm->time); in opal_get_tpo_time() 177 tm_to_opal(&alarm->time, &y_m_d, &h_m_s_ms); in opal_set_tpo_time() 221 * non-zero rtc-time. We only handle disable case which needs to be in opal_tpo_alarm_irq_enable()
|
H A D | rtc-stmp3xxx.c | 210 rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_ALARM), &alm->time); in stmp3xxx_rtc_read_alarm() 218 writel(rtc_tm_to_time64(&alm->time), rtc_data->io + STMP3XXX_RTC_ALARM); in stmp3xxx_rtc_set_alarm()
|
H A D | rtc-sunplus.c | 105 alarm_time = rtc_tm_to_time64(&alrm->time); in sp_rtc_set_alarm() 125 rtc_time64_to_tm((unsigned long)(alarm_time), &alrm->time); in sp_rtc_read_alarm()
|
H A D | rtc-tps6586x.c | 99 /* Disable RTC before changing time */ in tps6586x_rtc_set_time() 108 dev_err(dev, "failed to program new time\n"); in tps6586x_rtc_set_time() 148 seconds = rtc_tm_to_time64(&alrm->time); in tps6586x_rtc_set_alarm() 201 rtc_time64_to_tm(seconds, &alrm->time); in tps6586x_rtc_read_alarm()
|
H A D | rtc-zynqmp.c | 66 * seconds read register, so we need to program time +1 sec in xlnx_rtc_set_time() 67 * to get the correct time on read. in xlnx_rtc_set_time() 75 * time. During a read_time function, the code should read the in xlnx_rtc_set_time() 78 * the current time should be read from SET_TIME_READ register; in xlnx_rtc_set_time() 79 * otherwise, CURRENT_TIME register is read to report the time in xlnx_rtc_set_time() 96 * RTC has updated the CURRENT_TIME with the time written into in xlnx_rtc_read_time() 103 * the seconds read register, so read the time from the in xlnx_rtc_read_time() 119 rtc_time64_to_tm(readl(xrtcdev->reg_base + RTC_ALRM), &alrm->time); in xlnx_rtc_read_alarm() 159 alarm_time = rtc_tm_to_time64(&alrm->time); in xlnx_rtc_set_alarm()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | gv100.c | 61 info.time = ((u64)timehi << 32) | timelo; in gv100_fault_buffer_process() 142 info.time = 0; in gv100_fault_intr_fault()
|
/kernel/linux/linux-6.6/tools/perf/jvmti/ |
H A D | jvmti_agent.c | 34 #include <time.h> 138 time(&t); in create_jit_cache_dir()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | perf.c | 33 #include <time.h> 450 srandom(time(NULL)); in main() 486 "trace command not available: missing libtraceevent devel package at build time.\n"); in main() 490 "trace command not available: missing audit-libs devel package at build time.\n"); in main() 522 * time. in main()
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | gecko.py | 18 import time namespace 224 "time": 1, 265 time_stamp = (param_dict['sample']['time'] // 1000) / 1000 270 # Start time is the time of the first sample 342 time.sleep(1)
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | max_guest_memory_test.c | 119 static void rendezvous_with_vcpus(struct timespec *time, const char *name) in rendezvous_with_vcpus() argument 134 clock_gettime(CLOCK_MONOTONIC, time); in rendezvous_with_vcpus() 136 /* Release the vCPUs after getting the time of the previous action. */ in rendezvous_with_vcpus()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | sync_regs_test.c | 188 for (t = time(NULL) + TIMEOUT; time(NULL) < t;) { in race_sync_regs()
|
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 25 import time namespace 326 time.sleep(int(interval))
|
/kernel/linux/linux-6.6/tools/testing/radix-tree/ |
H A D | main.c | 5 #include <time.h> 288 unsigned int seed = time(NULL); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 27 #include <time.h> 325 srand(time(NULL)); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 29 #include <time.h> 59 " -d : delay time to keep tasks alive.\n" 273 srand(time(NULL)); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/ |
H A D | vdso_test_correctness.c | 10 #include <sys/time.h> 11 #include <time.h>
|
/kernel/linux/linux-6.6/tools/thermal/tmon/ |
H A D | tmon.c | 19 #include <time.h> 22 #include <sys/time.h> 57 printf(" -t, --time-interval sampling time interval, > 1 sec.\n"); in usage() 208 { "time-interval", 1, NULL, 't' },
|