Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 1037) sorted by relevance

12345678910>>...42

/linux-6.6.21/drivers/infiniband/hw/usnic/ !
Dusnic_uiom_interval_tree.c73 struct usnic_uiom_interval_node *interval = kzalloc(sizeof(*interval), in usnic_uiom_interval_node_alloc() local
75 if (!interval) in usnic_uiom_interval_node_alloc()
78 interval->start = start; in usnic_uiom_interval_node_alloc()
79 interval->last = last; in usnic_uiom_interval_node_alloc()
80 interval->flags = flags; in usnic_uiom_interval_node_alloc()
81 interval->ref_cnt = ref_cnt; in usnic_uiom_interval_node_alloc()
83 return interval; in usnic_uiom_interval_node_alloc()
125 struct usnic_uiom_interval_node *interval, *tmp; in usnic_uiom_get_intervals_diff() local
135 list_for_each_entry(interval, &intersection_set, link) { in usnic_uiom_get_intervals_diff()
136 if (pivot < interval->start) { in usnic_uiom_get_intervals_diff()
[all …]
/linux-6.6.21/drivers/net/ethernet/engleder/ !
Dtsnep_selftests.c202 *next += gcl->operation[i].interval; in get_operation()
368 qopt->entries[0].interval = 200000; in tsnep_test_taprio()
370 qopt->entries[1].interval = 800000; in tsnep_test_taprio()
372 qopt->entries[2].interval = 240000; in tsnep_test_taprio()
374 qopt->entries[3].interval = 80000; in tsnep_test_taprio()
376 qopt->entries[4].interval = 70000; in tsnep_test_taprio()
378 qopt->entries[5].interval = 60000; in tsnep_test_taprio()
380 qopt->entries[6].interval = 50000; in tsnep_test_taprio()
390 qopt->entries[0].interval = 23842; in tsnep_test_taprio()
392 qopt->entries[1].interval = 13482; in tsnep_test_taprio()
[all …]
Dtsnep_tc.c26 if (qopt->entries[i].interval < TSNEP_GCL_MIN_INTERVAL) in tsnep_validate_gcl()
28 cycle_time += qopt->entries[i].interval; in tsnep_validate_gcl()
39 u32 properties, u32 interval, bool flush) in tsnep_write_gcl_operation() argument
45 gcl->operation[index].interval = interval; in tsnep_write_gcl_operation()
48 iowrite32(interval, addr + sizeof(u32)); in tsnep_write_gcl_operation()
75 duration += gcl->operation[index].interval; in tsnep_change_duration()
105 qopt->entries[i].interval, true); in tsnep_write_gcl()
169 change -= gcl->operation[index].interval; in tsnep_set_gcl_change()
204 u64 change, u32 interval) in tsnep_insert_gcl_operation() argument
214 interval, false); in tsnep_insert_gcl_operation()
[all …]
/linux-6.6.21/tools/testing/selftests/timers/ !
Dset-timer-lat.c115 void describe_timer(int flags, int interval) in describe_timer() argument
120 interval ? "PERIODIC":"ONE-SHOT"); in describe_timer()
123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument
161 its1.it_interval.tv_sec = interval; in setup_timer()
173 int check_timer_latency(int flags, int interval) in check_timer_latency() argument
177 describe_timer(flags, interval); in check_timer_latency()
186 describe_timer(flags, interval); in check_timer_latency()
198 int check_alarmcount(int flags, int interval) in check_alarmcount() argument
200 describe_timer(flags, interval); in check_alarmcount()
213 const int interval = TIMER_SECS; in do_timer() local
[all …]
/linux-6.6.21/Documentation/userspace-api/media/v4l/ !
Dvidioc-subdev-g-frame-interval.rst13 VIDIOC_SUBDEV_G_FRAME_INTERVAL - VIDIOC_SUBDEV_S_FRAME_INTERVAL - Get or set the frame interval on …
38 These ioctls are used to get and set the frame interval at specific
39 subdev pads in the image pipeline. The frame interval only makes sense
44 To retrieve the current frame interval applications set the ``pad``
49 this structure the driver fills the members of the ``interval`` field.
51 To change the current frame interval applications set both the ``pad``
52 field and all members of the ``interval`` field. When they call the
54 structure the driver verifies the requested interval, adjusts it based
58 contains the current frame interval as would be returned by a
65 Drivers must not return an error solely because the requested interval
[all …]
Dvidioc-enum-frameintervals.rst30 that contains a pixel format and size and receives a frame interval.
67 the ``type`` field to determine the type of frame interval enumeration
81 other ioctl calls while it runs the frame interval enumeration.
86 intervals instead of frame rates. Given the frame interval the frame
109 - Minimum frame interval [s].
112 - Maximum frame interval [s].
115 - Frame interval step size [s].
128 - IN: Index of the given frame interval in the enumeration.
140 - OUT: Frame interval type the device supports.
143 - OUT: Frame interval with the given index.
[all …]
/linux-6.6.21/drivers/net/fddi/skfp/ !
Dhwt.c193 u_long interval ; in hwt_quick_read() local
196 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_quick_read()
201 outpd(ADDR(B2_TI_INI),interval) ; in hwt_quick_read()
222 long interval ; in hwt_wait_time() local
233 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_wait_time()
234 if (interval > duration) { in hwt_wait_time()
238 diff += interval ; in hwt_wait_time()
243 diff = interval ; in hwt_wait_time()
248 diff += interval ; in hwt_wait_time()
/linux-6.6.21/tools/perf/scripts/python/ !
Dsctop.py31 interval = default_interval variable
38 interval = int(sys.argv[2]) variable
41 interval = int(sys.argv[1]) variable
44 interval = default_interval variable
49 thread.start_new_thread(print_syscall_totals, (interval,))
68 def print_syscall_totals(interval): argument
89 time.sleep(interval)
/linux-6.6.21/Documentation/virt/kvm/ !
Dhalt-polling.rst18 interval or some other task on the runqueue is runnable the scheduler is
35 as the halt polling interval, is increased and decreased based on the perceived
47 During polling if a wakeup source is received within the halt polling interval,
48 the interval is left unchanged. In the event that a wakeup source isn't
49 received during the polling interval (and thus schedule is invoked) there are
50 two options, either the polling interval and total block time[0] were less than
51 the global max polling interval (see module params below), or the total block
52 time was greater than the global max polling interval.
54 In the event that both the polling interval and total block time were less than
55 the global max polling interval then the polling interval can be increased in
[all …]
/linux-6.6.21/drivers/input/ !
Dinput-poller.c105 void input_set_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_poll_interval() argument
108 dev->poller->poll_interval = interval; in input_set_poll_interval()
112 void input_set_min_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_min_poll_interval() argument
115 dev->poller->poll_interval_min = interval; in input_set_min_poll_interval()
119 void input_set_max_poll_interval(struct input_dev *dev, unsigned int interval) in input_set_max_poll_interval() argument
122 dev->poller->poll_interval_max = interval; in input_set_max_poll_interval()
152 unsigned int interval; in input_dev_set_poll_interval() local
155 err = kstrtouint(buf, 0, &interval); in input_dev_set_poll_interval()
159 if (interval < poller->poll_interval_min) in input_dev_set_poll_interval()
162 if (interval > poller->poll_interval_max) in input_dev_set_poll_interval()
[all …]
/linux-6.6.21/arch/powerpc/sysdev/ !
Dfsl_mpic_timer_wakeup.c55 time64_t interval = 0; in fsl_timer_wakeup_show() local
59 mpic_get_remain_time(fsl_wakeup->timer, &interval); in fsl_timer_wakeup_show()
60 interval++; in fsl_timer_wakeup_show()
64 return sprintf(buf, "%lld\n", interval); in fsl_timer_wakeup_show()
72 time64_t interval; in fsl_timer_wakeup_store() local
75 if (kstrtoll(buf, 0, &interval)) in fsl_timer_wakeup_store()
86 if (!interval) { in fsl_timer_wakeup_store()
92 fsl_wakeup, interval); in fsl_timer_wakeup_store()
/linux-6.6.21/sound/firewire/motu/ !
Dmotu-command-dsp-message-parser.c28 unsigned int interval; member
59 parser->interval = 4; in snd_motu_command_dsp_message_parser_init()
63 parser->interval = 2; in snd_motu_command_dsp_message_parser_init()
69 parser->interval = 1; in snd_motu_command_dsp_message_parser_init()
89 unsigned int interval = parser->interval; in snd_motu_command_dsp_message_parser_parse() local
120 if (parser->message_count % interval == 0) { in snd_motu_command_dsp_message_parser_parse()
139 if (parser->message_count % interval == 0) { in snd_motu_command_dsp_message_parser_parse()
/linux-6.6.21/drivers/hwmon/ !
Dlm95245.c90 int interval; /* in msecs */ member
117 data->interval = 63; in lm95245_read_conversion_rate()
120 data->interval = 364; in lm95245_read_conversion_rate()
123 data->interval = 1000; in lm95245_read_conversion_rate()
127 data->interval = 2500; in lm95245_read_conversion_rate()
133 static int lm95245_set_conversion_rate(struct lm95245_data *data, long interval) in lm95245_set_conversion_rate() argument
137 if (interval <= 63) { in lm95245_set_conversion_rate()
138 interval = 63; in lm95245_set_conversion_rate()
140 } else if (interval <= 364) { in lm95245_set_conversion_rate()
141 interval = 364; in lm95245_set_conversion_rate()
[all …]
/linux-6.6.21/Documentation/admin-guide/device-mapper/ !
Ddm-flakey.rst10 <up interval> seconds, then exhibits unreliable behaviour for <down
11 interval> seconds, and then this cycle repeats.
22 <dev path> <offset> <up interval> <down interval> \
32 <up interval>:
34 <down interval>:
55 During <down interval>, replace <Nth_byte> of the data of
71 During <down interval>, replace random byte in a read bio
76 During <down interval>, replace random byte in a write bio
/linux-6.6.21/drivers/thermal/ti-soc-thermal/ !
Dti-bandgap.c338 int *interval) in ti_bandgap_read_counter() argument
348 *interval = time; in ti_bandgap_read_counter()
358 int *interval) in ti_bandgap_read_counter_delay() argument
370 *interval = 0; in ti_bandgap_read_counter_delay()
373 *interval = 1; in ti_bandgap_read_counter_delay()
376 *interval = 10; in ti_bandgap_read_counter_delay()
379 *interval = 100; in ti_bandgap_read_counter_delay()
382 *interval = 250; in ti_bandgap_read_counter_delay()
385 *interval = 500; in ti_bandgap_read_counter_delay()
402 int *interval) in ti_bandgap_read_update_interval() argument
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ !
Dqos_lib.sh24 local interval=10
37 sleep $interval
41 local ir=$(rate $u0 $u1 $interval)
42 local er=$(rate $t0 $t1 $interval)
/linux-6.6.21/include/net/ !
Dcodel_impl.h56 params->interval = MS2TIME(100); in codel_params_init()
98 codel_time_t interval, in codel_control_law() argument
101 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
139 vars->first_above_time = now + params->interval; in codel_should_drop()
190 params->interval, in codel_dequeue()
209 params->interval, in codel_dequeue()
237 16 * params->interval)) { in codel_dequeue()
249 vars->drop_next = codel_control_law(now, params->interval, in codel_dequeue()
/linux-6.6.21/arch/arm/boot/dts/microchip/ !
Dat91-natte.dtsi74 poll-interval = <20000>;
90 poll-interval = <20000>;
106 poll-interval = <20000>;
122 poll-interval = <20000>;
138 poll-interval = <20000>;
154 poll-interval = <20000>;
170 poll-interval = <20000>;
186 poll-interval = <20000>;
/linux-6.6.21/lib/ !
Dratelimit.c33 int interval = READ_ONCE(rs->interval); in ___ratelimit() local
38 if (!interval) in ___ratelimit()
53 if (time_is_before_jiffies(rs->begin + interval)) { in ___ratelimit()
/linux-6.6.21/net/netfilter/ !
Dnft_set_rbtree.c60 const struct nft_rbtree_elem *rbe, *interval = NULL; in __nft_rbtree_lookup() local
75 if (interval && in __nft_rbtree_lookup()
76 !nft_rbtree_cmp(set, rbe, interval) && in __nft_rbtree_lookup()
78 nft_rbtree_interval_start(interval)) in __nft_rbtree_lookup()
80 interval = rbe; in __nft_rbtree_lookup()
96 interval = NULL; in __nft_rbtree_lookup()
105 if (set->flags & NFT_SET_INTERVAL && interval != NULL && in __nft_rbtree_lookup()
106 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_lookup()
107 !nft_rbtree_elem_expired(interval) && in __nft_rbtree_lookup()
108 nft_rbtree_interval_start(interval)) { in __nft_rbtree_lookup()
[all …]
/linux-6.6.21/net/bridge/ !
Dbr_mrp_switchdev.c103 u32 interval, u8 max_miss, u32 period, in br_mrp_switchdev_send_ring_test() argument
109 .interval = interval, in br_mrp_switchdev_send_ring_test()
119 return br_mrp_switchdev_port_obj(br, &test.obj, interval != 0); in br_mrp_switchdev_send_ring_test()
197 u32 interval, u8 max_miss, u32 period) in br_mrp_switchdev_send_in_test() argument
202 .interval = interval, in br_mrp_switchdev_send_in_test()
211 return br_mrp_switchdev_port_obj(br, &test.obj, interval != 0); in br_mrp_switchdev_send_in_test()
/linux-6.6.21/arch/arm/boot/dts/samsung/ !
Ds3c6410-mini6410.dts71 debounce-interval = <20>;
78 debounce-interval = <20>;
85 debounce-interval = <20>;
92 debounce-interval = <20>;
99 debounce-interval = <20>;
106 debounce-interval = <20>;
113 debounce-interval = <20>;
120 debounce-interval = <20>;
/linux-6.6.21/drivers/usb/common/ !
Dcommon.c235 unsigned int interval = 0; in usb_decode_interval() local
241 interval = epd->bInterval; in usb_decode_interval()
244 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
249 interval = epd->bInterval; in usb_decode_interval()
253 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
255 interval = epd->bInterval; in usb_decode_interval()
259 interval *= (speed >= USB_SPEED_HIGH) ? 125 : 1000; in usb_decode_interval()
261 return interval; in usb_decode_interval()
/linux-6.6.21/drivers/leds/trigger/ !
Dledtrig-netdev.c53 atomic_t interval; member
155 unsigned int interval = atomic_read(&trigger_data->interval); in can_hw_control() local
167 if (interval != default_interval) in can_hw_control()
381 jiffies_to_msecs(atomic_read(&trigger_data->interval))); in interval_show()
403 atomic_set(&trigger_data->interval, msecs_to_jiffies(value)); in interval_store()
410 static DEVICE_ATTR_RW(interval);
497 unsigned long interval; in netdev_trig_work() local
527 interval = jiffies_to_msecs( in netdev_trig_work()
528 atomic_read(&trigger_data->interval)); in netdev_trig_work()
531 &interval, in netdev_trig_work()
[all …]
/linux-6.6.21/block/ !
Dt10-pi.c37 for (i = 0 ; i < iter->data_size ; i += iter->interval) { in t10_pi_generate()
40 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate()
48 iter->data_buf += iter->interval; in t10_pi_generate()
63 for (i = 0 ; i < iter->data_size ; i += iter->interval) { in t10_pi_verify()
86 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify()
97 iter->data_buf += iter->interval; in t10_pi_verify()
293 for (i = 0 ; i < iter->data_size ; i += iter->interval) { in ext_pi_crc64_generate()
296 pi->guard_tag = ext_pi_crc64(iter->data_buf, iter->interval); in ext_pi_crc64_generate()
304 iter->data_buf += iter->interval; in ext_pi_crc64_generate()
324 for (i = 0; i < iter->data_size; i += iter->interval) { in ext_pi_crc64_verify()
[all …]

12345678910>>...42