ni_gpct
struct ni_gpct *counter = &gpct_dev->counters[i];
static void ni_660x_gpct_write(struct ni_gpct *counter, unsigned int bits,
static unsigned int ni_660x_gpct_read(struct ni_gpct *counter,
struct ni_gpct *counter)
struct ni_gpct *counter)
struct ni_gpct *counter,
struct ni_gpct *counter)
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
static void ni_gpct_write_register(struct ni_gpct *counter, unsigned int bits,
static unsigned int ni_gpct_read_register(struct ni_gpct *counter,
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *gpct = &devpriv->counter_dev->counters[i];
struct ni_gpct *counter = &devpriv->counter_dev->counters[gpct_index];
static int ni_m_set_gate2(struct ni_gpct *counter, unsigned int gate_source)
int ni_tio_set_gate_src_raw(struct ni_gpct *counter,
int ni_tio_set_gate_src(struct ni_gpct *counter,
static int ni_tio_set_other_src(struct ni_gpct *counter, unsigned int index,
static int ni_tio_get_other_src(struct ni_gpct *counter, unsigned int index,
static inline unsigned int ni_tio_get_gate_mode(struct ni_gpct *counter)
static inline unsigned int ni_tio_get_gate2_mode(struct ni_gpct *counter)
static inline unsigned int ni_tio_get_gate_val(struct ni_gpct *counter)
static inline unsigned int ni_tio_get_gate2_val(struct ni_gpct *counter)
static int ni_tio_get_gate_src(struct ni_gpct *counter, unsigned int gate_index,
static int ni_tio_get_gate_src_raw(struct ni_gpct *counter,
struct ni_gpct *counter = s->private;
void ni_tio_write(struct ni_gpct *counter, unsigned int value,
struct ni_gpct *counter = &counter_dev->counters[ctr_index];
struct ni_gpct *counter = &counter_dev->counters[ctr_index];
struct ni_gpct *counter = s->private;
unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register reg)
struct ni_gpct *counter = s->private;
static unsigned int ni_tio_next_load_register(struct ni_gpct *counter)
struct ni_gpct *counter = s->private;
static void ni_tio_reset_count_and_disarm(struct ni_gpct *counter)
void ni_tio_init_counter(struct ni_gpct *counter)
void (*write)(struct ni_gpct *counter,
unsigned int (*read)(struct ni_gpct *counter,
static int ni_tio_clock_period_ps(const struct ni_gpct *counter,
struct ni_gpct *counter;
static void ni_tio_set_bits_transient(struct ni_gpct *counter,
void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg,
unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter,
static unsigned int ni_tio_clock_src_modifiers(const struct ni_gpct *counter)
static int ni_m_series_clock_src_select(const struct ni_gpct *counter,
static int ni_660x_clock_src_select(const struct ni_gpct *counter,
static int ni_tio_generic_clock_src_select(const struct ni_gpct *counter,
static void ni_tio_set_sync_mode(struct ni_gpct *counter)
static int ni_tio_set_counter_mode(struct ni_gpct *counter, unsigned int mode)
int ni_tio_arm(struct ni_gpct *counter, bool arm, unsigned int start_trigger)
static void ni_tio_set_source_subselect(struct ni_gpct *counter,
static int ni_tio_set_clock_src(struct ni_gpct *counter,
static int ni_tio_get_clock_src(struct ni_gpct *counter,
static inline void ni_tio_set_gate_raw(struct ni_gpct *counter,
static inline void ni_tio_set_gate2_raw(struct ni_gpct *counter,
static inline void ni_tio_set_gate_mode(struct ni_gpct *counter,
static inline void ni_tio_set_gate2_mode(struct ni_gpct *counter,
static int ni_660x_set_gate(struct ni_gpct *counter, unsigned int gate_source)
static int ni_m_set_gate(struct ni_gpct *counter, unsigned int gate_source)
static int ni_660x_set_gate2(struct ni_gpct *counter, unsigned int gate_source)
void (*write)(struct ni_gpct *counter, unsigned int value,
unsigned int (*read)(struct ni_gpct *counter, enum ni_gpct_register);
struct ni_gpct *counters;
void (*write)(struct ni_gpct *counter,
unsigned int (*read)(struct ni_gpct *counter,
void ni_tio_init_counter(struct ni_gpct *counter);
int ni_tio_cancel(struct ni_gpct *counter);
void ni_tio_handle_interrupt(struct ni_gpct *counter,
void ni_tio_set_mite_channel(struct ni_gpct *counter,
void ni_tio_acknowledge(struct ni_gpct *counter);
void ni_tio_write(struct ni_gpct *counter, unsigned int value,
unsigned int ni_tio_read(struct ni_gpct *counter, enum ni_gpct_register);
void ni_tio_set_bits(struct ni_gpct *counter, enum ni_gpct_register reg,
unsigned int ni_tio_get_soft_copy(const struct ni_gpct *counter,
int ni_tio_arm(struct ni_gpct *counter, bool arm, unsigned int start_trigger);
int ni_tio_set_gate_src(struct ni_gpct *counter, unsigned int gate,
int ni_tio_set_gate_src_raw(struct ni_gpct *counter, unsigned int gate,
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
struct ni_gpct *counter = s->private;
int ni_tio_cancel(struct ni_gpct *counter)
static int should_ack_gate(struct ni_gpct *counter)
static void ni_tio_configure_dma(struct ni_gpct *counter,
static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter,
void ni_tio_acknowledge(struct ni_gpct *counter)
void ni_tio_handle_interrupt(struct ni_gpct *counter,
void ni_tio_set_mite_channel(struct ni_gpct *counter,
struct ni_gpct *counter = s->private;