/linux/include/trace/events/ |
H A D | osnoise.h | 11 TP_PROTO(struct task_struct *t, u64 start, u64 duration), 13 TP_ARGS(t, start, duration), 18 __field( u64, duration) 26 __entry->duration = duration; 29 TP_printk("%8s:%d start %llu.%09u duration %llu ns", 34 __entry->duration) 39 TP_PROTO(int vector, u64 start, u64 duration), 41 TP_ARGS(vector, start, duration), 45 __field( u64, duration) [all...] |
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a73/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 "PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU", 12 "BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU" 15 "PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU", 18 "BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU" 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the Instruction Side", 30 "BriefDescription": "Duration of a translation table walk requested by the Instruction Side" [all …]
|
H A D | pipeline.json | 15 "PublicDescription": "Duration for which all slots in the Load-Store Unit are busy", 18 "BriefDescription": "Duration for which all slots in the Load-Store Unit are busy" 21 "PublicDescription": "Duration for which all slots in the load-store issue queue are busy", 24 "BriefDescription": "Duration for which all slots in the load-store issue queue are busy" 27 … "PublicDescription": "Duration for which all slots in the data processing issue queue are busy", 30 … "BriefDescription": "Duration for which all slots in the data processing issue queue are busy" 33 "PublicDescription": "Duration for which all slots in the Data Engine issue queue are busy", 36 "BriefDescription": "Duration for which all slots in the Data Engine issue queue are busy"
|
/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a75/ |
H A D | mmu.json | 3 "PublicDescription": "Duration of a translation table walk handled by the MMU", 6 "BriefDescription": "Duration of a translation table walk handled by the MMU" 9 …"PublicDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event … 12 …"BriefDescription": "Duration of a Stage 1 translation table walk handled by the MMU. This event i… 15 …"PublicDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event … 18 …"BriefDescription": "Duration of a Stage 2 translation table walk handled by the MMU. This event i… 21 "PublicDescription": "Duration of a translation table walk requested by the LSU", 24 "BriefDescription": "Duration of a translation table walk requested by the LSU" 27 … "PublicDescription": "Duration of a translation table walk requested by the instruction side", 30 "BriefDescription": "Duration of a translation table walk requested by the instruction side" [all …]
|
H A D | pipeline.json | 21 "PublicDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy", 24 "BriefDescription": "Duration for which all slots in the Load-Store Unit (LSU) are busy" 27 …"PublicDescription": "Duration for which all slots in the load-store issue queue are busy. This ev… 30 …"BriefDescription": "Duration for which all slots in the load-store issue queue are busy. This eve… 33 …"PublicDescription": "Duration for which all slots in the data processing issue queue are busy. Th… 36 …"BriefDescription": "Duration for which all slots in the data processing issue queue are busy. Thi… 39 …"PublicDescription": "Duration for which all slots in the data engine issue queue are busy. This e… 42 …"BriefDescription": "Duration for which all slots in the data engine issue queue are busy. This ev…
|
/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 68 This trigger exports three properties, activate, state, and duration. When 71 - duration allows setting timer value in msecs. The initial value is 0. 73 duration as needed. The initial and default value is 0. This will allow 74 duration to be set after trigger activation. 76 duration. 82 to allow duration to be set. 85 duration running. 89 duration 90 - one shot timer value. When activate is set, duration value 93 echo new_value > duration [all …]
|
/linux/drivers/media/rc/ |
H A D | rc-core-priv.h | 182 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) in decrease_duration() argument 184 if (duration > ev->duration) in decrease_duration() 185 ev->duration = 0; in decrease_duration() 187 ev->duration -= duration; in decrease_duration() 203 u32 duration) in init_ir_raw_event_duration() argument 206 .duration = duration, in init_ir_raw_event_duration() 213 * @leader_pulse: duration of leader pulse (if any) 0 if continuing 215 * @leader_space: duration of leader space (if any) 216 * @clock: duration of each pulse/space in ns 219 * @trailer_space: duration of trailer space in ns [all …]
|
H A D | ir-xmp-decoder.c | 19 /* should be 80ms but not all duration supliers can go that high */ 46 data->state, data->count, ev.duration, TO_STR(ev.pulse)); in ir_xmp_decode() 54 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) { in ir_xmp_decode() 65 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) in ir_xmp_decode() 74 if (geq_margin(ev.duration, XMP_TRAILER_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 82 data->count, ev.duration); in ir_xmp_decode() 147 } else if (geq_margin(ev.duration, XMP_HALFFRAME_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 151 data->count, ev.duration); in ir_xmp_decode() 162 data->count, ev.duration); in ir_xmp_decode() 167 } else if (geq_margin(ev.duration, XMP_NIBBLE_PREFIX, XMP_UNIT)) { in ir_xmp_decode() [all …]
|
H A D | ir-jvc-decoder.c | 48 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) in ir_jvc_decode() 52 data->state, ev.duration, TO_STR(ev.pulse)); in ir_jvc_decode() 61 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 74 if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 84 if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 95 if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) { in ir_jvc_decode() 98 } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 114 if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 124 if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 151 if (eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() [all …]
|
H A D | ir-nec-decoder.c | 53 data->state, ev.duration, TO_STR(ev.pulse)); in ir_nec_decode() 61 if (eq_margin(ev.duration, NEC_HEADER_PULSE, NEC_UNIT * 2)) { in ir_nec_decode() 64 } else if (eq_margin(ev.duration, NECX_HEADER_PULSE, NEC_UNIT / 2)) in ir_nec_decode() 77 if (eq_margin(ev.duration, NEC_HEADER_SPACE, NEC_UNIT)) { in ir_nec_decode() 80 } else if (eq_margin(ev.duration, NEC_REPEAT_SPACE, NEC_UNIT / 2)) { in ir_nec_decode() 91 if (!eq_margin(ev.duration, NEC_BIT_PULSE, NEC_UNIT / 2)) in ir_nec_decode() 102 geq_margin(ev.duration, NEC_TRAILER_SPACE, NEC_UNIT / 2)) { in ir_nec_decode() 111 if (eq_margin(ev.duration, NEC_BIT_1_SPACE, NEC_UNIT / 2)) in ir_nec_decode() 113 else if (!eq_margin(ev.duration, NEC_BIT_0_SPACE, NEC_UNIT / 2)) in ir_nec_decode() 128 if (!eq_margin(ev.duration, NEC_TRAILER_PULSE, NEC_UNIT / 2)) in ir_nec_decode() [all …]
|
H A D | ir-sharp-decoder.c | 52 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sharp_decode() 60 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 65 data->pulse_len = ev.duration; in ir_sharp_decode() 73 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 77 data->pulse_len = ev.duration; in ir_sharp_decode() 86 if (eq_margin(data->pulse_len + ev.duration, SHARP_BIT_1_PERIOD, in ir_sharp_decode() 89 else if (!eq_margin(data->pulse_len + ev.duration, in ir_sharp_decode() 106 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 126 if (!eq_margin(ev.duration, SHARP_ECHO_SPACE, in ir_sharp_decode() 138 if (!geq_margin(ev.duration, SHARP_TRAILER_SPACE, in ir_sharp_decode() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-event.h | 20 * and for a certain duration, the driver needs to issue a time event. 32 * time and for a certain duration, it sends a Time Event. The flow against the 41 * What is the duration of the event? 65 * @duration: the duration of the session in TU. 81 u32 duration, u32 min_duration, 116 * @duration: the requested duration in millisecond for the fw to be on the 121 * which means that the fw will stay in the channel for the request %duration 129 int duration, enum ieee80211_roc_type type); 177 * @duration: the duration of the NoA in TU. 185 u32 duration, u32 apply_time); [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | nft_zones_many.sh | 85 local duration=$((stop-start)) 86 echo "PASS: added 1000 entries in $duration ms (now $i total, loop $j)" 90 local count duration 92 duration=$((stop-outerstart)) 95 echo "PASS: inserted $count entries from packet path in $duration ms total" 98 …echo "FAIL: inserted $count entries from packet path in $duration ms total, expected $max_zones en… 133 local duration=$((stop-start)) 134 echo "PASS: added 1000 entries in $duration ms (now $i total)" 140 local duration 142 duration=$((stop-outerstart)) [all …]
|
/linux/net/mac80211/ |
H A D | airtime.c | 30 /* Transmit duration for the raw data part of an average sized packet */ 51 /* Transmit duration for the raw data part of an average sized packet */ 111 #define GROUP_SHIFT(duration) \ argument 112 _MAX(0, 16 - __builtin_clz(duration)) 118 .duration = { \ 149 .duration = { \ 191 .duration = { \ 239 .duration = { \ 291 u16 duration[MCS_GROUP_RATES]; member 488 u32 duration; in ieee80211_calc_legacy_rate_duration() local [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 190 #define _CHECK(condition, tag, duration, format...) ({ \ argument 199 __func__, tag, duration); \ 217 _CHECK(condition, tag, duration, format) 219 _CHECK(condition, tag, tattr.duration, format) 222 static int duration = 0; \ 228 static int duration = 0; \ 235 static int duration = 0; \ 242 static int duration = 0; \ 253 static int duration = 0; \ 264 static int duration = 0; \ [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 571 u32 start_time, interval, duration; in rtw89_mcc_fill_role_limit() local 591 duration = le32_to_cpu(noa_desc->duration); in rtw89_mcc_fill_role_limit() 608 max_dur_us = interval - duration; in rtw89_mcc_fill_role_limit() 619 "MCC role limit: insufficient duration\n"); in rtw89_mcc_fill_role_limit() 651 role->duration = role->beacon_interval / 2; in rtw89_mcc_fill_role() 674 bt_role->duration = rtw89_coex_query_bt_req_len(rtwdev, RTW89_PHY_0); in rtw89_mcc_fill_bt_role() 677 bt_role->duration); in rtw89_mcc_fill_bt_role() 784 * |< duration ref >| (if mid bt) |< duration aux >| 816 max_bcn_ofst = ref->duration + aux->duration; in __rtw89_mcc_calc_pattern_loose() 819 ref->limit.max_toa + aux->duration); in __rtw89_mcc_calc_pattern_loose() [all …]
|
/linux/drivers/char/tpm/ |
H A D | tpm1-cmd.c | 282 * tpm1_calc_ordinal_duration() - calculate the maximum command duration 289 * Return: A maximal duration time for an ordinal in jiffies. 294 int duration = 0; in tpm1_calc_ordinal_duration() local 297 * We only have a duration table for protected commands, where the upper in tpm1_calc_ordinal_duration() 304 duration = chip->duration[duration_idx]; in tpm1_calc_ordinal_duration() 305 if (duration <= 0) in tpm1_calc_ordinal_duration() 308 return duration; in tpm1_calc_ordinal_duration() 419 sizeof(cap.duration)); in tpm1_get_timeouts() 423 chip->duration[TPM_SHORT] = in tpm1_get_timeouts() 424 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_short)); in tpm1_get_timeouts() [all …]
|
/linux/tools/power/cpupower/utils/ |
H A D | cpufreq-info.c | 87 static void print_duration(unsigned long duration) in print_duration() argument 92 if (duration > 1000000) in print_duration() 93 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration() 94 ((unsigned int) duration%1000000)); in print_duration() 95 else if (duration > 100000) in print_duration() 96 printf("%u us", ((unsigned int) duration/1000)); in print_duration() 97 else if (duration > 1000) in print_duration() 98 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration() 99 ((unsigned int) duration%1000)); in print_duration() 101 printf("%lu ns", duration); in print_duration() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_lirc_mode2_kern.c | 14 unsigned int duration = LIRC_VALUE(*sample); in bpf_decoder() local 16 if (duration & 0x10000) in bpf_decoder() 17 bpf_rc_keydown(sample, 0x40, duration & 0xffff, 0); in bpf_decoder() 18 if (duration & 0x20000) in bpf_decoder() 19 bpf_rc_pointer_rel(sample, (duration >> 8) & 0xff, in bpf_decoder() 20 duration & 0xff); in bpf_decoder()
|
/linux/lib/ |
H A D | test_objpool.c | 44 u64 duration; member 52 int duration; /* ms */ member 78 u64 duration; member 235 item->duration = (u64) ktime_us_delta(ktime_get(), start); in ot_thread_worker() 242 static void ot_perf_report(struct ot_test *test, u64 duration) in ot_perf_report() argument 252 if (!item->duration) in ot_perf_report() 258 pr_info("CPU: %d duration: %lluus\n", cpu, item->duration); in ot_perf_report() 272 pr_info("ALL: \tnthreads: %d duration: %lluus\n", nthreads, duration); in ot_perf_report() 277 test->data.duration = duration; in ot_perf_report() 352 u64 duration; in ot_start_sync() local [all …]
|
/linux/drivers/base/test/ |
H A D | test_async_driver_probe.c | 106 unsigned long long duration; in test_async_probe_init() local 136 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 137 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 138 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 163 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 165 "registration took %lld msecs\n", duration); in test_async_probe_init() 166 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 198 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime); in test_async_probe_init() 199 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 200 if (duration < TEST_PROBE_THRESHOLD) { in test_async_probe_init() [all …]
|
/linux/tools/perf/pmu-events/arch/powerpc/power8/ |
H A D | marked.json | 41 …"BriefDescription": "Duration in cycles to reload with Modified (M) data from another chip's L2 or… 53 …"BriefDescription": "Duration in cycles to reload with Shared (S) data from another chip's L2 or L… 65 …"BriefDescription": "Duration in cycles to reload from another chip's L4 on a different Node or Gr… 77 …"BriefDescription": "Duration in cycles to reload from another chip's memory on the same Node or G… 95 …"BriefDescription": "Duration in cycles to reload from a location other than the local core's L2 d… 101 "BriefDescription": "Duration in cycles to reload from local core's L2 due to a marked load", 113 …"BriefDescription": "Duration in cycles to reload from local core's L2 with load hit store conflic… 125 …"BriefDescription": "Duration in cycles to reload from local core's L2 with dispatch conflict due … 137 …"BriefDescription": "Duration in cycles to reload from local core's L2 hit without dispatch confli… 149 …"BriefDescription": "Duration in cycles to reload from local core's L2 without conflict due to a m… [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-recheck-rcuscale.sh | 38 /-scale: .*writer-duration/ { 79 print "Average grace-period duration: " sum / newNR " microseconds"; 80 print "Minimum grace-period duration: " gptimes[1]; 81 print "50th percentile grace-period duration: " gptimes[pct50]; 82 print "90th percentile grace-period duration: " gptimes[pct90]; 83 print "99th percentile grace-period duration: " gptimes[pct99]; 84 print "Maximum grace-period duration: " gptimes[newNR];
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | sysfs_engines.c | 145 unsigned long long duration, clamped; in max_spin_store() local 165 err = kstrtoull(buf, 0, &duration); in max_spin_store() 169 clamped = intel_clamp_max_busywait_duration_ns(engine, duration); in max_spin_store() 170 if (duration != clamped) in max_spin_store() 173 WRITE_ONCE(engine->props.max_busywait_duration_ns, duration); in max_spin_store() 205 unsigned long long duration, clamped; in timeslice_store() local 216 err = kstrtoull(buf, 0, &duration); in timeslice_store() 220 clamped = intel_clamp_timeslice_duration_ms(engine, duration); in timeslice_store() 221 if (duration != clamped) in timeslice_store() 224 WRITE_ONCE(engine->props.timeslice_duration_ms, duration); in timeslice_store() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | time-event.h | 204 * @duration: duration of event in TU 224 __le32 duration; member 272 * @duration: event duration in TU To calculate event duration: 273 * timeEventDuration = min(duration, remainingQuota) 280 __le32 duration; member 286 * Command requests the firmware to create a time event for a certain duration 356 * Command requests the firmware to remain on a channel for a certain duration. 367 * @duration: remain on channel duration in TU 377 __le32 duration; member 408 * * Another event which can be much longer (it's duration is [all …]
|