Home
last modified time | relevance | path

Searched refs:comedi_device (Results 1 – 25 of 172) sorted by relevance

1234567

/drivers/staging/comedi/drivers/addi-data/
DAPCI1710_INCCPT.h135 int i_APCI1710_InsnConfigINCCPT(struct comedi_device *dev, struct comedi_subdevice *s,
138 int i_APCI1710_InsnBitsINCCPT(struct comedi_device *dev, struct comedi_subdevice * s,
141 int i_APCI1710_InsnWriteINCCPT(struct comedi_device *dev, struct comedi_subdevice * s,
144 int i_APCI1710_InsnReadINCCPT(struct comedi_device *dev, struct comedi_subdevice * s,
150 int i_APCI1710_InitCounter(struct comedi_device *dev,
158 int i_APCI1710_CounterAutoTest(struct comedi_device *dev, unsigned char * pb_TestStatus);
160 int i_APCI1710_InitIndex(struct comedi_device *dev,
166 int i_APCI1710_InitReference(struct comedi_device *dev,
169 int i_APCI1710_InitExternalStrobe(struct comedi_device *dev,
173 int i_APCI1710_InitCompareLogic(struct comedi_device *dev,
[all …]
Daddi_common.h98 int (*i_hwdrv_Reset)(struct comedi_device *dev);
103 int (*i_hwdrv_InsnConfigAnalogInput)(struct comedi_device *dev,
107 int (*i_hwdrv_InsnReadAnalogInput)(struct comedi_device *dev,
111 int (*i_hwdrv_InsnWriteAnalogInput)(struct comedi_device *dev,
115 int (*i_hwdrv_InsnBitsAnalogInput)(struct comedi_device *dev,
119 int (*i_hwdrv_CommandTestAnalogInput)(struct comedi_device *dev,
122 int (*i_hwdrv_CommandAnalogInput)(struct comedi_device *dev,
124 int (*i_hwdrv_CancelAnalogInput)(struct comedi_device *dev,
128 int (*i_hwdrv_InsnConfigAnalogOutput)(struct comedi_device *dev,
132 int (*i_hwdrv_InsnWriteAnalogOutput)(struct comedi_device *dev,
[all …]
Dhwdrv_apci3120.h183 int i_APCI3120_SetupChannelList(struct comedi_device *dev, struct comedi_subdevice *s,
185 int i_APCI3120_ExttrigEnable(struct comedi_device *dev);
186 int i_APCI3120_ExttrigDisable(struct comedi_device *dev);
187 int i_APCI3120_StopCyclicAcquisition(struct comedi_device *dev, struct comedi_subdevice *s);
188 int i_APCI3120_Reset(struct comedi_device *dev);
189 int i_APCI3120_CyclicAnalogInput(int mode, struct comedi_device *dev,
194 void v_APCI3120_InterruptDmaMoveBlock16bit(struct comedi_device *dev,
198 int i_APCI3120_InterruptHandleEos(struct comedi_device *dev);
203 int i_APCI3120_InsnConfigTimer(struct comedi_device *dev, struct comedi_subdevice *s,
205 int i_APCI3120_InsnWriteTimer(struct comedi_device *dev, struct comedi_subdevice *s,
[all …]
Dhwdrv_apci3200.h161 int i_APCI3200_ConfigAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
163 int i_APCI3200_ReadAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
165 int i_APCI3200_InsnWriteReleaseAnalogInput(struct comedi_device *dev,
168 int i_APCI3200_InsnBits_AnalogInput_Test(struct comedi_device *dev,
171 int i_APCI3200_StopCyclicAcquisition(struct comedi_device *dev, struct comedi_subdevice *s);
172 int i_APCI3200_InterruptHandleEos(struct comedi_device *dev);
173 int i_APCI3200_CommandTestAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s,
175 int i_APCI3200_CommandAnalogInput(struct comedi_device *dev, struct comedi_subdevice *s);
176 int i_APCI3200_ReadDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
180 int i_APCI3200_InterruptHandleEos(struct comedi_device *dev);
[all …]
Dhwdrv_apci1564.h86 int i_APCI1564_ConfigDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
88 int i_APCI1564_Read1DigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
90 int i_APCI1564_ReadMoreDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
94 int i_APCI1564_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
96 int i_APCI1564_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
98 int i_APCI1564_ReadDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
100 int i_APCI1564_ReadInterruptStatus(struct comedi_device *dev, struct comedi_subdevice *s,
106 int i_APCI1564_ConfigTimerCounterWatchdog(struct comedi_device *dev,
109 int i_APCI1564_StartStopWriteTimerCounterWatchdog(struct comedi_device *dev,
113 int i_APCI1564_ReadTimerCounterWatchdog(struct comedi_device *dev,
[all …]
Dhwdrv_apci1500.h119 static int i_APCI1500_Initialisation(struct comedi_device *dev, struct comedi_subdevice *s,
121 static int i_APCI1500_ConfigDigitalInputEvent(struct comedi_device *dev,
126 static int i_APCI1500_StartStopInputEvent(struct comedi_device *dev,
129 static int i_APCI1500_ReadMoreDigitalInput(struct comedi_device *dev,
134 static int i_APCI1500_ConfigDigitalOutputErrorInterrupt(struct comedi_device *dev,
138 static int i_APCI1500_WriteDigitalOutput(struct comedi_device *dev,
143 static int i_APCI1500_ConfigCounterTimerWatchdog(struct comedi_device *dev,
147 static int i_APCI1500_StartStopTriggerTimerCounterWatchdog(struct comedi_device *dev,
151 static int i_APCI1500_ReadCounterTimerWatchdog(struct comedi_device *dev,
155 static int i_APCI1500_ReadInterruptMask(struct comedi_device *dev,
[all …]
Dhwdrv_apci3501.h58 int i_APCI3501_ConfigAnalogOutput(struct comedi_device *dev, struct comedi_subdevice *s,
60 int i_APCI3501_WriteAnalogOutput(struct comedi_device *dev, struct comedi_subdevice *s,
69 int i_APCI3501_ReadDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
73 int i_APCI3501_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
75 int i_APCI3501_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
77 int i_APCI3501_ReadDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
84 int i_APCI3501_ConfigTimerCounterWatchdog(struct comedi_device *dev,
87 int i_APCI3501_StartStopWriteTimerCounterWatchdog(struct comedi_device *dev,
91 int i_APCI3501_ReadTimerCounterWatchdog(struct comedi_device *dev,
98 int i_APCI3501_Reset(struct comedi_device *dev);
Dhwdrv_apci2200.h39 int i_APCI2200_ReadMoreDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
41 int i_APCI2200_Read1DigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
45 int i_APCI2200_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
47 int i_APCI2200_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
49 int i_APCI2200_ReadDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
53 int i_APCI2200_ConfigWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
55 int i_APCI2200_StartStopWriteWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
57 int i_APCI2200_ReadWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
61 int i_APCI2200_Reset(struct comedi_device *dev);
Dhwdrv_apci1516.h41 int i_APCI1516_ReadMoreDigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
43 int i_APCI1516_Read1DigitalInput(struct comedi_device *dev, struct comedi_subdevice *s,
47 int i_APCI1516_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
49 int i_APCI1516_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
51 int i_APCI1516_ReadDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
57 int i_APCI1516_ConfigWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
59 int i_APCI1516_StartStopWriteWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
61 int i_APCI1516_ReadWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
65 int i_APCI1516_Reset(struct comedi_device *dev);
DAPCI1710_Pwm.h29 int i_APCI1710_InsnConfigPWM(struct comedi_device *dev, struct comedi_subdevice *s,
32 int i_APCI1710_InitPWM(struct comedi_device *dev,
41 int i_APCI1710_GetPWMInitialisation(struct comedi_device *dev,
53 int i_APCI1710_InsnWritePWM(struct comedi_device *dev, struct comedi_subdevice *s,
56 int i_APCI1710_EnablePWM(struct comedi_device *dev,
64 int i_APCI1710_SetNewPWMTiming(struct comedi_device *dev,
69 int i_APCI1710_DisablePWM(struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_PWM);
71 int i_APCI1710_InsnReadGetPWMStatus(struct comedi_device *dev, struct comedi_subdevice *s,
74 int i_APCI1710_InsnBitsReadPWMInterrupt(struct comedi_device *dev,
DAPCI1710_82x54.h37 int i_APCI1710_InsnConfigInitTimer(struct comedi_device *dev, struct comedi_subdevice *s,
40 int i_APCI1710_InsnWriteEnableDisableTimer(struct comedi_device *dev,
47 int i_APCI1710_InsnReadAllTimerValue(struct comedi_device *dev, struct comedi_subdevice *s,
50 int i_APCI1710_InsnBitsTimer(struct comedi_device *dev, struct comedi_subdevice *s,
56 int i_APCI1710_ReadTimerValue(struct comedi_device *dev,
60 int i_APCI1710_GetTimerOutputLevel(struct comedi_device *dev,
64 int i_APCI1710_GetTimerProgressStatus(struct comedi_device *dev,
71 int i_APCI1710_WriteTimerValue(struct comedi_device *dev,
Dhwdrv_apci2032.h58 int i_APCI2032_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
60 int i_APCI2032_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
62 int i_APCI2032_ReadDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
64 int i_APCI2032_ReadInterruptStatus(struct comedi_device *dev, struct comedi_subdevice *s,
71 int i_APCI2032_ConfigWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
73 int i_APCI2032_StartStopWriteWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
75 int i_APCI2032_ReadWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
83 int i_APCI2032_Reset(struct comedi_device *dev);
Dhwdrv_apci2016.h43 int i_APCI2016_ConfigDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
46 int i_APCI2016_WriteDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
49 int i_APCI2016_BitsDigitalOutput(struct comedi_device *dev, struct comedi_subdevice *s,
57 int i_APCI2016_ConfigWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
60 int i_APCI2016_StartStopWriteWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
63 int i_APCI2016_ReadWatchdog(struct comedi_device *dev, struct comedi_subdevice *s,
72 int i_APCI2016_Reset(struct comedi_device *dev);
/drivers/staging/comedi/
Dcomedidev.h65 struct comedi_device *device;
95 int (*insn_read) (struct comedi_device *, struct comedi_subdevice *,
97 int (*insn_write) (struct comedi_device *, struct comedi_subdevice *,
99 int (*insn_bits) (struct comedi_device *, struct comedi_subdevice *,
101 int (*insn_config) (struct comedi_device *, struct comedi_subdevice *,
104 int (*do_cmd) (struct comedi_device *, struct comedi_subdevice *);
105 int (*do_cmdtest) (struct comedi_device *, struct comedi_subdevice *,
107 int (*poll) (struct comedi_device *, struct comedi_subdevice *);
108 int (*cancel) (struct comedi_device *, struct comedi_subdevice *);
114 int (*buf_change) (struct comedi_device *dev,
[all …]
/drivers/staging/comedi/drivers/
Ds626.c126 static int s626_attach(struct comedi_device *dev, struct comedi_devconfig *it);
127 static int s626_detach(struct comedi_device *dev);
266 static int s626_ai_insn_config(struct comedi_device *dev,
270 static int s626_ai_insn_read(struct comedi_device *dev,
273 static int s626_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s);
274 static int s626_ai_cmdtest(struct comedi_device *dev,
276 static int s626_ai_cancel(struct comedi_device *dev,
278 static int s626_ao_winsn(struct comedi_device *dev, struct comedi_subdevice *s,
280 static int s626_ao_rinsn(struct comedi_device *dev, struct comedi_subdevice *s,
282 static int s626_dio_insn_bits(struct comedi_device *dev,
[all …]
Dadl_pci8164.c73 static int adl_pci8164_attach(struct comedi_device *dev,
75 static int adl_pci8164_detach(struct comedi_device *dev);
83 static int adl_pci8164_insn_read_msts(struct comedi_device *dev,
88 static int adl_pci8164_insn_read_ssts(struct comedi_device *dev,
93 static int adl_pci8164_insn_read_buf0(struct comedi_device *dev,
98 static int adl_pci8164_insn_read_buf1(struct comedi_device *dev,
103 static int adl_pci8164_insn_write_cmd(struct comedi_device *dev,
108 static int adl_pci8164_insn_write_otp(struct comedi_device *dev,
113 static int adl_pci8164_insn_write_buf0(struct comedi_device *dev,
118 static int adl_pci8164_insn_write_buf1(struct comedi_device *dev,
[all …]
Dpoc.c44 static int poc_attach(struct comedi_device *dev, struct comedi_devconfig *it);
45 static int poc_detach(struct comedi_device *dev);
46 static int readback_insn(struct comedi_device *dev, struct comedi_subdevice *s,
49 static int dac02_ao_winsn(struct comedi_device *dev, struct comedi_subdevice *s,
51 static int pcl733_insn_bits(struct comedi_device *dev,
54 static int pcl734_insn_bits(struct comedi_device *dev,
61 int (*setup) (struct comedi_device *);
65 int (*winsn) (struct comedi_device *, struct comedi_subdevice *,
67 int (*rinsn) (struct comedi_device *, struct comedi_subdevice *,
69 int (*insnbits) (struct comedi_device *, struct comedi_subdevice *,
[all …]
Dni_mio_common.c216 static int ni_dio_insn_config(struct comedi_device *dev,
219 static int ni_dio_insn_bits(struct comedi_device *dev,
222 static int ni_cdio_cmdtest(struct comedi_device *dev,
224 static int ni_cdio_cmd(struct comedi_device *dev, struct comedi_subdevice *s);
225 static int ni_cdio_cancel(struct comedi_device *dev,
227 static void handle_cdio_interrupt(struct comedi_device *dev);
228 static int ni_cdo_inttrig(struct comedi_device *dev, struct comedi_subdevice *s,
231 static int ni_serial_insn_config(struct comedi_device *dev,
234 static int ni_serial_hw_readwrite8(struct comedi_device *dev,
238 static int ni_serial_sw_readwrite8(struct comedi_device *dev,
[all …]
Dcomedi_test.c97 static int waveform_attach(struct comedi_device *dev,
99 static int waveform_detach(struct comedi_device *dev);
123 static int waveform_ai_cmdtest(struct comedi_device *dev,
126 static int waveform_ai_cmd(struct comedi_device *dev,
128 static int waveform_ai_cancel(struct comedi_device *dev,
130 static int waveform_ai_insn_read(struct comedi_device *dev,
133 static int waveform_ao_insn_write(struct comedi_device *dev,
136 static short fake_sawtooth(struct comedi_device *dev, unsigned int range,
138 static short fake_squarewave(struct comedi_device *dev, unsigned int range,
140 static short fake_flatline(struct comedi_device *dev, unsigned int range,
[all …]
Ddt2801.c91 static int dt2801_attach(struct comedi_device *dev,
93 static int dt2801_detach(struct comedi_device *dev);
261 static int dt2801_ai_insn_read(struct comedi_device *dev,
264 static int dt2801_ao_insn_read(struct comedi_device *dev,
267 static int dt2801_ao_insn_write(struct comedi_device *dev,
270 static int dt2801_dio_insn_bits(struct comedi_device *dev,
273 static int dt2801_dio_insn_config(struct comedi_device *dev,
286 static int dt2801_readdata(struct comedi_device *dev, int *data) in dt2801_readdata()
304 static int dt2801_readdata2(struct comedi_device *dev, int *data) in dt2801_readdata2()
320 static int dt2801_writedata(struct comedi_device *dev, unsigned int data) in dt2801_writedata()
[all …]
Dni_660x.c446 static inline struct ni_660x_private *private(struct comedi_device *dev) in private()
452 static inline const struct ni_660x_board *board(struct comedi_device *dev) in board()
459 static int ni_660x_attach(struct comedi_device *dev,
461 static int ni_660x_detach(struct comedi_device *dev);
462 static void init_tio_chip(struct comedi_device *dev, int chipset);
463 static void ni_660x_select_pfi_output(struct comedi_device *dev,
512 static int ni_660x_find_device(struct comedi_device *dev, int bus, int slot);
513 static int ni_660x_set_pfi_routing(struct comedi_device *dev, unsigned chan,
517 static int ni_660x_GPCT_rinsn(struct comedi_device *dev,
520 static int ni_660x_GPCT_insn_config(struct comedi_device *dev,
[all …]
Dcb_pcidas.c471 static int cb_pcidas_attach(struct comedi_device *dev,
473 static int cb_pcidas_detach(struct comedi_device *dev);
481 static int cb_pcidas_ai_rinsn(struct comedi_device *dev,
484 static int ai_config_insn(struct comedi_device *dev, struct comedi_subdevice *s,
486 static int cb_pcidas_ao_nofifo_winsn(struct comedi_device *dev,
490 static int cb_pcidas_ao_fifo_winsn(struct comedi_device *dev,
494 static int cb_pcidas_ao_readback_insn(struct comedi_device *dev,
498 static int cb_pcidas_ai_cmd(struct comedi_device *dev,
500 static int cb_pcidas_ai_cmdtest(struct comedi_device *dev,
503 static int cb_pcidas_ao_cmd(struct comedi_device *dev,
[all …]
Dni_at_ao.c185 static int atao_attach(struct comedi_device *dev, struct comedi_devconfig *it);
186 static int atao_detach(struct comedi_device *dev);
210 static void atao_reset(struct comedi_device *dev);
212 static int atao_ao_winsn(struct comedi_device *dev, struct comedi_subdevice *s,
214 static int atao_ao_rinsn(struct comedi_device *dev, struct comedi_subdevice *s,
216 static int atao_dio_insn_bits(struct comedi_device *dev,
219 static int atao_dio_insn_config(struct comedi_device *dev,
222 static int atao_calib_insn_read(struct comedi_device *dev,
225 static int atao_calib_insn_write(struct comedi_device *dev,
229 static int atao_attach(struct comedi_device *dev, struct comedi_devconfig *it) in atao_attach()
[all …]
Dii_pci20kc.c162 static int pci20xxx_attach(struct comedi_device *dev,
164 static int pci20xxx_detach(struct comedi_device *dev);
173 static int pci20006_init(struct comedi_device *dev, struct comedi_subdevice *s,
175 static int pci20341_init(struct comedi_device *dev, struct comedi_subdevice *s,
177 static int pci20xxx_dio_init(struct comedi_device *dev,
207 static int pci20xxx_attach(struct comedi_device *dev, in pci20xxx_attach()
278 static int pci20xxx_detach(struct comedi_device *dev) in pci20xxx_detach()
287 static int pci20006_insn_read(struct comedi_device *dev,
290 static int pci20006_insn_write(struct comedi_device *dev,
300 static int pci20006_init(struct comedi_device *dev, struct comedi_subdevice *s, in pci20006_init()
[all …]
Dcb_pcidas64.c1054 static inline struct pcidas64_board *board(const struct comedi_device *dev) in board()
1059 static inline unsigned short se_diff_bit_6xxx(struct comedi_device *dev, in se_diff_bit_6xxx()
1125 static inline struct pcidas64_private *priv(struct comedi_device *dev) in priv()
1136 static int attach(struct comedi_device *dev, struct comedi_devconfig *it);
1137 static int detach(struct comedi_device *dev);
1145 static int ai_rinsn(struct comedi_device *dev, struct comedi_subdevice *s,
1147 static int ai_config_insn(struct comedi_device *dev, struct comedi_subdevice *s,
1149 static int ao_winsn(struct comedi_device *dev, struct comedi_subdevice *s,
1151 static int ao_readback_insn(struct comedi_device *dev,
1154 static int ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s);
[all …]

1234567