Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/comedi/
Dcomedidev.h163 struct comedi_device *device;
189 int (*insn_read)(struct comedi_device *, struct comedi_subdevice *,
191 int (*insn_write)(struct comedi_device *, struct comedi_subdevice *,
193 int (*insn_bits)(struct comedi_device *, struct comedi_subdevice *,
195 int (*insn_config)(struct comedi_device *, struct comedi_subdevice *,
198 int (*do_cmd)(struct comedi_device *, struct comedi_subdevice *);
199 int (*do_cmdtest)(struct comedi_device *, struct comedi_subdevice *,
201 int (*poll)(struct comedi_device *, struct comedi_subdevice *);
202 int (*cancel)(struct comedi_device *, struct comedi_subdevice *);
205 int (*buf_change)(struct comedi_device *, struct comedi_subdevice *);
[all …]
Dcomedilib.h22 struct comedi_device *comedi_open(const char *path);
23 int comedi_close(struct comedi_device *dev);
24 int comedi_dio_get_config(struct comedi_device *dev, unsigned int subdev,
26 int comedi_dio_config(struct comedi_device *dev, unsigned int subdev,
28 int comedi_dio_bitfield2(struct comedi_device *dev, unsigned int subdev,
31 int comedi_find_subdevice_by_type(struct comedi_device *dev, int type,
33 int comedi_get_n_channels(struct comedi_device *dev, unsigned int subdevice);
Dcomedi_internal.h13 struct comedi_device;
19 int do_rangeinfo_ioctl(struct comedi_device *dev,
21 struct comedi_device *comedi_alloc_board_minor(struct device *hardware_device);
26 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
36 void comedi_device_cancel_all(struct comedi_device *dev);
47 int insn_inval(struct comedi_device *, struct comedi_subdevice *,
50 void comedi_device_detach(struct comedi_device *);
51 int comedi_device_attach(struct comedi_device *, struct comedi_devconfig *);
Ddrivers.c59 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev) in comedi_set_hw_dev()
70 static void comedi_clear_hw_dev(struct comedi_device *dev) in comedi_clear_hw_dev()
87 void *comedi_alloc_devpriv(struct comedi_device *dev, size_t size) in comedi_alloc_devpriv()
106 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices) in comedi_alloc_subdevices()
166 static void comedi_device_detach_cleanup(struct comedi_device *dev) in comedi_device_detach_cleanup()
206 void comedi_device_detach(struct comedi_device *dev) in comedi_device_detach()
218 static int poll_invalid(struct comedi_device *dev, struct comedi_subdevice *s) in poll_invalid()
223 int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s, in insn_inval()
246 int comedi_readback_insn_read(struct comedi_device *dev, in comedi_readback_insn_read()
281 int comedi_timeout(struct comedi_device *dev, in comedi_timeout()
[all …]
Dcomedi_pci.h37 struct pci_dev *comedi_to_pci_dev(struct comedi_device *);
39 int comedi_pci_enable(struct comedi_device *);
40 void comedi_pci_disable(struct comedi_device *);
41 void comedi_pci_detach(struct comedi_device *);
Dcomedi_fops.c72 struct comedi_device *dev;
103 static struct comedi_device
114 static void comedi_device_init(struct comedi_device *dev) in comedi_device_init()
125 struct comedi_device *dev = in comedi_dev_kref_release()
126 container_of(kref, struct comedi_device, refcount); in comedi_dev_kref_release()
145 int comedi_dev_put(struct comedi_device *dev) in comedi_dev_put()
153 static struct comedi_device *comedi_dev_get(struct comedi_device *dev) in comedi_dev_get()
160 static void comedi_device_cleanup(struct comedi_device *dev) in comedi_device_cleanup()
175 static bool comedi_clear_board_dev(struct comedi_device *dev) in comedi_clear_board_dev()
189 static struct comedi_device *comedi_clear_board_minor(unsigned minor) in comedi_clear_board_minor()
[all …]
Dcomedi_pcmcia.h27 struct pcmcia_device *comedi_to_pcmcia_dev(struct comedi_device *);
29 int comedi_pcmcia_enable(struct comedi_device *,
31 void comedi_pcmcia_disable(struct comedi_device *);
Dcomedi_pci.c34 struct pci_dev *comedi_to_pci_dev(struct comedi_device *dev) in comedi_to_pci_dev()
58 int comedi_pci_enable(struct comedi_device *dev) in comedi_pci_enable()
89 void comedi_pci_disable(struct comedi_device *dev) in comedi_pci_disable()
115 void comedi_pci_detach(struct comedi_device *dev) in comedi_pci_detach()
Dcomedi_pcmcia.c34 struct pcmcia_device *comedi_to_pcmcia_dev(struct comedi_device *dev) in comedi_to_pcmcia_dev()
80 int comedi_pcmcia_enable(struct comedi_device *dev, in comedi_pcmcia_enable()
108 void comedi_pcmcia_disable(struct comedi_device *dev) in comedi_pcmcia_disable()
Dcomedi_usb.h26 struct usb_interface *comedi_to_usb_interface(struct comedi_device *);
27 struct usb_device *comedi_to_usb_dev(struct comedi_device *);
Dcomedi_usb.c33 struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev) in comedi_to_usb_interface()
49 struct usb_device *comedi_to_usb_dev(struct comedi_device *dev) in comedi_to_usb_dev()
Drange.c57 int do_rangeinfo_ioctl(struct comedi_device *dev, in do_rangeinfo_ioctl()
120 struct comedi_device *dev = s->device; in comedi_check_chanlist()
Dproc.c40 struct comedi_device *dev = comedi_dev_get_from_minor(i); in comedi_read()
Dcomedi_buf.c61 static void __comedi_buf_free(struct comedi_device *dev, in __comedi_buf_free()
81 static void __comedi_buf_alloc(struct comedi_device *dev, in __comedi_buf_alloc()
194 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dni_labpc_isadma.h10 void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan);
11 void labpc_free_dma_chan(struct comedi_device *dev);
12 void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s);
13 void labpc_drain_dma(struct comedi_device *dev);
14 void labpc_handle_dma_status(struct comedi_device *dev);
18 static inline void labpc_init_dma_chan(struct comedi_device *dev, in labpc_init_dma_chan()
23 static inline void labpc_free_dma_chan(struct comedi_device *dev) in labpc_free_dma_chan()
27 static inline void labpc_setup_dma(struct comedi_device *dev, in labpc_setup_dma()
32 static inline void labpc_drain_dma(struct comedi_device *dev) in labpc_drain_dma()
36 static inline void labpc_handle_dma_status(struct comedi_device *dev) in labpc_handle_dma_status()
Dcomedi_8255.c47 int (*io)(struct comedi_device *dev, int dir, int port, int data,
51 static int subdev_8255_io(struct comedi_device *dev, in subdev_8255_io()
61 static int subdev_8255_mmio(struct comedi_device *dev, in subdev_8255_mmio()
71 static int subdev_8255_insn(struct comedi_device *dev, in subdev_8255_insn()
103 static void subdev_8255_do_config(struct comedi_device *dev, in subdev_8255_do_config()
124 static int subdev_8255_insn_config(struct comedi_device *dev, in subdev_8255_insn_config()
151 static int __subdev_8255_init(struct comedi_device *dev, in __subdev_8255_init()
153 int (*io)(struct comedi_device *dev, in __subdev_8255_init()
212 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_init()
213 int (*io)(struct comedi_device *dev, int dir, int port, in subdev_8255_init()
[all …]
Ddaqboard2000.c279 static void writeAcqScanListEntry(struct comedi_device *dev, u16 entry) in writeAcqScanListEntry()
287 static void setup_sampling(struct comedi_device *dev, int chan, int gain) in setup_sampling()
331 static int daqboard2000_ai_status(struct comedi_device *dev, in daqboard2000_ai_status()
344 static int daqboard2000_ai_insn_read(struct comedi_device *dev, in daqboard2000_ai_insn_read()
402 static int daqboard2000_ao_eoc(struct comedi_device *dev, in daqboard2000_ao_eoc()
416 static int daqboard2000_ao_insn_write(struct comedi_device *dev, in daqboard2000_ao_insn_write()
440 static void daqboard2000_resetLocalBus(struct comedi_device *dev) in daqboard2000_resetLocalBus()
450 static void daqboard2000_reloadPLX(struct comedi_device *dev) in daqboard2000_reloadPLX()
462 static void daqboard2000_pulseProgPin(struct comedi_device *dev) in daqboard2000_pulseProgPin()
472 static int daqboard2000_pollCPLD(struct comedi_device *dev, int mask) in daqboard2000_pollCPLD()
[all …]
Damplc_dio200_common.c111 static unsigned char dio200_read8(struct comedi_device *dev, in dio200_read8()
124 static void dio200_write8(struct comedi_device *dev, in dio200_write8()
138 static unsigned int dio200_read32(struct comedi_device *dev, in dio200_read32()
151 static void dio200_write32(struct comedi_device *dev, in dio200_write32()
165 static unsigned int dio200_subdev_8254_offset(struct comedi_device *dev, in dio200_subdev_8254_offset()
186 static int dio200_subdev_intr_insn_bits(struct comedi_device *dev, in dio200_subdev_intr_insn_bits()
205 static void dio200_stop_intr(struct comedi_device *dev, in dio200_stop_intr()
217 static void dio200_start_intr(struct comedi_device *dev, in dio200_start_intr()
239 static int dio200_inttrig_start_intr(struct comedi_device *dev, in dio200_inttrig_start_intr()
260 static void dio200_read_scan_intr(struct comedi_device *dev, in dio200_read_scan_intr()
[all …]
Dni_tio.h117 struct comedi_device *dev;
130 ni_gpct_device_construct(struct comedi_device *,
140 int ni_tio_insn_read(struct comedi_device *, struct comedi_subdevice *,
142 int ni_tio_insn_config(struct comedi_device *, struct comedi_subdevice *,
144 int ni_tio_insn_write(struct comedi_device *, struct comedi_subdevice *,
146 int ni_tio_cmd(struct comedi_device *, struct comedi_subdevice *);
147 int ni_tio_cmdtest(struct comedi_device *, struct comedi_subdevice *,
D8255.h36 struct comedi_device;
39 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s,
40 int (*io)(struct comedi_device *dev, int dir, int port,
44 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s,
45 int (*io)(struct comedi_device *dev, int dir, int port,
Dpcl816.c111 static void pcl816_ai_setup_dma(struct comedi_device *dev, in pcl816_ai_setup_dma()
135 static void pcl816_ai_set_chan_range(struct comedi_device *dev, in pcl816_ai_set_chan_range()
143 static void pcl816_ai_set_chan_scan(struct comedi_device *dev, in pcl816_ai_set_chan_scan()
151 static void pcl816_ai_setup_chanlist(struct comedi_device *dev, in pcl816_ai_setup_chanlist()
173 static void pcl816_ai_clear_eoc(struct comedi_device *dev) in pcl816_ai_clear_eoc()
179 static void pcl816_ai_soft_trig(struct comedi_device *dev) in pcl816_ai_soft_trig()
185 static unsigned int pcl816_ai_get_sample(struct comedi_device *dev, in pcl816_ai_get_sample()
196 static int pcl816_ai_eoc(struct comedi_device *dev, in pcl816_ai_eoc()
209 static bool pcl816_ai_next_chan(struct comedi_device *dev, in pcl816_ai_next_chan()
223 static void transfer_from_dma_buf(struct comedi_device *dev, in transfer_from_dma_buf()
[all …]
Ds626.c107 static void s626_mc_enable(struct comedi_device *dev, in s626_mc_enable()
116 static void s626_mc_disable(struct comedi_device *dev, in s626_mc_disable()
123 static bool s626_mc_test(struct comedi_device *dev, in s626_mc_test()
148 static void s626_debi_transfer(struct comedi_device *dev) in s626_debi_transfer()
182 static uint16_t s626_debi_read(struct comedi_device *dev, uint16_t addr) in s626_debi_read()
196 static void s626_debi_write(struct comedi_device *dev, uint16_t addr, in s626_debi_write()
212 static void s626_debi_replace(struct comedi_device *dev, unsigned int addr, in s626_debi_replace()
231 static int s626_i2c_handshake_eoc(struct comedi_device *dev, in s626_i2c_handshake_eoc()
244 static int s626_i2c_handshake(struct comedi_device *dev, uint32_t val) in s626_i2c_handshake()
271 static uint8_t s626_i2c_read(struct comedi_device *dev, uint8_t addr) in s626_i2c_read()
[all …]
Dc6xdigio.c57 static int c6xdigio_chk_status(struct comedi_device *dev, unsigned long context) in c6xdigio_chk_status()
72 static int c6xdigio_write_data(struct comedi_device *dev, in c6xdigio_write_data()
79 static int c6xdigio_get_encoder_bits(struct comedi_device *dev, in c6xdigio_get_encoder_bits()
95 static void c6xdigio_pwm_write(struct comedi_device *dev, in c6xdigio_pwm_write()
120 static int c6xdigio_encoder_read(struct comedi_device *dev, in c6xdigio_encoder_read()
158 static int c6xdigio_pwm_insn_write(struct comedi_device *dev, in c6xdigio_pwm_insn_write()
184 static int c6xdigio_pwm_insn_read(struct comedi_device *dev, in c6xdigio_pwm_insn_read()
201 static int c6xdigio_encoder_insn_read(struct comedi_device *dev, in c6xdigio_encoder_insn_read()
220 static void c6xdigio_init(struct comedi_device *dev) in c6xdigio_init()
248 static int c6xdigio_attach(struct comedi_device *dev, in c6xdigio_attach()
[all …]
Daio_iiro_16.c55 static unsigned int aio_iiro_16_read_inputs(struct comedi_device *dev) in aio_iiro_16_read_inputs()
67 struct comedi_device *dev = d; in aio_iiro_16_cos()
85 static void aio_iiro_enable_irq(struct comedi_device *dev, bool enable) in aio_iiro_enable_irq()
93 static int aio_iiro_16_cos_cancel(struct comedi_device *dev, in aio_iiro_16_cos_cancel()
101 static int aio_iiro_16_cos_cmd(struct comedi_device *dev, in aio_iiro_16_cos_cmd()
109 static int aio_iiro_16_cos_cmdtest(struct comedi_device *dev, in aio_iiro_16_cos_cmdtest()
148 static int aio_iiro_16_do_insn_bits(struct comedi_device *dev, in aio_iiro_16_do_insn_bits()
164 static int aio_iiro_16_di_insn_bits(struct comedi_device *dev, in aio_iiro_16_di_insn_bits()
174 static int aio_iiro_16_attach(struct comedi_device *dev, in aio_iiro_16_attach()
Damplc_pc236.h26 struct comedi_device;
30 void (*intr_update_cb)(struct comedi_device *dev, bool enable);
31 bool (*intr_chk_clr_cb)(struct comedi_device *dev);
39 int amplc_pc236_common_attach(struct comedi_device *dev, unsigned long iobase,
Damplc_pc236_common.c29 static void pc236_intr_update(struct comedi_device *dev, bool enable) in pc236_intr_update()
49 static bool pc236_intr_check(struct comedi_device *dev) in pc236_intr_check()
68 static int pc236_intr_insn(struct comedi_device *dev, in pc236_intr_insn()
76 static int pc236_intr_cmdtest(struct comedi_device *dev, in pc236_intr_cmdtest()
115 static int pc236_intr_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pc236_intr_cmd()
122 static int pc236_intr_cancel(struct comedi_device *dev, in pc236_intr_cancel()
132 struct comedi_device *dev = d; in pc236_interrupt()
144 int amplc_pc236_common_attach(struct comedi_device *dev, unsigned long iobase, in amplc_pc236_common_attach()
Ddas6402.c144 static void das6402_set_mode(struct comedi_device *dev, in das6402_set_mode()
150 static void das6402_set_extended(struct comedi_device *dev, in das6402_set_extended()
158 static void das6402_clear_all_interrupts(struct comedi_device *dev) in das6402_clear_all_interrupts()
165 static void das6402_ai_clear_eoc(struct comedi_device *dev) in das6402_ai_clear_eoc()
170 static unsigned int das6402_ai_read_sample(struct comedi_device *dev, in das6402_ai_read_sample()
183 struct comedi_device *dev = d; in das6402_interrupt()
213 static void das6402_ai_set_mode(struct comedi_device *dev, in das6402_ai_set_mode()
230 static int das6402_ai_cmd(struct comedi_device *dev, in das6402_ai_cmd()
255 static int das6402_ai_check_chanlist(struct comedi_device *dev, in das6402_ai_check_chanlist()
296 static int das6402_ai_cmdtest(struct comedi_device *dev, in das6402_ai_cmdtest()
[all …]
Dcomedi_parport.c81 static int parport_data_reg_insn_bits(struct comedi_device *dev, in parport_data_reg_insn_bits()
94 static int parport_data_reg_insn_config(struct comedi_device *dev, in parport_data_reg_insn_config()
116 static int parport_status_reg_insn_bits(struct comedi_device *dev, in parport_status_reg_insn_bits()
126 static int parport_ctrl_reg_insn_bits(struct comedi_device *dev, in parport_ctrl_reg_insn_bits()
145 static int parport_intr_insn_bits(struct comedi_device *dev, in parport_intr_insn_bits()
154 static int parport_intr_cmdtest(struct comedi_device *dev, in parport_intr_cmdtest()
193 static int parport_intr_cmd(struct comedi_device *dev, in parport_intr_cmd()
205 static int parport_intr_cancel(struct comedi_device *dev, in parport_intr_cancel()
219 struct comedi_device *dev = d; in parport_interrupt()
233 static int parport_attach(struct comedi_device *dev, in parport_attach()
Dni_6527.c93 static void ni6527_set_filter_interval(struct comedi_device *dev, in ni6527_set_filter_interval()
111 static void ni6527_set_filter_enable(struct comedi_device *dev, in ni6527_set_filter_enable()
119 static int ni6527_di_insn_config(struct comedi_device *dev, in ni6527_di_insn_config()
153 static int ni6527_di_insn_bits(struct comedi_device *dev, in ni6527_di_insn_bits()
169 static int ni6527_do_insn_bits(struct comedi_device *dev, in ni6527_do_insn_bits()
198 struct comedi_device *dev = d; in ni6527_interrupt()
216 static int ni6527_intr_cmdtest(struct comedi_device *dev, in ni6527_intr_cmdtest()
255 static int ni6527_intr_cmd(struct comedi_device *dev, in ni6527_intr_cmd()
264 static int ni6527_intr_cancel(struct comedi_device *dev, in ni6527_intr_cancel()
272 static int ni6527_intr_insn_bits(struct comedi_device *dev, in ni6527_intr_insn_bits()
[all …]
Dni_labpc.h60 unsigned int (*read_byte)(struct comedi_device *, unsigned long reg);
61 void (*write_byte)(struct comedi_device *,
65 int labpc_common_attach(struct comedi_device *dev,
67 void labpc_common_detach(struct comedi_device *dev);
Dusbduxsigma.c187 static void usbduxsigma_ai_stop(struct comedi_device *dev, int do_unlink) in usbduxsigma_ai_stop()
197 static int usbduxsigma_ai_cancel(struct comedi_device *dev, in usbduxsigma_ai_cancel()
210 static void usbduxsigma_ai_handle_urb(struct comedi_device *dev, in usbduxsigma_ai_handle_urb()
261 struct comedi_device *dev = urb->context; in usbduxsigma_ai_urb_complete()
313 static void usbduxsigma_ao_stop(struct comedi_device *dev, int do_unlink) in usbduxsigma_ao_stop()
323 static int usbduxsigma_ao_cancel(struct comedi_device *dev, in usbduxsigma_ao_cancel()
336 static void usbduxsigma_ao_handle_urb(struct comedi_device *dev, in usbduxsigma_ao_handle_urb()
400 struct comedi_device *dev = urb->context; in usbduxsigma_ao_urb_complete()
440 static int usbduxsigma_submit_urbs(struct comedi_device *dev, in usbduxsigma_submit_urbs()
477 static int usbduxsigma_ai_cmdtest(struct comedi_device *dev, in usbduxsigma_ai_cmdtest()
[all …]
Dni_mio_common.c245 static void ni_writel(struct comedi_device *dev, uint32_t data, int reg) in ni_writel()
253 static void ni_writew(struct comedi_device *dev, uint16_t data, int reg) in ni_writew()
261 static void ni_writeb(struct comedi_device *dev, uint8_t data, int reg) in ni_writeb()
269 static uint32_t ni_readl(struct comedi_device *dev, int reg) in ni_readl()
277 static uint16_t ni_readw(struct comedi_device *dev, int reg) in ni_readw()
285 static uint8_t ni_readb(struct comedi_device *dev, int reg) in ni_readb()
385 static void m_series_stc_write(struct comedi_device *dev, in m_series_stc_write()
433 static unsigned int m_series_stc_read(struct comedi_device *dev, in m_series_stc_read()
460 static void ni_stc_writew(struct comedi_device *dev, uint16_t data, int reg) in ni_stc_writew()
479 static void ni_stc_writel(struct comedi_device *dev, uint32_t data, int reg) in ni_stc_writel()
[all …]
Dpcmuio.c138 static inline unsigned long pcmuio_asic_iobase(struct comedi_device *dev, in pcmuio_asic_iobase()
162 static void pcmuio_write(struct comedi_device *dev, unsigned int val, in pcmuio_write()
185 static unsigned int pcmuio_read(struct comedi_device *dev, in pcmuio_read()
221 static int pcmuio_dio_insn_bits(struct comedi_device *dev, in pcmuio_dio_insn_bits()
256 static int pcmuio_dio_insn_config(struct comedi_device *dev, in pcmuio_dio_insn_config()
275 static void pcmuio_reset(struct comedi_device *dev) in pcmuio_reset()
293 static void pcmuio_stop_intr(struct comedi_device *dev, in pcmuio_stop_intr()
308 static void pcmuio_handle_intr_subdev(struct comedi_device *dev, in pcmuio_handle_intr_subdev()
347 static int pcmuio_handle_asic_interrupt(struct comedi_device *dev, int asic) in pcmuio_handle_asic_interrupt()
371 struct comedi_device *dev = d; in pcmuio_interrupt()
[all …]
Daddi_apci_1500.c64 static unsigned int z8536_read(struct comedi_device *dev, unsigned int reg) in z8536_read()
77 static void z8536_write(struct comedi_device *dev, in z8536_write()
88 static void z8536_reset(struct comedi_device *dev) in z8536_reset()
164 static void apci1500_port_enable(struct comedi_device *dev, bool enable) in apci1500_port_enable()
176 static void apci1500_timer_enable(struct comedi_device *dev, in apci1500_timer_enable()
199 static bool apci1500_ack_irq(struct comedi_device *dev, in apci1500_ack_irq()
217 struct comedi_device *dev = d; in apci1500_interrupt()
265 static int apci1500_di_cancel(struct comedi_device *dev, in apci1500_di_cancel()
288 static int apci1500_di_inttrig_start(struct comedi_device *dev, in apci1500_di_inttrig_start()
371 static int apci1500_di_cmd(struct comedi_device *dev, in apci1500_di_cmd()
[all …]
Dpcl818.c300 static void pcl818_ai_setup_dma(struct comedi_device *dev, in pcl818_ai_setup_dma()
324 static void pcl818_ai_set_chan_range(struct comedi_device *dev, in pcl818_ai_set_chan_range()
332 static void pcl818_ai_set_chan_scan(struct comedi_device *dev, in pcl818_ai_set_chan_scan()
340 static void pcl818_ai_setup_chanlist(struct comedi_device *dev, in pcl818_ai_setup_chanlist()
368 static void pcl818_ai_clear_eoc(struct comedi_device *dev) in pcl818_ai_clear_eoc()
374 static void pcl818_ai_soft_trig(struct comedi_device *dev) in pcl818_ai_soft_trig()
380 static unsigned int pcl818_ai_get_fifo_sample(struct comedi_device *dev, in pcl818_ai_get_fifo_sample()
395 static unsigned int pcl818_ai_get_sample(struct comedi_device *dev, in pcl818_ai_get_sample()
410 static int pcl818_ai_eoc(struct comedi_device *dev, in pcl818_ai_eoc()
423 static bool pcl818_ai_write_sample(struct comedi_device *dev, in pcl818_ai_write_sample()
[all …]
Dusbdux.c224 static void usbdux_ai_stop(struct comedi_device *dev, int do_unlink) in usbdux_ai_stop()
234 static int usbdux_ai_cancel(struct comedi_device *dev, in usbdux_ai_cancel()
248 static void usbduxsub_ai_handle_urb(struct comedi_device *dev, in usbduxsub_ai_handle_urb()
299 struct comedi_device *dev = urb->context; in usbduxsub_ai_isoc_irq()
352 static void usbdux_ao_stop(struct comedi_device *dev, int do_unlink) in usbdux_ao_stop()
362 static int usbdux_ao_cancel(struct comedi_device *dev, in usbdux_ao_cancel()
376 static void usbduxsub_ao_handle_urb(struct comedi_device *dev, in usbduxsub_ao_handle_urb()
446 struct comedi_device *dev = urb->context; in usbduxsub_ao_isoc_irq()
487 static int usbdux_submit_urbs(struct comedi_device *dev, in usbdux_submit_urbs()
516 static int usbdux_ai_cmdtest(struct comedi_device *dev, in usbdux_ai_cmdtest()
[all …]
Dni_labpc_isadma.c34 static unsigned int labpc_suggest_transfer_size(struct comedi_device *dev, in labpc_suggest_transfer_size()
61 void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s) in labpc_setup_dma()
81 void labpc_drain_dma(struct comedi_device *dev) in labpc_drain_dma()
124 static void handle_isa_dma(struct comedi_device *dev) in handle_isa_dma()
138 void labpc_handle_dma_status(struct comedi_device *dev) in labpc_handle_dma_status()
153 void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan) in labpc_init_dma_chan()
168 void labpc_free_dma_chan(struct comedi_device *dev) in labpc_free_dma_chan()
Daddi_apci_3120.c166 static void apci3120_addon_write(struct comedi_device *dev, in apci3120_addon_write()
180 static void apci3120_init_dma(struct comedi_device *dev, in apci3120_init_dma()
212 static void apci3120_setup_dma(struct comedi_device *dev, in apci3120_setup_dma()
277 static unsigned int apci3120_ns_to_timer(struct comedi_device *dev, in apci3120_ns_to_timer()
316 static void apci3120_clr_timer2_interrupt(struct comedi_device *dev) in apci3120_clr_timer2_interrupt()
322 static void apci3120_timer_write(struct comedi_device *dev, in apci3120_timer_write()
342 static unsigned int apci3120_timer_read(struct comedi_device *dev, in apci3120_timer_read()
365 static void apci3120_timer_set_mode(struct comedi_device *dev, in apci3120_timer_set_mode()
375 static void apci3120_timer_enable(struct comedi_device *dev, in apci3120_timer_enable()
387 static void apci3120_exttrig_enable(struct comedi_device *dev, bool enable) in apci3120_exttrig_enable()
[all …]
Dcomedi_test.c88 static unsigned short fake_sawtooth(struct comedi_device *dev, in fake_sawtooth()
120 static unsigned short fake_squarewave(struct comedi_device *dev, in fake_squarewave()
150 static unsigned short fake_flatline(struct comedi_device *dev, in fake_flatline()
158 static unsigned short fake_waveform(struct comedi_device *dev, in fake_waveform()
185 struct comedi_device *dev = (struct comedi_device *)arg; in waveform_ai_timer()
238 static int waveform_ai_cmdtest(struct comedi_device *dev, in waveform_ai_cmdtest()
339 static int waveform_ai_cmd(struct comedi_device *dev, in waveform_ai_cmd()
398 static int waveform_ai_cancel(struct comedi_device *dev, in waveform_ai_cancel()
411 static int waveform_ai_insn_read(struct comedi_device *dev, in waveform_ai_insn_read()
430 struct comedi_device *dev = (struct comedi_device *)arg; in waveform_ao_timer()
[all …]
Dcb_pcidas64.c1106 static inline unsigned short se_diff_bit_6xxx(struct comedi_device *dev, in se_diff_bit_6xxx()
1182 static unsigned int ai_range_bits_6xxx(const struct comedi_device *dev, in ai_range_bits_6xxx()
1190 static unsigned int hw_revision(const struct comedi_device *dev, in hw_revision()
1201 static void set_dac_range_bits(struct comedi_device *dev, in set_dac_range_bits()
1222 static void abort_dma(struct comedi_device *dev, unsigned int channel) in abort_dma()
1235 static void disable_plx_interrupts(struct comedi_device *dev) in disable_plx_interrupts()
1244 static void disable_ai_interrupts(struct comedi_device *dev) in disable_ai_interrupts()
1259 static void enable_ai_interrupts(struct comedi_device *dev, in enable_ai_interrupts()
1286 static void init_plx9080(struct comedi_device *dev) in init_plx9080()
1345 static void disable_ai_pacing(struct comedi_device *dev) in disable_ai_pacing()
[all …]
Dpcl711.c156 static void pcl711_ai_set_mode(struct comedi_device *dev, unsigned int mode) in pcl711_ai_set_mode()
172 static unsigned int pcl711_ai_get_sample(struct comedi_device *dev, in pcl711_ai_get_sample()
183 static int pcl711_ai_cancel(struct comedi_device *dev, in pcl711_ai_cancel()
193 struct comedi_device *dev = d; in pcl711_interrupt()
218 static void pcl711_set_changain(struct comedi_device *dev, in pcl711_set_changain()
244 static int pcl711_ai_eoc(struct comedi_device *dev, in pcl711_ai_eoc()
257 static int pcl711_ai_insn_read(struct comedi_device *dev, in pcl711_ai_insn_read()
282 static int pcl711_ai_cmdtest(struct comedi_device *dev, in pcl711_ai_cmdtest()
348 static int pcl711_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl711_ai_cmd()
366 static void pcl711_ao_write(struct comedi_device *dev, in pcl711_ao_write()
[all …]
Ddt2801.c221 static int dt2801_readdata(struct comedi_device *dev, int *data) in dt2801_readdata()
239 static int dt2801_readdata2(struct comedi_device *dev, int *data) in dt2801_readdata2()
256 static int dt2801_writedata(struct comedi_device *dev, unsigned int data) in dt2801_writedata()
275 static int dt2801_writedata2(struct comedi_device *dev, unsigned int data) in dt2801_writedata2()
289 static int dt2801_wait_for_ready(struct comedi_device *dev) in dt2801_wait_for_ready()
309 static void dt2801_writecmd(struct comedi_device *dev, int command) in dt2801_writecmd()
325 static int dt2801_reset(struct comedi_device *dev) in dt2801_reset()
371 static int probe_number_of_ai_chans(struct comedi_device *dev) in probe_number_of_ai_chans()
423 static int dt2801_error(struct comedi_device *dev, int stat) in dt2801_error()
440 static int dt2801_ai_insn_read(struct comedi_device *dev, in dt2801_ai_insn_read()
[all …]
Dmultiq3.c80 static void multiq3_set_ctrl(struct comedi_device *dev, unsigned int bits) in multiq3_set_ctrl()
90 static int multiq3_ai_status(struct comedi_device *dev, in multiq3_ai_status()
103 static int multiq3_ai_insn_read(struct comedi_device *dev, in multiq3_ai_insn_read()
140 static int multiq3_ao_insn_write(struct comedi_device *dev, in multiq3_ao_insn_write()
161 static int multiq3_di_insn_bits(struct comedi_device *dev, in multiq3_di_insn_bits()
170 static int multiq3_do_insn_bits(struct comedi_device *dev, in multiq3_do_insn_bits()
183 static int multiq3_encoder_insn_read(struct comedi_device *dev, in multiq3_encoder_insn_read()
229 static void multiq3_encoder_reset(struct comedi_device *dev, in multiq3_encoder_reset()
242 static int multiq3_encoder_insn_config(struct comedi_device *dev, in multiq3_encoder_insn_config()
260 static int multiq3_attach(struct comedi_device *dev, in multiq3_attach()
Daddi_apci_1032.c99 static int apci1032_reset(struct comedi_device *dev) in apci1032_reset()
112 static int apci1032_cos_insn_config(struct comedi_device *dev, in apci1032_cos_insn_config()
180 static int apci1032_cos_insn_bits(struct comedi_device *dev, in apci1032_cos_insn_bits()
190 static int apci1032_cos_cmdtest(struct comedi_device *dev, in apci1032_cos_cmdtest()
234 static int apci1032_cos_cmd(struct comedi_device *dev, in apci1032_cos_cmd()
252 static int apci1032_cos_cancel(struct comedi_device *dev, in apci1032_cos_cancel()
260 struct comedi_device *dev = d; in apci1032_interrupt()
288 static int apci1032_di_insn_bits(struct comedi_device *dev, in apci1032_di_insn_bits()
298 static int apci1032_auto_attach(struct comedi_device *dev, in apci1032_auto_attach()
359 static void apci1032_detach(struct comedi_device *dev) in apci1032_detach()
Dpcmmio.c194 static void pcmmio_dio_write(struct comedi_device *dev, unsigned int val, in pcmmio_dio_write()
216 static unsigned int pcmmio_dio_read(struct comedi_device *dev, in pcmmio_dio_read()
251 static int pcmmio_dio_insn_bits(struct comedi_device *dev, in pcmmio_dio_insn_bits()
286 static int pcmmio_dio_insn_config(struct comedi_device *dev, in pcmmio_dio_insn_config()
305 static void pcmmio_reset(struct comedi_device *dev) in pcmmio_reset()
318 static void pcmmio_stop_intr(struct comedi_device *dev, in pcmmio_stop_intr()
331 static void pcmmio_handle_dio_intr(struct comedi_device *dev, in pcmmio_handle_dio_intr()
370 struct comedi_device *dev = d; in interrupt_pcmmio()
390 static void pcmmio_start_intr(struct comedi_device *dev, in pcmmio_start_intr()
420 static int pcmmio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cancel()
[all …]
Daddi_apci_2032.c52 static int apci2032_do_insn_bits(struct comedi_device *dev, in apci2032_do_insn_bits()
67 static int apci2032_int_insn_bits(struct comedi_device *dev, in apci2032_int_insn_bits()
76 static void apci2032_int_stop(struct comedi_device *dev, in apci2032_int_stop()
86 static int apci2032_int_cmdtest(struct comedi_device *dev, in apci2032_int_cmdtest()
133 static int apci2032_int_cmd(struct comedi_device *dev, in apci2032_int_cmd()
157 static int apci2032_int_cancel(struct comedi_device *dev, in apci2032_int_cancel()
173 struct comedi_device *dev = d; in apci2032_interrupt()
225 static int apci2032_reset(struct comedi_device *dev) in apci2032_reset()
235 static int apci2032_auto_attach(struct comedi_device *dev, in apci2032_auto_attach()
301 static void apci2032_detach(struct comedi_device *dev) in apci2032_detach()
Ddmm32at.c166 static void dmm32at_ai_set_chanspec(struct comedi_device *dev, in dmm32at_ai_set_chanspec()
185 static unsigned int dmm32at_ai_get_sample(struct comedi_device *dev, in dmm32at_ai_get_sample()
197 static int dmm32at_ai_status(struct comedi_device *dev, in dmm32at_ai_status()
210 static int dmm32at_ai_insn_read(struct comedi_device *dev, in dmm32at_ai_insn_read()
240 static int dmm32at_ai_check_chanlist(struct comedi_device *dev, in dmm32at_ai_check_chanlist()
267 static int dmm32at_ai_cmdtest(struct comedi_device *dev, in dmm32at_ai_cmdtest()
339 static void dmm32at_setaitimer(struct comedi_device *dev, unsigned int nansec) in dmm32at_setaitimer()
371 static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in dmm32at_ai_cmd()
402 static int dmm32at_ai_cancel(struct comedi_device *dev, in dmm32at_ai_cancel()
412 struct comedi_device *dev = d; in dmm32at_isr()
[all …]
Dpcl812.c524 static void pcl812_ai_setup_dma(struct comedi_device *dev, in pcl812_ai_setup_dma()
553 static void pcl812_ai_set_chan_range(struct comedi_device *dev, in pcl812_ai_set_chan_range()
588 static void pcl812_ai_clear_eoc(struct comedi_device *dev) in pcl812_ai_clear_eoc()
594 static void pcl812_ai_soft_trig(struct comedi_device *dev) in pcl812_ai_soft_trig()
600 static unsigned int pcl812_ai_get_sample(struct comedi_device *dev, in pcl812_ai_get_sample()
611 static int pcl812_ai_eoc(struct comedi_device *dev, in pcl812_ai_eoc()
630 static int pcl812_ai_cmdtest(struct comedi_device *dev, in pcl812_ai_cmdtest()
703 static int pcl812_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl812_ai_cmd()
758 static bool pcl812_ai_next_chan(struct comedi_device *dev, in pcl812_ai_next_chan()
772 static void pcl812_handle_eoc(struct comedi_device *dev, in pcl812_handle_eoc()
[all …]
Dvmk80xx.c161 static void vmk80xx_do_bulk_msg(struct comedi_device *dev) in vmk80xx_do_bulk_msg()
187 static int vmk80xx_read_packet(struct comedi_device *dev) in vmk80xx_read_packet()
206 static int vmk80xx_write_packet(struct comedi_device *dev, int cmd) in vmk80xx_write_packet()
227 static int vmk80xx_reset_device(struct comedi_device *dev) in vmk80xx_reset_device()
242 static int vmk80xx_ai_insn_read(struct comedi_device *dev, in vmk80xx_ai_insn_read()
290 static int vmk80xx_ao_insn_write(struct comedi_device *dev, in vmk80xx_ao_insn_write()
331 static int vmk80xx_ao_insn_read(struct comedi_device *dev, in vmk80xx_ao_insn_read()
360 static int vmk80xx_di_insn_bits(struct comedi_device *dev, in vmk80xx_di_insn_bits()
399 static int vmk80xx_do_insn_bits(struct comedi_device *dev, in vmk80xx_do_insn_bits()
443 static int vmk80xx_cnt_insn_read(struct comedi_device *dev, in vmk80xx_cnt_insn_read()
[all …]
Ddt9812.c244 static int dt9812_read_info(struct comedi_device *dev, in dt9812_read_info()
267 static int dt9812_read_multiple_registers(struct comedi_device *dev, in dt9812_read_multiple_registers()
291 static int dt9812_write_multiple_registers(struct comedi_device *dev, in dt9812_write_multiple_registers()
312 static int dt9812_rmw_multiple_registers(struct comedi_device *dev, in dt9812_rmw_multiple_registers()
331 static int dt9812_digital_in(struct comedi_device *dev, u8 *bits) in dt9812_digital_in()
353 static int dt9812_digital_out(struct comedi_device *dev, u8 bits) in dt9812_digital_out()
367 static void dt9812_configure_mux(struct comedi_device *dev, in dt9812_configure_mux()
385 static void dt9812_configure_gain(struct comedi_device *dev, in dt9812_configure_gain()
434 static int dt9812_analog_in(struct comedi_device *dev, in dt9812_analog_in()
501 static int dt9812_analog_out(struct comedi_device *dev, int channel, u16 value) in dt9812_analog_out()
[all …]
Ddt282x.c313 static int dt282x_prep_ai_dma(struct comedi_device *dev, int dma_index, int n) in dt282x_prep_ai_dma()
336 static int dt282x_prep_ao_dma(struct comedi_device *dev, int dma_index, int n) in dt282x_prep_ao_dma()
350 static void dt282x_disable_dma(struct comedi_device *dev) in dt282x_disable_dma()
394 static void dt282x_munge(struct comedi_device *dev, in dt282x_munge()
417 static unsigned int dt282x_ao_setup_dma(struct comedi_device *dev, in dt282x_ao_setup_dma()
436 static void dt282x_ao_dma_interrupt(struct comedi_device *dev, in dt282x_ao_dma_interrupt()
454 static void dt282x_ai_dma_interrupt(struct comedi_device *dev, in dt282x_ai_dma_interrupt()
498 struct comedi_device *dev = d; in dt282x_interrupt()
560 static void dt282x_load_changain(struct comedi_device *dev, int n, in dt282x_load_changain()
580 static int dt282x_ai_timeout(struct comedi_device *dev, in dt282x_ai_timeout()
[all …]
Dni_660x.c431 static inline unsigned ni_660x_num_counters(struct comedi_device *dev) in ni_660x_num_counters()
583 static inline void ni_660x_write_register(struct comedi_device *dev, in ni_660x_write_register()
602 static inline unsigned ni_660x_read_register(struct comedi_device *dev, in ni_660x_read_register()
623 struct comedi_device *dev = counter->counter_dev->dev; in ni_gpct_write_register()
633 struct comedi_device *dev = counter->counter_dev->dev; in ni_gpct_read_register()
650 static inline void ni_660x_set_dma_channel(struct comedi_device *dev, in ni_660x_set_dma_channel()
670 static inline void ni_660x_unset_dma_channel(struct comedi_device *dev, in ni_660x_unset_dma_channel()
690 static int ni_660x_request_mite_channel(struct comedi_device *dev, in ni_660x_request_mite_channel()
715 static void ni_660x_release_mite_channel(struct comedi_device *dev, in ni_660x_release_mite_channel()
732 static int ni_660x_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in ni_660x_cmd()
[all …]
Dni_labpc_common.c89 static unsigned int labpc_inb(struct comedi_device *dev, unsigned long reg) in labpc_inb()
94 static void labpc_outb(struct comedi_device *dev, in labpc_outb()
100 static unsigned int labpc_readb(struct comedi_device *dev, unsigned long reg) in labpc_readb()
105 static void labpc_writeb(struct comedi_device *dev, in labpc_writeb()
111 static int labpc_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in labpc_cancel()
127 static void labpc_ai_set_chan_and_gain(struct comedi_device *dev, in labpc_ai_set_chan_and_gain()
155 static void labpc_setup_cmd6_reg(struct comedi_device *dev, in labpc_setup_cmd6_reg()
202 static unsigned int labpc_read_adc_fifo(struct comedi_device *dev) in labpc_read_adc_fifo()
211 static void labpc_clear_adc_fifo(struct comedi_device *dev) in labpc_clear_adc_fifo()
219 static int labpc_ai_eoc(struct comedi_device *dev, in labpc_ai_eoc()
[all …]
Ddas16.c450 static void das16_ai_setup_dma(struct comedi_device *dev, in das16_ai_setup_dma()
472 static void das16_interrupt(struct comedi_device *dev) in das16_interrupt()
527 struct comedi_device *dev = (struct comedi_device *)arg; in das16_timer_interrupt()
539 static void das16_ai_set_mux_range(struct comedi_device *dev, in das16_ai_set_mux_range()
562 static int das16_ai_check_chanlist(struct comedi_device *dev, in das16_ai_check_chanlist()
590 static int das16_cmd_test(struct comedi_device *dev, struct comedi_subdevice *s, in das16_cmd_test()
690 static unsigned int das16_set_pacer(struct comedi_device *dev, unsigned int ns, in das16_set_pacer()
700 static int das16_cmd_exec(struct comedi_device *dev, struct comedi_subdevice *s) in das16_cmd_exec()
767 static int das16_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in das16_cancel()
796 static void das16_ai_munge(struct comedi_device *dev, in das16_ai_munge()
[all …]
Daddi_apci_2200.c37 static int apci2200_di_insn_bits(struct comedi_device *dev, in apci2200_di_insn_bits()
47 static int apci2200_do_insn_bits(struct comedi_device *dev, in apci2200_do_insn_bits()
62 static int apci2200_reset(struct comedi_device *dev) in apci2200_reset()
71 static int apci2200_auto_attach(struct comedi_device *dev, in apci2200_auto_attach()
116 static void apci2200_detach(struct comedi_device *dev) in apci2200_detach()
Dquatech_daqp_cs.c160 static int daqp_clear_events(struct comedi_device *dev, int loops) in daqp_clear_events()
177 static int daqp_ai_cancel(struct comedi_device *dev, in daqp_ai_cancel()
196 static unsigned int daqp_ai_get_sample(struct comedi_device *dev, in daqp_ai_get_sample()
212 struct comedi_device *dev = dev_id; in daqp_interrupt()
260 static void daqp_ai_set_one_scanlist_entry(struct comedi_device *dev, in daqp_ai_set_one_scanlist_entry()
281 static int daqp_ai_eos(struct comedi_device *dev, in daqp_ai_eos()
294 static int daqp_ai_insn_read(struct comedi_device *dev, in daqp_ai_insn_read()
363 static void daqp_set_pacer(struct comedi_device *dev, unsigned int val) in daqp_set_pacer()
370 static int daqp_ai_cmdtest(struct comedi_device *dev, in daqp_ai_cmdtest()
461 static int daqp_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in daqp_ai_cmd()
[all …]
Dadl_pci9111.c160 static void pci9111_interrupt_source_set(struct comedi_device *dev, in pci9111_interrupt_source_set()
183 static void pci9111_fifo_reset(struct comedi_device *dev) in pci9111_fifo_reset()
193 static int pci9111_ai_cancel(struct comedi_device *dev, in pci9111_ai_cancel()
210 static int pci9111_ai_check_chanlist(struct comedi_device *dev, in pci9111_ai_check_chanlist()
245 static int pci9111_ai_do_cmd_test(struct comedi_device *dev, in pci9111_ai_do_cmd_test()
345 static int pci9111_ai_do_cmd(struct comedi_device *dev, in pci9111_ai_do_cmd()
399 static void pci9111_ai_munge(struct comedi_device *dev, in pci9111_ai_munge()
415 static void pci9111_handle_fifo_half_full(struct comedi_device *dev, in pci9111_handle_fifo_half_full()
461 struct comedi_device *dev = p_device; in pci9111_interrupt()
525 static int pci9111_ai_eoc(struct comedi_device *dev, in pci9111_ai_eoc()
[all …]
Ddas800.c220 static void das800_ind_write(struct comedi_device *dev, in das800_ind_write()
231 static unsigned das800_ind_read(struct comedi_device *dev, unsigned reg) in das800_ind_read()
241 static void das800_enable(struct comedi_device *dev) in das800_enable()
258 static void das800_disable(struct comedi_device *dev) in das800_disable()
268 static int das800_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in das800_cancel()
274 static int das800_ai_check_chanlist(struct comedi_device *dev, in das800_ai_check_chanlist()
302 static int das800_ai_do_cmdtest(struct comedi_device *dev, in das800_ai_do_cmdtest()
375 static int das800_ai_do_cmd(struct comedi_device *dev, in das800_ai_do_cmd()
422 static unsigned int das800_ai_get_sample(struct comedi_device *dev) in das800_ai_get_sample()
432 struct comedi_device *dev = d; in das800_interrupt()
[all …]
Damplc_dio200.h28 struct comedi_device;
49 int amplc_dio200_common_attach(struct comedi_device *dev, unsigned int irq,
53 void amplc_dio200_set_enhance(struct comedi_device *dev, unsigned char val);
Dadl_pci9118.c243 static void pci9118_amcc_setup_dma(struct comedi_device *dev, unsigned int buf) in pci9118_amcc_setup_dma()
253 static void pci9118_amcc_dma_ena(struct comedi_device *dev, bool enable) in pci9118_amcc_dma_ena()
266 static void pci9118_amcc_int_ena(struct comedi_device *dev, bool enable) in pci9118_amcc_int_ena()
280 static void pci9118_ai_reset_fifo(struct comedi_device *dev) in pci9118_ai_reset_fifo()
286 static int pci9118_ai_check_chanlist(struct comedi_device *dev, in pci9118_ai_check_chanlist()
326 static void pci9118_set_chanlist(struct comedi_device *dev, in pci9118_set_chanlist()
389 static void pci9118_ai_mode4_switch(struct comedi_device *dev, in pci9118_ai_mode4_switch()
404 static unsigned int pci9118_ai_samples_ready(struct comedi_device *dev, in pci9118_ai_samples_ready()
460 static void pci9118_ai_dma_xfer(struct comedi_device *dev, in pci9118_ai_dma_xfer()
512 static void pci9118_exttrg_enable(struct comedi_device *dev, bool enable) in pci9118_exttrg_enable()
[all …]
Dicp_multi.c97 static int icp_multi_ai_eoc(struct comedi_device *dev, in icp_multi_ai_eoc()
110 static int icp_multi_ai_insn_read(struct comedi_device *dev, in icp_multi_ai_insn_read()
150 static int icp_multi_ao_ready(struct comedi_device *dev, in icp_multi_ao_ready()
163 static int icp_multi_ao_insn_write(struct comedi_device *dev, in icp_multi_ao_insn_write()
199 static int icp_multi_di_insn_bits(struct comedi_device *dev, in icp_multi_di_insn_bits()
209 static int icp_multi_do_insn_bits(struct comedi_device *dev, in icp_multi_do_insn_bits()
222 static int icp_multi_reset(struct comedi_device *dev) in icp_multi_reset()
252 static int icp_multi_auto_attach(struct comedi_device *dev, in icp_multi_auto_attach()
Daddi_apci_3501.c82 static int apci3501_wait_for_dac(struct comedi_device *dev) in apci3501_wait_for_dac()
93 static int apci3501_ao_insn_write(struct comedi_device *dev, in apci3501_ao_insn_write()
144 static int apci3501_di_insn_bits(struct comedi_device *dev, in apci3501_di_insn_bits()
154 static int apci3501_do_insn_bits(struct comedi_device *dev, in apci3501_do_insn_bits()
217 static int apci3501_eeprom_get_ao_n_chan(struct comedi_device *dev) in apci3501_eeprom_get_ao_n_chan()
243 static int apci3501_eeprom_insn_read(struct comedi_device *dev, in apci3501_eeprom_insn_read()
258 struct comedi_device *dev = d; in apci3501_interrupt()
287 static int apci3501_reset(struct comedi_device *dev) in apci3501_reset()
317 static int apci3501_auto_attach(struct comedi_device *dev, in apci3501_auto_attach()
410 static void apci3501_detach(struct comedi_device *dev) in apci3501_detach()
Dcb_pcimdas.c166 static int cb_pcimdas_ai_eoc(struct comedi_device *dev, in cb_pcimdas_ai_eoc()
180 static int cb_pcimdas_ai_insn_read(struct comedi_device *dev, in cb_pcimdas_ai_insn_read()
229 static int cb_pcimdas_ao_insn_write(struct comedi_device *dev, in cb_pcimdas_ao_insn_write()
248 static int cb_pcimdas_di_insn_bits(struct comedi_device *dev, in cb_pcimdas_di_insn_bits()
263 static int cb_pcimdas_do_insn_bits(struct comedi_device *dev, in cb_pcimdas_do_insn_bits()
278 static int cb_pcimdas_counter_insn_config(struct comedi_device *dev, in cb_pcimdas_counter_insn_config()
317 static unsigned int cb_pcimdas_pacer_clk(struct comedi_device *dev) in cb_pcimdas_pacer_clk()
329 static bool cb_pcimdas_is_ai_se(struct comedi_device *dev) in cb_pcimdas_is_ai_se()
343 static bool cb_pcimdas_is_ai_uni(struct comedi_device *dev) in cb_pcimdas_is_ai_uni()
357 static int cb_pcimdas_auto_attach(struct comedi_device *dev, in cb_pcimdas_auto_attach()
Ddas16m1.c149 static int das16m1_ai_check_chanlist(struct comedi_device *dev, in das16m1_ai_check_chanlist()
177 static int das16m1_cmd_test(struct comedi_device *dev, in das16m1_cmd_test()
248 static int das16m1_cmd_exec(struct comedi_device *dev, in das16m1_cmd_exec()
313 static int das16m1_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in das16m1_cancel()
323 static int das16m1_ai_eoc(struct comedi_device *dev, in das16m1_ai_eoc()
336 static int das16m1_ai_rinsn(struct comedi_device *dev, in das16m1_ai_rinsn()
371 static int das16m1_di_rbits(struct comedi_device *dev, in das16m1_di_rbits()
384 static int das16m1_do_wbits(struct comedi_device *dev, in das16m1_do_wbits()
397 static void das16m1_handler(struct comedi_device *dev, unsigned int status) in das16m1_handler()
458 static int das16m1_poll(struct comedi_device *dev, struct comedi_subdevice *s) in das16m1_poll()
[all …]
Dni_pcidio.c296 static int ni_pcidio_request_di_mite_channel(struct comedi_device *dev) in ni_pcidio_request_di_mite_channel()
320 static void ni_pcidio_release_di_mite_channel(struct comedi_device *dev) in ni_pcidio_release_di_mite_channel()
339 static int setup_mite_dma(struct comedi_device *dev, struct comedi_subdevice *s) in setup_mite_dma()
364 static int ni_pcidio_poll(struct comedi_device *dev, struct comedi_subdevice *s) in ni_pcidio_poll()
382 struct comedi_device *dev = d; in nidio_interrupt()
490 static int ni_pcidio_insn_config(struct comedi_device *dev, in ni_pcidio_insn_config()
506 static int ni_pcidio_insn_bits(struct comedi_device *dev, in ni_pcidio_insn_bits()
542 static int ni_pcidio_cmdtest(struct comedi_device *dev, in ni_pcidio_cmdtest()
616 static int ni_pcidio_inttrig(struct comedi_device *dev, in ni_pcidio_inttrig()
632 static int ni_pcidio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in ni_pcidio_cmd()
[all …]
Dpcl726.c157 static int pcl726_intr_insn_bits(struct comedi_device *dev, in pcl726_intr_insn_bits()
166 static int pcl726_intr_cmdtest(struct comedi_device *dev, in pcl726_intr_cmdtest()
205 static int pcl726_intr_cmd(struct comedi_device *dev, in pcl726_intr_cmd()
215 static int pcl726_intr_cancel(struct comedi_device *dev, in pcl726_intr_cancel()
227 struct comedi_device *dev = d; in pcl726_interrupt()
241 static int pcl726_ao_insn_write(struct comedi_device *dev, in pcl726_ao_insn_write()
267 static int pcl726_di_insn_bits(struct comedi_device *dev, in pcl726_di_insn_bits()
288 static int pcl726_do_insn_bits(struct comedi_device *dev, in pcl726_do_insn_bits()
317 static int pcl726_attach(struct comedi_device *dev, in pcl726_attach()
Ddyna_pci10xx.c58 static int dyna_pci10xx_ai_eoc(struct comedi_device *dev, in dyna_pci10xx_ai_eoc()
71 static int dyna_pci10xx_insn_read_ai(struct comedi_device *dev, in dyna_pci10xx_insn_read_ai()
111 static int dyna_pci10xx_insn_write_ao(struct comedi_device *dev, in dyna_pci10xx_insn_write_ao()
135 static int dyna_pci10xx_di_insn_bits(struct comedi_device *dev, in dyna_pci10xx_di_insn_bits()
155 static int dyna_pci10xx_do_insn_bits(struct comedi_device *dev, in dyna_pci10xx_do_insn_bits()
175 static int dyna_pci10xx_auto_attach(struct comedi_device *dev, in dyna_pci10xx_auto_attach()
243 static void dyna_pci10xx_detach(struct comedi_device *dev) in dyna_pci10xx_detach()
Ddas1800.c444 static inline uint16_t munge_bipolar_sample(const struct comedi_device *dev, in munge_bipolar_sample()
453 static void munge_data(struct comedi_device *dev, uint16_t *array, in munge_data()
469 static void das1800_handle_fifo_half_full(struct comedi_device *dev, in das1800_handle_fifo_half_full()
480 static void das1800_handle_fifo_not_empty(struct comedi_device *dev, in das1800_handle_fifo_not_empty()
502 static void das1800_flush_dma_channel(struct comedi_device *dev, in das1800_flush_dma_channel()
520 static void das1800_flush_dma(struct comedi_device *dev, in das1800_flush_dma()
541 static void das1800_handle_dma(struct comedi_device *dev, in das1800_handle_dma()
563 static int das1800_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in das1800_cancel()
587 static void das1800_ai_handler(struct comedi_device *dev) in das1800_ai_handler()
635 static int das1800_ai_poll(struct comedi_device *dev, in das1800_ai_poll()
[all …]
Daddi_apci_1564.c126 static int apci1564_reset(struct comedi_device *dev) in apci1564_reset()
161 struct comedi_device *dev = d; in apci1564_interrupt()
220 static int apci1564_di_insn_bits(struct comedi_device *dev, in apci1564_di_insn_bits()
230 static int apci1564_do_insn_bits(struct comedi_device *dev, in apci1564_do_insn_bits()
245 static int apci1564_diag_insn_bits(struct comedi_device *dev, in apci1564_diag_insn_bits()
285 static int apci1564_cos_insn_config(struct comedi_device *dev, in apci1564_cos_insn_config()
353 static int apci1564_cos_insn_bits(struct comedi_device *dev, in apci1564_cos_insn_bits()
363 static int apci1564_cos_cmdtest(struct comedi_device *dev, in apci1564_cos_cmdtest()
407 static int apci1564_cos_cmd(struct comedi_device *dev, in apci1564_cos_cmd()
425 static int apci1564_cos_cancel(struct comedi_device *dev, in apci1564_cos_cancel()
[all …]
Ddt3000.c236 static void dt3k_send_cmd(struct comedi_device *dev, unsigned int cmd) in dt3k_send_cmd()
256 static unsigned int dt3k_readsingle(struct comedi_device *dev, in dt3k_readsingle()
270 static void dt3k_writesingle(struct comedi_device *dev, unsigned int subsys, in dt3k_writesingle()
282 static void dt3k_ai_empty_fifo(struct comedi_device *dev, in dt3k_ai_empty_fifo()
311 static int dt3k_ai_cancel(struct comedi_device *dev, in dt3k_ai_cancel()
328 struct comedi_device *dev = d; in dt3k_interrupt()
386 static int dt3k_ai_cmdtest(struct comedi_device *dev, in dt3k_ai_cmdtest()
463 static int dt3k_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in dt3k_ai_cmd()
514 static int dt3k_ai_insn_read(struct comedi_device *dev, in dt3k_ai_insn_read()
533 static int dt3k_ao_insn_write(struct comedi_device *dev, in dt3k_ao_insn_write()
[all …]
Daddi_apci_3xxx.c359 struct comedi_device *dev = d; in apci3xxx_irq_handler()
381 static int apci3xxx_ai_started(struct comedi_device *dev) in apci3xxx_ai_started()
389 static int apci3xxx_ai_setup(struct comedi_device *dev, unsigned int chanspec) in apci3xxx_ai_setup()
428 static int apci3xxx_ai_eoc(struct comedi_device *dev, in apci3xxx_ai_eoc()
441 static int apci3xxx_ai_insn_read(struct comedi_device *dev, in apci3xxx_ai_insn_read()
469 static int apci3xxx_ai_ns_to_timer(struct comedi_device *dev, in apci3xxx_ai_ns_to_timer()
519 static int apci3xxx_ai_cmdtest(struct comedi_device *dev, in apci3xxx_ai_cmdtest()
576 static int apci3xxx_ai_cmd(struct comedi_device *dev, in apci3xxx_ai_cmd()
599 static int apci3xxx_ai_cancel(struct comedi_device *dev, in apci3xxx_ai_cancel()
605 static int apci3xxx_ao_eoc(struct comedi_device *dev, in apci3xxx_ao_eoc()
[all …]
Dii_pci20kc.c136 static void __iomem *ii20k_module_iobase(struct comedi_device *dev, in ii20k_module_iobase()
142 static int ii20k_ao_insn_write(struct comedi_device *dev, in ii20k_ao_insn_write()
167 static int ii20k_ai_eoc(struct comedi_device *dev, in ii20k_ai_eoc()
181 static void ii20k_ai_setup(struct comedi_device *dev, in ii20k_ai_setup()
221 static int ii20k_ai_insn_read(struct comedi_device *dev, in ii20k_ai_insn_read()
252 static void ii20k_dio_config(struct comedi_device *dev, in ii20k_dio_config()
316 static int ii20k_dio_insn_config(struct comedi_device *dev, in ii20k_dio_insn_config()
343 static int ii20k_dio_insn_bits(struct comedi_device *dev, in ii20k_dio_insn_bits()
374 static int ii20k_init_module(struct comedi_device *dev, in ii20k_init_module()
414 static int ii20k_attach(struct comedi_device *dev, in ii20k_attach()
[all …]
Dni_usb6501.c174 static int ni6501_port_command(struct comedi_device *dev, int command, in ni6501_port_command()
256 static int ni6501_counter_command(struct comedi_device *dev, int command, in ni6501_counter_command()
346 static int ni6501_dio_insn_config(struct comedi_device *dev, in ni6501_dio_insn_config()
364 static int ni6501_dio_insn_bits(struct comedi_device *dev, in ni6501_dio_insn_bits()
398 static int ni6501_cnt_insn_config(struct comedi_device *dev, in ni6501_cnt_insn_config()
426 static int ni6501_cnt_insn_read(struct comedi_device *dev, in ni6501_cnt_insn_read()
445 static int ni6501_cnt_insn_write(struct comedi_device *dev, in ni6501_cnt_insn_write()
463 static int ni6501_alloc_usb_buffers(struct comedi_device *dev) in ni6501_alloc_usb_buffers()
483 static int ni6501_find_endpoints(struct comedi_device *dev) in ni6501_find_endpoints()
518 static int ni6501_auto_attach(struct comedi_device *dev, in ni6501_auto_attach()
[all …]
Dni_daq_700.c83 static int daq700_dio_insn_bits(struct comedi_device *dev, in daq700_dio_insn_bits()
105 static int daq700_dio_insn_config(struct comedi_device *dev, in daq700_dio_insn_config()
122 static int daq700_ai_eoc(struct comedi_device *dev, in daq700_ai_eoc()
140 static int daq700_ai_rinsn(struct comedi_device *dev, in daq700_ai_rinsn()
204 static void daq700_ai_config(struct comedi_device *dev, in daq700_ai_config()
218 static int daq700_auto_attach(struct comedi_device *dev, in daq700_auto_attach()
Dke_counter.c50 static int ke_counter_insn_write(struct comedi_device *dev, in ke_counter_insn_write()
72 static int ke_counter_insn_read(struct comedi_device *dev, in ke_counter_insn_read()
96 static void ke_counter_reset(struct comedi_device *dev) in ke_counter_reset()
104 static int ke_counter_insn_config(struct comedi_device *dev, in ke_counter_insn_config()
157 static int ke_counter_do_insn_bits(struct comedi_device *dev, in ke_counter_do_insn_bits()
170 static int ke_counter_auto_attach(struct comedi_device *dev, in ke_counter_auto_attach()
Damplc_pci230.c529 static unsigned short pci230_ai_read(struct comedi_device *dev) in pci230_ai_read()
550 static unsigned short pci230_ao_mangle_datum(struct comedi_device *dev, in pci230_ao_mangle_datum()
570 static void pci230_ao_write_nofifo(struct comedi_device *dev, in pci230_ao_write_nofifo()
580 static void pci230_ao_write_fifo(struct comedi_device *dev, in pci230_ao_write_fifo()
590 static bool pci230_claim_shared(struct comedi_device *dev, in pci230_claim_shared()
612 static void pci230_release_shared(struct comedi_device *dev, in pci230_release_shared()
623 static void pci230_release_all_resources(struct comedi_device *dev, in pci230_release_all_resources()
678 static void pci230_ct_setup_ns_mode(struct comedi_device *dev, unsigned int ct, in pci230_ct_setup_ns_mode()
698 static void pci230_cancel_ct(struct comedi_device *dev, unsigned int ct) in pci230_cancel_ct()
704 static int pci230_ai_eoc(struct comedi_device *dev, in pci230_ai_eoc()
[all …]
Ddas08.c164 static int das08_ai_eoc(struct comedi_device *dev, in das08_ai_eoc()
177 static int das08_ai_insn_read(struct comedi_device *dev, in das08_ai_insn_read()
260 static int das08_di_insn_bits(struct comedi_device *dev, in das08_di_insn_bits()
270 static int das08_do_insn_bits(struct comedi_device *dev, in das08_do_insn_bits()
290 static int das08jr_di_insn_bits(struct comedi_device *dev, in das08jr_di_insn_bits()
300 static int das08jr_do_insn_bits(struct comedi_device *dev, in das08jr_do_insn_bits()
312 static void das08_ao_set_data(struct comedi_device *dev, in das08_ao_set_data()
334 static int das08_ao_insn_write(struct comedi_device *dev, in das08_ao_insn_write()
352 int das08_common_attach(struct comedi_device *dev, unsigned long iobase) in das08_common_attach()
Dni_at_a2150.c154 struct comedi_device *dev = d; in a2150_interrupt()
241 static int a2150_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in a2150_cancel()
264 static int a2150_get_timing(struct comedi_device *dev, unsigned int *period, in a2150_get_timing()
338 static int a2150_set_chanlist(struct comedi_device *dev, in a2150_set_chanlist()
371 static int a2150_ai_check_chanlist(struct comedi_device *dev, in a2150_ai_check_chanlist()
413 static int a2150_ai_cmdtest(struct comedi_device *dev, in a2150_ai_cmdtest()
483 static int a2150_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in a2150_ai_cmd()
579 static int a2150_ai_eoc(struct comedi_device *dev, in a2150_ai_eoc()
592 static int a2150_ai_rinsn(struct comedi_device *dev, struct comedi_subdevice *s, in a2150_ai_rinsn()
651 static void a2150_alloc_irq_and_dma(struct comedi_device *dev, in a2150_alloc_irq_and_dma()
[all …]
Dni_65xx.c278 static unsigned int ni_65xx_num_ports(struct comedi_device *dev) in ni_65xx_num_ports()
285 static void ni_65xx_disable_input_filters(struct comedi_device *dev) in ni_65xx_disable_input_filters()
299 static void ni_65xx_update_edge_detection(struct comedi_device *dev, in ni_65xx_update_edge_detection()
345 static void ni_65xx_disable_edge_detection(struct comedi_device *dev) in ni_65xx_disable_edge_detection()
355 static int ni_65xx_dio_insn_config(struct comedi_device *dev, in ni_65xx_dio_insn_config()
423 static int ni_65xx_dio_insn_bits(struct comedi_device *dev, in ni_65xx_dio_insn_bits()
481 struct comedi_device *dev = d; in ni_65xx_interrupt()
500 static int ni_65xx_intr_cmdtest(struct comedi_device *dev, in ni_65xx_intr_cmdtest()
539 static int ni_65xx_intr_cmd(struct comedi_device *dev, in ni_65xx_intr_cmd()
551 static int ni_65xx_intr_cancel(struct comedi_device *dev, in ni_65xx_intr_cancel()
[all …]
Dgsc_hpdi.c150 static void gsc_hpdi_drain_dma(struct comedi_device *dev, unsigned int channel) in gsc_hpdi_drain_dma()
191 struct comedi_device *dev = d; in gsc_hpdi_interrupt()
262 static void gsc_hpdi_abort_dma(struct comedi_device *dev, unsigned int channel) in gsc_hpdi_abort_dma()
275 static int gsc_hpdi_cancel(struct comedi_device *dev, in gsc_hpdi_cancel()
286 static int gsc_hpdi_cmd(struct comedi_device *dev, in gsc_hpdi_cmd()
341 static int gsc_hpdi_check_chanlist(struct comedi_device *dev, in gsc_hpdi_check_chanlist()
360 static int gsc_hpdi_cmd_test(struct comedi_device *dev, in gsc_hpdi_cmd_test()
422 static int gsc_hpdi_setup_dma_descriptors(struct comedi_device *dev, in gsc_hpdi_setup_dma_descriptors()
465 static int gsc_hpdi_dio_insn_config(struct comedi_device *dev, in gsc_hpdi_dio_insn_config()
490 static void gsc_hpdi_free_dma(struct comedi_device *dev) in gsc_hpdi_free_dma()
[all …]
Dadv_pci1710.c236 static int pci171x_ai_check_chanlist(struct comedi_device *dev, in pci171x_ai_check_chanlist()
302 static void pci171x_ai_setup_chanlist(struct comedi_device *dev, in pci171x_ai_setup_chanlist()
338 static int pci171x_ai_eoc(struct comedi_device *dev, in pci171x_ai_eoc()
351 static int pci171x_ai_read_sample(struct comedi_device *dev, in pci171x_ai_read_sample()
380 static int pci171x_ai_insn_read(struct comedi_device *dev, in pci171x_ai_insn_read()
420 static int pci171x_ao_insn_write(struct comedi_device *dev, in pci171x_ao_insn_write()
445 static int pci171x_di_insn_bits(struct comedi_device *dev, in pci171x_di_insn_bits()
455 static int pci171x_do_insn_bits(struct comedi_device *dev, in pci171x_do_insn_bits()
468 static int pci1720_ao_insn_write(struct comedi_device *dev, in pci1720_ao_insn_write()
498 static int pci171x_ai_cancel(struct comedi_device *dev, in pci171x_ai_cancel()
[all …]
Ds526.c135 static void s526_gpct_write(struct comedi_device *dev, in s526_gpct_write()
143 static unsigned int s526_gpct_read(struct comedi_device *dev, in s526_gpct_read()
155 static int s526_gpct_rinsn(struct comedi_device *dev, in s526_gpct_rinsn()
169 static int s526_gpct_insn_config(struct comedi_device *dev, in s526_gpct_insn_config()
326 static int s526_gpct_winsn(struct comedi_device *dev, in s526_gpct_winsn()
363 static int s526_eoc(struct comedi_device *dev, in s526_eoc()
379 static int s526_ai_insn_read(struct comedi_device *dev, in s526_ai_insn_read()
419 static int s526_ao_insn_write(struct comedi_device *dev, in s526_ao_insn_write()
448 static int s526_dio_insn_bits(struct comedi_device *dev, in s526_dio_insn_bits()
461 static int s526_dio_insn_config(struct comedi_device *dev, in s526_dio_insn_config()
[all …]
Dcomedi_isadma.h21 struct comedi_device;
73 struct comedi_isadma *comedi_isadma_alloc(struct comedi_device *,
107 comedi_isadma_alloc(struct comedi_device *dev, int n_desc, in comedi_isadma_alloc()
Dcb_pcidas.c319 static int cb_pcidas_ai_eoc(struct comedi_device *dev, in cb_pcidas_ai_eoc()
333 static int cb_pcidas_ai_insn_read(struct comedi_device *dev, in cb_pcidas_ai_insn_read()
386 static int cb_pcidas_ai_insn_config(struct comedi_device *dev, in cb_pcidas_ai_insn_config()
412 static int cb_pcidas_ao_nofifo_insn_write(struct comedi_device *dev, in cb_pcidas_ao_nofifo_insn_write()
443 static int cb_pcidas_ao_fifo_insn_write(struct comedi_device *dev, in cb_pcidas_ao_fifo_insn_write()
477 static int cb_pcidas_eeprom_ready(struct comedi_device *dev, in cb_pcidas_eeprom_ready()
491 static int cb_pcidas_eeprom_insn_read(struct comedi_device *dev, in cb_pcidas_eeprom_insn_read()
529 static void cb_pcidas_calib_write(struct comedi_device *dev, in cb_pcidas_calib_write()
568 static int cb_pcidas_caldac_insn_write(struct comedi_device *dev, in cb_pcidas_caldac_insn_write()
589 static void cb_pcidas_dac08_write(struct comedi_device *dev, unsigned int val) in cb_pcidas_dac08_write()
[all …]
Dmf6x4.c93 static int mf6x4_di_insn_bits(struct comedi_device *dev, in mf6x4_di_insn_bits()
103 static int mf6x4_do_insn_bits(struct comedi_device *dev, in mf6x4_do_insn_bits()
116 static int mf6x4_ai_eoc(struct comedi_device *dev, in mf6x4_ai_eoc()
130 static int mf6x4_ai_insn_read(struct comedi_device *dev, in mf6x4_ai_insn_read()
163 static int mf6x4_ao_insn_write(struct comedi_device *dev, in mf6x4_ao_insn_write()
188 static int mf6x4_auto_attach(struct comedi_device *dev, unsigned long context) in mf6x4_auto_attach()
276 static void mf6x4_detach(struct comedi_device *dev) in mf6x4_detach()
Dcomedi_bond.c57 struct comedi_device *dev;
70 static int bonding_dio_insn_bits(struct comedi_device *dev, in bonding_dio_insn_bits()
133 static int bonding_dio_insn_config(struct comedi_device *dev, in bonding_dio_insn_config()
178 static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it) in do_dev_config()
193 struct comedi_device *d; in do_dev_config()
282 static int bonding_attach(struct comedi_device *dev, in bonding_attach()
323 static void bonding_detach(struct comedi_device *dev) in bonding_detach()
Dpcmda12.c67 static int pcmda12_ao_insn_write(struct comedi_device *dev, in pcmda12_ao_insn_write()
95 static int pcmda12_ao_insn_read(struct comedi_device *dev, in pcmda12_ao_insn_read()
112 static void pcmda12_ao_reset(struct comedi_device *dev, in pcmda12_ao_reset()
125 static int pcmda12_attach(struct comedi_device *dev, in pcmda12_attach()
Dusbduxfast.c172 static int usbduxfast_send_cmd(struct comedi_device *dev, int cmd_type) in usbduxfast_send_cmd()
191 static void usbduxfast_cmd_data(struct comedi_device *dev, int index, in usbduxfast_cmd_data()
203 static int usbduxfast_ai_stop(struct comedi_device *dev, int do_unlink) in usbduxfast_ai_stop()
218 static int usbduxfast_ai_cancel(struct comedi_device *dev, in usbduxfast_ai_cancel()
231 static void usbduxfast_ai_handle_urb(struct comedi_device *dev, in usbduxfast_ai_handle_urb()
268 struct comedi_device *dev = urb->context; in usbduxfast_ai_interrupt()
309 static int usbduxfast_submit_urb(struct comedi_device *dev) in usbduxfast_submit_urb()
327 static int usbduxfast_ai_check_chanlist(struct comedi_device *dev, in usbduxfast_ai_check_chanlist()
357 static int usbduxfast_ai_cmdtest(struct comedi_device *dev, in usbduxfast_ai_cmdtest()
436 static int usbduxfast_ai_inttrig(struct comedi_device *dev, in usbduxfast_ai_inttrig()
[all …]
Dadl_pci6208.c51 static int pci6208_ao_eoc(struct comedi_device *dev, in pci6208_ao_eoc()
64 static int pci6208_ao_insn_write(struct comedi_device *dev, in pci6208_ao_insn_write()
92 static int pci6208_di_insn_bits(struct comedi_device *dev, in pci6208_di_insn_bits()
107 static int pci6208_do_insn_bits(struct comedi_device *dev, in pci6208_do_insn_bits()
120 static int pci6208_auto_attach(struct comedi_device *dev, in pci6208_auto_attach()
Daddi_apci_1516.c76 static int apci1516_di_insn_bits(struct comedi_device *dev, in apci1516_di_insn_bits()
86 static int apci1516_do_insn_bits(struct comedi_device *dev, in apci1516_do_insn_bits()
101 static int apci1516_reset(struct comedi_device *dev) in apci1516_reset()
116 static int apci1516_auto_attach(struct comedi_device *dev, in apci1516_auto_attach()
187 static void apci1516_detach(struct comedi_device *dev) in apci1516_detach()
Drtd520.c423 static unsigned short rtd_convert_chan_gain(struct comedi_device *dev, in rtd_convert_chan_gain()
468 static void rtd_load_channelgain_list(struct comedi_device *dev, in rtd_load_channelgain_list()
491 static int rtd520_probe_fifo_depth(struct comedi_device *dev) in rtd520_probe_fifo_depth()
528 static int rtd_ai_eoc(struct comedi_device *dev, in rtd_ai_eoc()
541 static int rtd_ai_rinsn(struct comedi_device *dev, in rtd_ai_rinsn()
584 static int ai_read_n(struct comedi_device *dev, struct comedi_subdevice *s, in ai_read_n()
620 struct comedi_device *dev = d; in rtd_interrupt()
697 static int rtd_ai_cmdtest(struct comedi_device *dev, in rtd_ai_cmdtest()
839 static int rtd_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in rtd_ai_cmd()
990 static int rtd_ai_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in rtd_ai_cancel()
[all …]
Dadq12b.c102 static int adq12b_ai_eoc(struct comedi_device *dev, in adq12b_ai_eoc()
115 static int adq12b_ai_insn_read(struct comedi_device *dev, in adq12b_ai_insn_read()
151 static int adq12b_di_insn_bits(struct comedi_device *dev, in adq12b_di_insn_bits()
161 static int adq12b_do_insn_bits(struct comedi_device *dev, in adq12b_do_insn_bits()
186 static int adq12b_attach(struct comedi_device *dev, struct comedi_devconfig *it) in adq12b_attach()
Ddt2814.c64 static int dt2814_ai_eoc(struct comedi_device *dev, in dt2814_ai_eoc()
77 static int dt2814_ai_insn_read(struct comedi_device *dev, in dt2814_ai_insn_read()
122 static int dt2814_ai_cmdtest(struct comedi_device *dev, in dt2814_ai_cmdtest()
179 static int dt2814_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in dt2814_ai_cmd()
199 struct comedi_device *dev = d; in dt2814_interrupt()
234 static int dt2814_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dt2814_attach()
Dni_at_ao.c124 static void atao_select_reg_group(struct comedi_device *dev, int group) in atao_select_reg_group()
135 static int atao_ao_insn_write(struct comedi_device *dev, in atao_ao_insn_write()
162 static int atao_dio_insn_bits(struct comedi_device *dev, in atao_dio_insn_bits()
175 static int atao_dio_insn_config(struct comedi_device *dev, in atao_dio_insn_config()
241 static int atao_calib_insn_write(struct comedi_device *dev, in atao_calib_insn_write()
274 static void atao_reset(struct comedi_device *dev) in atao_reset()
302 static int atao_attach(struct comedi_device *dev, struct comedi_devconfig *it) in atao_attach()
Dadv_pci_dio.c410 static int pci_dio_insn_bits_di_b(struct comedi_device *dev, in pci_dio_insn_bits_di_b()
427 static int pci_dio_insn_bits_di_w(struct comedi_device *dev, in pci_dio_insn_bits_di_w()
441 static int pci_dio_insn_bits_do_b(struct comedi_device *dev, in pci_dio_insn_bits_do_b()
460 static int pci_dio_insn_bits_do_w(struct comedi_device *dev, in pci_dio_insn_bits_do_w()
482 static int pci1760_unchecked_mbxrequest(struct comedi_device *dev, in pci1760_unchecked_mbxrequest()
512 static int pci1760_clear_imb2(struct comedi_device *dev) in pci1760_clear_imb2()
522 static int pci1760_mbxrequest(struct comedi_device *dev, in pci1760_mbxrequest()
543 static int pci1760_insn_bits_di(struct comedi_device *dev, in pci1760_insn_bits_di()
552 static int pci1760_insn_bits_do(struct comedi_device *dev, in pci1760_insn_bits_do()
581 static int pci1760_insn_cnt_read(struct comedi_device *dev, in pci1760_insn_cnt_read()
[all …]
Dssv_dnp.c50 static int dnp_dio_insn_bits(struct comedi_device *dev, in dnp_dio_insn_bits()
89 static int dnp_dio_insn_config(struct comedi_device *dev, in dnp_dio_insn_config()
133 static int dnp_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dnp_attach()
169 static void dnp_detach(struct comedi_device *dev) in dnp_detach()
Damplc_pci224.c385 pci224_ao_set_data(struct comedi_device *dev, int chan, int range, in pci224_ao_set_data()
416 static int pci224_ao_insn_write(struct comedi_device *dev, in pci224_ao_insn_write()
438 static void pci224_ao_stop(struct comedi_device *dev, in pci224_ao_stop()
480 static void pci224_ao_start(struct comedi_device *dev, in pci224_ao_start()
503 static void pci224_ao_handle_fifo(struct comedi_device *dev, in pci224_ao_handle_fifo()
604 static int pci224_ao_inttrig_start(struct comedi_device *dev, in pci224_ao_inttrig_start()
619 static int pci224_ao_check_chanlist(struct comedi_device *dev, in pci224_ao_check_chanlist()
660 pci224_ao_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s, in pci224_ao_cmdtest()
805 static void pci224_ao_start_pacer(struct comedi_device *dev, in pci224_ao_start_pacer()
827 static int pci224_ao_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pci224_ao_cmd()
[all …]
Dcb_pcidda.c162 static unsigned int cb_pcidda_serial_in(struct comedi_device *dev) in cb_pcidda_serial_in()
179 static void cb_pcidda_serial_out(struct comedi_device *dev, unsigned int value, in cb_pcidda_serial_out()
196 static unsigned int cb_pcidda_read_eeprom(struct comedi_device *dev, in cb_pcidda_read_eeprom()
232 static void cb_pcidda_write_caldac(struct comedi_device *dev, in cb_pcidda_write_caldac()
266 static void cb_pcidda_calibrate(struct comedi_device *dev, unsigned int channel, in cb_pcidda_calibrate()
294 static int cb_pcidda_ao_insn_write(struct comedi_device *dev, in cb_pcidda_ao_insn_write()
334 static int cb_pcidda_auto_attach(struct comedi_device *dev, in cb_pcidda_auto_attach()
Dni_atmio16d.c143 static void reset_counters(struct comedi_device *dev) in reset_counters()
181 static void reset_atmio16d(struct comedi_device *dev) in reset_atmio16d()
216 struct comedi_device *dev = d; in atmio16d_interrupt()
227 static int atmio16d_ai_cmdtest(struct comedi_device *dev, in atmio16d_ai_cmdtest()
289 static int atmio16d_ai_cmd(struct comedi_device *dev, in atmio16d_ai_cmd()
432 static int atmio16d_ai_cancel(struct comedi_device *dev, in atmio16d_ai_cancel()
440 static int atmio16d_ai_eoc(struct comedi_device *dev, in atmio16d_ai_eoc()
457 static int atmio16d_ai_insn_read(struct comedi_device *dev, in atmio16d_ai_insn_read()
497 static int atmio16d_ao_insn_write(struct comedi_device *dev, in atmio16d_ao_insn_write()
527 static int atmio16d_dio_insn_bits(struct comedi_device *dev, in atmio16d_dio_insn_bits()
[all …]
Ddt2811.c223 static int dt2811_ai_eoc(struct comedi_device *dev, in dt2811_ai_eoc()
236 static int dt2811_ai_insn(struct comedi_device *dev, struct comedi_subdevice *s, in dt2811_ai_insn()
258 static int dt2811_ao_insn_write(struct comedi_device *dev, in dt2811_ao_insn_write()
278 static int dt2811_di_insn_bits(struct comedi_device *dev, in dt2811_di_insn_bits()
287 static int dt2811_do_insn_bits(struct comedi_device *dev, in dt2811_do_insn_bits()
320 static int dt2811_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dt2811_attach()
Ddt2815.c67 static int dt2815_ao_status(struct comedi_device *dev, in dt2815_ao_status()
80 static int dt2815_ao_insn_read(struct comedi_device *dev, in dt2815_ao_insn_read()
94 static int dt2815_ao_insn(struct comedi_device *dev, struct comedi_subdevice *s, in dt2815_ao_insn()
146 static int dt2815_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dt2815_attach()
Dcb_das16_cs.c135 static int das16cs_ai_eoc(struct comedi_device *dev, in das16cs_ai_eoc()
148 static int das16cs_ai_insn_read(struct comedi_device *dev, in das16cs_ai_insn_read()
202 static int das16cs_ao_insn_write(struct comedi_device *dev, in das16cs_ao_insn_write()
253 static int das16cs_dio_insn_bits(struct comedi_device *dev, in das16cs_dio_insn_bits()
266 static int das16cs_dio_insn_config(struct comedi_device *dev, in das16cs_dio_insn_config()
298 static int das16cs_counter_insn_config(struct comedi_device *dev, in das16cs_counter_insn_config()
335 static const void *das16cs_find_boardinfo(struct comedi_device *dev, in das16cs_find_boardinfo()
350 static int das16cs_auto_attach(struct comedi_device *dev, in das16cs_auto_attach()
Dni_670x.c87 static int ni_670x_ao_insn_write(struct comedi_device *dev, in ni_670x_ao_insn_write()
119 static int ni_670x_dio_insn_bits(struct comedi_device *dev, in ni_670x_dio_insn_bits()
132 static int ni_670x_dio_insn_config(struct comedi_device *dev, in ni_670x_dio_insn_config()
171 static int ni_670x_auto_attach(struct comedi_device *dev, in ni_670x_auto_attach()
253 static void ni_670x_detach(struct comedi_device *dev) in ni_670x_detach()
Daio_aio12_8.c108 static int aio_aio12_8_ai_eoc(struct comedi_device *dev, in aio_aio12_8_ai_eoc()
121 static int aio_aio12_8_ai_read(struct comedi_device *dev, in aio_aio12_8_ai_read()
164 static int aio_aio12_8_ao_insn_write(struct comedi_device *dev, in aio_aio12_8_ao_insn_write()
185 static int aio_aio12_8_counter_insn_config(struct comedi_device *dev, in aio_aio12_8_counter_insn_config()
208 static int aio_aio12_8_attach(struct comedi_device *dev, in aio_aio12_8_attach()
Dme_daq.c158 static int me_dio_insn_config(struct comedi_device *dev, in me_dio_insn_config()
191 static int me_dio_insn_bits(struct comedi_device *dev, in me_dio_insn_bits()
224 static int me_ai_eoc(struct comedi_device *dev, in me_ai_eoc()
237 static int me_ai_insn_read(struct comedi_device *dev, in me_ai_insn_read()
304 static int me_ao_insn_write(struct comedi_device *dev, in me_ao_insn_write()
348 static int me2600_xilinx_download(struct comedi_device *dev, in me2600_xilinx_download()
418 static int me_reset(struct comedi_device *dev) in me_reset()
436 static int me_auto_attach(struct comedi_device *dev, in me_auto_attach()
521 static void me_detach(struct comedi_device *dev) in me_detach()
Dcontec_pci_dio.c38 static int contec_do_insn_bits(struct comedi_device *dev, in contec_do_insn_bits()
51 static int contec_di_insn_bits(struct comedi_device *dev, in contec_di_insn_bits()
60 static int contec_auto_attach(struct comedi_device *dev, in contec_auto_attach()
Damplc_pci236.c66 static void pci236_intr_update_cb(struct comedi_device *dev, bool enable) in pci236_intr_update_cb()
75 static bool pci236_intr_chk_clr_cb(struct comedi_device *dev) in pci236_intr_chk_clr_cb()
94 static int pci236_auto_attach(struct comedi_device *dev, in pci236_auto_attach()
Drti800.c142 static int rti800_ai_eoc(struct comedi_device *dev, in rti800_ai_eoc()
159 static int rti800_ai_insn_read(struct comedi_device *dev, in rti800_ai_insn_read()
212 static int rti800_ao_insn_write(struct comedi_device *dev, in rti800_ao_insn_write()
238 static int rti800_di_insn_bits(struct comedi_device *dev, in rti800_di_insn_bits()
247 static int rti800_do_insn_bits(struct comedi_device *dev, in rti800_do_insn_bits()
262 static int rti800_attach(struct comedi_device *dev, struct comedi_devconfig *it) in rti800_attach()
Ddas08.h24 struct comedi_device;
53 int das08_common_attach(struct comedi_device *dev, unsigned long iobase);
Daddi_watchdog.c41 static int addi_watchdog_insn_config(struct comedi_device *dev, in addi_watchdog_insn_config()
71 static int addi_watchdog_insn_read(struct comedi_device *dev, in addi_watchdog_insn_read()
85 static int addi_watchdog_insn_write(struct comedi_device *dev, in addi_watchdog_insn_write()
Dme4000.c317 static int me4000_xilinx_download(struct comedi_device *dev, in me4000_xilinx_download()
394 static void me4000_ai_reset(struct comedi_device *dev) in me4000_ai_reset()
407 static void me4000_reset(struct comedi_device *dev) in me4000_reset()
446 static unsigned int me4000_ai_get_sample(struct comedi_device *dev, in me4000_ai_get_sample()
456 static int me4000_ai_eoc(struct comedi_device *dev, in me4000_ai_eoc()
469 static int me4000_ai_insn_read(struct comedi_device *dev, in me4000_ai_insn_read()
535 static int me4000_ai_cancel(struct comedi_device *dev, in me4000_ai_cancel()
543 static int me4000_ai_check_chanlist(struct comedi_device *dev, in me4000_ai_check_chanlist()
585 static void me4000_ai_round_cmd_args(struct comedi_device *dev, in me4000_ai_round_cmd_args()
636 static void me4000_ai_write_chanlist(struct comedi_device *dev, in me4000_ai_write_chanlist()
[all …]
Dmpc624.c118 static unsigned int mpc624_ai_get_sample(struct comedi_device *dev, in mpc624_ai_get_sample()
197 static int mpc624_ai_eoc(struct comedi_device *dev, in mpc624_ai_eoc()
210 static int mpc624_ai_insn_read(struct comedi_device *dev, in mpc624_ai_insn_read()
244 static int mpc624_attach(struct comedi_device *dev, struct comedi_devconfig *it) in mpc624_attach()
Dpcm3724.c86 static void do_3724_config(struct comedi_device *dev, in do_3724_config()
121 static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s, in enable_chan()
159 static int subdev_3724_insn_config(struct comedi_device *dev, in subdev_3724_insn_config()
187 static int pcm3724_attach(struct comedi_device *dev, in pcm3724_attach()
Ddt2817.c42 static int dt2817_dio_insn_config(struct comedi_device *dev, in dt2817_dio_insn_config()
79 static int dt2817_dio_insn_bits(struct comedi_device *dev, in dt2817_dio_insn_bits()
110 static int dt2817_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dt2817_attach()
Dcb_pcimdda.c92 static int cb_pcimdda_ao_insn_write(struct comedi_device *dev, in cb_pcimdda_ao_insn_write()
122 static int cb_pcimdda_ao_insn_read(struct comedi_device *dev, in cb_pcimdda_ao_insn_read()
135 static int cb_pcimdda_auto_attach(struct comedi_device *dev, in cb_pcimdda_auto_attach()
Dpcmad.c63 static int pcmad_ai_eoc(struct comedi_device *dev, in pcmad_ai_eoc()
76 static int pcmad_ai_insn_read(struct comedi_device *dev, in pcmad_ai_insn_read()
112 static int pcmad_attach(struct comedi_device *dev, struct comedi_devconfig *it) in pcmad_attach()
Dserial2002.c389 static int serial2002_setup_subdevs(struct comedi_device *dev) in serial2002_setup_subdevs()
550 static int serial2002_open(struct comedi_device *dev) in serial2002_open()
567 static void serial2002_close(struct comedi_device *dev) in serial2002_close()
575 static int serial2002_di_insn_read(struct comedi_device *dev, in serial2002_di_insn_read()
599 static int serial2002_do_insn_write(struct comedi_device *dev, in serial2002_do_insn_write()
620 static int serial2002_ai_insn_read(struct comedi_device *dev, in serial2002_ai_insn_read()
644 static int serial2002_ao_insn_write(struct comedi_device *dev, in serial2002_ao_insn_write()
666 static int serial2002_ao_insn_read(struct comedi_device *dev, in serial2002_ao_insn_read()
681 static int serial2002_encoder_insn_read(struct comedi_device *dev, in serial2002_encoder_insn_read()
705 static int serial2002_attach(struct comedi_device *dev, in serial2002_attach()
[all …]
Dfl512.c59 static int fl512_ai_insn_read(struct comedi_device *dev, in fl512_ai_insn_read()
86 static int fl512_ao_insn_write(struct comedi_device *dev, in fl512_ao_insn_write()
108 static int fl512_attach(struct comedi_device *dev, struct comedi_devconfig *it) in fl512_attach()
Dadv_pci1723.c87 static int pci1723_ao_insn_write(struct comedi_device *dev, in pci1723_ao_insn_write()
105 static int pci1723_dio_insn_config(struct comedi_device *dev, in pci1723_dio_insn_config()
128 static int pci1723_dio_insn_bits(struct comedi_device *dev, in pci1723_dio_insn_bits()
141 static int pci1723_auto_attach(struct comedi_device *dev, in pci1723_auto_attach()
Dni_labpc.c85 static int labpc_attach(struct comedi_device *dev, struct comedi_devconfig *it) in labpc_attach()
105 static void labpc_detach(struct comedi_device *dev) in labpc_detach()
Dpcl730.c211 static int pcl730_do_insn_bits(struct comedi_device *dev, in pcl730_do_insn_bits()
236 static unsigned int pcl730_get_bits(struct comedi_device *dev, in pcl730_get_bits()
253 static int pcl730_di_insn_bits(struct comedi_device *dev, in pcl730_di_insn_bits()
263 static int pcl730_attach(struct comedi_device *dev, in pcl730_attach()
Djr3_pci.c222 static unsigned int jr3_pci_ai_read_chan(struct comedi_device *dev, in jr3_pci_ai_read_chan()
272 static int jr3_pci_ai_insn_read(struct comedi_device *dev, in jr3_pci_ai_insn_read()
302 static int jr3_pci_open(struct comedi_device *dev) in jr3_pci_open()
344 static int jr3_check_firmware(struct comedi_device *dev, in jr3_check_firmware()
375 static void jr3_write_firmware(struct comedi_device *dev, in jr3_write_firmware()
432 static int jr3_download_firmware(struct comedi_device *dev, in jr3_download_firmware()
595 struct comedi_device *dev = (struct comedi_device *)data; in jr3_pci_poll_dev()
638 jr3_pci_alloc_spriv(struct comedi_device *dev, struct comedi_subdevice *s) in jr3_pci_alloc_spriv()
679 static int jr3_pci_auto_attach(struct comedi_device *dev, in jr3_pci_auto_attach()
782 static void jr3_pci_detach(struct comedi_device *dev) in jr3_pci_detach()
Dni_labpc_cs.c71 static int labpc_cs_auto_attach(struct comedi_device *dev, in labpc_cs_auto_attach()
93 static void labpc_cs_detach(struct comedi_device *dev) in labpc_cs_detach()
Dni_mio_cs.c127 static const void *ni_getboardtype(struct comedi_device *dev, in ni_getboardtype()
157 static int mio_cs_auto_attach(struct comedi_device *dev, in mio_cs_auto_attach()
189 static void mio_cs_detach(struct comedi_device *dev) in mio_cs_detach()
Daddi_apci_16xx.c57 static int apci16xx_insn_config(struct comedi_device *dev, in apci16xx_insn_config()
84 static int apci16xx_dio_insn_bits(struct comedi_device *dev, in apci16xx_dio_insn_bits()
97 static int apci16xx_auto_attach(struct comedi_device *dev, in apci16xx_auto_attach()
Dadl_pci8164.c40 static int adl_pci8164_insn_read(struct comedi_device *dev, in adl_pci8164_insn_read()
55 static int adl_pci8164_insn_write(struct comedi_device *dev, in adl_pci8164_insn_write()
70 static int adl_pci8164_auto_attach(struct comedi_device *dev, in adl_pci8164_auto_attach()
Damplc_pc263.c55 static int pc263_do_insn_bits(struct comedi_device *dev, in pc263_do_insn_bits()
70 static int pc263_attach(struct comedi_device *dev, struct comedi_devconfig *it) in pc263_attach()
Dcomedi_8254.h25 struct comedi_device;
101 int (*insn_config)(struct comedi_device *, struct comedi_subdevice *s,
D8255.c56 static int dev_8255_attach(struct comedi_device *dev, in dev_8255_attach()
109 static void dev_8255_detach(struct comedi_device *dev) in dev_8255_detach()
Dadv_pci1724.c82 static int adv_pci1724_dac_idle(struct comedi_device *dev, in adv_pci1724_dac_idle()
95 static int adv_pci1724_insn_write(struct comedi_device *dev, in adv_pci1724_insn_write()
127 static int adv_pci1724_auto_attach(struct comedi_device *dev, in adv_pci1724_auto_attach()
Damplc_pci263.c39 static int pci263_do_insn_bits(struct comedi_device *dev, in pci263_do_insn_bits()
54 static int pci263_auto_attach(struct comedi_device *dev, in pci263_auto_attach()
Ddac02.c77 static int dac02_ao_insn_write(struct comedi_device *dev, in dac02_ao_insn_write()
111 static int dac02_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dac02_attach()
Dni_labpc_pci.c76 static int labpc_pci_auto_attach(struct comedi_device *dev, in labpc_pci_auto_attach()
105 static void labpc_pci_detach(struct comedi_device *dev) in labpc_pci_detach()
Dadl_pci7x3x.c116 static int adl_pci7x3x_do_insn_bits(struct comedi_device *dev, in adl_pci7x3x_do_insn_bits()
143 static int adl_pci7x3x_di_insn_bits(struct comedi_device *dev, in adl_pci7x3x_di_insn_bits()
155 static int adl_pci7x3x_auto_attach(struct comedi_device *dev, in adl_pci7x3x_auto_attach()
Drti802.c50 static int rti802_ao_insn_write(struct comedi_device *dev, in rti802_ao_insn_write()
77 static int rti802_attach(struct comedi_device *dev, struct comedi_devconfig *it) in rti802_attach()
Dpcl724.c78 static int pcl724_8255mapped_io(struct comedi_device *dev, in pcl724_8255mapped_io()
94 static int pcl724_attach(struct comedi_device *dev, in pcl724_attach()
Dni_atmio.c277 static const struct ni_board_struct *ni_atmio_probe(struct comedi_device *dev) in ni_atmio_probe()
300 static int ni_atmio_attach(struct comedi_device *dev, in ni_atmio_attach()
357 static void ni_atmio_detach(struct comedi_device *dev) in ni_atmio_detach()
Dni_pcimio.c979 static int pcimio_ai_change(struct comedi_device *dev, in pcimio_ai_change()
992 static int pcimio_ao_change(struct comedi_device *dev, in pcimio_ao_change()
1005 static int pcimio_gpct0_change(struct comedi_device *dev, in pcimio_gpct0_change()
1018 static int pcimio_gpct1_change(struct comedi_device *dev, in pcimio_gpct1_change()
1031 static int pcimio_dio_change(struct comedi_device *dev, in pcimio_dio_change()
1044 static void m_series_init_eeprom_buffer(struct comedi_device *dev) in m_series_init_eeprom_buffer()
1082 static void init_6143(struct comedi_device *dev) in init_6143()
1109 static void pcimio_detach(struct comedi_device *dev) in pcimio_detach()
1129 static int pcimio_auto_attach(struct comedi_device *dev, in pcimio_auto_attach()
Dmite.h28 struct comedi_device;
69 int mite_setup2(struct comedi_device *, struct mite_struct *, bool use_win1);
71 static inline int mite_setup(struct comedi_device *dev, in mite_setup()
Damplc_dio200_pci.c316 static int dio200_pcie_board_setup(struct comedi_device *dev) in dio200_pcie_board_setup()
347 static int dio200_pci_auto_attach(struct comedi_device *dev, in dio200_pci_auto_attach()
Damplc_pc236.c49 static int pc236_attach(struct comedi_device *dev, struct comedi_devconfig *it) in pc236_attach()
Dni_daq_dio24.c39 static int dio24_auto_attach(struct comedi_device *dev, in dio24_auto_attach()
Ddas08_pci.c53 static int das08_pci_auto_attach(struct comedi_device *dev, in das08_pci_auto_attach()
Ddas08_cs.c60 static int das08_cs_auto_attach(struct comedi_device *dev, in das08_cs_auto_attach()
Damplc_dio200.c250 static int dio200_attach(struct comedi_device *dev, struct comedi_devconfig *it) in dio200_attach()
Dni_tiocmd.c86 static int ni_tio_input_inttrig(struct comedi_device *dev, in ni_tio_input_inttrig()
188 int ni_tio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in ni_tio_cmd()
217 int ni_tio_cmdtest(struct comedi_device *dev, in ni_tio_cmdtest()
Dcomedi_8254.c488 static int comedi_8254_insn_read(struct comedi_device *dev, in comedi_8254_insn_read()
506 static int comedi_8254_insn_write(struct comedi_device *dev, in comedi_8254_insn_write()
523 static int comedi_8254_insn_config(struct comedi_device *dev, in comedi_8254_insn_config()
Ddas08_isa.c168 static int das08_isa_attach(struct comedi_device *dev, in das08_isa_attach()
Dni_tio.c1170 int ni_tio_insn_config(struct comedi_device *dev, in ni_tio_insn_config()
1218 static unsigned int ni_tio_read_sw_save_reg(struct comedi_device *dev, in ni_tio_read_sw_save_reg()
1245 int ni_tio_insn_read(struct comedi_device *dev, in ni_tio_insn_read()
1284 int ni_tio_insn_write(struct comedi_device *dev, in ni_tio_insn_write()
1369 ni_gpct_device_construct(struct comedi_device *dev, in ni_gpct_device_construct()
D8255_pci.c203 static int pci_8255_auto_attach(struct comedi_device *dev, in pci_8255_auto_attach()
Dcomedi_isadma.c163 struct comedi_isadma *comedi_isadma_alloc(struct comedi_device *dev, in comedi_isadma_alloc()
Dmite.c94 int mite_setup2(struct comedi_device *dev, in mite_setup2()
/linux-4.4.14/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c36 struct comedi_device *comedi_open(const char *filename) in comedi_open()
38 struct comedi_device *dev, *retval = NULL; in comedi_open()
68 int comedi_close(struct comedi_device *dev) in comedi_close()
75 static int comedi_do_insn(struct comedi_device *dev, in comedi_do_insn()
138 int comedi_dio_get_config(struct comedi_device *dev, unsigned int subdev, in comedi_dio_get_config()
159 int comedi_dio_config(struct comedi_device *dev, unsigned int subdev, in comedi_dio_config()
174 int comedi_dio_bitfield2(struct comedi_device *dev, unsigned int subdev, in comedi_dio_bitfield2()
219 int comedi_find_subdevice_by_type(struct comedi_device *dev, int type, in comedi_find_subdevice_by_type()
239 int comedi_get_n_channels(struct comedi_device *dev, unsigned int subdevice) in comedi_get_n_channels()
/linux-4.4.14/drivers/staging/comedi/drivers/addi-data/
Dhwdrv_apci1564.c1 static int apci1564_timer_insn_config(struct comedi_device *dev, in apci1564_timer_insn_config()
54 static int apci1564_timer_insn_write(struct comedi_device *dev, in apci1564_timer_insn_write()
77 static int apci1564_timer_insn_read(struct comedi_device *dev, in apci1564_timer_insn_read()
94 static int apci1564_counter_insn_config(struct comedi_device *dev, in apci1564_counter_insn_config()
139 static int apci1564_counter_insn_write(struct comedi_device *dev, in apci1564_counter_insn_write()
167 static int apci1564_counter_insn_read(struct comedi_device *dev, in apci1564_counter_insn_read()
Dhwdrv_apci3501.c19 static int apci3501_config_insn_timer(struct comedi_device *dev, in apci3501_config_insn_timer()
85 static int apci3501_write_insn_timer(struct comedi_device *dev, in apci3501_write_insn_timer()
125 static int apci3501_read_insn_timer(struct comedi_device *dev, in apci3501_read_insn_timer()