From b1133df237e99a4d087f2c01aded13640ca46f57 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 28 May 2012 10:40:42 +0100 Subject: [PATCH] comedi.h: Add clock sources for Amplicon timer subdevice. Signed-off-by: Ian Abbott --- include/linux/comedi.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/linux/comedi.h b/include/linux/comedi.h index c0bf757e..278078a6 100644 --- a/include/linux/comedi.h +++ b/include/linux/comedi.h @@ -860,6 +860,14 @@ CR_INVERT to change polarity. */ AMPLC_DIO_CLK_20MHZ /* 20 MHz internal clock */ }; +/* Values for setting a clock source with INSN_CONFIG_SET_CLOCK_SRC for + * timer subdevice on some Amplicon DIO PCIe boards (amplc_dio200 driver). */ + enum amplc_dio_ts_clock_src { + AMPLC_DIO_TS_CLK_1GHZ, /* 1 ns period with 20 ns granularity */ + AMPLC_DIO_TS_CLK_1MHZ, /* 1 us period */ + AMPLC_DIO_TS_CLK_1KHZ /* 1 ms period */ + }; + /* Values for setting a gate source with INSN_CONFIG_SET_GATE_SRC for * 8254 counter subdevices on Amplicon DIO boards (amplc_dio200 driver). */ enum amplc_dio_gate_source { -- 2.26.2