Home
last modified time | relevance | path

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

/linux-3.4.99/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.c599 static int dt3k_ns_to_timer(unsigned int timer_base, unsigned int *nanosec, in dt3k_ns_to_timer() argument
612 divider = (*nanosec + base / 2) / base; in dt3k_ns_to_timer()
615 divider = (*nanosec) / base; in dt3k_ns_to_timer()
618 divider = (*nanosec) / base; in dt3k_ns_to_timer()
622 *nanosec = divider * base; in dt3k_ns_to_timer()
630 *nanosec = divider * base; in dt3k_ns_to_timer()
Ddt282x.c448 static int dt282x_ns_to_timer(int *nanosec, int round_mode);
935 static int dt282x_ns_to_timer(int *nanosec, int round_mode) in dt282x_ns_to_timer() argument
946 divider = (*nanosec + base / 2) / base; in dt282x_ns_to_timer()
949 divider = (*nanosec) / base; in dt282x_ns_to_timer()
952 divider = (*nanosec + base - 1) / base; in dt282x_ns_to_timer()
956 *nanosec = divider * base; in dt282x_ns_to_timer()
962 *nanosec = divider * base; in dt282x_ns_to_timer()
Dni_pcidio.c418 static int ni_pcidio_ns_to_timer(int *nanosec, int round_mode);
896 static int ni_pcidio_ns_to_timer(int *nanosec, int round_mode) in ni_pcidio_ns_to_timer() argument
905 divider = (*nanosec + base / 2) / base; in ni_pcidio_ns_to_timer()
908 divider = (*nanosec) / base; in ni_pcidio_ns_to_timer()
911 divider = (*nanosec + base - 1) / base; in ni_pcidio_ns_to_timer()
915 *nanosec = base * divider; in ni_pcidio_ns_to_timer()
Drtd520.c2160 static int rtd_ns_to_timer_base(unsigned int *nanosec, /* desired period (in ns) */
2168 divider = (*nanosec + base / 2) / base;
2171 divider = (*nanosec) / base;
2174 divider = (*nanosec + base - 1) / base;
2183 *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.c569 unsigned int *nanosec, int round_mode) in pci224_cascade_ns_to_timer() argument
571 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-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1708 uint64_t nanosec:32; member
1719 uint64_t nanosec:32; member
1730 uint64_t nanosec:64; member
1813 uint64_t nanosec:32; member
1827 uint64_t nanosec:64; member
1867 uint64_t nanosec:32; member
1878 uint64_t nanosec:32; member
1889 uint64_t nanosec:64; member
1910 uint64_t nanosec:64; member
/linux-3.4.99/Documentation/scheduler/
Dsched-design-CFS.txt32 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately