Lines Matching refs:signal

216 			     struct counter_signal *signal,  in quad8_signal_read()  argument
223 if (signal->id < 16) in quad8_signal_read()
226 ret = regmap_test_bits(priv->map, QUAD8_INDEX_INPUT_LEVELS, BIT(signal->id - 16)); in quad8_signal_read()
448 const size_t signal_a_id = count->synapses[0].signal->id; in quad8_action_read()
455 if (synapse->signal->id >= 16) { in quad8_action_read()
480 if (synapse->signal->id == signal_a_id) in quad8_action_read()
484 if (synapse->signal->id == signal_a_id) { in quad8_action_read()
492 if (synapse->signal->id == signal_a_id) in quad8_action_read()
597 struct counter_signal *signal, in quad8_index_polarity_get() argument
601 const size_t channel_id = signal->id - 16; in quad8_index_polarity_get()
609 struct counter_signal *signal, in quad8_index_polarity_set() argument
613 const size_t channel_id = signal->id - 16; in quad8_index_polarity_set()
628 struct counter_signal *signal, in quad8_polarity_read() argument
634 err = quad8_index_polarity_get(counter, signal, &index_polarity); in quad8_polarity_read()
645 struct counter_signal *signal, in quad8_polarity_write() argument
651 return quad8_index_polarity_set(counter, signal, pol); in quad8_polarity_write()
660 struct counter_signal *signal, in quad8_synchronous_mode_get() argument
664 const size_t channel_id = signal->id - 16; in quad8_synchronous_mode_get()
672 struct counter_signal *signal, in quad8_synchronous_mode_set() argument
676 const size_t channel_id = signal->id - 16; in quad8_synchronous_mode_set()
930 struct counter_signal *signal, in quad8_signal_cable_fault_read() argument
934 const size_t channel_id = signal->id / 2; in quad8_signal_cable_fault_read()
963 struct counter_signal *signal, in quad8_signal_cable_fault_enable_read() argument
967 const size_t channel_id = signal->id / 2; in quad8_signal_cable_fault_enable_read()
975 struct counter_signal *signal, in quad8_signal_cable_fault_enable_write() argument
979 const size_t channel_id = signal->id / 2; in quad8_signal_cable_fault_enable_write()
1002 struct counter_signal *signal, in quad8_signal_fck_prescaler_read() argument
1007 *prescaler = priv->fck_prescaler[signal->id / 2]; in quad8_signal_fck_prescaler_read()
1027 struct counter_signal *signal, in quad8_signal_fck_prescaler_write() argument
1031 const size_t channel_id = signal->id / 2; in quad8_signal_fck_prescaler_write()
1122 .signal = quad8_signals + 2 * (_id) \
1127 .signal = quad8_signals + 2 * (_id) + 1 \
1132 .signal = quad8_signals + 2 * (_id) + 16 \