/Linux-v5.4/drivers/staging/comedi/ |
D | comedidev.h | 153 struct comedi_subdevice { struct 180 int (*insn_read)(struct comedi_device *dev, struct comedi_subdevice *s, argument 182 int (*insn_write)(struct comedi_device *dev, struct comedi_subdevice *s, argument 184 int (*insn_bits)(struct comedi_device *dev, struct comedi_subdevice *s, argument 187 struct comedi_subdevice *s, argument 191 int (*do_cmd)(struct comedi_device *dev, struct comedi_subdevice *s); argument 193 struct comedi_subdevice *s, argument 195 int (*poll)(struct comedi_device *dev, struct comedi_subdevice *s); argument 196 int (*cancel)(struct comedi_device *dev, struct comedi_subdevice *s); argument 200 struct comedi_subdevice *s); argument [all …]
|
D | comedi_internal.h | 17 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 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 …]
|
D | comedi_buf.c | 54 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() 257 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc() 291 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset() 313 static unsigned int comedi_buf_write_n_unalloc(struct comedi_subdevice *s) in comedi_buf_write_n_unalloc() 321 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s) in comedi_buf_write_n_available() 340 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc() 365 static unsigned int comedi_buf_munge(struct comedi_subdevice *s, in comedi_buf_munge() [all …]
|
D | drivers.c | 99 struct comedi_subdevice *s; in comedi_alloc_subdevices() 141 int comedi_alloc_subdev_readback(struct comedi_subdevice *s) in comedi_alloc_subdev_readback() 160 struct comedi_subdevice *s; in comedi_device_detach_cleanup() 212 static int poll_invalid(struct comedi_device *dev, struct comedi_subdevice *s) in poll_invalid() 230 int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s, in insn_inval() 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() 382 unsigned int comedi_dio_update_state(struct comedi_subdevice *s, in comedi_dio_update_state() [all …]
|
D | comedi_fops.c | 60 struct comedi_subdevice *read_subdev; 61 struct comedi_subdevice *write_subdev; 95 static struct comedi_subdevice 200 static struct comedi_subdevice * 203 struct comedi_subdevice *s; in comedi_subdevice_from_minor() 228 struct comedi_subdevice *s; in comedi_dev_get_from_subdevice_minor() 259 static struct comedi_subdevice * 262 struct comedi_subdevice *s; in comedi_read_subdevice() 273 static struct comedi_subdevice * 276 struct comedi_subdevice *s; in comedi_write_subdevice() [all …]
|
/Linux-v5.4/drivers/staging/comedi/drivers/ |
D | amplc_dio200_common.c | 145 struct comedi_subdevice *s) in dio200_subdev_8254_offset() 166 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() 219 struct comedi_subdevice *s, in dio200_inttrig_start_intr() 240 struct comedi_subdevice *s, in dio200_read_scan_intr() 262 struct comedi_subdevice *s) in dio200_handle_read_intr() 333 struct comedi_subdevice *s) in dio200_subdev_intr_cancel() 348 struct comedi_subdevice *s, in dio200_subdev_intr_cmdtest() 398 struct comedi_subdevice *s) in dio200_subdev_intr_cmd() [all …]
|
D | comedi_parport.c | 73 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() 227 struct comedi_subdevice *s; in parport_attach()
|
D | pcm3724.c | 63 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()
|
D | 8255.h | 28 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);
|
D | mite.h | 18 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);
|
D | ni_tio.h | 129 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);
|
D | comedi_8255.c | 63 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()
|
D | aio_iiro_16.c | 59 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()
|
D | amplc_pc236_common.c | 60 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() 138 struct comedi_subdevice *s; in amplc_pc236_common_attach()
|
D | pcl711.c | 164 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() 339 static int pcl711_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl711_ai_cmd() 365 struct comedi_subdevice *s, in pcl711_ao_insn_write() 383 struct comedi_subdevice *s, in pcl711_di_insn_bits() [all …]
|
D | addi_apci_1564.c | 207 struct comedi_subdevice *s = dev->read_subdev; in apci1564_interrupt() 264 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() 401 struct comedi_subdevice *s, in apci1564_cos_insn_bits() 411 struct comedi_subdevice *s, in apci1564_cos_cmdtest() 455 struct comedi_subdevice *s) in apci1564_cos_cmd() 473 struct comedi_subdevice *s) in apci1564_cos_cancel() 484 struct comedi_subdevice *s, in apci1564_timer_insn_config() [all …]
|
D | pcmuio.c | 135 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() 407 static int pcmuio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmuio_cancel() 423 struct comedi_subdevice *s, in pcmuio_inttrig_start_intr() [all …]
|
D | pcl726.c | 149 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() 233 struct comedi_subdevice *s, in pcl726_ao_insn_write() 259 struct comedi_subdevice *s, in pcl726_di_insn_bits() 280 struct comedi_subdevice *s, in pcl726_do_insn_bits() 313 struct comedi_subdevice *s; in pcl726_attach()
|
D | pcl816.c | 113 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() 244 struct comedi_subdevice *s = dev->read_subdev; in pcl816_interrupt() 280 struct comedi_subdevice *s, in check_channel_list() 336 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl816_ai_cmdtest() 405 static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_cmd() 450 static int pcl816_ai_poll(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_poll() [all …]
|
D | pcmmio.c | 243 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() 362 struct comedi_subdevice *s = dev->read_subdev; in interrupt_pcmmio() 382 struct comedi_subdevice *s) in pcmmio_start_intr() 411 static int pcmmio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cancel() 425 struct comedi_subdevice *s, in pcmmio_inttrig_start_intr() 447 static int pcmmio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cmd() 468 struct comedi_subdevice *s, in pcmmio_cmdtest() [all …]
|
D | das6402.c | 164 struct comedi_subdevice *s) in das6402_ai_read_sample() 177 struct comedi_subdevice *s = dev->read_subdev; in das6402_interrupt() 207 struct comedi_subdevice *s, in das6402_ai_set_mode() 224 struct comedi_subdevice *s) in das6402_ai_cmd() 249 struct comedi_subdevice *s, in das6402_ai_check_chanlist() 290 struct comedi_subdevice *s, in das6402_ai_cmdtest() 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() [all …]
|
D | dt2811.c | 183 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 …]
|
D | multiq3.c | 82 struct comedi_subdevice *s, in multiq3_ai_status() 95 struct comedi_subdevice *s, in multiq3_ai_insn_read() 132 struct comedi_subdevice *s, in multiq3_ao_insn_write() 153 struct comedi_subdevice *s, in multiq3_di_insn_bits() 162 struct comedi_subdevice *s, in multiq3_do_insn_bits() 175 struct comedi_subdevice *s, in multiq3_encoder_insn_read() 234 struct comedi_subdevice *s, in multiq3_encoder_insn_config() 254 struct comedi_subdevice *s; in multiq3_attach()
|
D | addi_apci_1032.c | 104 struct comedi_subdevice *s, in apci1032_cos_insn_config() 172 struct comedi_subdevice *s, in apci1032_cos_insn_bits() 182 struct comedi_subdevice *s, in apci1032_cos_cmdtest() 226 struct comedi_subdevice *s) in apci1032_cos_cmd() 244 struct comedi_subdevice *s) in apci1032_cos_cancel() 253 struct comedi_subdevice *s = dev->read_subdev; in apci1032_interrupt() 280 struct comedi_subdevice *s, in apci1032_di_insn_bits() 294 struct comedi_subdevice *s; in apci1032_auto_attach()
|
D | comedi_test.c | 106 struct comedi_subdevice *s = dev->read_subdev; in fake_sawtooth() 138 struct comedi_subdevice *s = dev->read_subdev; in fake_squarewave() 200 struct comedi_subdevice *s = dev->read_subdev; in waveform_ai_timer() 248 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() 437 struct comedi_subdevice *s = dev->write_subdev; in waveform_ao_timer() 507 struct comedi_subdevice *s, in waveform_ao_inttrig_start() 528 struct comedi_subdevice *s, in waveform_ao_cmdtest() [all …]
|