/Linux-v5.15/include/trace/events/ |
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) 52 __entry->duration = duration; [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | atomics.c | 10 __u32 duration = 0, retval; in test_add() local 19 NULL, NULL, &retval, &duration); in test_add() 21 "err %d errno %d retval %d duration %d\n", err, errno, retval, duration)) in test_add() 42 __u32 duration = 0, retval; in test_sub() local 51 NULL, NULL, &retval, &duration); in test_sub() 53 "err %d errno %d retval %d duration %d\n", in test_sub() 54 err, errno, retval, duration)) in test_sub() 75 __u32 duration = 0, retval; in test_and() local 84 NULL, NULL, &retval, &duration); in test_and() 86 "err %d errno %d retval %d duration %d\n", err, errno, retval, duration)) in test_and() [all …]
|
D | pkt_access.c | 9 __u32 duration, retval; in test_pkt_access() local 17 NULL, NULL, &retval, &duration); in test_pkt_access() 19 "err %d errno %d retval %d duration %d\n", in test_pkt_access() 20 err, errno, retval, duration); in test_pkt_access() 23 NULL, NULL, &retval, &duration); in test_pkt_access() 25 "err %d errno %d retval %d duration %d\n", in test_pkt_access() 26 err, errno, retval, duration); in test_pkt_access()
|
D | global_data.c | 5 static void test_global_data_number(struct bpf_object *obj, __u32 duration) in test_global_data_number() argument 40 static void test_global_data_string(struct bpf_object *obj, __u32 duration) in test_global_data_string() argument 75 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) in test_global_data_struct() argument 103 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) in test_global_data_rdonly() argument 128 __u32 duration = 0, retval; in test_global_data() local 137 NULL, NULL, &retval, &duration); in test_global_data() 139 "err %d errno %d retval %d duration %d\n", in test_global_data() 140 err, errno, retval, duration); in test_global_data() 142 test_global_data_number(obj, duration); in test_global_data() 143 test_global_data_string(obj, duration); in test_global_data() [all …]
|
D | tailcalls.c | 15 __u32 retval, duration; in test_tailcall_1() local 58 &duration, &retval, NULL); in test_tailcall_1() 68 &duration, &retval, NULL); in test_tailcall_1() 89 &duration, &retval, NULL); in test_tailcall_1() 114 &duration, &retval, NULL); in test_tailcall_1() 124 &duration, &retval, NULL); in test_tailcall_1() 134 &duration, &retval, NULL); in test_tailcall_1() 153 __u32 retval, duration; in test_tailcall_2() local 195 &duration, &retval, NULL); in test_tailcall_2() 205 &duration, &retval, NULL); in test_tailcall_2() [all …]
|
D | signal_pending.c | 16 __u32 duration = 0, retval; in test_signal_pending_by_type() local 36 NULL, NULL, &retval, &duration); in test_signal_pending_by_type() 37 CHECK(duration > 500000000, /* 500ms */ in test_signal_pending_by_type() 38 "test-run-signal-duration", in test_signal_pending_by_type() 39 "duration %dns > 500ms\n", in test_signal_pending_by_type() 40 duration); in test_signal_pending_by_type()
|
/Linux-v5.15/Documentation/leds/ |
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-v5.15/drivers/media/rc/ |
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 …]
|
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 …]
|
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 …]
|
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 …]
|
D | streamzap.c | 116 dev_dbg(sz->dev, "Storing %s with duration %u us\n", in sz_push() 117 (rawir.pulse ? "pulse" : "space"), rawir.duration); in sz_push() 136 rawir.duration = IR_MAX_DURATION; in sz_push_full_pulse() 138 rawir.duration = delta; in sz_push_full_pulse() 139 rawir.duration -= sz->sum; in sz_push_full_pulse() 140 rawir.duration = (rawir.duration > IR_MAX_DURATION) ? in sz_push_full_pulse() 141 IR_MAX_DURATION : rawir.duration; in sz_push_full_pulse() 150 rawir.duration = ((int) value) * SZ_RESOLUTION; in sz_push_full_pulse() 151 rawir.duration += SZ_RESOLUTION / 2; in sz_push_full_pulse() 152 sz->sum += rawir.duration; in sz_push_full_pulse() [all …]
|
D | ir-sharp-decoder.c | 50 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sharp_decode() 58 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 63 data->pulse_len = ev.duration; in ir_sharp_decode() 71 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 75 data->pulse_len = ev.duration; in ir_sharp_decode() 84 if (eq_margin(data->pulse_len + ev.duration, SHARP_BIT_1_PERIOD, in ir_sharp_decode() 87 else if (!eq_margin(data->pulse_len + ev.duration, in ir_sharp_decode() 104 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 124 if (!eq_margin(ev.duration, SHARP_ECHO_SPACE, in ir_sharp_decode() 136 if (!geq_margin(ev.duration, SHARP_TRAILER_SPACE, in ir_sharp_decode() [all …]
|
/Linux-v5.15/net/mac80211/ |
D | airtime.c | 29 /* Transmit duration for the raw data part of an average sized packet */ 50 /* Transmit duration for the raw data part of an average sized packet */ 96 #define GROUP_SHIFT(duration) \ argument 97 _MAX(0, 16 - __builtin_clz(duration)) 103 .duration = { \ 134 .duration = { \ 176 .duration = { \ 213 u16 duration[MCS_GROUP_RATES]; member 390 u32 duration; in ieee80211_calc_legacy_rate_duration() local 393 duration = 144 + 48; /* preamble + PLCP */ in ieee80211_calc_legacy_rate_duration() [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_progs.h | 102 #define _CHECK(condition, tag, duration, format...) ({ \ argument 111 __func__, tag, duration); \ 129 _CHECK(condition, tag, duration, format) 131 _CHECK(condition, tag, tattr.duration, format) 134 static int duration = 0; \ 141 static int duration = 0; \ 148 static int duration = 0; \ 159 static int duration = 0; \ 170 static int duration = 0; \ 181 static int duration = 0; \ [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
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, 108 * @duration: the requested duration in millisecond for the fw to be on the 113 * which means that the fw will stay in the channel for the request %duration 121 int duration, enum ieee80211_roc_type type); 169 * @duration: the duration of the NoA in TU. 177 u32 duration, u32 apply_time); [all …]
|
/Linux-v5.15/tools/testing/selftests/netfilter/ |
D | nft_zones_many.sh | 81 local duration=$((stop-start)) 82 echo "PASS: added 10000 entries in $duration ms (now $i total, loop $j)" 87 local duration=$((stop-outerstart)) 90 echo "PASS: inserted $count entries from packet path in $duration ms total" 93 …echo "FAIL: inserted $count entries from packet path in $duration ms total, expected $max_zones en… 127 local duration=$((stop-start)) 128 echo "PASS: added 10000 entries in $duration ms (now $i total)" 134 local duration=$((stop-outerstart)) 137 echo "PASS: inserted $count entries via ctnetlink in $duration ms" 140 …o "FAIL: inserted $count entries via ctnetlink in $duration ms, expected $max_zones entries ($dura…
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
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-v5.15/drivers/char/tpm/ |
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-v5.15/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 124 static void print_duration(unsigned long duration) in print_duration() argument 129 if (duration > 1000000) in print_duration() 130 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration() 131 ((unsigned int) duration%1000000)); in print_duration() 132 else if (duration > 100000) in print_duration() 133 printf("%u us", ((unsigned int) duration/1000)); in print_duration() 134 else if (duration > 1000) in print_duration() 135 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration() 136 ((unsigned int) duration%1000)); in print_duration() 138 printf("%lu ns", duration); in print_duration() [all …]
|
/Linux-v5.15/drivers/base/test/ |
D | test_async_driver_probe.c | 106 unsigned long long duration; in test_async_probe_init() local 137 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 138 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 139 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 165 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 167 "registration took %lld msecs\n", duration); in test_async_probe_init() 168 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 201 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 202 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 203 if (duration < TEST_PROBE_THRESHOLD) { in test_async_probe_init() [all …]
|
/Linux-v5.15/drivers/watchdog/ |
D | aspeed_wdt.c | 64 * * Pulse duration 68 * Pulse duration configuration is available on both the AST2400 and AST2500, 249 u32 duration; in aspeed_wdt_probe() local 344 if (!of_property_read_u32(np, "aspeed,ext-pulse-duration", &duration)) { in aspeed_wdt_probe() 347 if (duration == 0 || duration > max_duration) { in aspeed_wdt_probe() 348 dev_err(dev, "Invalid pulse duration: %uus\n", in aspeed_wdt_probe() 349 duration); in aspeed_wdt_probe() 350 duration = max(1U, min(max_duration, duration)); in aspeed_wdt_probe() 351 dev_info(dev, "Pulse duration set to %uus\n", in aspeed_wdt_probe() 352 duration); in aspeed_wdt_probe() [all …]
|
/Linux-v5.15/Documentation/trace/ |
D | osnoise-tracer.rst | 121 - osnoise:nmi_noise: noise from NMI, including the duration. 122 - osnoise:irq_noise: noise from an IRQ, including the duration. 124 duration. 125 - osnoise:thread_noise: noise from a thread, including the duration. 129 thread_noise duration at the start. Then, an IRQ takes place, preempting 131 it will compute its duration, and this duration will be subtracted from 137 …8-961 [008] d.h. 5789.857532: irq_noise: local_timer:236 start 5789.857529929 duration 1845 ns 138 …8-961 [008] dNh. 5789.858408: irq_noise: local_timer:236 start 5789.858404871 duration 2848 ns 139 …54 [008] d... 5789.858413: thread_noise: migration/8:54 start 5789.858409300 duration 3068 ns 140 …osnoise/8-961 [008] .... 5789.858413: sample_threshold: start 5789.858404555 duration 8812 ns… [all …]
|
/Linux-v5.15/tools/testing/selftests/rcutorture/bin/ |
D | kvm-recheck-rcuscale.sh | 38 /-scale: .*writer-duration/ { 75 print "Average grace-period duration: " sum / newNR " microseconds"; 76 print "Minimum grace-period duration: " gptimes[1]; 77 print "50th percentile grace-period duration: " gptimes[pct50]; 78 print "90th percentile grace-period duration: " gptimes[pct90]; 79 print "99th percentile grace-period duration: " gptimes[pct99]; 80 print "Maximum grace-period duration: " gptimes[newNR];
|
/Linux-v5.15/tools/perf/pmu-events/arch/powerpc/power8/ |
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 …]
|