Home
last modified time | relevance | path

Searched refs:I8254_MAX_COUNT (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/comedi/drivers/
H A Dcomedi_8254.c400 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
401 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
416 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
417 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
425 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
429 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { in comedi_8254_cascade_ns_to_timer()
431 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()
500 if (divisor > I8254_MAX_COUNT) in comedi_8254_ns_to_timer()
501 divisor = I8254_MAX_COUNT; in comedi_8254_ns_to_timer()
H A Dni_labpc_common.c357 (pacer->osc_base * I8254_MAX_COUNT) + 1; in labpc_adc_timing()
361 I8254_MAX_COUNT); in labpc_adc_timing()
387 comedi_check_trigger_arg_max(&pacer->next_div, I8254_MAX_COUNT); in labpc_adc_timing()
390 I8254_MAX_COUNT); in labpc_adc_timing()
/linux/include/linux/comedi/
H A Dcomedi_8254.h60 #define I8254_MAX_COUNT 0x10000 macro