Home
last modified time | relevance | path

Searched refs:nanosec (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/drivers/staging/comedi/drivers/
D8253.h34 unsigned int *nanosec, in i8253_cascade_ns_to_timer_2div_old() argument
43 divider = (*nanosec + i8253_osc_base / 2) / i8253_osc_base; in i8253_cascade_ns_to_timer_2div_old()
59 if (ns <= *nanosec && ns > ns_glb) { in i8253_cascade_ns_to_timer_2div_old()
68 if (ns > *nanosec && ns < ns_lub) { in i8253_cascade_ns_to_timer_2div_old()
76 *nanosec = div1_lub * div2_lub * i8253_osc_base; in i8253_cascade_ns_to_timer_2div_old()
85 unsigned int *nanosec, in i8253_cascade_ns_to_timer_power() argument
97 div2 = (*nanosec + base / 2) / base; in i8253_cascade_ns_to_timer_power()
100 div2 = (*nanosec) / base; in i8253_cascade_ns_to_timer_power()
103 div2 = (*nanosec + base - 1) / base; in i8253_cascade_ns_to_timer_power()
109 *nanosec = div2 * base; in i8253_cascade_ns_to_timer_power()
[all …]
Ddt3000.c598 static int dt3k_ns_to_timer(unsigned int timer_base, unsigned int *nanosec, in dt3k_ns_to_timer() argument
611 divider = (*nanosec + base / 2) / base; in dt3k_ns_to_timer()
614 divider = (*nanosec) / base; in dt3k_ns_to_timer()
617 divider = (*nanosec) / base; in dt3k_ns_to_timer()
621 *nanosec = divider * base; in dt3k_ns_to_timer()
629 *nanosec = divider * base; in dt3k_ns_to_timer()
Ddt282x.c446 static int dt282x_ns_to_timer(int *nanosec, int round_mode);
933 static int dt282x_ns_to_timer(int *nanosec, int round_mode) in dt282x_ns_to_timer() argument
944 divider = (*nanosec + base / 2) / base; in dt282x_ns_to_timer()
947 divider = (*nanosec) / base; in dt282x_ns_to_timer()
950 divider = (*nanosec + base - 1) / base; in dt282x_ns_to_timer()
954 *nanosec = divider * base; in dt282x_ns_to_timer()
960 *nanosec = divider * base; in dt282x_ns_to_timer()
Dni_pcidio.c413 static int ni_pcidio_ns_to_timer(int *nanosec, int round_mode);
871 static int ni_pcidio_ns_to_timer(int *nanosec, int round_mode) in ni_pcidio_ns_to_timer() argument
880 divider = (*nanosec + base / 2) / base; in ni_pcidio_ns_to_timer()
883 divider = (*nanosec) / base; in ni_pcidio_ns_to_timer()
886 divider = (*nanosec + base - 1) / base; in ni_pcidio_ns_to_timer()
890 *nanosec = base * divider; in ni_pcidio_ns_to_timer()
Drtd520.c2156 static int rtd_ns_to_timer_base(unsigned int *nanosec, /* desired period (in ns) */
2164 divider = (*nanosec + base / 2) / base;
2167 divider = (*nanosec) / base;
2170 divider = (*nanosec + base - 1) / base;
2179 *nanosec = base * divider;
Ds626.c301 static int s626_ns_to_timer(int *nanosec, int round_mode);
2111 static int s626_ns_to_timer(int *nanosec, int round_mode) in s626_ns_to_timer() argument
2120 divider = (*nanosec + base / 2) / base; in s626_ns_to_timer()
2123 divider = (*nanosec) / base; in s626_ns_to_timer()
2126 divider = (*nanosec + base - 1) / base; in s626_ns_to_timer()
2130 *nanosec = base * divider; in s626_ns_to_timer()
Damplc_pci224.c572 unsigned int *nanosec, int round_mode) in pci224_cascade_ns_to_timer() argument
574 i8253_cascade_ns_to_timer(osc_base, d1, d2, nanosec, round_mode); in pci224_cascade_ns_to_timer()
Dni_mio_common.c2123 static int ni_ns_to_timer(const struct comedi_device *dev, unsigned nanosec, in ni_ns_to_timer() argument
2130 divider = (nanosec + devpriv->clock_ns / 2) / devpriv->clock_ns; in ni_ns_to_timer()
2133 divider = (nanosec) / devpriv->clock_ns; in ni_ns_to_timer()
2136 divider = (nanosec + devpriv->clock_ns - 1) / devpriv->clock_ns; in ni_ns_to_timer()
/linux-2.6.39/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1244 uint64_t nanosec:32; member
1254 uint64_t nanosec:64; member
1282 uint64_t nanosec:64; member
/linux-2.6.39/Documentation/scheduler/
Dsched-design-CFS.txt32 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately