Home
last modified time | relevance | path

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

1234

/linux-2.4.37.9/net/sched/
Destimator.c80 unsigned interval; member
138 if (parm->interval < -2 || parm->interval > 3) in qdisc_new_estimator()
146 est->interval = parm->interval + 2; in qdisc_new_estimator()
154 est->next = elist[est->interval].list; in qdisc_new_estimator()
156 init_timer(&elist[est->interval].timer); in qdisc_new_estimator()
157 elist[est->interval].timer.data = est->interval; in qdisc_new_estimator()
158 elist[est->interval].timer.expires = jiffies + ((HZ<<est->interval)/4); in qdisc_new_estimator()
159 elist[est->interval].timer.function = est_timer; in qdisc_new_estimator()
160 add_timer(&elist[est->interval].timer); in qdisc_new_estimator()
163 elist[est->interval].list = est; in qdisc_new_estimator()
/linux-2.4.37.9/kernel/
Ditimer.c45 register unsigned long val, interval; in do_getitimer() local
49 interval = current->it_real_incr; in do_getitimer()
64 interval = current->it_virt_incr; in do_getitimer()
68 interval = current->it_prof_incr; in do_getitimer()
74 jiffiestotv(interval, &value->it_interval); in do_getitimer()
96 unsigned long interval; in it_real_fn() local
99 interval = p->it_real_incr; in it_real_fn()
100 if (interval) { in it_real_fn()
101 if (interval > (unsigned long) LONG_MAX) in it_real_fn()
102 interval = LONG_MAX; in it_real_fn()
[all …]
/linux-2.4.37.9/drivers/net/skfp/
Dhwt.c244 u_long interval ; local
247 interval = inpd(ADDR(B2_TI_INI)) ;
252 outpd(ADDR(B2_TI_INI),interval) ;
276 long interval ; local
287 interval = inpd(ADDR(B2_TI_INI)) ;
288 if (interval > duration) {
292 diff += interval ;
297 diff = interval ;
302 diff += interval ;
/linux-2.4.37.9/drivers/usb/host/
Duhci.h247 static inline int __interval_to_skel(int interval) in __interval_to_skel() argument
249 if (interval < 16) { in __interval_to_skel()
250 if (interval < 4) { in __interval_to_skel()
251 if (interval < 2) in __interval_to_skel()
255 if (interval < 8) in __interval_to_skel()
259 if (interval < 64) { in __interval_to_skel()
260 if (interval < 32) in __interval_to_skel()
264 if (interval < 128) in __interval_to_skel()
275 int interval; member
Dehci-sched.c516 unsigned interval in iso_stream_init() argument
546 stream->interval = interval; in iso_stream_init()
558 bandwidth /= 1 << (interval - 1); in iso_stream_init()
632 urb->interval); in iso_stream_find()
678 itd_sched->span = urb->number_of_packets * stream->interval; in itd_sched_init()
744 if (urb->interval < 8) in itd_urb_transaction()
852 if (likely (max > (start + urb->interval))) in itd_stream_schedule()
853 max = start + urb->interval; in itd_stream_schedule()
878 uframe += urb->interval; in itd_stream_schedule()
1006 urb->interval, in itd_link_urb()
[all …]
Dhc_sl811_rh.c233 hci->rh.interval = urb->interval; in rh_init_int_timer()
238 hci->rh.rh_int_timer.expires = jiffies + (HZ * (urb->interval < 30 ? 30 : urb->interval)) / 1000; in rh_init_int_timer()
280 hci->rh.interval = urb->interval; in rh_submit_urb()
Dsl811.h112 int interval; /* intervall of roothub interrupt transfers */ member
147 int interval; /* the query time value for intr urb */ member
Dusb-ohci.c534 if (urb->interval) { in sohci_return_urb()
630 if (!(ed = ep_add_ed (urb->dev, pipe, urb->interval, 1, mem_flags))) { in sohci_submit_urb()
1012 static int ep_int_ballance (ohci_t * ohci, int interval, int load) in ep_int_ballance() argument
1020 branch = branch % interval; in ep_int_ballance()
1021 for (i = branch; i < 32; i += interval) ohci->ohci_int_load [i] += load; in ep_int_ballance()
1060 int interval; in ep_link() local
1102 interval = ep_2_n_interval (ed->int_period); in ep_link()
1103 ed->int_interval = interval; in ep_link()
1104 int_branch = ep_int_ballance (ohci, interval, load); in ep_link()
1107 for (i = 0; i < ep_rev (6, interval); i += inter) { in ep_link()
[all …]
Dsl811.c307 hc->rh.interval = urb->interval; in sl811_rh_init_int_timer()
313 (HZ * (urb->interval < 30? 30: urb->interval)) / 1000; in sl811_rh_init_int_timer()
400 hc->rh.interval = urb->interval; in sl811_rh_submit_urb()
1009 urbp->interval = 0; in sl811_submit_interrupt()
1024 PDEBUG(4, "enter, interval = %d", urb->interval); in sl811_reset_interrupt()
1033 urbp->interval = urb->interval; in sl811_reset_interrupt()
1782 if (!urbp->unlink && urb->interval) in sl811_result_urb()
2394 if (--urbp->interval == 0) { in sl811_dec_intr_interval()
Dhc_simple.c104 resubmit = urb->interval && resub_ok; in hcs_return_urb()
685 & 0x7ff) >= urb->interval)) { in sh_scan_urb_list()
687 urb->start_frame, hci->frame_number, urb->interval, in sh_scan_urb_list()
694 urb->interval, usb_pipeint (urb->pipe)); in sh_scan_urb_list()
Dusb-uhci.c1448 if (urb->interval < 0 || urb->interval >= 256) in uhci_submit_int_urb()
1451 if (urb->interval == 0) in uhci_submit_int_urb()
1456 if (urb->interval < n) { in uhci_submit_int_urb()
1457 urb->interval = n / 2; in uhci_submit_int_urb()
1464 dbg("Rounded interval to %i, chain %i", urb->interval, nint); in uhci_submit_int_urb()
1936 uhci->rh.interval = urb->interval; in rh_init_int_timer()
1987 dbg("Root-Hub submit IRQ: every %d ms", urb->interval); in rh_submit_urb()
1990 uhci->rh.interval = urb->interval; in rh_submit_urb()
2500 if (urb->interval) { in process_interrupt()
2634 else if (usb_pipetype(urb->pipe)==PIPE_INTERRUPT && urb->interval) in process_urb()
/linux-2.4.37.9/arch/sh/kernel/
Dsetup_snapgear.c142 unsigned long interval; in setup_fast_timer() local
145 interval = (current_cpu_data.module_clock/4 + FAST_POLL/2) / FAST_POLL; in setup_fast_timer()
157 interval = 0xffffffff; in setup_fast_timer()
162 ctrl_outl(interval, TMU1_TCOR); in setup_fast_timer()
163 ctrl_outl(interval, TMU1_TCNT); in setup_fast_timer()
Dtime.c358 unsigned long interval; in time_init() local
535 interval = (module_clock/4 + HZ/2) / HZ; in time_init()
537 printk("Interval = %ld\n", interval); in time_init()
555 ctrl_outl(interval, TMU0_TCOR); in time_init()
556 ctrl_outl(interval, TMU0_TCNT); in time_init()
/linux-2.4.37.9/drivers/usb/
Ddevices.c179 unsigned interval, in, bandwidth = 1; in usb_dump_endpoint_descriptor() local
197 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
199 interval = 0; in usb_dump_endpoint_descriptor()
204 interval = 1 << (desc->bInterval - 1); in usb_dump_endpoint_descriptor()
209 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
211 interval = 0; in usb_dump_endpoint_descriptor()
216 interval = 1 << (desc->bInterval - 1); in usb_dump_endpoint_descriptor()
218 interval = desc->bInterval; in usb_dump_endpoint_descriptor()
223 interval *= (speed == USB_SPEED_HIGH) ? 125 : 1000; in usb_dump_endpoint_descriptor()
224 if (interval % 1000) in usb_dump_endpoint_descriptor()
[all …]
Dhcd.c1139 if (urb->interval <= 0) in hcd_submit_urb()
1145 if (urb->interval > (1024 * 8)) in hcd_submit_urb()
1146 urb->interval = 1024 * 8; in hcd_submit_urb()
1152 if (urb->interval > 255) in hcd_submit_urb()
1157 if (urb->interval > 1024) in hcd_submit_urb()
1158 urb->interval = 1024; in hcd_submit_urb()
1167 while (temp > urb->interval) in hcd_submit_urb()
1169 urb->interval = temp; in hcd_submit_urb()
/linux-2.4.37.9/drivers/usb/serial/
Dmct_u232.c364 priv->ik[0].ibase = port->read_urb->interval; in mct_u232_startup()
365 priv->ik[1].ibase = port->interrupt_in_urb->interval; in mct_u232_startup()
436 port->read_urb->interval = priv->ik[0].ibase; in mct_u232_open()
445 port->interrupt_in_urb->interval = priv->ik[1].ibase; in mct_u232_open()
474 if (urb->interval) in mct_u232_error_step()
478 urb->status, urb->pipe, urb->interval); in mct_u232_error_step()
479 urb->interval = 0; in mct_u232_error_step()
498 urb->status, urb->pipe, urb->transfer_flags, urb->interval); in mct_u232_read_int_callback()
/linux-2.4.37.9/drivers/char/
Dgeodewdt.c138 int interval; in geodewdt_ioctl() local
162 if (get_user(interval, p)) in geodewdt_ioctl()
165 if (geodewdt_set_heartbeat(interval)) in geodewdt_ioctl()
/linux-2.4.37.9/arch/sh64/kernel/
Dtime.c489 unsigned long interval; in time_init() local
542 interval = (module_clock/(HZ*4)); in time_init()
544 printk("Interval = %ld\n", interval); in time_init()
554 ctrl_outl(interval, TMU0_TCOR); in time_init()
555 ctrl_outl(interval, TMU0_TCNT); in time_init()
/linux-2.4.37.9/Documentation/usb/
DURB.txt66 int interval; // polling interval (irq only)
133 - Invalid INT interval (-EINVAL)
227 The usb_submit_urb() call modifies urb->interval to the implemented interval
228 value that is less than or equal to the requested interval value.
/linux-2.4.37.9/include/linux/hdlc/
Dioctl.h42 unsigned int interval; member
/linux-2.4.37.9/drivers/char/joystick/
Diforce.c571 u16 interval, u16 direction) in make_core() argument
577 interval = TIME_SCALE(interval); in make_core()
588 data[6] = LO(interval); in make_core()
589 data[7] = HI(interval); in make_core()
648 effect->trigger.interval, in iforce_upload_periodic()
687 effect->trigger.interval, in iforce_upload_constant()
764 effect->trigger.button, effect->trigger.interval, in iforce_upload_interactive()
/linux-2.4.37.9/include/linux/
Dusb.h520 int interval; // polling interval (irq only) member
606 (URB)->interval=INTERVAL;\
720 int interval) in usb_fill_int_urb() argument
729 urb->interval = interval; in usb_fill_int_urb()
/linux-2.4.37.9/Documentation/
Dcciss.txt217 a polling interval of 30 seconds, execute the following command:
221 To change the polling interval, to say, 60 seconds:
226 interval elapses.)
228 To disable the monitoring thread, set the polling interval to 0 seconds:
233 interval elapses.)
/linux-2.4.37.9/arch/cris/drivers/
Dusb-host.c471 printk("interval :%d\n", purb->interval); in __dump_urb()
980 hc->rh.interval = urb->interval; in etrax_rh_init_int_timer()
986 hc->rh.rh_int_timer.expires = jiffies + ((HZ * hc->rh.interval) / 1000); in etrax_rh_init_int_timer()
2347 int interval; in etrax_usb_add_to_intr_sb_list() local
2355 interval = urb->interval; in etrax_usb_add_to_intr_sb_list()
2369 for (i = 0; interval; i++) { in etrax_usb_add_to_intr_sb_list()
2370 interval = interval >> 1; in etrax_usb_add_to_intr_sb_list()
2372 interval = 1 << (i - 1); in etrax_usb_add_to_intr_sb_list()
2374 dbg_intr("Interval rounded to %d", interval); in etrax_usb_add_to_intr_sb_list()
2380 if ((i % interval) == 0) { in etrax_usb_add_to_intr_sb_list()
[all …]
/linux-2.4.37.9/drivers/net/wan/
Dhdlc_cisco.c232 hdlc->state.cisco.settings.interval * HZ; in cisco_timer()
292 if (new_settings.interval < 1 || in hdlc_cisco_ioctl()

1234