Home
last modified time | relevance | path

Searched full:time (Results 1 – 25 of 5726) sorted by relevance

12345678910>>...230

/Linux-v5.15/Documentation/sound/designs/
Dtimestamping.rst7 - Trigger_tstamp is the system time snapshot taken when the .trigger
19 The difference (tstamp - trigger_tstamp) defines the elapsed time.
26 The use of these different pointers and time information depends on
30 - ``delay`` reports the time it will take to hear a new sample after all
34 along with a snapshot of system time. Applications can select from
42 of time as measured by different components of audio hardware. In
47 --------------------------------------------------------------> time
51 time time time time time
58 The analog time is taken at the last stage of the playback, as close
61 The link time is taken at the output of the SoC/chipset as the samples
[all …]
/Linux-v5.15/tools/perf/scripts/python/
Dstat-cpi.py10 def get_key(time, event, cpu, thread): argument
11 return "%d-%s-%d-%d" % (time, event, cpu, thread)
13 def store_key(time, cpu, thread): argument
14 if (time not in times):
15 times.append(time)
23 def store(time, event, cpu, thread, val, ena, run): argument
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
27 store_key(time, cpu, thread)
28 key = get_key(time, event, cpu, thread)
[all …]
/Linux-v5.15/include/linux/platform_data/
Dgpmc-omap.h15 /* bool type time settings */
35 u32 cs_on; /* Assertion time */
36 u32 cs_rd_off; /* Read deassertion time */
37 u32 cs_wr_off; /* Write deassertion time */
40 u32 adv_on; /* Assertion time */
41 u32 adv_rd_off; /* Read deassertion time */
42 u32 adv_wr_off; /* Write deassertion time */
43 u32 adv_aad_mux_on; /* ADV assertion time for AAD */
44 u32 adv_aad_mux_rd_off; /* ADV read deassertion time for AAD */
45 u32 adv_aad_mux_wr_off; /* ADV write deassertion time for AAD */
[all …]
/Linux-v5.15/fs/ntfs/
Dtime.h3 * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
11 #include <linux/time.h> /* For current_kernel_time(). */
19 * utc2ntfs - convert Linux UTC time to NTFS time
20 * @ts: Linux UTC time to convert to NTFS time
22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return
25 * Linux stores time in a struct timespec64 consisting of a time64_t tv_sec
30 * NTFS uses Microsoft's standard time format which is stored in a s64 and is
38 * converted to 100ns intervals, and then add the NTFS time offset. in utc2ntfs()
45 * get_current_ntfs_time - get the current time in little endian NTFS format
47 * Get the current time from the Linux kernel, convert it to its corresponding
[all …]
/Linux-v5.15/drivers/rtc/
Drtc-mc146818-lib.c11 unsigned int mc146818_get_time(struct rtc_time *time) in mc146818_get_time() argument
27 memset(time, 0xff, sizeof(*time)); in mc146818_get_time()
33 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_get_time()
40 time->tm_sec = CMOS_READ(RTC_SECONDS); in mc146818_get_time()
49 if (time->tm_sec != CMOS_READ(RTC_SECONDS)) { in mc146818_get_time()
60 time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time()
61 time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time()
62 time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time()
63 time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time()
64 time->tm_year = CMOS_READ(RTC_YEAR); in mc146818_get_time()
[all …]
Drtc-wm8350.c3 * Real Time Clock driver for Wolfson Microelectronics WM8350
13 #include <linux/time.h>
29 * Read current time and date in RTC
38 * Read the time twice and compare. in wm8350_rtc_readtime()
39 * If time1 == time2, then time is valid else retry. in wm8350_rtc_readtime()
83 dev_err(dev, "timed out reading RTC time\n"); in wm8350_rtc_readtime()
88 * Set current time and date in RTC
93 u16 time[4]; in wm8350_rtc_settime() local
97 time[0] = tm->tm_sec; in wm8350_rtc_settime()
98 time[0] |= tm->tm_min << WM8350_RTC_MINS_SHIFT; in wm8350_rtc_settime()
[all …]
Drtc-pcf50633.c51 u_int8_t time[PCF50633_TI_EXTENT]; member
64 rtc->tm_sec = bcd2bin(pcf->time[PCF50633_TI_SEC]); in pcf2rtc_time()
65 rtc->tm_min = bcd2bin(pcf->time[PCF50633_TI_MIN]); in pcf2rtc_time()
66 rtc->tm_hour = bcd2bin(pcf->time[PCF50633_TI_HOUR]); in pcf2rtc_time()
67 rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]); in pcf2rtc_time()
68 rtc->tm_mday = bcd2bin(pcf->time[PCF50633_TI_DAY]); in pcf2rtc_time()
69 rtc->tm_mon = bcd2bin(pcf->time[PCF50633_TI_MONTH]) - 1; in pcf2rtc_time()
70 rtc->tm_year = bcd2bin(pcf->time[PCF50633_TI_YEAR]) + 100; in pcf2rtc_time()
75 pcf->time[PCF50633_TI_SEC] = bin2bcd(rtc->tm_sec); in rtc2pcf_time()
76 pcf->time[PCF50633_TI_MIN] = bin2bcd(rtc->tm_min); in rtc2pcf_time()
[all …]
Drtc-spear.c63 /* date reg equal to time reg, for debug only */
192 * spear_rtc_read_time - set the time
194 * @tm: holds date and time
196 * This function read time and date. On success it will return 0
202 unsigned int time, date; in spear_rtc_read_time() local
207 time = readl(config->ioaddr + TIME_REG); in spear_rtc_read_time()
209 tm->tm_sec = (time >> SECOND_SHIFT) & SECOND_MASK; in spear_rtc_read_time()
210 tm->tm_min = (time >> MINUTE_SHIFT) & MIN_MASK; in spear_rtc_read_time()
211 tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_time()
221 * spear_rtc_set_time - set the time
[all …]
Drtc-dm355evm.c35 union evm_time time; in dm355evm_rtc_read_time() local
48 if (tries && time.bytes[0] == status) in dm355evm_rtc_read_time()
50 time.bytes[0] = status; in dm355evm_rtc_read_time()
55 if (tries && time.bytes[1] == status) in dm355evm_rtc_read_time()
57 time.bytes[1] = status; in dm355evm_rtc_read_time()
62 if (tries && time.bytes[2] == status) in dm355evm_rtc_read_time()
64 time.bytes[2] = status; in dm355evm_rtc_read_time()
69 if (tries && time.bytes[3] == status) in dm355evm_rtc_read_time()
71 time.bytes[3] = status; in dm355evm_rtc_read_time()
75 dev_dbg(dev, "read timestamp %08x\n", time.value); in dm355evm_rtc_read_time()
[all …]
Drtc-rk808.c22 /* RK808 has a shadowed register for saving a "frozen" RTC time.
23 * When user setting "GET_TIME" to 1, the time will save in this shadowed
24 * register. If set "READSEL" to 1, user read rtc time register, actually
25 * get the time of that moment. If we need the real time, clr this bit.
77 time64_t time = rtc_tm_to_time64(tm); in rockchip_to_gregorian() local
78 rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); in rockchip_to_gregorian()
84 time64_t time = rtc_tm_to_time64(tm); in gregorian_to_rockchip() local
85 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip()
92 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip()
96 /* Read current time and date in RTC */
[all …]
/Linux-v5.15/scripts/
Dshow_delta5 # time data, and format with time deltas.
19 have time data prefixed because the CONFIG_PRINTK_TIME option is set, or
20 the kernel command line option "time" is specified. When run with no
21 options, the time information is converted to show the time delta between
23 are relative to a single (base) point in time.
27 -b <base> Specify a base for time references.
31 line) is used as the time reference.
50 time = string.atof(time_str)
52 #print "time=", time
53 return (time, rest)
[all …]
/Linux-v5.15/sound/core/seq/
Dseq_prioq.c7 #include <linux/time.h>
91 return (snd_seq_compare_tick_time(&a->time.tick, &b->time.tick)); in compare_timestamp()
93 /* compare real time */ in compare_timestamp()
94 return (snd_seq_compare_real_time(&a->time.time, &b->time.time)); in compare_timestamp()
108 if (a->time.tick > b->time.tick) in compare_timestamp_rel()
110 else if (a->time.tick == b->time.tick) in compare_timestamp_rel()
115 /* compare real time */ in compare_timestamp_rel()
116 if (a->time.time.tv_sec > b->time.time.tv_sec) in compare_timestamp_rel()
118 else if (a->time.time.tv_sec == b->time.time.tv_sec) { in compare_timestamp_rel()
119 if (a->time.time.tv_nsec > b->time.time.tv_nsec) in compare_timestamp_rel()
[all …]
/Linux-v5.15/arch/um/kernel/
Dtime.c22 #include <linux/time-internal.h>
48 panic("time-travel: time goes backwards %lld -> %lld\n", in time_travel_set_time()
85 panic("time-travel external link is broken\n"); in time_travel_handle_message()
87 panic("invalid time-travel message - %d bytes\n", ret); in time_travel_handle_message()
91 WARN_ONCE(1, "time-travel: unexpected message %lld\n", in time_travel_handle_message()
97 time_travel_set_time(msg->time); in time_travel_handle_message()
101 time_travel_ext_free_until = msg->time; in time_travel_handle_message()
109 static u64 time_travel_ext_req(u32 op, u64 time) in time_travel_ext_req() argument
115 .time = time, in time_travel_ext_req()
129 * current time (for UM_TIMETRAVEL_GET) and getting another in time_travel_ext_req()
[all …]
/Linux-v5.15/lib/
Dfind_bit_benchmark.c39 ktime_t time; in test_find_first_bit() local
41 time = ktime_get(); in test_find_first_bit()
46 time = ktime_get() - time; in test_find_first_bit()
47 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit()
55 ktime_t time; in test_find_next_bit() local
57 time = ktime_get(); in test_find_next_bit()
60 time = ktime_get() - time; in test_find_next_bit()
61 pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_next_bit()
69 ktime_t time; in test_find_next_zero_bit() local
71 time = ktime_get(); in test_find_next_zero_bit()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/rtc/
Dtrivial-rtc.yaml23 # AB-RTCMC-32.768kHz-B5ZE-S3: Real Time Clock/Calendar Module with I2C Interface
25 # AB-RTCMC-32.768kHz-EOZ9: Real Time Clock/Calendar Module with I2C Interface
29 # Dallas DS1672 Real-time Clock
33 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE
35 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE
38 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE with Battery Backed RAM
40 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE
46 # Intersil ISL12022 Real-time Clock
48 # Real Time Clock Module with I2C-Bus
50 # Real Time Clock Module with I2C-Bus
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/core/
Dsubdev.c58 s64 time; in nvkm_subdev_fini() local
61 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini()
74 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini()
75 nvkm_trace(subdev, "%s completed in %lldus\n", action, time); in nvkm_subdev_fini()
82 s64 time; in nvkm_subdev_preinit() local
85 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit()
95 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit()
96 nvkm_trace(subdev, "preinit completed in %lldus\n", time); in nvkm_subdev_preinit()
103 s64 time; in nvkm_subdev_init() local
107 time = ktime_to_us(ktime_get()); in nvkm_subdev_init()
[all …]
/Linux-v5.15/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c15 #include <time.h>
56 uint64_t time[4]; member
70 GUEST_ASSERT(rs->time[RUNSTATE_runnable] != 0); in guest_code()
74 GUEST_ASSERT(rs->time[RUNSTATE_blocked] != 0); in guest_code()
78 GUEST_ASSERT(rs->time[RUNSTATE_offline] != 0); in guest_code()
81 /* Test runstate time adjust */ in guest_code()
83 GUEST_ASSERT(rs->time[RUNSTATE_blocked] == 0x5a); in guest_code()
84 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x6b6b); in guest_code()
86 /* Test runstate time set */ in guest_code()
89 GUEST_ASSERT(rs->time[RUNSTATE_runnable] == 0); in guest_code()
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dtime-event.h14 * DOC: Time Events - what is it?
16 * Time Events are a fw feature that allows the driver to control the presence
18 * concurrently, the fw may choose to jump to another channel at any time.
19 * In order to make sure that the fw is on a specific channel at a certain time
20 * and for a certain duration, the driver needs to issue a time event.
22 * The simplest example is for BSS association. The driver issues a time event,
32 * time and for a certain duration, it sends a Time Event. The flow against the
42 * What is the start time of the event?
43 * Is there an end-time for the event?
53 * In order to simplify the use of time events to the rest of the driver,
[all …]
/Linux-v5.15/include/uapi/linux/
Dum_timetravel.h21 * struct um_timetravel_msg - UM time travel message
48 * @time: time in nanoseconds
50 __u64 time; member
59 * this usually doesn't carry any data in the 'time' field
65 * @UM_TIMETRAVEL_START: initialize the connection, the time
72 * @UM_TIMETRAVEL_REQUEST: request to run at the given time
80 * interrupts); the time field is ignored. The calendar must process
88 * @UM_TIMETRAVEL_GET: return the current time from the calendar in the
89 * ACK message, the time in the request message is ignored
95 * @UM_TIMETRAVEL_UPDATE: time update to the calendar, must be sent e.g.
[all …]
/Linux-v5.15/Documentation/fb/
Dviafb.modes21 # Active Time 25.422 us 15.253 ms
23 # Blank Time 6.356 us 1.430 ms
46 # Active Time 20.317 us 12.800 ms
48 # Blank Time 6.349 us 0.533 ms
67 # Active Time 17.778 us 11.093 ms
69 # Blank Time 5.333 us 0.670 ms
88 # Active Time 14.827 us 9.430 ms
90 # Blank Time 4.819 us 0.570 ms
109 # Active Time 12.212 us 7.767 ms
111 # Blank Time 3.969 us 0.566 ms
[all …]
/Linux-v5.15/Documentation/scheduler/
Dsched-rt-group.rst2 Real-Time group scheduling
28 resolution, or the time it takes to handle the budget refresh itself.
33 are real-time processes).
43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule
45 of the CPU time available. Without a minimum guarantee a realtime group can
52 CPU time is divided by means of specifying how much time can be spent running
53 in a given period. We allocate this "run time" for each realtime group which
56 Any time not allocated to a realtime group will be used to run normal priority
57 tasks (SCHED_OTHER). Any allocated run time not used will also be picked up by
63 time dedicated for the graphics. We can then give this group a run time of 0.8
[all …]
Dsched-deadline.rst12 3. Scheduling Real-Time Tasks
54 "runtime" microseconds of execution time every "period" microseconds, and
57 every time the task wakes up, the scheduler computes a "scheduling deadline"
61 task actually receives "runtime" time units within "deadline" if a proper
70 with the "traditional" real-time task model (see Section 3) can effectively
87 scheduling deadline - current time period
89 then, if the scheduling deadline is smaller than the current time, or
93 scheduling deadline = current time + deadline
99 - When a SCHED_DEADLINE task executes for an amount of time t, its
108 said to be "throttled" (also known as "depleted" in real-time literature)
[all …]
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtime-event.h12 /* Time Event types, according to MAC type */
45 /* Time event - defines for command API v1 */
48 * @TE_V1_FRAG_NONE: fragmentation of the time event is NOT allowed.
49 * @TE_V1_FRAG_SINGLE: fragmentation of the time event is allowed, but only
51 * @TE_V1_FRAG_DUAL: fragmentation of the time event is allowed, but only
53 * @TE_V1_FRAG_ENDLESS: fragmentation of the time event is allowed, and any
67 /* If a Time Event can be fragmented, this is the max number of fragments */
69 /* Repeat the time event endlessly (until removed) */
71 /* If a Time Event has bounded repetitions, this is the maximal value */
74 /* Time Event dependencies: none, on another TE, or in a specific time */
[all …]
/Linux-v5.15/tools/perf/tests/shell/
Ddaemon.sh157 [session-time]
179 # pid:time:-e task-clock:base/time:base/time/output:base/time/control:base/time/ack:0
181 check_line_other "${line}" time "-e task-clock -m 1 sleep 10" ${base}/session-time \
182 ${base}/session-time/output ${base}/session-time/control \
183 ${base}/session-time/ack "0"
207 [session-time]
217 # pid:time:-e task-clock:base/time:base/time/output:base/time/control:base/time/ack:0
219 check_line_other "${line}" time "-e task-clock -m 1 sleep 10" ${base}/session-time \
220 ${base}/session-time/output ${base}/session-time/control ${base}/session-time/ack "0"
232 [session-time]
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/memory-controllers/
Domap-gpmc.txt58 - gpmc,cs-on-ns: Assertion time
59 - gpmc,cs-rd-off-ns: Read deassertion time
60 - gpmc,cs-wr-off-ns: Write deassertion time
63 - gpmc,adv-on-ns: Assertion time
64 - gpmc,adv-rd-off-ns: Read deassertion time
65 - gpmc,adv-wr-off-ns: Write deassertion time
66 - gpmc,adv-aad-mux-on-ns: Assertion time for AAD
67 - gpmc,adv-aad-mux-rd-off-ns: Read deassertion time for AAD
68 - gpmc,adv-aad-mux-wr-off-ns: Write deassertion time for AAD
71 - gpmc,we-on-ns Assertion time
[all …]

12345678910>>...230