Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_8254.c341 i8254->divisor2 = i8254->next_div2 & 0xffff; in comedi_8254_update_divisors()
356 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
426 i8254->next_div2 = d2; in comedi_8254_cascade_ns_to_timer()
H A Dni_labpc_common.c366 pacer->next_div2 = DIV_ROUND_CLOSEST(scan_period, in labpc_adc_timing()
372 pacer->next_div2 = DIV_ROUND_UP(scan_period, in labpc_adc_timing()
377 pacer->next_div2 = scan_period / base_period; in labpc_adc_timing()
383 comedi_check_trigger_arg_min(&pacer->next_div2, 2); in labpc_adc_timing()
384 comedi_check_trigger_arg_max(&pacer->next_div2, in labpc_adc_timing()
391 base_period * pacer->next_div2); in labpc_adc_timing()
410 pacer->next_div = pacer->next_div2; in labpc_adc_timing()
/openbmc/linux/include/linux/comedi/
H A Dcomedi_8254.h89 unsigned int next_div2; member