Home
last modified time | relevance | path

Searched refs:synapse (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/counter/
Dcounter.c540 struct counter_synapse *synapse; member
552 struct counter_synapse *const synapse = component->synapse; in counter_action_show() local
556 err = counter->ops->action_get(counter, count, synapse, &action_index); in counter_action_show()
560 synapse->action = action_index; in counter_action_show()
562 action = synapse->actions_list[action_index]; in counter_action_show()
572 struct counter_synapse *const synapse = component->synapse; in counter_action_store() local
574 const size_t num_actions = synapse->num_actions; in counter_action_store()
582 action = synapse->actions_list[action_index]; in counter_action_store()
590 err = counter->ops->action_set(counter, count, synapse, action_index); in counter_action_store()
594 synapse->action = action_index; in counter_action_store()
[all …]
Dmicrochip-tcb-capture.c177 struct counter_synapse *synapse, in mchp_tc_count_action_get() argument
189 if (synapse->signal->id != 0) { in mchp_tc_count_action_get()
216 struct counter_synapse *synapse, in mchp_tc_count_action_set() argument
223 if (priv->qdec_mode || synapse->signal->id != 0) in mchp_tc_count_action_set()
Dstm32-lptimer-cnt.c307 struct counter_synapse *synapse, in stm32_lptim_cnt_action_get() argument
321 if (synapse->signal->id == count->synapses[0].signal->id) in stm32_lptim_cnt_action_get()
336 struct counter_synapse *synapse, in stm32_lptim_cnt_action_set() argument
352 && synapse->signal->id == count->synapses[0].signal->id) { in stm32_lptim_cnt_action_set()
Dti-eqep.c143 struct counter_synapse *synapse, size_t *action) in ti_eqep_action_get() argument
165 switch (synapse->signal->id) { in ti_eqep_action_get()
179 switch (synapse->signal->id) { in ti_eqep_action_get()
Dstm32-timer-cnt.c277 struct counter_synapse *synapse, in stm32_action_get() argument
294 if (synapse->signal->id == count->synapses[0].signal->id) in stm32_action_get()
301 if (synapse->signal->id == count->synapses[1].signal->id) in stm32_action_get()
D104-quad-8.c845 struct counter_count *count, struct counter_synapse *synapse, in quad8_action_get() argument
855 if (synapse->signal->id >= 16) { in quad8_action_get()
874 if (synapse->signal->id == signal_a_id) in quad8_action_get()
878 if (synapse->signal->id == signal_a_id) { in quad8_action_get()
888 if (synapse->signal->id == signal_a_id) in quad8_action_get()
Dftm-quaddec.c220 struct counter_synapse *synapse, in ftm_quaddec_action_get() argument
/kernel/linux/linux-5.10/include/linux/
Dcounter.h338 struct counter_synapse *synapse, size_t *action);
341 struct counter_synapse *synapse, size_t action);