/drivers/staging/comedi/ |
D | comedidev.h | 162 struct comedi_subdevice { struct 189 int (*insn_read)(struct comedi_device *, struct comedi_subdevice *, argument 191 int (*insn_write)(struct comedi_device *, struct comedi_subdevice *, argument 193 int (*insn_bits)(struct comedi_device *, struct comedi_subdevice *, argument 195 int (*insn_config)(struct comedi_device *, struct comedi_subdevice *, argument 198 int (*do_cmd)(struct comedi_device *, struct comedi_subdevice *); argument 199 int (*do_cmdtest)(struct comedi_device *, struct comedi_subdevice *, argument 201 int (*poll)(struct comedi_device *, struct comedi_subdevice *); argument 202 int (*cancel)(struct comedi_device *, struct comedi_subdevice *); argument 205 int (*buf_change)(struct comedi_device *, struct comedi_subdevice *); argument [all …]
|
D | comedi_internal.h | 16 struct comedi_subdevice; 23 int comedi_alloc_subdevice_minor(struct comedi_subdevice *s); 24 void comedi_free_subdevice_minor(struct comedi_subdevice *s); 26 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, 28 void comedi_buf_reset(struct comedi_subdevice *s); 29 bool comedi_buf_is_mmapped(struct comedi_subdevice *s); 33 struct comedi_subdevice *s); 34 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s); 35 unsigned int comedi_buf_write_n_allocated(struct comedi_subdevice *s); 37 bool comedi_can_auto_free_spriv(struct comedi_subdevice *s); [all …]
|
D | comedi_buf.c | 62 struct comedi_subdevice *s) in __comedi_buf_free() 82 struct comedi_subdevice *s, in __comedi_buf_alloc() 166 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get() 187 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped() 194 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc() 226 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset() 248 static unsigned int comedi_buf_write_n_unalloc(struct comedi_subdevice *s) in comedi_buf_write_n_unalloc() 256 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s) in comedi_buf_write_n_available() 275 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc() 300 static unsigned int comedi_buf_munge(struct comedi_subdevice *s, in comedi_buf_munge() [all …]
|
D | comedi_fops.c | 73 struct comedi_subdevice *read_subdev; 74 struct comedi_subdevice *write_subdev; 108 static struct comedi_subdevice 212 static struct comedi_subdevice * 215 struct comedi_subdevice *s; in comedi_subdevice_from_minor() 240 struct comedi_subdevice *s; in comedi_dev_get_from_subdevice_minor() 271 static struct comedi_subdevice * 274 struct comedi_subdevice *s; in comedi_read_subdevice() 284 static struct comedi_subdevice * 287 struct comedi_subdevice *s; in comedi_write_subdevice() [all …]
|
D | drivers.c | 108 struct comedi_subdevice *s; in comedi_alloc_subdevices() 150 int comedi_alloc_subdev_readback(struct comedi_subdevice *s) in comedi_alloc_subdev_readback() 169 struct comedi_subdevice *s; in comedi_device_detach_cleanup() 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() 247 struct comedi_subdevice *s, in comedi_readback_insn_read() 282 struct comedi_subdevice *s, in comedi_timeout() 285 struct comedi_subdevice *s, in comedi_timeout() 330 struct comedi_subdevice *s, in comedi_dio_insn_config() 375 unsigned int comedi_dio_update_state(struct comedi_subdevice *s, in comedi_dio_update_state() [all …]
|
/drivers/staging/comedi/drivers/ |
D | amplc_dio200_common.c | 166 struct comedi_subdevice *s) in dio200_subdev_8254_offset() 187 struct comedi_subdevice *s, in dio200_subdev_intr_insn_bits() 206 struct comedi_subdevice *s) in dio200_stop_intr() 218 struct comedi_subdevice *s) in dio200_start_intr() 240 struct comedi_subdevice *s, in dio200_inttrig_start_intr() 261 struct comedi_subdevice *s, in dio200_read_scan_intr() 283 struct comedi_subdevice *s) in dio200_handle_read_intr() 354 struct comedi_subdevice *s) in dio200_subdev_intr_cancel() 369 struct comedi_subdevice *s, in dio200_subdev_intr_cmdtest() 419 struct comedi_subdevice *s) in dio200_subdev_intr_cmd() [all …]
|
D | comedi_parport.c | 82 struct comedi_subdevice *s, in parport_data_reg_insn_bits() 95 struct comedi_subdevice *s, in parport_data_reg_insn_config() 117 struct comedi_subdevice *s, in parport_status_reg_insn_bits() 127 struct comedi_subdevice *s, in parport_ctrl_reg_insn_bits() 146 struct comedi_subdevice *s, in parport_intr_insn_bits() 155 struct comedi_subdevice *s, in parport_intr_cmdtest() 194 struct comedi_subdevice *s) in parport_intr_cmd() 206 struct comedi_subdevice *s) in parport_intr_cancel() 220 struct comedi_subdevice *s = dev->read_subdev; in parport_interrupt() 236 struct comedi_subdevice *s; in parport_attach()
|
D | pcm3724.c | 62 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) in compute_buffer() 87 struct comedi_subdevice *s, int chanspec) in do_3724_config() 89 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in do_3724_config() 90 struct comedi_subdevice *s_dio2 = &dev->subdevices[1]; in do_3724_config() 121 static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s, in enable_chan() 125 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in enable_chan() 160 struct comedi_subdevice *s, in subdev_3724_insn_config() 191 struct comedi_subdevice *s; in pcm3724_attach()
|
D | ni_tio.h | 134 int ni_tio_insn_read(struct comedi_device *, struct comedi_subdevice *, 136 int ni_tio_insn_config(struct comedi_device *, struct comedi_subdevice *, 138 int ni_tio_insn_write(struct comedi_device *, struct comedi_subdevice *, 140 int ni_tio_cmd(struct comedi_device *, struct comedi_subdevice *); 141 int ni_tio_cmdtest(struct comedi_device *, struct comedi_subdevice *, 144 void ni_tio_handle_interrupt(struct ni_gpct *, struct comedi_subdevice *);
|
D | mite.h | 27 struct comedi_subdevice; 65 void mite_sync_dma(struct mite_channel *, struct comedi_subdevice *); 66 void mite_ack_linkc(struct mite_channel *, struct comedi_subdevice *s, 83 int mite_init_ring_descriptors(struct mite_ring *, struct comedi_subdevice *, 85 int mite_buf_change(struct mite_ring *, struct comedi_subdevice *);
|
D | comedi_8255.c | 72 struct comedi_subdevice *s, in subdev_8255_insn() 104 struct comedi_subdevice *s) in subdev_8255_do_config() 125 struct comedi_subdevice *s, in subdev_8255_insn_config() 152 struct comedi_subdevice *s, in __subdev_8255_init() 212 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_init() 247 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_mm_init() 264 unsigned long subdev_8255_regbase(struct comedi_subdevice *s) in subdev_8255_regbase()
|
D | aio_iiro_16.c | 68 struct comedi_subdevice *s = dev->read_subdev; in aio_iiro_16_cos() 94 struct comedi_subdevice *s) in aio_iiro_16_cos_cancel() 102 struct comedi_subdevice *s) in aio_iiro_16_cos_cmd() 110 struct comedi_subdevice *s, in aio_iiro_16_cos_cmdtest() 149 struct comedi_subdevice *s, in aio_iiro_16_do_insn_bits() 165 struct comedi_subdevice *s, in aio_iiro_16_di_insn_bits() 177 struct comedi_subdevice *s; in aio_iiro_16_attach()
|
D | addi_apci_1564.c | 216 struct comedi_subdevice *s = dev->read_subdev; in apci1564_interrupt() 273 struct comedi_subdevice *s, in apci1564_di_insn_bits() 283 struct comedi_subdevice *s, in apci1564_do_insn_bits() 298 struct comedi_subdevice *s, in apci1564_diag_insn_bits() 338 struct comedi_subdevice *s, in apci1564_cos_insn_config() 410 struct comedi_subdevice *s, in apci1564_cos_insn_bits() 420 struct comedi_subdevice *s, in apci1564_cos_cmdtest() 464 struct comedi_subdevice *s) in apci1564_cos_cmd() 482 struct comedi_subdevice *s) in apci1564_cos_cancel() 493 struct comedi_subdevice *s, in apci1564_timer_insn_config() [all …]
|
D | pcl711.c | 173 struct comedi_subdevice *s) in pcl711_ai_get_sample() 184 struct comedi_subdevice *s) in pcl711_ai_cancel() 194 struct comedi_subdevice *s = dev->read_subdev; in pcl711_interrupt() 219 struct comedi_subdevice *s, in pcl711_set_changain() 245 struct comedi_subdevice *s, in pcl711_ai_eoc() 258 struct comedi_subdevice *s, in pcl711_ai_insn_read() 283 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl711_ai_cmdtest() 348 static int pcl711_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl711_ai_cmd() 374 struct comedi_subdevice *s, in pcl711_ao_insn_write() 392 struct comedi_subdevice *s, in pcl711_di_insn_bits() [all …]
|
D | 8255.h | 37 struct comedi_subdevice; 39 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, 44 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s, 49 unsigned long subdev_8255_regbase(struct comedi_subdevice *s);
|
D | pcmuio.c | 144 static inline int pcmuio_subdevice_to_asic(struct comedi_subdevice *s) in pcmuio_subdevice_to_asic() 153 static inline int pcmuio_subdevice_to_port(struct comedi_subdevice *s) in pcmuio_subdevice_to_port() 222 struct comedi_subdevice *s, in pcmuio_dio_insn_bits() 257 struct comedi_subdevice *s, in pcmuio_dio_insn_config() 294 struct comedi_subdevice *s) in pcmuio_stop_intr() 309 struct comedi_subdevice *s, in pcmuio_handle_intr_subdev() 350 struct comedi_subdevice *s = &dev->subdevices[asic * 2]; in pcmuio_handle_asic_interrupt() 385 struct comedi_subdevice *s) in pcmuio_start_intr() 416 static int pcmuio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmuio_cancel() 432 struct comedi_subdevice *s, in pcmuio_inttrig_start_intr() [all …]
|
D | pcmmio.c | 252 struct comedi_subdevice *s, in pcmmio_dio_insn_bits() 287 struct comedi_subdevice *s, in pcmmio_dio_insn_config() 319 struct comedi_subdevice *s) in pcmmio_stop_intr() 332 struct comedi_subdevice *s, in pcmmio_handle_dio_intr() 371 struct comedi_subdevice *s = dev->read_subdev; in interrupt_pcmmio() 391 struct comedi_subdevice *s) in pcmmio_start_intr() 420 static int pcmmio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cancel() 434 struct comedi_subdevice *s, in pcmmio_inttrig_start_intr() 456 static int pcmmio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cmd() 477 struct comedi_subdevice *s, in pcmmio_cmdtest() [all …]
|
D | pcl816.c | 112 struct comedi_subdevice *s, in pcl816_ai_setup_dma() 186 struct comedi_subdevice *s) in pcl816_ai_get_sample() 197 struct comedi_subdevice *s, in pcl816_ai_eoc() 210 struct comedi_subdevice *s) in pcl816_ai_next_chan() 224 struct comedi_subdevice *s, in transfer_from_dma_buf() 243 struct comedi_subdevice *s = dev->read_subdev; in pcl816_interrupt() 279 struct comedi_subdevice *s, in check_channel_list() 335 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl816_ai_cmdtest() 404 static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_cmd() 449 static int pcl816_ai_poll(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_poll() [all …]
|
D | amplc_pc236_common.c | 69 struct comedi_subdevice *s, struct comedi_insn *insn, in pc236_intr_insn() 77 struct comedi_subdevice *s, in pc236_intr_cmdtest() 115 static int pc236_intr_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pc236_intr_cmd() 123 struct comedi_subdevice *s) in pc236_intr_cancel() 133 struct comedi_subdevice *s = dev->read_subdev; in pc236_interrupt() 147 struct comedi_subdevice *s; in amplc_pc236_common_attach()
|
D | das6402.c | 173 struct comedi_subdevice *s) in das6402_ai_read_sample() 186 struct comedi_subdevice *s = dev->read_subdev; in das6402_interrupt() 216 struct comedi_subdevice *s, in das6402_ai_set_mode() 233 struct comedi_subdevice *s) in das6402_ai_cmd() 258 struct comedi_subdevice *s, in das6402_ai_check_chanlist() 299 struct comedi_subdevice *s, in das6402_ai_cmdtest() 362 struct comedi_subdevice *s) in das6402_ai_cancel() 375 struct comedi_subdevice *s, in das6402_ai_eoc() 388 struct comedi_subdevice *s, in das6402_ai_insn_read() 426 struct comedi_subdevice *s, in das6402_ao_insn_write() [all …]
|
D | pcl726.c | 158 struct comedi_subdevice *s, in pcl726_intr_insn_bits() 167 struct comedi_subdevice *s, in pcl726_intr_cmdtest() 206 struct comedi_subdevice *s) in pcl726_intr_cmd() 216 struct comedi_subdevice *s) in pcl726_intr_cancel() 228 struct comedi_subdevice *s = dev->read_subdev; in pcl726_interrupt() 242 struct comedi_subdevice *s, in pcl726_ao_insn_write() 268 struct comedi_subdevice *s, in pcl726_di_insn_bits() 289 struct comedi_subdevice *s, in pcl726_do_insn_bits() 322 struct comedi_subdevice *s; in pcl726_attach()
|
D | dt2811.c | 192 struct comedi_subdevice *s) in dt2811_ai_read_sample() 205 struct comedi_subdevice *s = dev->read_subdev; in dt2811_interrupt() 238 struct comedi_subdevice *s) in dt2811_ai_cancel() 262 struct comedi_subdevice *s) in dt2811_ai_cmd() 400 struct comedi_subdevice *s, in dt2811_ai_cmdtest() 469 struct comedi_subdevice *s, in dt2811_ai_eoc() 482 struct comedi_subdevice *s, in dt2811_ai_insn_read() 505 struct comedi_subdevice *s, in dt2811_ao_insn_write() 525 struct comedi_subdevice *s, in dt2811_di_insn_bits() 535 struct comedi_subdevice *s, in dt2811_do_insn_bits() [all …]
|
D | usbduxsigma.c | 198 struct comedi_subdevice *s) in usbduxsigma_ai_cancel() 211 struct comedi_subdevice *s, in usbduxsigma_ai_handle_urb() 263 struct comedi_subdevice *s = dev->read_subdev; in usbduxsigma_ai_urb_complete() 324 struct comedi_subdevice *s) in usbduxsigma_ao_cancel() 337 struct comedi_subdevice *s, in usbduxsigma_ao_handle_urb() 402 struct comedi_subdevice *s = dev->write_subdev; in usbduxsigma_ao_urb_complete() 478 struct comedi_subdevice *s, in usbduxsigma_ai_cmdtest() 602 struct comedi_subdevice *s, in usbduxsigma_ai_inttrig() 630 struct comedi_subdevice *s) in usbduxsigma_ai_cmd() 703 struct comedi_subdevice *s, in usbduxsigma_ai_insn_read() [all …]
|
D | addi_apci_1032.c | 113 struct comedi_subdevice *s, in apci1032_cos_insn_config() 181 struct comedi_subdevice *s, in apci1032_cos_insn_bits() 191 struct comedi_subdevice *s, in apci1032_cos_cmdtest() 235 struct comedi_subdevice *s) in apci1032_cos_cmd() 253 struct comedi_subdevice *s) in apci1032_cos_cancel() 262 struct comedi_subdevice *s = dev->read_subdev; in apci1032_interrupt() 289 struct comedi_subdevice *s, in apci1032_di_insn_bits() 303 struct comedi_subdevice *s; in apci1032_auto_attach()
|
D | multiq3.c | 91 struct comedi_subdevice *s, in multiq3_ai_status() 104 struct comedi_subdevice *s, in multiq3_ai_insn_read() 141 struct comedi_subdevice *s, in multiq3_ao_insn_write() 162 struct comedi_subdevice *s, in multiq3_di_insn_bits() 171 struct comedi_subdevice *s, in multiq3_do_insn_bits() 184 struct comedi_subdevice *s, in multiq3_encoder_insn_read() 243 struct comedi_subdevice *s, in multiq3_encoder_insn_config() 263 struct comedi_subdevice *s; in multiq3_attach()
|