Searched refs:duration (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_lirc_mode2_kern.c14 unsigned int duration = LIRC_VALUE(*sample); local
16 if (duration & 0x10000)
17 bpf_rc_keydown(sample, 0x40, duration & 0xffff, 0);
18 if (duration & 0x20000)
19 bpf_rc_pointer_rel(sample, (duration >> 8) & 0xff,
20 duration & 0xff);
/linux-master/include/trace/events/
H A Dosnoise.h11 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-master/tools/testing/selftests/bpf/prog_tests/
H A Datomic_bounds.c10 __u32 duration = 0; local
H A Dglobal_data.c5 static void test_global_data_number(struct bpf_object *obj, __u32 duration) argument
40 static void test_global_data_string(struct bpf_object *obj, __u32 duration) argument
75 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) argument
103 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) argument
151 test_global_data_number(obj, topts.duration);
152 test_global_data_string(obj, topts.duration);
153 test_global_data_struct(obj, topts.duration);
154 test_global_data_rdonly(obj, topts.duration);
H A Dstack_var_off.c10 int duration = 0; local
/linux-master/tools/testing/selftests/rcutorture/
H A DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbtcoex.h16 enum brcmf_btcoex_mode mode, u16 duration);
/linux-master/include/uapi/linux/
H A Dpg.h62 int duration; /* time in seconds command took */ member in struct:pg_read_hdr
/linux-master/drivers/media/rc/
H A Dir-xmp-decoder.c19 /* should be 80ms but not all duration supliers can go that high */
46 data->state, data->count, ev.duration, TO_STR(ev.pulse));
54 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) {
65 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2))
74 if (geq_margin(ev.duration, XMP_TRAILER_SPACE, XMP_NIBBLE_PREFIX)) {
82 data->count, ev.duration);
147 } else if (geq_margin(ev.duration, XMP_HALFFRAME_SPACE, XMP_NIBBLE_PREFIX)) {
151 data->count, ev.duration);
162 data->count, ev.duration);
167 } else if (geq_margin(ev.duration, XMP_NIBBLE_PREFI
[all...]
H A Dir-jvc-decoder.c48 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2))
52 data->state, ev.duration, TO_STR(ev.pulse));
61 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2))
74 if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2))
84 if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2))
95 if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) {
98 } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2))
114 if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2))
124 if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2))
151 if (eq_margin(ev.duration, JVC_HEADER_PULS
[all...]
H A Dir-sharp-decoder.c52 data->state, ev.duration, TO_STR(ev.pulse));
60 if (!eq_margin(ev.duration, SHARP_BIT_PULSE,
65 data->pulse_len = ev.duration;
73 if (!eq_margin(ev.duration, SHARP_BIT_PULSE,
77 data->pulse_len = ev.duration;
86 if (eq_margin(data->pulse_len + ev.duration, SHARP_BIT_1_PERIOD,
89 else if (!eq_margin(data->pulse_len + ev.duration,
106 if (!eq_margin(ev.duration, SHARP_BIT_PULSE,
126 if (!eq_margin(ev.duration, SHARP_ECHO_SPACE,
138 if (!geq_margin(ev.duration, SHARP_TRAILER_SPAC
[all...]
H A Dir-sanyo-decoder.c62 data->state, ev.duration, TO_STR(ev.pulse));
70 if (eq_margin(ev.duration, SANYO_HEADER_PULSE, SANYO_UNIT / 2)) {
82 if (eq_margin(ev.duration, SANYO_HEADER_SPACE, SANYO_UNIT / 2)) {
93 if (!eq_margin(ev.duration, SANYO_BIT_PULSE, SANYO_UNIT / 2))
103 if (!data->count && geq_margin(ev.duration, SANYO_REPEAT_SPACE, SANYO_UNIT / 2)) {
111 if (eq_margin(ev.duration, SANYO_BIT_1_SPACE, SANYO_UNIT / 2))
113 else if (!eq_margin(ev.duration, SANYO_BIT_0_SPACE, SANYO_UNIT / 2))
128 if (!eq_margin(ev.duration, SANYO_TRAILER_PULSE, SANYO_UNIT / 2))
138 if (!geq_margin(ev.duration, SANYO_TRAILER_SPACE, SANYO_UNIT / 2))
161 data->count, data->state, ev.duration, TO_ST
[all...]
H A Dir-rcmm-decoder.c82 if (!eq_margin(ev.duration, RCMM_PREFIX_PULSE, RCMM_UNIT))
94 if (!eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT))
104 if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2))
114 if (eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT / 2))
116 else if (eq_margin(ev.duration, RCMM_PULSE_1, RCMM_UNIT / 2))
118 else if (eq_margin(ev.duration, RCMM_PULSE_2, RCMM_UNIT / 2))
120 else if (eq_margin(ev.duration, RCMM_PULSE_3, RCMM_UNIT / 2))
147 if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2))
168 data->count, data->state, ev.duration, TO_STR(ev.pulse));
H A Dir-nec-decoder.c53 data->state, ev.duration, TO_STR(ev.pulse));
61 if (eq_margin(ev.duration, NEC_HEADER_PULSE, NEC_UNIT * 2)) {
64 } else if (eq_margin(ev.duration, NECX_HEADER_PULSE, NEC_UNIT / 2))
77 if (eq_margin(ev.duration, NEC_HEADER_SPACE, NEC_UNIT)) {
80 } else if (eq_margin(ev.duration, NEC_REPEAT_SPACE, NEC_UNIT / 2)) {
91 if (!eq_margin(ev.duration, NEC_BIT_PULSE, NEC_UNIT / 2))
102 geq_margin(ev.duration, NEC_TRAILER_SPACE, NEC_UNIT / 2)) {
111 if (eq_margin(ev.duration, NEC_BIT_1_SPACE, NEC_UNIT / 2))
113 else if (!eq_margin(ev.duration, NEC_BIT_0_SPACE, NEC_UNIT / 2))
128 if (!eq_margin(ev.duration, NEC_TRAILER_PULS
[all...]
H A Dir-rc6-decoder.c93 if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2))
98 data->state, ev.duration, TO_STR(ev.pulse));
100 if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2))
112 if (!eq_margin(ev.duration, RC6_PREFIX_PULSE, RC6_UNIT))
123 if (!eq_margin(ev.duration, RC6_PREFIX_SPACE, RC6_UNIT / 2))
131 if (!eq_margin(ev.duration, RC6_BIT_START, RC6_UNIT / 2))
151 if (!eq_margin(ev.duration, RC6_TOGGLE_START, RC6_UNIT / 2))
183 if (eq_margin(ev.duration, RC6_BIT_START, RC6_UNIT / 2)) {
193 geq_margin(ev.duration, RC6_SUFFIX_SPACE, RC6_UNIT / 2)) {
273 data->state, ev.duration, TO_ST
[all...]
H A Dir-sony-decoder.c47 if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2))
51 data->state, ev.duration, TO_STR(ev.pulse));
59 if (!eq_margin(ev.duration, SONY_HEADER_PULSE, SONY_UNIT / 2))
70 if (!eq_margin(ev.duration, SONY_HEADER_SPACE, SONY_UNIT / 2))
81 if (eq_margin(ev.duration, SONY_BIT_1_PULSE, SONY_UNIT / 2))
83 else if (!eq_margin(ev.duration, SONY_BIT_0_PULSE, SONY_UNIT / 2))
94 if (!geq_margin(ev.duration, SONY_BIT_SPACE, SONY_UNIT / 2))
99 if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2)) {
111 if (!geq_margin(ev.duration, SONY_TRAILER_SPACE, SONY_UNIT / 2))
157 data->state, ev.duration, TO_ST
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_zones_many.sh88 local duration=$((stop-start))
89 echo "PASS: added 1000 entries in $duration ms (now $i total, loop $j)"
94 local duration=$((stop-outerstart))
97 echo "PASS: inserted $count entries from packet path in $duration ms total"
100 echo "FAIL: inserted $count entries from packet path in $duration ms total, expected $max_zones entries"
134 local duration=$((stop-start))
135 echo "PASS: added 1000 entries in $duration ms (now $i total)"
141 local duration=$((stop-outerstart))
144 echo "PASS: inserted $count entries via ctnetlink in $duration ms"
147 echo "FAIL: inserted $count entries via ctnetlink in $duration m
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dwith_stress.sh47 duration=5
58 duration=$OPTARG
61 echo "Usage $0 [ -s stress ] ... [ -d duration ] [-c controller] cmd args .."
62 echo -e "\t default duration $duration seconds"
89 while [ $time -lt $duration ] ; do
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtime-event.h20 * 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, enu
[all...]
/linux-master/tools/power/cpupower/utils/
H A Dcpufreq-info.c87 static void print_duration(unsigned long duration) argument
92 if (duration > 1000000)
93 printf("%u.%06u ms", ((unsigned int) duration/1000000),
94 ((unsigned int) duration%1000000));
95 else if (duration > 100000)
96 printf("%u us", ((unsigned int) duration/1000));
97 else if (duration > 1000)
98 printf("%u.%03u us", ((unsigned int) duration/1000),
99 ((unsigned int) duration%1000));
101 printf("%lu ns", duration);
[all...]
/linux-master/drivers/base/test/
H A Dtest_async_driver_probe.c106 unsigned long long duration; local
136 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime);
137 pr_info("registration took %lld msecs\n", duration);
138 if (duration > TEST_PROBE_THRESHOLD) {
163 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime);
165 "registration took %lld msecs\n", duration);
166 if (duration > TEST_PROBE_THRESHOLD) {
198 duration = (unsigned long long)ktime_ms_delta(ktime_get(), calltime);
199 pr_info("registration took %lld msecs\n", duration);
200 if (duration < TEST_PROBE_THRESHOL
[all...]
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Diwl-spectrum.h28 __le16 duration; member in struct:ieee80211_basic_report
50 __le16 duration; member in struct:ieee80211_measurement_params
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.h186 #define _CHECK(condition, tag, duration, format...) ({ \
195 __func__, tag, duration); \
213 _CHECK(condition, tag, duration, format)
215 _CHECK(condition, tag, tattr.duration, format)
218 static int duration = 0; \
224 static int duration = 0; \
231 static int duration = 0; \
238 static int duration = 0; \
249 static int duration = 0; \
260 static int duration
[all...]
/linux-master/net/mac80211/
H A Dairtime.c30 /* 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 */
91 #define GROUP_SHIFT(duration) \
92 _MAX(0, 16 - __builtin_clz(duration))
98 .duration = { \
129 .duration = { \
171 .duration = { \
208 u16 duration[MCS_GROUP_RATES]; member in struct:mcs_group
385 u32 duration; local
388 duration
410 u32 duration; local
471 u32 duration, overhead = 0; local
609 u32 duration = 0; local
653 u32 duration, overhead; local
[all...]
/linux-master/drivers/leds/trigger/
H A Dledtrig-transient.c27 unsigned long duration; member in struct:transient_trig_data
78 transient_data->duration != 0) {
84 jiffies + msecs_to_jiffies(transient_data->duration));
100 return sprintf(buf, "%lu\n", transient_data->duration);
115 transient_data->duration = state;
151 static DEVICE_ATTR(duration, 0644, transient_duration_show,

Completed in 577 milliseconds

1234567891011>>