Home
last modified time | relevance | path

Searched refs:comedi_subdevice (Results 1 – 25 of 129) sorted by relevance

123456

/linux/drivers/comedi/
A Dcomedidev.h153 struct comedi_subdevice { struct
187 struct comedi_subdevice *s, argument
193 struct comedi_subdevice *s, argument
200 struct comedi_subdevice *s); argument
562 struct comedi_subdevice *subdevices;
570 struct comedi_subdevice *read_subdev;
571 struct comedi_subdevice *write_subdev;
991 struct comedi_subdevice *s,
996 struct comedi_subdevice *s);
999 struct comedi_subdevice *s,
[all …]
A Dcomedi_internal.h17 struct comedi_subdevice;
24 int comedi_alloc_subdevice_minor(struct comedi_subdevice *s);
25 void comedi_free_subdevice_minor(struct comedi_subdevice *s);
27 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
29 void comedi_buf_reset(struct comedi_subdevice *s);
30 bool comedi_buf_is_mmapped(struct comedi_subdevice *s);
36 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s);
37 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s);
38 unsigned int comedi_buf_write_n_allocated(struct comedi_subdevice *s);
40 bool comedi_can_auto_free_spriv(struct comedi_subdevice *s);
[all …]
A Dcomedi_buf.c54 struct comedi_subdevice *s) in __comedi_buf_free()
141 struct comedi_subdevice *s, in __comedi_buf_alloc()
229 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get()
250 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped()
291 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset()
340 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc()
430 unsigned int comedi_buf_write_free(struct comedi_subdevice *s, in comedi_buf_write_free()
495 unsigned int comedi_buf_read_alloc(struct comedi_subdevice *s, in comedi_buf_read_alloc()
535 unsigned int comedi_buf_read_free(struct comedi_subdevice *s, in comedi_buf_read_free()
558 static void comedi_buf_memcpy_to(struct comedi_subdevice *s, in comedi_buf_memcpy_to()
[all …]
A Ddrivers.c99 struct comedi_subdevice *s; in comedi_alloc_subdevices()
160 struct comedi_subdevice *s; in comedi_device_detach_cleanup()
254 struct comedi_subdevice *s, in comedi_readback_insn_read()
289 struct comedi_subdevice *s, in comedi_timeout()
292 struct comedi_subdevice *s, in comedi_timeout()
337 struct comedi_subdevice *s, in comedi_dio_insn_config()
546 void comedi_inc_scan_progress(struct comedi_subdevice *s, in comedi_inc_scan_progress()
591 struct comedi_subdevice *s) in comedi_handle_events()
608 struct comedi_subdevice *s, in insn_rw_emulate_bits()
643 struct comedi_subdevice *s) in __comedi_device_postconfig_async()
[all …]
A Dcomedi_fops.c97 static struct comedi_subdevice
205 struct comedi_subdevice *s; in comedi_subdevice_from_minor()
230 struct comedi_subdevice *s; in comedi_dev_get_from_subdevice_minor()
264 struct comedi_subdevice *s; in comedi_read_subdevice()
278 struct comedi_subdevice *s; in comedi_write_subdevice()
385 struct comedi_subdevice *s; in max_read_buffer_kb_show()
408 struct comedi_subdevice *s; in max_read_buffer_kb_store()
441 struct comedi_subdevice *s; in read_buffer_kb_show()
464 struct comedi_subdevice *s; in read_buffer_kb_store()
498 struct comedi_subdevice *s; in max_write_buffer_kb_show()
[all …]
/linux/drivers/comedi/drivers/
A Damplc_dio200_common.c166 struct comedi_subdevice *s, in dio200_subdev_intr_insn_bits()
185 struct comedi_subdevice *s) in dio200_stop_intr()
197 struct comedi_subdevice *s) in dio200_start_intr()
240 struct comedi_subdevice *s, in dio200_read_scan_intr()
262 struct comedi_subdevice *s) in dio200_handle_read_intr()
398 struct comedi_subdevice *s) in dio200_subdev_intr_cmd()
419 struct comedi_subdevice *s, in dio200_subdev_intr_init()
540 struct comedi_subdevice *s, in dio200_subdev_8254_init()
615 struct comedi_subdevice *s, in dio200_subdev_8255_bits()
676 struct comedi_subdevice *s, in dio200_subdev_8255_init()
[all …]
A Dcomedi_parport.c73 struct comedi_subdevice *s, in parport_data_reg_insn_bits()
86 struct comedi_subdevice *s, in parport_data_reg_insn_config()
108 struct comedi_subdevice *s, in parport_status_reg_insn_bits()
118 struct comedi_subdevice *s, in parport_ctrl_reg_insn_bits()
137 struct comedi_subdevice *s, in parport_intr_insn_bits()
146 struct comedi_subdevice *s, in parport_intr_cmdtest()
185 struct comedi_subdevice *s) in parport_intr_cmd()
197 struct comedi_subdevice *s) in parport_intr_cancel()
211 struct comedi_subdevice *s = dev->read_subdev; in parport_interrupt()
228 struct comedi_subdevice *s; in parport_attach()
A Dpcm3724.c63 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) in compute_buffer()
88 struct comedi_subdevice *s, int chanspec) in do_3724_config()
90 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in do_3724_config()
91 struct comedi_subdevice *s_dio2 = &dev->subdevices[1]; in do_3724_config()
122 static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s, in enable_chan()
126 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in enable_chan()
161 struct comedi_subdevice *s, in subdev_3724_insn_config()
192 struct comedi_subdevice *s; in pcm3724_attach()
A Daio_iiro_16.c59 struct comedi_subdevice *s = dev->read_subdev; in aio_iiro_16_cos()
85 struct comedi_subdevice *s) in aio_iiro_16_cos_cancel()
93 struct comedi_subdevice *s) in aio_iiro_16_cos_cmd()
101 struct comedi_subdevice *s, in aio_iiro_16_cos_cmdtest()
140 struct comedi_subdevice *s, in aio_iiro_16_do_insn_bits()
156 struct comedi_subdevice *s, in aio_iiro_16_di_insn_bits()
168 struct comedi_subdevice *s; in aio_iiro_16_attach()
A Dcomedi_8255.c63 struct comedi_subdevice *s, in subdev_8255_insn()
95 struct comedi_subdevice *s) in subdev_8255_do_config()
116 struct comedi_subdevice *s, in subdev_8255_insn_config()
143 struct comedi_subdevice *s, in __subdev_8255_init()
203 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_init()
238 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_mm_init()
255 unsigned long subdev_8255_regbase(struct comedi_subdevice *s) in subdev_8255_regbase()
A Dni_tio.h129 int ni_tio_insn_read(struct comedi_device *dev, struct comedi_subdevice *s,
131 int ni_tio_insn_config(struct comedi_device *dev, struct comedi_subdevice *s,
133 int ni_tio_insn_write(struct comedi_device *dev, struct comedi_subdevice *s,
135 int ni_tio_cmd(struct comedi_device *dev, struct comedi_subdevice *s);
136 int ni_tio_cmdtest(struct comedi_device *dev, struct comedi_subdevice *s,
140 struct comedi_subdevice *s);
A Dmite.h18 struct comedi_subdevice;
56 void mite_sync_dma(struct mite_channel *mite_chan, struct comedi_subdevice *s);
57 void mite_ack_linkc(struct mite_channel *mite_chan, struct comedi_subdevice *s,
76 struct comedi_subdevice *s, unsigned int nbytes);
77 int mite_buf_change(struct mite_ring *ring, struct comedi_subdevice *s);
A Daddi_apci_1564.c264 struct comedi_subdevice *s, in apci1564_di_insn_bits()
274 struct comedi_subdevice *s, in apci1564_do_insn_bits()
289 struct comedi_subdevice *s, in apci1564_diag_insn_bits()
329 struct comedi_subdevice *s, in apci1564_cos_insn_config()
409 struct comedi_subdevice *s, in apci1564_cos_insn_bits()
419 struct comedi_subdevice *s, in apci1564_cos_cmdtest()
463 struct comedi_subdevice *s) in apci1564_cos_cmd()
541 struct comedi_subdevice *s, in apci1564_timer_insn_write()
558 struct comedi_subdevice *s, in apci1564_timer_insn_read()
573 struct comedi_subdevice *s, in apci1564_counter_insn_config()
[all …]
A Dpcl711.c164 struct comedi_subdevice *s) in pcl711_ai_get_sample()
175 struct comedi_subdevice *s) in pcl711_ai_cancel()
185 struct comedi_subdevice *s = dev->read_subdev; in pcl711_interrupt()
210 struct comedi_subdevice *s, in pcl711_set_changain()
236 struct comedi_subdevice *s, in pcl711_ai_eoc()
249 struct comedi_subdevice *s, in pcl711_ai_insn_read()
274 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl711_ai_cmdtest()
365 struct comedi_subdevice *s, in pcl711_ao_insn_write()
383 struct comedi_subdevice *s, in pcl711_di_insn_bits()
398 struct comedi_subdevice *s, in pcl711_do_insn_bits()
[all …]
A D8255.h28 struct comedi_subdevice;
30 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s,
35 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s,
40 unsigned long subdev_8255_regbase(struct comedi_subdevice *s);
A Dpcmuio.c135 static inline int pcmuio_subdevice_to_asic(struct comedi_subdevice *s) in pcmuio_subdevice_to_asic()
144 static inline int pcmuio_subdevice_to_port(struct comedi_subdevice *s) in pcmuio_subdevice_to_port()
213 struct comedi_subdevice *s, in pcmuio_dio_insn_bits()
248 struct comedi_subdevice *s, in pcmuio_dio_insn_config()
285 struct comedi_subdevice *s) in pcmuio_stop_intr()
300 struct comedi_subdevice *s, in pcmuio_handle_intr_subdev()
341 struct comedi_subdevice *s = &dev->subdevices[asic * 2]; in pcmuio_handle_asic_interrupt()
376 struct comedi_subdevice *s) in pcmuio_start_intr()
423 struct comedi_subdevice *s, in pcmuio_inttrig_start_intr()
471 struct comedi_subdevice *s, in pcmuio_cmdtest()
[all …]
A Dpcl816.c113 struct comedi_subdevice *s, in pcl816_ai_setup_dma()
187 struct comedi_subdevice *s) in pcl816_ai_get_sample()
198 struct comedi_subdevice *s, in pcl816_ai_eoc()
211 struct comedi_subdevice *s) in pcl816_ai_next_chan()
225 struct comedi_subdevice *s, in transfer_from_dma_buf()
280 struct comedi_subdevice *s, in check_channel_list()
484 struct comedi_subdevice *s) in pcl816_ai_cancel()
503 struct comedi_subdevice *s, in pcl816_ai_insn_read()
534 struct comedi_subdevice *s, in pcl816_di_insn_bits()
545 struct comedi_subdevice *s, in pcl816_do_insn_bits()
[all …]
A Dpcmmio.c243 struct comedi_subdevice *s, in pcmmio_dio_insn_bits()
278 struct comedi_subdevice *s, in pcmmio_dio_insn_config()
310 struct comedi_subdevice *s) in pcmmio_stop_intr()
323 struct comedi_subdevice *s, in pcmmio_handle_dio_intr()
382 struct comedi_subdevice *s) in pcmmio_start_intr()
425 struct comedi_subdevice *s, in pcmmio_inttrig_start_intr()
468 struct comedi_subdevice *s, in pcmmio_cmdtest()
518 struct comedi_subdevice *s, in pcmmio_ai_eoc()
601 struct comedi_subdevice *s, in pcmmio_ao_eoc()
614 struct comedi_subdevice *s, in pcmmio_ao_insn_write()
[all …]
A Damplc_pc236_common.c60 struct comedi_subdevice *s, struct comedi_insn *insn, in pc236_intr_insn()
68 struct comedi_subdevice *s, in pc236_intr_cmdtest()
106 static int pc236_intr_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pc236_intr_cmd()
114 struct comedi_subdevice *s) in pc236_intr_cancel()
124 struct comedi_subdevice *s = dev->read_subdev; in pc236_interrupt()
140 struct comedi_subdevice *s; in amplc_pc236_common_attach()
A Ddas6402.c164 struct comedi_subdevice *s) in das6402_ai_read_sample()
207 struct comedi_subdevice *s, in das6402_ai_set_mode()
224 struct comedi_subdevice *s) in das6402_ai_cmd()
353 struct comedi_subdevice *s) in das6402_ai_cancel()
366 struct comedi_subdevice *s, in das6402_ai_eoc()
379 struct comedi_subdevice *s, in das6402_ai_insn_read()
417 struct comedi_subdevice *s, in das6402_ao_insn_write()
477 struct comedi_subdevice *s, in das6402_ao_insn_read()
493 struct comedi_subdevice *s, in das6402_di_insn_bits()
503 struct comedi_subdevice *s, in das6402_do_insn_bits()
[all …]
A Dcomedi_test.c248 struct comedi_subdevice *s, in waveform_ai_cmdtest()
349 struct comedi_subdevice *s) in waveform_ai_cmd()
403 struct comedi_subdevice *s) in waveform_ai_cancel()
417 struct comedi_subdevice *s, in waveform_ai_insn_read()
507 struct comedi_subdevice *s, in waveform_ao_inttrig_start()
585 struct comedi_subdevice *s) in waveform_ao_cmd()
602 struct comedi_subdevice *s) in waveform_ao_cancel()
617 struct comedi_subdevice *s, in waveform_ao_insn_write()
630 struct comedi_subdevice *s, in waveform_ai_insn_config()
657 struct comedi_subdevice *s, in waveform_ao_insn_config()
[all …]
A Dpcl726.c149 struct comedi_subdevice *s, in pcl726_intr_insn_bits()
158 struct comedi_subdevice *s, in pcl726_intr_cmdtest()
197 struct comedi_subdevice *s) in pcl726_intr_cmd()
207 struct comedi_subdevice *s) in pcl726_intr_cancel()
219 struct comedi_subdevice *s = dev->read_subdev; in pcl726_interrupt()
235 struct comedi_subdevice *s, in pcl726_ao_insn_write()
261 struct comedi_subdevice *s, in pcl726_di_insn_bits()
282 struct comedi_subdevice *s, in pcl726_do_insn_bits()
315 struct comedi_subdevice *s; in pcl726_attach()
A Ddt2811.c183 struct comedi_subdevice *s) in dt2811_ai_read_sample()
196 struct comedi_subdevice *s = dev->read_subdev; in dt2811_interrupt()
229 struct comedi_subdevice *s) in dt2811_ai_cancel()
253 struct comedi_subdevice *s) in dt2811_ai_cmd()
391 struct comedi_subdevice *s, in dt2811_ai_cmdtest()
460 struct comedi_subdevice *s, in dt2811_ai_eoc()
473 struct comedi_subdevice *s, in dt2811_ai_insn_read()
496 struct comedi_subdevice *s, in dt2811_ao_insn_write()
516 struct comedi_subdevice *s, in dt2811_di_insn_bits()
526 struct comedi_subdevice *s, in dt2811_do_insn_bits()
[all …]
A Dusbduxsigma.c189 struct comedi_subdevice *s) in usbduxsigma_ai_cancel()
315 struct comedi_subdevice *s) in usbduxsigma_ao_cancel()
469 struct comedi_subdevice *s, in usbduxsigma_ai_cmdtest()
593 struct comedi_subdevice *s, in usbduxsigma_ai_inttrig()
797 struct comedi_subdevice *s, in usbduxsigma_ao_inttrig()
825 struct comedi_subdevice *s, in usbduxsigma_ao_cmdtest()
1002 struct comedi_subdevice *s) in usbduxsigma_pwm_cancel()
1073 struct comedi_subdevice *s, in usbduxsigma_pwm_period()
1092 struct comedi_subdevice *s) in usbduxsigma_pwm_start()
1145 struct comedi_subdevice *s, in usbduxsigma_pwm_write()
[all …]
A Daddi_apci_1032.c104 struct comedi_subdevice *s, in apci1032_cos_insn_config()
180 struct comedi_subdevice *s, in apci1032_cos_insn_bits()
190 struct comedi_subdevice *s, in apci1032_cos_cmdtest()
234 struct comedi_subdevice *s) in apci1032_cos_cmd()
252 struct comedi_subdevice *s) in apci1032_cos_cancel()
261 struct comedi_subdevice *s = dev->read_subdev; in apci1032_interrupt()
290 struct comedi_subdevice *s, in apci1032_di_insn_bits()
304 struct comedi_subdevice *s; in apci1032_auto_attach()

Completed in 52 milliseconds

123456