Searched refs:ni_gpct (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/comedi/drivers/ |
D | ni_tio.h | 93 struct ni_gpct { struct 104 void (*write)(struct ni_gpct *counter, unsigned int value, argument 106 unsigned int (*read)(struct ni_gpct *counter, enum ni_gpct_register); 108 struct ni_gpct *counters; 118 void (*write)(struct ni_gpct *counter, 121 unsigned int (*read)(struct ni_gpct *counter, 128 void ni_tio_init_counter(struct ni_gpct *counter); 138 int ni_tio_cancel(struct ni_gpct *counter); 139 void ni_tio_handle_interrupt(struct ni_gpct *counter, 141 void ni_tio_set_mite_channel(struct ni_gpct *counter, [all …]
|
D | ni_tio.c | 149 void ni_tio_write(struct ni_gpct *counter, unsigned int value, in ni_tio_write() 162 unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register reg) in ni_tio_read() 170 static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter) in ni_tio_reset_count_and_disarm() 177 static int ni_tio_clock_period_ps(const struct ni_gpct *counter, in ni_tio_clock_period_ps() 221 static void ni_tio_set_bits_transient(struct ni_gpct *counter, in ni_tio_set_bits_transient() 252 void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg, in ni_tio_set_bits() 268 unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter, in ni_tio_get_soft_copy() 285 static unsigned int ni_tio_clock_src_modifiers(const struct ni_gpct *counter) in ni_tio_clock_src_modifiers() 303 static int ni_m_series_clock_src_select(const struct ni_gpct *counter, in ni_m_series_clock_src_select() 370 static int ni_660x_clock_src_select(const struct ni_gpct *counter, in ni_660x_clock_src_select() [all …]
|
D | ni_tiocmd.c | 38 static void ni_tio_configure_dma(struct ni_gpct *counter, in ni_tio_configure_dma() 78 struct ni_gpct *counter = s->private; in ni_tio_input_inttrig() 102 struct ni_gpct *counter = s->private; in ni_tio_input_cmd() 153 struct ni_gpct *counter = s->private; in ni_tio_output_cmd() 163 struct ni_gpct *counter = s->private; in ni_tio_cmd_setup() 206 struct ni_gpct *counter = s->private; in ni_tio_cmd() 237 struct ni_gpct *counter = s->private; in ni_tio_cmdtest() 332 int ni_tio_cancel(struct ni_gpct *counter) in ni_tio_cancel() 350 static int should_ack_gate(struct ni_gpct *counter) in should_ack_gate() 384 static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, in ni_tio_acknowledge_and_confirm() [all …]
|
D | ni_tio_internal.h | 154 void ni_tio_write(struct ni_gpct *counter, unsigned int value, 156 unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register); 165 void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg, 167 unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter, 170 int ni_tio_arm(struct ni_gpct *counter, bool arm, unsigned int start_trigger); 171 int ni_tio_set_gate_src(struct ni_gpct *counter, unsigned int gate, 173 int ni_tio_set_gate_src_raw(struct ni_gpct *counter, unsigned int gate,
|
D | ni_660x.c | 293 static void ni_660x_gpct_write(struct ni_gpct *counter, unsigned int bits, in ni_660x_gpct_write() 301 static unsigned int ni_660x_gpct_read(struct ni_gpct *counter, in ni_660x_gpct_read() 311 struct ni_gpct *counter) in ni_660x_set_dma_channel() 326 struct ni_gpct *counter) in ni_660x_unset_dma_channel() 337 struct ni_gpct *counter, in ni_660x_request_mite_channel() 362 struct ni_gpct *counter) in ni_660x_release_mite_channel() 380 struct ni_gpct *counter = s->private; in ni_660x_cmd() 396 struct ni_gpct *counter = s->private; in ni_660x_cancel() 423 struct ni_gpct *counter = s->private; in ni_660x_handle_gpct_interrupt() 457 struct ni_gpct *counter = s->private; in ni_660x_input_poll() [all …]
|
D | ni_mio_common.c | 618 struct ni_gpct *counter = &devpriv->counter_dev->counters[gpct_index]; in ni_request_gpct_mite_channel() 4010 static void ni_gpct_write_register(struct ni_gpct *counter, unsigned int bits, in ni_gpct_write_register() 4056 static unsigned int ni_gpct_read_register(struct ni_gpct *counter, in ni_gpct_read_register() 5860 struct ni_gpct *counter = s->private; in ni_gpct_cmd() 5878 struct ni_gpct *counter = s->private; in ni_gpct_cancel() 6261 struct ni_gpct *gpct = &devpriv->counter_dev->counters[i]; in ni_E_init()
|