Searched refs:I8254_MAX_COUNT (Results 1 – 3 of 3) sorted by relevance
355 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()356 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()371 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()372 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()380 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()384 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { in comedi_8254_cascade_ns_to_timer()386 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()455 if (divisor > I8254_MAX_COUNT) in comedi_8254_ns_to_timer()456 divisor = I8254_MAX_COUNT; in comedi_8254_ns_to_timer()
352 (pacer->osc_base * I8254_MAX_COUNT) + 1; in labpc_adc_timing()356 I8254_MAX_COUNT); in labpc_adc_timing()382 comedi_check_trigger_arg_max(&pacer->next_div, I8254_MAX_COUNT); in labpc_adc_timing()385 I8254_MAX_COUNT); in labpc_adc_timing()
58 #define I8254_MAX_COUNT 0x10000 macro