| /linux/Documentation/sound/designs/ |
| H A D | timestamping.rst | 7 - 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/tools/perf/scripts/python/ |
| H A D | stat-cpi.py | 10 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/Documentation/devicetree/bindings/rtc/ |
| H A D | trivial-rtc.yaml | 23 # 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 27 # ASPEED BMC ast2400 Real-time Clock 29 # ASPEED BMC ast2500 Real-time Clock 31 # ASPEED BMC ast2600 Real-time Clock 33 # ASPEED BMC ast2700 Real-time Clock 35 # Conexant Digicolor Real Time Clock Controller 39 # Dallas DS1672 Real-time Clock 43 # Dallas m41t00 Real-time Clock 45 # SD2405AL Real-Time Clock [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | gpmc-omap.h | 15 /* 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/lib/ |
| H A D | find_bit_benchmark.c | 39 ktime_t time; in test_find_first_bit() local 43 time = ktime_get(); in test_find_first_bit() 48 time = ktime_get() - time; in test_find_first_bit() 49 pr_err("find_first_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_bit() 59 ktime_t time; in test_find_first_and_bit() local 63 time = ktime_get(); in test_find_first_and_bit() 68 time = ktime_get() - time; in test_find_first_and_bit() 69 pr_err("find_first_and_bit: %18llu ns, %6ld iterations\n", time, cnt); in test_find_first_and_bit() 77 ktime_t time; in test_find_next_bit() local 79 time = ktime_get(); in test_find_next_bit() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-mc146818-lib.c | 34 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_avoid_UIP() 81 pr_warn("Reading current time from RTC took around %li ms\n", in mc146818_avoid_UIP() 101 struct rtc_time *time; member 121 p->time->tm_sec = seconds; in mc146818_get_time_callback() 122 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback() 123 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback() 124 p->time->tm_mday = CMOS_READ(RTC_DAY_OF_MONTH); in mc146818_get_time_callback() 125 p->time->tm_mon = CMOS_READ(RTC_MONTH); in mc146818_get_time_callback() 126 p->time->tm_year = CMOS_READ(RTC_YEAR); in mc146818_get_time_callback() 143 * mc146818_get_time - Get the current time from the RTC [all …]
|
| H A D | rtc-wm8350.c | 3 * 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 …]
|
| H A D | rtc-spacemit-p1.c | 37 /* Number of attempts to read a consistent time stamp before giving up */ 47 * latched to ensure a consistent time snapshot within the registers, 57 u8 time[6]; in p1_rtc_read_time() local 63 ret = regmap_bulk_read(regmap, RTC_TIME, time, sizeof(time)); in p1_rtc_read_time() 68 seconds = time[0]; in p1_rtc_read_time() 69 ret = regmap_bulk_read(regmap, RTC_TIME, time, sizeof(time)); in p1_rtc_read_time() 72 } while (time[0] != seconds && --count); in p1_rtc_read_time() 77 t->tm_sec = time[0] & GENMASK(5, 0); in p1_rtc_read_time() 78 t->tm_min = time[1] & GENMASK(5, 0); in p1_rtc_read_time() 79 t->tm_hour = time[2] & GENMASK(4, 0); in p1_rtc_read_time() [all …]
|
| H A D | rtc-sd2405al.c | 3 * RTC driver for the SD2405AL Real-Time Clock 18 /* Real time clock registers */ 87 static int sd2405al_read_time(struct device *dev, struct rtc_time *time) in sd2405al_read_time() argument 98 time->tm_sec = bcd2bin(data[SD2405AL_REG_T_SEC] & 0x7F); in sd2405al_read_time() 99 time->tm_min = bcd2bin(data[SD2405AL_REG_T_MIN] & 0x7F); in sd2405al_read_time() 102 time->tm_hour = bcd2bin(data[SD2405AL_REG_T_HOUR] & 0x3F); in sd2405al_read_time() 105 time->tm_hour = bcd2bin(data[SD2405AL_REG_T_HOUR] in sd2405al_read_time() 108 time->tm_hour = bcd2bin(data[SD2405AL_REG_T_HOUR] in sd2405al_read_time() 111 time->tm_wday = bcd2bin(data[SD2405AL_REG_T_WEEK] & 0x07); in sd2405al_read_time() 112 time->tm_mday = bcd2bin(data[SD2405AL_REG_T_DAY] & 0x3F); in sd2405al_read_time() [all …]
|
| H A D | rtc-spear.c | 63 /* 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 208 time = readl(config->ioaddr + TIME_REG); in spear_rtc_read_time() 210 } while (time == readl(config->ioaddr + TIME_REG)); in spear_rtc_read_time() 211 tm->tm_sec = (time >> SECOND_SHIFT) & SECOND_MASK; in spear_rtc_read_time() 212 tm->tm_min = (time >> MINUTE_SHIFT) & MIN_MASK; in spear_rtc_read_time() 213 tm->tm_hour = (time >> HOUR_SHIFT) & HOUR_MASK; in spear_rtc_read_time() [all …]
|
| H A D | rtc-rk808.c | 21 /* RK808 has a shadowed register for saving a "frozen" RTC time. 22 * When user setting "GET_TIME" to 1, the time will save in this shadowed 23 * register. If set "READSEL" to 1, user read rtc time register, actually 24 * get the time of that moment. If we need the real time, clr this bit. 76 time64_t time = rtc_tm_to_time64(tm); in rockchip_to_gregorian() local 77 rtc_time64_to_tm(time + nov2dec_transitions(tm) * 86400, tm); in rockchip_to_gregorian() 83 time64_t time = rtc_tm_to_time64(tm); in gregorian_to_rockchip() local 84 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip() 91 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip() 95 /* Read current time and date in RTC */ [all …]
|
| /linux/Documentation/scheduler/ |
| H A D | sched-rt-group.rst | 2 Real-Time group scheduling 28 resolution, or the time it takes to handle the budget refresh itself. 33 are real-time processes). 42 Real-time scheduling is all about determinism, a group has to be able to rely on 43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule 44 multiple groups of real-time tasks, each group must be assigned a fixed portion 45 of the CPU time available. Without a minimum guarantee a real-time 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 real-time group which 54 the other real-time groups will not be permitted to use. [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_prioq.c | 7 #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 in compare_timestamp_rel() [all...] |
| /linux/scripts/ |
| H A D | show_delta | 5 # 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 [all...] |
| /linux/arch/um/kernel/ |
| H A D | time.c | 23 #include <linux/time-internal.h> 64 panic("time-travel: time goes backwards %lld -> %lld\n", in time_travel_set_time() 85 printk(KERN_INFO "time-travel: received broadcast 0x%llx\n", bc_message); in _time_travel_print_bc_msg() 149 msg->time & UM_TIMETRAVEL_START_ACK_ID); in time_travel_handle_message() 158 panic("time-travel external link is broken\n"); in time_travel_handle_message() 160 panic("invalid time-travel message - %d bytes\n", ret); in time_travel_handle_message() 164 WARN_ONCE(1, "time-travel: unexpected message %lld\n", in time_travel_handle_message() 170 time_travel_set_time(msg->time); in time_travel_handle_message() 184 _time_travel_ext_free_until = msg->time; in time_travel_handle_message() 187 bc_message = msg->time; in time_travel_handle_message() [all …]
|
| /linux/drivers/iio/ |
| H A D | industrialio-gts-helper.c | 2 /* gain-time-scale conversion helpers for IIO light sensors 45 * gain_get_scale_fraction - get the gain or time based on scale and known one 50 * @scale: Linearized scale to compute the gain/time for. 51 * @known: Either integration time or gain depending on which one is known 52 * @unknown: Pointer to variable where the computed gain/time is stored 55 * Compute either gain or time based on scale and either the gain or time 115 * @gts: Gain time scale descriptor 121 * generated by HW-gain or integration time. It is up to caller to decide what 122 * part of the total gain is due to integration time and what due to HW-gain. 141 * @gts: Gain time scale descriptor [all …]
|
| /linux/include/linux/ |
| H A D | jiffies.h | 10 #include <linux/time.h> 64 /* TICK_USEC is the time between ticks in usec */ 67 /* USER_TICK_USEC is the time between ticks in usec assuming fake USER_HZ */ 113 * time_after - returns true if the time a is after time b. 121 * Return: %true is time a is after time b, otherwise %false. 128 * time_before - returns true if the time a is before time b. 132 * Return: %true is time a is before time b, otherwise %false. 137 * time_after_eq - returns true if the time a is after or the same as time b. 141 * Return: %true is time a is after or the same as time b, otherwise %false. 148 * time_before_eq - returns true if the time a is before or the same as time b. [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-data.txt | 34 Convert time to wall clock time. 43 --time:: 44 Only convert samples within given time window: <start>,<stop>. Times 45 have the format seconds.nanoseconds. If start is not given (i.e. time 47 stop time is not given (i.e. time string is 'x.y,') then analysis goes 49 requires the argument to be quoted e.g. --time "1234.567,1234.789 1235," 51 Also support time percent with multiple time ranges. Time string is 55 Select the second 10% time slice: 57 perf data convert --to-json out.json --time 10%/2 59 Select from 0% to 10% time slice: [all …]
|
| /linux/Documentation/fb/ |
| H A D | viafb.modes | 21 # 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/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | gate.json | 31 "name": "Add gate action with base-time", 47 …"cmdUnderTest": "$TC action add action gate base-time 200000000000ns sched-entry close 100000000ns… 50 "matchPattern": "action order [0-9]*: .*base-time 200s.*index 10 ref", 58 "name": "Add gate action with cycle-time", 74 …"cmdUnderTest": "$TC action add action gate cycle-time 200000000000ns sched-entry close 100000000n… 77 "matchPattern": "action order [0-9]*: .*cycle-time 200s.*index 1000 ref", 85 "name": "Add gate action with cycle-time-ext", 101 …"cmdUnderTest": "$TC action add action gate cycle-time-ext 20000000000ns sched-entry close 1000000… 104 "matchPattern": "action order [0-9]*: .*cycle-time-ext 20s.*index 1000 ref", 112 "name": "Replace gate base-time action", [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | ti,gpmc-child.yaml | 30 description: Assertion time 34 description: Read deassertion time 38 description: Write deassertion time 43 description: Assertion time 47 description: Read deassertion time 51 description: Write deassertion time 55 description: Assertion time for AAD 59 description: Read deassertion time for AAD 63 description: Write deassertion time for AAD 68 description: Assertion time [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | subdev.c | 58 s64 time; in nvkm_subdev_fini() local 73 time = ktime_to_us(ktime_get()); in nvkm_subdev_fini() 87 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_fini() 88 nvkm_trace(subdev, "%s completed in %lldus\n", action, time); in nvkm_subdev_fini() 95 s64 time; in nvkm_subdev_preinit() local 98 time = ktime_to_us(ktime_get()); in nvkm_subdev_preinit() 108 time = ktime_to_us(ktime_get()) - time; in nvkm_subdev_preinit() 109 nvkm_trace(subdev, "preinit completed in %lldus\n", time); in nvkm_subdev_preinit() 116 s64 time; in nvkm_subdev_oneinit_() local 122 nvkm_trace(subdev, "one-time init running...\n"); in nvkm_subdev_oneinit_() [all …]
|
| /linux/fs/fat/ |
| H A D | fat_test.c | 57 __le16 time; member 66 __le16 time; member 83 .time = cpu_to_le16(0), 91 .time = cpu_to_le16(49021), 99 .time = cpu_to_le16(0), 107 .time = cpu_to_le16(49021), 115 .time = cpu_to_le16(0), 123 .time = cpu_to_le16(0), 131 .time = cpu_to_le16(0), 139 .time = cpu_to_le16(48064), [all …]
|
| /linux/tools/perf/tests/shell/ |
| H A D | daemon.sh | 173 [session-time] 197 # pid:time:-e task-clock:base/time:base/time/output:base/time/control:base/time/ack:0 200 check_line_other "${line}" time "-e task-clock -m 1 sleep 10" ${base}/session-time \ 201 ${base}/session-time/output ${base}/session-time/control \ 202 ${base}/session-time/ack "0" 228 [session-time] 238 # pid:time:-e task-clock:base/time:base/time/output:base/time/control:base/time/ack:0 241 check_line_other "${line}" time "-e task-clock -m 1 sleep 10" ${base}/session-time \ 242 ${base}/session-time/output ${base}/session-time/control ${base}/session-time/ack "0" 255 [session-time] [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
| H A D | smu15_driver_if_v15_0_0.h | 192 uint16_t StapmCurrentLimit; //Time filtered STAPM power limit [mW] 196 uint16_t GfxclkFrequency; //Time filtered target GFXCLK frequency [MHz] 197 uint16_t FclkFrequency; //Time filtered target FCLK frequency [MHz] 198 uint16_t GfxActivity; //Time filtered GFX busy % [0-100] 199 uint16_t SocclkFrequency; //Time filtered target SOCCLK frequency [MHz] 200 uint16_t VclkFrequency; //Time filtered target VCLK frequency [MHz] 201 uint16_t VcnActivity; //Time filtered VCN busy % [0-100] 202 uint16_t VpeclkFrequency; //Time filtered target VPECLK frequency [MHz] 203 uint16_t NpuclkFrequency; //Time filtered target NPUCLK frequency [MHz] 204 uint16_t NpuBusy[8]; //Time filtered NPU per-column busy % [0-100] [all …]
|