Home
last modified time | relevance | path

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

123

/linux-4.19.296/drivers/uwb/
Dallocator.c31 for (col = ci->csi.start_col; col < UWB_NUM_ZONES; col += ci->csi.interval) { in uwb_rsv_fill_column_alloc()
137 static int uwb_rsv_find_best_column_set(struct uwb_rsv_alloc_info *ai, int interval, in uwb_rsv_find_best_column_set() argument
149 start_col_deep = interval; in uwb_rsv_find_best_column_set()
152 for (deep = 0; ((interval >> deep) & 0x1) == 0; deep++) { in uwb_rsv_find_best_column_set()
160 for (col = start_col; col < UWB_NUM_ZONES; col += interval) { in uwb_rsv_find_best_column_set()
176 col_start_set += (interval >> deep); in uwb_rsv_find_best_column_set()
192 csi->interval = interval; in uwb_rsv_find_best_column_set()
196 ai->safe_allocated_mases = (UWB_NUM_ZONES / interval) * num_safe_mas; in uwb_rsv_find_best_column_set()
197 ai->unsafe_allocated_mases = (UWB_NUM_ZONES / interval) * num_unsafe_mas; in uwb_rsv_find_best_column_set()
199 ai->interval = interval; in uwb_rsv_find_best_column_set()
[all …]
/linux-4.19.296/lib/
Dfault-inject.c20 unsigned long interval; in setup_fault_attr() local
26 &interval, &probability, &space, &times) < 4) { in setup_fault_attr()
33 attr->interval = interval; in setup_fault_attr()
47 attr->interval, attr->probability, in fail_dump()
136 if (attr->interval > 1) { in should_fail()
138 if (attr->count % attr->interval) in should_fail()
215 if (!debugfs_create_ul("interval", mode, dir, &attr->interval)) in fault_create_debugfs_attr()
224 &attr->ratelimit_state.interval)) in fault_create_debugfs_attr()
Dratelimit.c34 int interval = READ_ONCE(rs->interval); in ___ratelimit() local
39 if (!interval) in ___ratelimit()
54 if (time_is_before_jiffies(rs->begin + interval)) { in ___ratelimit()
/linux-4.19.296/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()
/linux-4.19.296/include/linux/
Dratelimit.h18 int interval; member
28 .interval = interval_init, \
45 int interval, int burst) in ratelimit_state_init() argument
50 rs->interval = interval; in ratelimit_state_init()
Dalarmtimer.h58 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
59 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval);
Dfault-inject.h18 unsigned long interval; member
35 .interval = 1, \
Dmaple.h74 unsigned long when, interval, function; member
91 unsigned long interval,
Dhrtimer.h458 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
477 ktime_t interval) in hrtimer_forward_now() argument
479 return hrtimer_forward(timer, timer->base->get_time(), interval); in hrtimer_forward_now()
Dusb.h1580 int interval; /* (modify) transfer interval member
1684 int interval) in usb_fill_int_urb() argument
1695 interval = clamp(interval, 1, 16); in usb_fill_int_urb()
1697 urb->interval = 1 << (interval - 1); in usb_fill_int_urb()
1699 urb->interval = interval; in usb_fill_int_urb()
/linux-4.19.296/block/
Dt10-pi.c51 for (i = 0 ; i < iter->data_size ; i += iter->interval) { in t10_pi_generate()
54 pi->guard_tag = fn(iter->data_buf, iter->interval); in t10_pi_generate()
62 iter->data_buf += iter->interval; in t10_pi_generate()
75 for (i = 0 ; i < iter->data_size ; i += iter->interval) { in t10_pi_verify()
101 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify()
112 iter->data_buf += iter->interval; in t10_pi_verify()
/linux-4.19.296/include/trace/events/
Djbd2.h198 unsigned int line_no, int interval, int sync,
201 TP_ARGS(dev, tid, type, line_no, interval, sync,
209 __field( int, interval )
220 __entry->interval = interval;
229 __entry->type, __entry->line_no, __entry->interval,
/linux-4.19.296/include/uapi/linux/
Dv4l2-subdev.h109 struct v4l2_fract interval; member
129 struct v4l2_fract interval; member
Dgen_stats.h75 signed char interval; member
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c46 s64 delta, interval; in inv_mpu6050_update_period() local
74 interval = (nb - 1) * st->chip_period * divider; in inv_mpu6050_update_period()
75 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period()
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h97 .interval = interval_, \
143 unsigned int interval; member
168 int interval; member
Dusb_urb.c189 urb->interval = stream->props.u.isoc.interval; in usb_urb_alloc_isoc_urbs()
289 props->u.isoc.interval == in usb_urb_reconfig()
290 stream->props.u.isoc.interval) in usb_urb_reconfig()
/linux-4.19.296/drivers/iio/adc/
Denvelope-detector.c289 unsigned long interval; in envelope_store_comp_interval() local
292 ret = kstrtoul(buf, 0, &interval); in envelope_store_comp_interval()
295 if (interval > 1000) in envelope_store_comp_interval()
299 env->comp_interval = interval; in envelope_store_comp_interval()
/linux-4.19.296/include/uapi/linux/netfilter/
Dxt_RATEEST.h10 __s8 interval; member
/linux-4.19.296/include/linux/platform_data/
Dkeyscan-davinci.h37 u8 interval; member
/linux-4.19.296/drivers/media/rc/
Drc-ir-raw.c560 ktime_t interval; in ir_raw_edge_handle() local
563 interval = ktime_sub(ktime_get(), dev->raw->last_event); in ir_raw_edge_handle()
564 if (ktime_to_ns(interval) >= dev->timeout) { in ir_raw_edge_handle()
568 ev.duration = ktime_to_ns(interval); in ir_raw_edge_handle()
574 ktime_to_ns(interval))); in ir_raw_edge_handle()
/linux-4.19.296/include/uapi/linux/hdlc/
Dioctl.h78 unsigned int interval; member
/linux-4.19.296/include/net/bluetooth/
Dhci.h821 __le16 interval; member
1204 __le16 interval; member
1210 __le16 interval; member
1373 __le16 interval; member
1565 __le16 interval; member
1808 __le16 interval; member
2050 __le16 interval; member
2096 __le16 interval; member
2153 __le16 interval; member
2169 __le16 interval; member
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-common.c416 a->parm.capture.timeperframe = ival.interval; in v4l2_g_parm_cap()
425 .interval = a->parm.capture.timeperframe in v4l2_s_parm_cap()
443 a->parm.capture.timeperframe = ival.interval; in v4l2_s_parm_cap()
/linux-4.19.296/drivers/sh/maple/
Dmaple.c123 unsigned long interval, unsigned long function) in maple_getcond_callback() argument
126 dev->interval = interval; in maple_getcond_callback()
423 if (mdev->interval > 0 && atomic_read(&mdev->busy) == 0 && in setup_maple_commands()
430 mdev->when = jiffies + mdev->interval; in setup_maple_commands()

123