/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tag.c | 6 #include <time.h> 31 srand(time(NULL)); in bpf_gen_imm_prog()
|
/kernel/linux/linux-6.6/arch/mips/sibyte/swarm/ |
H A D | rtc_m41t81.c | 10 #include <linux/time.h> 12 #include <asm/time.h>
|
H A D | rtc_xicor1241.c | 10 #include <linux/time.h> 12 #include <asm/time.h> 36 #define X1241REG_HR_MIL 0x80 /* military time format */
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-max8907.c | 133 regs_to_tm(regs, &alrm->time); in max8907_rtc_read_alarm() 150 tm_to_regs(&alrm->time, regs); in max8907_rtc_set_alarm() 152 /* Disable alarm while we update the target time */ in max8907_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-digicolor.c | 121 rtc_time64_to_tm(reference + alarm_reg, &alarm->time); in dc_rtc_read_alarm() 139 alarm_time = rtc_tm_to_time64(&alarm->time); in dc_rtc_set_alarm()
|
H A D | rtc-fsl-ftm-alarm.c | 22 #include <linux/time.h> 180 * The function is not really getting time from the RTC 182 * get time to setup alarm, so we are using system time 214 alm_time = rtc_tm_to_time64(&alm->time); in ftm_rtc_set_alarm()
|
H A D | rtc-xgene.c | 70 rtc_time64_to_tm(0, &alrm->time); in xgene_rtc_read_alarm() 105 writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR); in xgene_rtc_set_alarm()
|
/kernel/linux/linux-5.10/samples/timers/ |
H A D | hpet_example.c | 9 #include <time.h> 15 #include <sys/time.h> 194 "hpet_poll: expired time = 0x%lx\n", usec); in hpet_poll()
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | cache.h | 49 time64_t expiry_time; /* After time expiry_time, don't use 113 atomic_t writers; /* how many time is /channel open */ 151 * real time. 285 static inline int get_time(char **bpp, time64_t *time) in get_time() argument 299 *time = ll; in get_time()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | sort.h | 41 u64 time; member 140 long time; member
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | libfcoe.h | 85 * @sol_time: time when a multicast solicitation was last sent. 86 * @sel_time: time after which to select an FCF. 87 * @port_ka_time: time of next port keep-alive. 88 * @ctlr_ka_time: time of next controller keep-alive. 179 * @time: system time (jiffies) when an advertisement was last received 203 unsigned long time; member 224 * @time: time of create or last beacon packet received from node 233 unsigned long time; member [all...] |
/kernel/linux/linux-5.10/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.c | 122 pr_info("time: %s\n", fimage->time); in gs_print_header() 148 err = readinfo_bitstream(bitdata, fimage->time, MAX_STR, &offset); in gs_read_bitstream()
|
/kernel/linux/linux-6.6/drivers/net/can/mscan/ |
H A D | mscan.h | 197 u16 time; /* + 0x5c 0x2e */ member 216 u16 time; /* + 0x7c 0x3e */ member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 6 void tsnep_get_system_time(struct tsnep_adapter *adapter, u64 *time) in tsnep_get_system_time() argument 19 *time = (((u64)high) << 32) | ((u64)low); in tsnep_get_system_time() 89 * eliminate ppm, multiply with 8 to compensate 8ns clock cycle time, in tsnep_ptp_adjfine() 118 * system time when low dword is written in tsnep_ptp_adjtime() 167 * system time when low dword is written in tsnep_ptp_settime64() 214 /* at most 2^-1ns adjustment every clock cycle for 8ns clock cycle time, in tsnep_ptp_init()
|
/kernel/linux/linux-6.6/include/linux/sunrpc/ |
H A D | cache.h | 49 time64_t expiry_time; /* After time expiry_time, don't use 117 atomic_t writers; /* how many time is /channel open */ 155 * real time. 289 static inline int get_time(char **bpp, time64_t *time) in get_time() argument 303 *time = ll; in get_time()
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | libfcoe.h | 86 * @sol_time: time when a multicast solicitation was last sent. 87 * @sel_time: time after which to select an FCF. 88 * @port_ka_time: time of next port keep-alive. 89 * @ctlr_ka_time: time of next controller keep-alive. 180 * @time: system time (jiffies) when an advertisement was last received 204 unsigned long time; member 225 * @time: time of create or last beacon packet received from node 234 unsigned long time; member [all...] |
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-digicolor.c | 121 rtc_time64_to_tm(reference + alarm_reg, &alarm->time); in dc_rtc_read_alarm() 139 alarm_time = rtc_tm_to_time64(&alarm->time); in dc_rtc_set_alarm()
|
H A D | rtc-fsl-ftm-alarm.c | 19 #include <linux/time.h> 177 * The function is not really getting time from the RTC 179 * get time to setup alarm, so we are using system time 211 alm_time = rtc_tm_to_time64(&alm->time); in ftm_rtc_set_alarm()
|
H A D | rtc-max8907.c | 132 regs_to_tm(regs, &alrm->time); in max8907_rtc_read_alarm() 149 tm_to_regs(&alrm->time, regs); in max8907_rtc_set_alarm() 151 /* Disable alarm while we update the target time */ in max8907_rtc_set_alarm()
|
H A D | rtc-msc313.c | 3 * Real time clocks driver for MStar/SigmaStar ARMv7 SoCs. 58 rtc_time64_to_tm(seconds, &alarm->time); in msc313_rtc_read_alarm() 85 seconds = rtc_tm_to_time64(&alarm->time); in msc313_rtc_set_alarm()
|
H A D | rtc-xgene.c | 70 rtc_time64_to_tm(0, &alrm->time); in xgene_rtc_read_alarm() 105 writel((u32)rtc_tm_to_time64(&alrm->time), pdata->csr_base + RTC_CMR); in xgene_rtc_set_alarm()
|
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | futex.h | 123 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, 292 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | perf-time-to-tsc.c | 61 * test__perf_time_to_tsc - test converting perf time to TSC. 63 * This function implements a test that checks that the conversion of perf time 164 comm1_time = sample.time; in test__perf_time_to_tsc() 169 comm2_time = sample.time; in test__perf_time_to_tsc() 184 pr_debug("1st event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 186 pr_debug("rdtsc time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 188 pr_debug("2nd event perf time %"PRIu64" tsc %"PRIu64"\n", in test__perf_time_to_tsc() 211 TEST_CASE_REASON("Perf time to TSC", perf_time_to_tsc, 217 .desc = "Convert perf time to TSC",
|
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst-daemon.c | 19 #include <time.h> 48 tm = time(NULL); in process_level_change()
|