Lines Matching refs:comedi_device
153 struct comedi_device *device;
179 int (*insn_read)(struct comedi_device *dev, struct comedi_subdevice *s,
181 int (*insn_write)(struct comedi_device *dev, struct comedi_subdevice *s,
183 int (*insn_bits)(struct comedi_device *dev, struct comedi_subdevice *s,
185 int (*insn_config)(struct comedi_device *dev,
190 int (*do_cmd)(struct comedi_device *dev, struct comedi_subdevice *s);
191 int (*do_cmdtest)(struct comedi_device *dev,
194 int (*poll)(struct comedi_device *dev, struct comedi_subdevice *s);
195 int (*cancel)(struct comedi_device *dev, struct comedi_subdevice *s);
198 int (*buf_change)(struct comedi_device *dev,
201 void (*munge)(struct comedi_device *dev, struct comedi_subdevice *s,
367 int (*inttrig)(struct comedi_device *dev, struct comedi_subdevice *s,
442 int (*attach)(struct comedi_device *dev, struct comedi_devconfig *it);
443 void (*detach)(struct comedi_device *dev);
444 int (*auto_attach)(struct comedi_device *dev, unsigned long context);
540 struct comedi_device { struct
574 int (*open)(struct comedi_device *dev); argument
575 void (*close)(struct comedi_device *dev); argument
576 int (*insn_device_config)(struct comedi_device *dev, argument
578 unsigned int (*get_valid_routes)(struct comedi_device *dev, argument
587 void comedi_event(struct comedi_device *dev, struct comedi_subdevice *s);
589 struct comedi_device *comedi_dev_get_from_minor(unsigned int minor);
590 int comedi_dev_put(struct comedi_device *dev);
954 int comedi_set_hw_dev(struct comedi_device *dev, struct device *hw_dev);
987 int comedi_timeout(struct comedi_device *dev, struct comedi_subdevice *s,
989 int (*cb)(struct comedi_device *dev,
994 unsigned int comedi_handle_events(struct comedi_device *dev,
997 int comedi_dio_insn_config(struct comedi_device *dev,
1013 void *comedi_alloc_devpriv(struct comedi_device *dev, size_t size);
1014 int comedi_alloc_subdevices(struct comedi_device *dev, int num_subdevices);
1017 int comedi_readback_insn_read(struct comedi_device *dev,
1021 int comedi_load_firmware(struct comedi_device *dev, struct device *hw_dev,
1023 int (*cb)(struct comedi_device *dev,
1028 int __comedi_request_region(struct comedi_device *dev,
1030 int comedi_request_region(struct comedi_device *dev,
1032 void comedi_legacy_detach(struct comedi_device *dev);