Home
last modified time | relevance | path

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

12345678910>>...37

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/liteos_a/kernel/base/misc/
Dlos_misc.c46 UINT32 interval; in LOS_Msleep() local
49 interval = 0; in LOS_Msleep()
51 interval = LOS_MS2Tick(msecs); in LOS_Msleep()
52 if (interval == 0) { in LOS_Msleep()
53 interval = 1; in LOS_Msleep()
57 (VOID)LOS_TaskDelay(interval); in LOS_Msleep()
/kernel/linux/linux-5.10/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
111 - Minimum frame interval [s].
114 - Maximum frame interval [s].
117 - Frame interval step size [s].
130 - IN: Index of the given frame interval in the enumeration.
142 - OUT: Frame interval type the device supports.
145 - OUT: Frame interval with the given index.
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dhwt.c197 u_long interval ; in hwt_quick_read() local
200 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_quick_read()
205 outpd(ADDR(B2_TI_INI),interval) ; in hwt_quick_read()
226 long interval ; in hwt_wait_time() local
237 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_wait_time()
238 if (interval > duration) { in hwt_wait_time()
242 diff += interval ; in hwt_wait_time()
247 diff = interval ; in hwt_wait_time()
252 diff += interval ; in hwt_wait_time()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_rbtree.c42 const struct nft_rbtree_elem *interval) in nft_rbtree_equal() argument
44 return memcmp(this, nft_set_ext_key(&interval->ext), set->klen) == 0; in nft_rbtree_equal()
52 const struct nft_rbtree_elem *rbe, *interval = NULL; in __nft_rbtree_lookup() local
69 if (interval && in __nft_rbtree_lookup()
70 nft_rbtree_equal(set, this, interval) && in __nft_rbtree_lookup()
72 nft_rbtree_interval_start(interval)) in __nft_rbtree_lookup()
74 interval = rbe; in __nft_rbtree_lookup()
90 interval = NULL; in __nft_rbtree_lookup()
99 if (set->flags & NFT_SET_INTERVAL && interval != NULL && in __nft_rbtree_lookup()
100 nft_set_elem_active(&interval->ext, genmask) && in __nft_rbtree_lookup()
[all …]
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/
Dtimer_test_001.cpp54 int interval = 3; // 3, seconds in TimerTest() local
113 LogPrintln("sleep %ds", interval); in TimerTest()
114 sleep(interval); // timer signal is blocked, this sleep should not be interrupted in TimerTest()
134 interval = 1; in TimerTest()
135 LogPrintln("sleep another %ds", interval); in TimerTest()
136 sleep(interval); // this sleep may be interrupted by the timer in TimerTest()
139 LogPrintln("sleep another %ds", interval); in TimerTest()
140 sleep(interval); // this sleep may be interrupted by the timer in TimerTest()
/kernel/linux/linux-5.10/lib/
Dfault-inject.c21 unsigned long interval; in setup_fault_attr() local
27 &interval, &probability, &space, &times) < 4) { in setup_fault_attr()
34 attr->interval = interval; in setup_fault_attr()
48 attr->interval, attr->probability, in fail_dump()
133 if (attr->interval > 1) { in should_fail()
135 if (attr->count % attr->interval) in should_fail()
210 debugfs_create_ul("interval", mode, dir, &attr->interval); in fault_create_debugfs_attr()
215 &attr->ratelimit_state.interval); in fault_create_debugfs_attr()
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()
/kernel/linux/linux-5.10/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 …]
/kernel/uniproton/src/core/kernel/timer/swtmr/
Dprt_swtmr_init.c87 …if ((DIV64_REMAIN((U64)g_tickModInfo.tickPerSecond * (createPara->interval), OS_SYS_MS_PER_SECOND)… in OsSwTmrCreateTimerParaChk()
92 if (createPara->interval > in OsSwTmrCreateTimerParaChk()
100 struct TagSwTmrCtrl *swtmr, U32 interval) in OsSwTmrCreateTimerCbInit() argument
105 swtmr->interval = interval; in OsSwTmrCreateTimerCbInit()
108 swtmr->idxRollNum = swtmr->interval; in OsSwTmrCreateTimerCbInit()
131 U32 interval; in OsSwTmrCreateTimer() local
140interval = (U32)DIV64(((U64)g_tickModInfo.tickPerSecond * (createPara->interval)), OS_SYS_MS_PER_S… in OsSwTmrCreateTimer()
155 OsSwTmrCreateTimerCbInit(createPara, swtmr, interval); in OsSwTmrCreateTimer()
Dprt_swtmr.c23 OsSwTmrStart(swtmr, swtmr->interval); in OsSwtmrProc()
30 OsSwTmrStart(swtmr, swtmr->interval); in OsSwtmrProc()
140 …C_ALW_INLINE INLINE struct TagListObject *OsSwtmrCtrlInit(struct TagSwTmrCtrl *swtmr, U32 interval) in OsSwtmrCtrlInit() argument
145 sortIndex = interval & OS_SWTMR_SORTLINK_MASK; in OsSwtmrCtrlInit()
146 rollNum = (interval / OS_SWTMR_SORTLINK_LEN); in OsSwtmrCtrlInit()
161 OS_SEC_TEXT void OsSwTmrStart(struct TagSwTmrCtrl *swtmr, U32 interval) in OsSwTmrStart() argument
166 listObject = OsSwtmrCtrlInit(swtmr, interval); in OsSwTmrStart()
/kernel/linux/linux-5.10/include/net/
Dcodel_impl.h54 params->interval = MS2TIME(100); in codel_params_init()
94 codel_time_t interval, in codel_control_law() argument
97 return t + reciprocal_scale(interval, rec_inv_sqrt << REC_INV_SQRT_SHIFT); in codel_control_law()
135 vars->first_above_time = now + params->interval; in codel_should_drop()
186 params->interval, in codel_dequeue()
205 params->interval, in codel_dequeue()
233 16 * params->interval)) { in codel_dequeue()
245 vars->drop_next = codel_control_law(now, params->interval, in codel_dequeue()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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>;
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>;
/kernel/linux/linux-5.10/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>:
51 During <down interval>, replace <Nth_byte> of the data of
/kernel/linux/linux-5.10/net/bridge/
Dbr_mrp_switchdev.c67 struct br_mrp *mrp, u32 interval, in br_mrp_switchdev_send_ring_test() argument
74 .interval = interval, in br_mrp_switchdev_send_ring_test()
82 if (interval == 0) in br_mrp_switchdev_send_ring_test()
152 u32 interval, u8 max_miss, u32 period) in br_mrp_switchdev_send_in_test() argument
157 .interval = interval, in br_mrp_switchdev_send_in_test()
164 if (interval == 0) in br_mrp_switchdev_send_in_test()
/kernel/linux/linux-5.10/drivers/usb/common/
Dcommon.c214 unsigned int interval = 0; in usb_decode_interval() local
220 interval = epd->bInterval; in usb_decode_interval()
223 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
228 interval = epd->bInterval; in usb_decode_interval()
232 interval = 1 << (epd->bInterval - 1); in usb_decode_interval()
234 interval = epd->bInterval; in usb_decode_interval()
238 interval *= (speed >= USB_SPEED_HIGH) ? 125 : 1000; in usb_decode_interval()
240 return interval; in usb_decode_interval()
/kernel/linux/linux-5.10/tools/perf/scripts/python/bin/
Dsctop-report18 interval=$2
21 interval=$1
24 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/sctop.py $comm $interval

12345678910>>...37