Home
last modified time | relevance | path

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

12345678910>>...13

/linux-2.6.39/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-2.6.39/tools/perf/scripts/python/
Dsctop.py24 interval = default_interval variable
31 interval = int(sys.argv[2]) variable
34 interval = int(sys.argv[1]) variable
37 interval = default_interval variable
42 thread.start_new_thread(print_syscall_totals, (interval,))
56 def print_syscall_totals(interval): argument
75 time.sleep(interval)
/linux-2.6.39/drivers/net/skfp/
Dhwt.c201 u_long interval ; in hwt_quick_read() local
204 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_quick_read()
209 outpd(ADDR(B2_TI_INI),interval) ; in hwt_quick_read()
230 long interval ; in hwt_wait_time() local
241 interval = inpd(ADDR(B2_TI_INI)) ; in hwt_wait_time()
242 if (interval > duration) { in hwt_wait_time()
246 diff += interval ; in hwt_wait_time()
251 diff = interval ; in hwt_wait_time()
256 diff += interval ; in hwt_wait_time()
/linux-2.6.39/drivers/usb/core/
Dendpoint.c92 unsigned interval = 0; in show_ep_interval() local
101 interval = ep->desc->bInterval; in show_ep_interval()
105 interval = 1 << (ep->desc->bInterval - 1); in show_ep_interval()
111 interval = ep->desc->bInterval; in show_ep_interval()
116 interval = 1 << (ep->desc->bInterval - 1); in show_ep_interval()
118 interval = ep->desc->bInterval; in show_ep_interval()
121 interval *= (ep->udev->speed == USB_SPEED_HIGH) ? 125 : 1000; in show_ep_interval()
122 if (interval % 1000) in show_ep_interval()
126 interval /= 1000; in show_ep_interval()
129 return sprintf(buf, "%d%cs\n", interval, unit); in show_ep_interval()
[all …]
Durb.c462 if (urb->interval < 6) in usb_submit_urb()
466 if (urb->interval <= 0) in usb_submit_urb()
474 if (urb->interval > (1 << 15)) in usb_submit_urb()
479 if (urb->interval > 16) in usb_submit_urb()
484 if (urb->interval > (1024 * 8)) in usb_submit_urb()
485 urb->interval = 1024 * 8; in usb_submit_urb()
491 if (urb->interval > 255) in usb_submit_urb()
496 if (urb->interval > 1024) in usb_submit_urb()
497 urb->interval = 1024; in usb_submit_urb()
507 urb->interval = min(max, 1 << ilog2(urb->interval)); in usb_submit_urb()
Ddevices.c185 unsigned interval, bandwidth = 1; in usb_dump_endpoint_descriptor() local
206 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
208 interval = 0; in usb_dump_endpoint_descriptor()
213 interval = 1 << (desc->bInterval - 1); in usb_dump_endpoint_descriptor()
218 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
220 interval = 0; in usb_dump_endpoint_descriptor()
225 interval = 1 << (desc->bInterval - 1); in usb_dump_endpoint_descriptor()
227 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
232 interval *= (speed == USB_SPEED_HIGH || in usb_dump_endpoint_descriptor()
234 if (interval % 1000) in usb_dump_endpoint_descriptor()
[all …]
/linux-2.6.39/arch/um/os-Linux/
Dtime.c20 struct itimerval interval = ((struct itimerval) { { 0, usec }, in set_interval() local
23 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in set_interval()
33 struct itimerval interval; in timer_one_shot() local
36 interval = ((struct itimerval) { { 0, 0 }, { sec, usec } }); in timer_one_shot()
38 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in timer_one_shot()
142 struct itimerval interval; in after_sleep_interval() local
160 interval = ((struct itimerval) { { 0, usec }, tv }); in after_sleep_interval()
162 if (setitimer(ITIMER_VIRTUAL, &interval, NULL) == -1) in after_sleep_interval()
/linux-2.6.39/Documentation/device-mapper/
Ddm-flakey.txt9 <up interval> seconds, then returns errors for <down interval> seconds,
12 Parameters: <dev path> <offset> <up interval> <down interval>
16 <up interval>: Number of seconds device is available.
17 <down interval>: Number of seconds device returns errors.
/linux-2.6.39/include/linux/
Dratelimit.h13 int interval; member
24 .interval = interval_init, \
29 int interval, int burst) in ratelimit_state_init() argument
32 rs->interval = interval; in ratelimit_state_init()
/linux-2.6.39/kernel/time/
Dtimekeeping.c66 cycle_t interval; in timekeeper_setup_internals() local
81 interval = (cycle_t) tmp; in timekeeper_setup_internals()
82 timekeeper.cycle_interval = interval; in timekeeper_setup_internals()
85 timekeeper.xtime_interval = (u64) interval * clock->mult; in timekeeper_setup_internals()
88 ((u64) interval * clock->mult) >> clock->shift; in timekeeper_setup_internals()
671 static __always_inline int timekeeping_bigadjust(s64 error, s64 *interval, in timekeeping_bigadjust() argument
701 i = *interval; in timekeeping_bigadjust()
705 *interval = -*interval; in timekeeping_bigadjust()
712 *interval <<= adj; in timekeeping_bigadjust()
724 s64 error, interval = timekeeper.cycle_interval; in timekeeping_adjust() local
[all …]
/linux-2.6.39/drivers/platform/x86/
Dacerhdf.c87 static unsigned int interval = 10; variable
101 module_param(interval, uint, 0600);
102 MODULE_PARM_DESC(interval, "Polling interval of temperature check");
272 if (kernelmode && prev_interval != interval) { in acerhdf_check_param()
273 if (interval > ACERHDF_MAX_INTERVAL) { in acerhdf_check_param()
276 interval = ACERHDF_MAX_INTERVAL; in acerhdf_check_param()
280 interval); in acerhdf_check_param()
281 thermal->polling_delay = interval*1000; in acerhdf_check_param()
282 prev_interval = interval; in acerhdf_check_param()
349 thz_dev->polling_delay = interval*1000; in acerhdf_enable_kernelmode()
[all …]
/linux-2.6.39/net/netfilter/
Dxt_RATEEST.c119 if ((!info->interval && !info->ewma_log) || in xt_rateest_tg_checkentry()
120 (info->interval != est->params.interval || in xt_rateest_tg_checkentry()
137 est->params.interval = info->interval; in xt_rateest_tg_checkentry()
142 cfg.est.interval = info->interval; in xt_rateest_tg_checkentry()
/linux-2.6.39/drivers/media/video/uvc/
Duvc_status.c156 urb->interval = dev->int_ep->desc.bInterval; in uvc_status_complete()
167 int interval; in uvc_status_init() local
189 interval = ep->desc.bInterval; in uvc_status_init()
190 if (interval > 16 && dev->udev->speed == USB_SPEED_HIGH && in uvc_status_init()
192 interval = fls(interval) - 1; in uvc_status_init()
196 dev, interval); in uvc_status_init()
Duvc_v4l2.c109 static __u32 uvc_try_frame_interval(struct uvc_frame *frame, __u32 interval) in uvc_try_frame_interval() argument
117 dist = interval > frame->dwFrameInterval[i] in uvc_try_frame_interval()
118 ? interval - frame->dwFrameInterval[i] in uvc_try_frame_interval()
119 : frame->dwFrameInterval[i] - interval; in uvc_try_frame_interval()
127 interval = frame->dwFrameInterval[i-1]; in uvc_try_frame_interval()
133 interval = min + (interval - min + step/2) / step * step; in uvc_try_frame_interval()
134 if (interval > max) in uvc_try_frame_interval()
135 interval = max; in uvc_try_frame_interval()
138 return interval; in uvc_try_frame_interval()
150 __u32 interval; in uvc_v4l2_try_format() local
[all …]
/linux-2.6.39/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
/linux-2.6.39/drivers/usb/host/
Dohci-q.c91 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() argument
96 if (interval > NUM_INTS) in balance()
97 interval = NUM_INTS; in balance()
102 for (i = 0; i < interval ; i++) { in balance()
107 for (j = i; j < NUM_INTS; j += interval) { in balance()
131 ed, ed->branch, ed->load, ed->interval); in periodic_link()
133 for (i = ed->branch; i < NUM_INTS; i += ed->interval) { in periodic_link()
143 if (ed->interval > here->interval) in periodic_link()
160 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
234 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
[all …]
Dfhci-mem.c92 u16 interval, u16 start_frame, bool ioc) in fhci_td_fill() argument
106 td->interval = interval; in fhci_td_fill()
/linux-2.6.39/tools/perf/scripts/perl/
Drwtop.pl29 my $interval = shift;
30 if (!$interval) {
31 $interval = $default_interval;
114 alarm $interval;
/linux-2.6.39/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()
115 if (attr->interval > 1) { in should_fail()
117 if (attr->count % attr->interval) in should_fail()
263 debugfs_create_ul("interval", mode, dir, &attr->interval); in init_fault_attr_dentries()
Dratelimit.c33 if (!rs->interval) in ___ratelimit()
48 if (time_is_before_jiffies(rs->begin + rs->interval)) { in ___ratelimit()
/linux-2.6.39/drivers/input/
Dinput-polldev.c133 unsigned long interval; in input_polldev_set_poll() local
135 if (strict_strtoul(buf, 0, &interval)) in input_polldev_set_poll()
138 if (interval < polldev->poll_interval_min) in input_polldev_set_poll()
141 if (interval > polldev->poll_interval_max) in input_polldev_set_poll()
146 polldev->poll_interval = interval; in input_polldev_set_poll()
/linux-2.6.39/tools/perf/scripts/perl/bin/
Drwtop-report17 interval=$1
20 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rwtop.pl $interval
/linux-2.6.39/drivers/staging/comedi/drivers/
Dni_6527.c132 unsigned int interval; in ni6527_di_insn_config() local
141 interval = (data[1] + 100) / 200; in ni6527_di_insn_config()
142 data[1] = interval * 200; in ni6527_di_insn_config()
144 if (interval != devpriv->filter_interval) { in ni6527_di_insn_config()
145 writeb(interval & 0xff, in ni6527_di_insn_config()
147 writeb((interval >> 8) & 0xff, in ni6527_di_insn_config()
149 writeb((interval >> 16) & 0x0f, in ni6527_di_insn_config()
155 devpriv->filter_interval = interval; in ni6527_di_insn_config()
/linux-2.6.39/drivers/input/joystick/iforce/
Diforce-ff.c299 || old->trigger.interval != new->trigger.interval in need_core()
311 u16 interval, u16 direction) in make_core() argument
317 interval = TIME_SCALE(interval); in make_core()
328 data[6] = LO(interval); in make_core()
329 data[7] = HI(interval); in make_core()
408 effect->trigger.interval, in iforce_upload_periodic()
468 effect->trigger.interval, in iforce_upload_constant()
532 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition()
/linux-2.6.39/drivers/macintosh/
Dwindfarm_pid.c60 integ *= st->param.interval; in wf_pid_run()
65 deriv /= st->param.interval; in wf_pid_run()
118 integ *= st->param.interval; in wf_cpu_pid_run()
128 deriv /= st->param.interval; in wf_cpu_pid_run()

12345678910>>...13