Searched refs:nanosec (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | comedi_8254.c | 354 unsigned int *nanosec, in comedi_8254_cascade_ns_to_timer() argument 372 if (div * i8254->osc_base == *nanosec && in comedi_8254_cascade_ns_to_timer() 381 div = *nanosec / i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 390 if (ns <= *nanosec && ns > ns_glb) { in comedi_8254_cascade_ns_to_timer() 395 if (ns >= *nanosec && ns < ns_lub) { in comedi_8254_cascade_ns_to_timer() 408 if (ns_high - *nanosec < *nanosec - ns_low) { in comedi_8254_cascade_ns_to_timer() 426 *nanosec = d1 * d2 * i8254->osc_base; in comedi_8254_cascade_ns_to_timer() 439 unsigned int *nanosec, unsigned int flags) in comedi_8254_ns_to_timer() argument 446 divisor = DIV_ROUND_CLOSEST(*nanosec, i8254->osc_base); in comedi_8254_ns_to_timer() 449 divisor = DIV_ROUND_UP(*nanosec, i8254->osc_base); in comedi_8254_ns_to_timer() [all …]
|
D | dt2811.c | 307 static unsigned int dt2811_ns_to_timer(unsigned int *nanosec, in dt2811_ns_to_timer() argument 341 if (ns <= *nanosec && ns > ns_hi) { in dt2811_ns_to_timer() 346 if (ns >= *nanosec && ns < ns_lo) { in dt2811_ns_to_timer() 375 if (ns_hi - *nanosec < *nanosec - ns_lo) { in dt2811_ns_to_timer() 376 *nanosec = ns_lo; in dt2811_ns_to_timer() 379 *nanosec = ns_hi; in dt2811_ns_to_timer() 382 *nanosec = ns_lo; in dt2811_ns_to_timer() 385 *nanosec = ns_hi; in dt2811_ns_to_timer()
|
D | comedi_8254.h | 115 unsigned int *nanosec, unsigned int flags); 117 unsigned int *nanosec, unsigned int flags);
|
D | dt3000.c | 342 static int dt3k_ns_to_timer(unsigned int timer_base, unsigned int *nanosec, in dt3k_ns_to_timer() argument 355 divider = DIV_ROUND_CLOSEST(*nanosec, base); in dt3k_ns_to_timer() 358 divider = (*nanosec) / base; in dt3k_ns_to_timer() 361 divider = (*nanosec) / base; in dt3k_ns_to_timer() 365 *nanosec = divider * base; in dt3k_ns_to_timer() 373 *nanosec = divider * base; in dt3k_ns_to_timer()
|
D | ni_pcidio.c | 492 static int ni_pcidio_ns_to_timer(int *nanosec, unsigned int flags) in ni_pcidio_ns_to_timer() argument 501 divider = DIV_ROUND_CLOSEST(*nanosec, base); in ni_pcidio_ns_to_timer() 504 divider = (*nanosec) / base; in ni_pcidio_ns_to_timer() 507 divider = DIV_ROUND_UP(*nanosec, base); in ni_pcidio_ns_to_timer() 511 *nanosec = base * divider; in ni_pcidio_ns_to_timer()
|
D | rtd520.c | 374 static int rtd_ns_to_timer_base(unsigned int *nanosec, in rtd_ns_to_timer_base() argument 382 divider = DIV_ROUND_CLOSEST(*nanosec, base); in rtd_ns_to_timer_base() 385 divider = (*nanosec) / base; in rtd_ns_to_timer_base() 388 divider = DIV_ROUND_UP(*nanosec, base); in rtd_ns_to_timer_base() 399 *nanosec = base * divider; in rtd_ns_to_timer_base()
|
D | s626.c | 1629 static int s626_ns_to_timer(unsigned int *nanosec, unsigned int flags) in s626_ns_to_timer() argument 1638 divider = DIV_ROUND_CLOSEST(*nanosec, base); in s626_ns_to_timer() 1641 divider = (*nanosec) / base; in s626_ns_to_timer() 1644 divider = DIV_ROUND_UP(*nanosec, base); in s626_ns_to_timer() 1648 *nanosec = base * divider; in s626_ns_to_timer()
|
D | ni_mio_common.c | 1928 unsigned int nanosec, unsigned int flags) in ni_ns_to_timer() argument 1936 divider = DIV_ROUND_CLOSEST(nanosec, devpriv->clock_ns); in ni_ns_to_timer() 1939 divider = (nanosec) / devpriv->clock_ns; in ni_ns_to_timer() 1942 divider = DIV_ROUND_UP(nanosec, devpriv->clock_ns); in ni_ns_to_timer()
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 3096 uint64_t nanosec:32; member 3100 uint64_t nanosec:32; 3113 uint64_t nanosec:32; member 3117 uint64_t nanosec:32; 3130 uint64_t nanosec:64; member 3132 uint64_t nanosec:64; 3282 uint64_t nanosec:32; member 3286 uint64_t nanosec:32; 3302 uint64_t nanosec:64; member 3304 uint64_t nanosec:64; [all …]
|
/Linux-v4.19/Documentation/scheduler/ |
D | sched-design-CFS.txt | 32 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately
|