Searched defs:counter_dev (Results 1 - 5 of 5) sorted by relevance

/drivers/staging/comedi/drivers/
H A Dni_tiocmd.c61 struct ni_gpct_device *counter_dev = counter->counter_dev; local
74 switch (counter_dev->variant) {
126 struct ni_gpct_device *counter_dev = counter->counter_dev; local
133 switch (counter_dev->variant) {
247 if (ni_tio_counting_mode_registers_present(counter->counter_dev))
370 switch (counter->counter_dev->variant) {
422 if (counter->counter_dev->variant !=
481 switch (counter->counter_dev
[all...]
H A Dni_tio.h113 struct ni_gpct_device *counter_dev; member in struct:ni_gpct
149 extern void ni_gpct_device_destroy(struct ni_gpct_device *counter_dev);
H A Dni_tio.c312 struct ni_gpct_device *counter_dev = local
314 if (counter_dev == NULL)
316 counter_dev->dev = dev;
317 counter_dev->write_register = write_register;
318 counter_dev->read_register = read_register;
319 counter_dev->variant = variant;
320 spin_lock_init(&counter_dev->regs_lock);
322 counter_dev->counters =
324 if (counter_dev->counters == NULL) {
325 kfree(counter_dev);
337 ni_gpct_device_destroy(struct ni_gpct_device *counter_dev) argument
346 ni_tio_second_gate_registers_present(const struct ni_gpct_device *counter_dev) argument
372 struct ni_gpct_device *counter_dev = counter->counter_dev; local
441 struct ni_gpct_device *counter_dev = counter->counter_dev; local
479 struct ni_gpct_device *counter_dev = counter->counter_dev; local
546 struct ni_gpct_device *counter_dev = counter->counter_dev; local
720 struct ni_gpct_device *counter_dev = counter->counter_dev; local
750 struct ni_gpct_device *counter_dev = counter->counter_dev; local
809 struct ni_gpct_device *counter_dev = counter->counter_dev; local
830 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1138 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1197 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1225 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1295 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1494 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1630 struct ni_gpct_device *counter_dev = counter->counter_dev; local
1697 struct ni_gpct_device *counter_dev = counter->counter_dev; local
[all...]
H A Dni_tio_internal.h701 counter->counter_dev->write_register(counter, bits, reg);
708 return counter->counter_dev->read_register(counter, reg);
713 *counter_dev)
715 switch (counter_dev->variant) {
736 struct ni_gpct_device *counter_dev = counter->counter_dev; local
740 spin_lock_irqsave(&counter_dev->regs_lock, flags);
741 counter_dev->regs[register_index] &= ~bit_mask;
742 counter_dev->regs[register_index] |= (bit_values & bit_mask);
744 counter_dev
711 ni_tio_counting_mode_registers_present(const struct ni_gpct_device *counter_dev) argument
769 struct ni_gpct_device *counter_dev = counter->counter_dev; local
[all...]
H A Dni_660x.c434 struct ni_gpct_device *counter_dev; member in struct:ni_660x_private
810 struct comedi_device *dev = counter->counter_dev->dev;
819 struct comedi_device *dev = counter->counter_dev->dev;
1119 private(dev)->counter_dev = ni_gpct_device_construct(dev,
1125 if (private(dev)->counter_dev == NULL)
1146 s->private = &private(dev)->counter_dev->counters[i];
1148 private(dev)->counter_dev->counters[i].chip_index =
1150 private(dev)->counter_dev->counters[i].counter_index =
1160 ni_tio_init_counter(&private(dev)->counter_dev->counters[i]);
1200 if (private(dev)->counter_dev)
[all...]

Completed in 169 milliseconds