/linux-6.1.9/include/linux/comedi/ |
D | comedidev.h | 152 struct comedi_subdevice { struct 179 int (*insn_read)(struct comedi_device *dev, struct comedi_subdevice *s, argument 181 int (*insn_write)(struct comedi_device *dev, struct comedi_subdevice *s, argument 183 int (*insn_bits)(struct comedi_device *dev, struct comedi_subdevice *s, argument 186 struct comedi_subdevice *s, argument 190 int (*do_cmd)(struct comedi_device *dev, struct comedi_subdevice *s); argument 192 struct comedi_subdevice *s, argument 194 int (*poll)(struct comedi_device *dev, struct comedi_subdevice *s); argument 195 int (*cancel)(struct comedi_device *dev, struct comedi_subdevice *s); argument 199 struct comedi_subdevice *s); argument [all …]
|
D | comedi_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);
|
/linux-6.1.9/drivers/comedi/ |
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 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 …]
|
D | comedi_buf.c | 53 struct comedi_subdevice *s) in __comedi_buf_free() 140 struct comedi_subdevice *s, in __comedi_buf_alloc() 228 comedi_buf_map_from_subdev_get(struct comedi_subdevice *s) in comedi_buf_map_from_subdev_get() 249 bool comedi_buf_is_mmapped(struct comedi_subdevice *s) in comedi_buf_is_mmapped() 256 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s, in comedi_buf_alloc() 290 void comedi_buf_reset(struct comedi_subdevice *s) in comedi_buf_reset() 312 static unsigned int comedi_buf_write_n_unalloc(struct comedi_subdevice *s) in comedi_buf_write_n_unalloc() 320 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s) in comedi_buf_write_n_available() 339 unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s, in comedi_buf_write_alloc() 364 static unsigned int comedi_buf_munge(struct comedi_subdevice *s, in comedi_buf_munge() [all …]
|
D | drivers.c | 98 struct comedi_subdevice *s; in comedi_alloc_subdevices() 140 int comedi_alloc_subdev_readback(struct comedi_subdevice *s) in comedi_alloc_subdev_readback() 159 struct comedi_subdevice *s; in comedi_device_detach_cleanup() 211 static int poll_invalid(struct comedi_device *dev, struct comedi_subdevice *s) in poll_invalid() 229 int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s, in insn_inval() 253 struct comedi_subdevice *s, in comedi_readback_insn_read() 288 struct comedi_subdevice *s, in comedi_timeout() 291 struct comedi_subdevice *s, in comedi_timeout() 336 struct comedi_subdevice *s, in comedi_dio_insn_config() 381 unsigned int comedi_dio_update_state(struct comedi_subdevice *s, in comedi_dio_update_state() [all …]
|
D | comedi_fops.c | 62 struct comedi_subdevice *read_subdev; 63 struct comedi_subdevice *write_subdev; 97 static struct comedi_subdevice 202 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() 261 static struct comedi_subdevice * 264 struct comedi_subdevice *s; in comedi_read_subdevice() 275 static struct comedi_subdevice * 278 struct comedi_subdevice *s; in comedi_write_subdevice() [all …]
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | amplc_dio200_common.c | 144 struct comedi_subdevice *s) in dio200_subdev_8254_offset() 165 struct comedi_subdevice *s, in dio200_subdev_intr_insn_bits() 184 struct comedi_subdevice *s) in dio200_stop_intr() 196 struct comedi_subdevice *s) in dio200_start_intr() 218 struct comedi_subdevice *s, in dio200_inttrig_start_intr() 239 struct comedi_subdevice *s, in dio200_read_scan_intr() 261 struct comedi_subdevice *s) in dio200_handle_read_intr() 332 struct comedi_subdevice *s) in dio200_subdev_intr_cancel() 347 struct comedi_subdevice *s, in dio200_subdev_intr_cmdtest() 397 struct comedi_subdevice *s) in dio200_subdev_intr_cmd() [all …]
|
D | comedi_parport.c | 72 struct comedi_subdevice *s, in parport_data_reg_insn_bits() 85 struct comedi_subdevice *s, in parport_data_reg_insn_config() 107 struct comedi_subdevice *s, in parport_status_reg_insn_bits() 117 struct comedi_subdevice *s, in parport_ctrl_reg_insn_bits() 136 struct comedi_subdevice *s, in parport_intr_insn_bits() 145 struct comedi_subdevice *s, in parport_intr_cmdtest() 184 struct comedi_subdevice *s) in parport_intr_cmd() 196 struct comedi_subdevice *s) in parport_intr_cancel() 210 struct comedi_subdevice *s = dev->read_subdev; in parport_interrupt() 227 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() 120 static void enable_chan(struct comedi_device *dev, struct comedi_subdevice *s, in enable_chan() 124 struct comedi_subdevice *s_dio1 = &dev->subdevices[0]; in enable_chan() 159 struct comedi_subdevice *s, in subdev_3724_insn_config() 190 struct comedi_subdevice *s; in pcm3724_attach()
|
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 | 62 struct comedi_subdevice *s, in subdev_8255_insn() 94 struct comedi_subdevice *s) in subdev_8255_do_config() 115 struct comedi_subdevice *s, in subdev_8255_insn_config() 142 struct comedi_subdevice *s, in __subdev_8255_init() 202 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_init() 237 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s, in subdev_8255_mm_init() 254 unsigned long subdev_8255_regbase(struct comedi_subdevice *s) in subdev_8255_regbase()
|
D | aio_iiro_16.c | 58 struct comedi_subdevice *s = dev->read_subdev; in aio_iiro_16_cos() 84 struct comedi_subdevice *s) in aio_iiro_16_cos_cancel() 92 struct comedi_subdevice *s) in aio_iiro_16_cos_cmd() 100 struct comedi_subdevice *s, in aio_iiro_16_cos_cmdtest() 139 struct comedi_subdevice *s, in aio_iiro_16_do_insn_bits() 155 struct comedi_subdevice *s, in aio_iiro_16_di_insn_bits() 167 struct comedi_subdevice *s; in aio_iiro_16_attach()
|
D | amplc_pc236_common.c | 59 struct comedi_subdevice *s, struct comedi_insn *insn, in pc236_intr_insn() 67 struct comedi_subdevice *s, in pc236_intr_cmdtest() 105 static int pc236_intr_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pc236_intr_cmd() 113 struct comedi_subdevice *s) in pc236_intr_cancel() 123 struct comedi_subdevice *s = dev->read_subdev; in pc236_interrupt() 139 struct comedi_subdevice *s; in amplc_pc236_common_attach()
|
D | pcl711.c | 162 struct comedi_subdevice *s) in pcl711_ai_get_sample() 173 struct comedi_subdevice *s) in pcl711_ai_cancel() 183 struct comedi_subdevice *s = dev->read_subdev; in pcl711_interrupt() 208 struct comedi_subdevice *s, in pcl711_set_changain() 234 struct comedi_subdevice *s, in pcl711_ai_eoc() 247 struct comedi_subdevice *s, in pcl711_ai_insn_read() 272 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl711_ai_cmdtest() 337 static int pcl711_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl711_ai_cmd() 363 struct comedi_subdevice *s, in pcl711_ao_insn_write() 381 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() 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() 481 struct comedi_subdevice *s) in apci1564_cos_cancel() 492 struct comedi_subdevice *s, in apci1564_timer_insn_config() [all …]
|
D | pcmuio.c | 134 static inline int pcmuio_subdevice_to_asic(struct comedi_subdevice *s) in pcmuio_subdevice_to_asic() 143 static inline int pcmuio_subdevice_to_port(struct comedi_subdevice *s) in pcmuio_subdevice_to_port() 212 struct comedi_subdevice *s, in pcmuio_dio_insn_bits() 247 struct comedi_subdevice *s, in pcmuio_dio_insn_config() 284 struct comedi_subdevice *s) in pcmuio_stop_intr() 299 struct comedi_subdevice *s, in pcmuio_handle_intr_subdev() 340 struct comedi_subdevice *s = &dev->subdevices[asic * 2]; in pcmuio_handle_asic_interrupt() 375 struct comedi_subdevice *s) in pcmuio_start_intr() 406 static int pcmuio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmuio_cancel() 422 struct comedi_subdevice *s, in pcmuio_inttrig_start_intr() [all …]
|
D | pcl726.c | 148 struct comedi_subdevice *s, in pcl726_intr_insn_bits() 157 struct comedi_subdevice *s, in pcl726_intr_cmdtest() 196 struct comedi_subdevice *s) in pcl726_intr_cmd() 206 struct comedi_subdevice *s) in pcl726_intr_cancel() 218 struct comedi_subdevice *s = dev->read_subdev; in pcl726_interrupt() 234 struct comedi_subdevice *s, in pcl726_ao_insn_write() 260 struct comedi_subdevice *s, in pcl726_di_insn_bits() 281 struct comedi_subdevice *s, in pcl726_do_insn_bits() 314 struct comedi_subdevice *s; in pcl726_attach()
|
D | pcmmio.c | 242 struct comedi_subdevice *s, in pcmmio_dio_insn_bits() 277 struct comedi_subdevice *s, in pcmmio_dio_insn_config() 309 struct comedi_subdevice *s) in pcmmio_stop_intr() 322 struct comedi_subdevice *s, in pcmmio_handle_dio_intr() 361 struct comedi_subdevice *s = dev->read_subdev; in interrupt_pcmmio() 381 struct comedi_subdevice *s) in pcmmio_start_intr() 410 static int pcmmio_cancel(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cancel() 424 struct comedi_subdevice *s, in pcmmio_inttrig_start_intr() 446 static int pcmmio_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcmmio_cmd() 467 struct comedi_subdevice *s, in pcmmio_cmdtest() [all …]
|
D | pcl816.c | 111 struct comedi_subdevice *s, in pcl816_ai_setup_dma() 185 struct comedi_subdevice *s) in pcl816_ai_get_sample() 196 struct comedi_subdevice *s, in pcl816_ai_eoc() 209 struct comedi_subdevice *s) in pcl816_ai_next_chan() 223 struct comedi_subdevice *s, in transfer_from_dma_buf() 242 struct comedi_subdevice *s = dev->read_subdev; in pcl816_interrupt() 278 struct comedi_subdevice *s, in check_channel_list() 334 struct comedi_subdevice *s, struct comedi_cmd *cmd) in pcl816_ai_cmdtest() 403 static int pcl816_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_cmd() 448 static int pcl816_ai_poll(struct comedi_device *dev, struct comedi_subdevice *s) in pcl816_ai_poll() [all …]
|
D | das6402.c | 162 struct comedi_subdevice *s) in das6402_ai_read_sample() 175 struct comedi_subdevice *s = dev->read_subdev; in das6402_interrupt() 205 struct comedi_subdevice *s, in das6402_ai_set_mode() 222 struct comedi_subdevice *s) in das6402_ai_cmd() 247 struct comedi_subdevice *s, in das6402_ai_check_chanlist() 288 struct comedi_subdevice *s, in das6402_ai_cmdtest() 351 struct comedi_subdevice *s) in das6402_ai_cancel() 364 struct comedi_subdevice *s, in das6402_ai_eoc() 377 struct comedi_subdevice *s, in das6402_ai_insn_read() 415 struct comedi_subdevice *s, in das6402_ao_insn_write() [all …]
|
D | dt2811.c | 182 struct comedi_subdevice *s) in dt2811_ai_read_sample() 195 struct comedi_subdevice *s = dev->read_subdev; in dt2811_interrupt() 228 struct comedi_subdevice *s) in dt2811_ai_cancel() 252 struct comedi_subdevice *s) in dt2811_ai_cmd() 390 struct comedi_subdevice *s, in dt2811_ai_cmdtest() 459 struct comedi_subdevice *s, in dt2811_ai_eoc() 472 struct comedi_subdevice *s, in dt2811_ai_insn_read() 495 struct comedi_subdevice *s, in dt2811_ao_insn_write() 515 struct comedi_subdevice *s, in dt2811_di_insn_bits() 525 struct comedi_subdevice *s, in dt2811_do_insn_bits() [all …]
|
D | dt2814.c | 50 struct comedi_subdevice *s, in dt2814_ai_notbusy() 87 struct comedi_subdevice *s, in dt2814_ai_eoc() 100 struct comedi_subdevice *s, in dt2814_ai_insn_read() 146 struct comedi_subdevice *s, struct comedi_cmd *cmd) in dt2814_ai_cmdtest() 202 static int dt2814_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) in dt2814_ai_cmd() 219 struct comedi_subdevice *s) in dt2814_ai_cancel() 243 struct comedi_subdevice *s = dev->read_subdev; in dt2814_interrupt() 305 struct comedi_subdevice *s; in dt2814_attach()
|
D | multiq3.c | 81 struct comedi_subdevice *s, in multiq3_ai_status() 94 struct comedi_subdevice *s, in multiq3_ai_insn_read() 131 struct comedi_subdevice *s, in multiq3_ao_insn_write() 152 struct comedi_subdevice *s, in multiq3_di_insn_bits() 161 struct comedi_subdevice *s, in multiq3_do_insn_bits() 174 struct comedi_subdevice *s, in multiq3_encoder_insn_read() 233 struct comedi_subdevice *s, in multiq3_encoder_insn_config() 253 struct comedi_subdevice *s; in multiq3_attach()
|
D | addi_apci_1032.c | 104 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()
|