Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/counter/ !
Dmicrochip-tcb-capture.c166 struct counter_synapse *synapse, in mchp_tc_count_action_read() argument
178 if (synapse->signal->id != 0) { in mchp_tc_count_action_read()
205 struct counter_synapse *synapse, in mchp_tc_count_action_write() argument
212 if (priv->qdec_mode || synapse->signal->id != 0) in mchp_tc_count_action_write()
Dcounter-sysfs.c244 struct counter_synapse *const synapse = a->comp.priv; in counter_comp_u32_store() local
256 err = counter_find_enum(&data, synapse->actions_list, in counter_comp_u32_store()
257 synapse->num_actions, buf, in counter_comp_u32_store()
288 err = a->comp.action_write(counter, count, synapse, in counter_comp_u32_store()
510 const struct counter_synapse *const synapse = a->comp.priv; in counter_comp_available_show() local
519 return enums_available_show(synapse->actions_list, in counter_comp_available_show()
520 synapse->num_actions, in counter_comp_available_show()
899 struct counter_synapse *synapse; in counter_sysfs_synapses_add() local
904 synapse = count->synapses + i; in counter_sysfs_synapses_add()
907 id = synapse->signal - counter->signals; in counter_sysfs_synapses_add()
[all …]
Dstm32-lptimer-cnt.c276 struct counter_synapse *synapse, in stm32_lptim_cnt_action_read() argument
290 if (synapse->signal->id != count->synapses[0].signal->id) { in stm32_lptim_cnt_action_read()
320 struct counter_synapse *synapse, in stm32_lptim_cnt_action_write() argument
336 || synapse->signal->id != count->synapses[0].signal->id) in stm32_lptim_cnt_action_write()
Drz-mtu3-cnt.c627 struct counter_synapse *synapse, in rz_mtu3_action_read() argument
630 const bool is_signal_ab = (synapse->signal->id == SIGNAL_A_ID) || in rz_mtu3_action_read()
631 (synapse->signal->id == SIGNAL_B_ID); in rz_mtu3_action_read()
669 if (synapse->signal->id == SIGNAL_A_ID || in rz_mtu3_action_read()
670 synapse->signal->id == SIGNAL_C_ID) in rz_mtu3_action_read()
678 if (synapse->signal->id == SIGNAL_B_ID || in rz_mtu3_action_read()
679 synapse->signal->id == SIGNAL_D_ID) in rz_mtu3_action_read()
Dstm32-timer-cnt.c349 struct counter_synapse *synapse, in stm32_action_read() argument
362 if (synapse->signal->id == STM32_CLOCK_SIG) in stm32_action_read()
369 if (synapse->signal->id == STM32_CH1_SIG) in stm32_action_read()
376 if (synapse->signal->id == STM32_CH2_SIG) in stm32_action_read()
383 if (synapse->signal->id == STM32_CH1_SIG || synapse->signal->id == STM32_CH2_SIG) in stm32_action_read()
Dti-eqep.c212 struct counter_synapse *synapse, in ti_eqep_action_read() argument
235 switch (synapse->signal->id) { in ti_eqep_action_read()
251 switch (synapse->signal->id) { in ti_eqep_action_read()
Di8254.c98 struct counter_synapse *const synapse, in i8254_action_read() argument
103 switch (synapse->signal->id % I8254_SYNAPSES_PER_COUNT) { in i8254_action_read()
D104-quad-8.c441 struct counter_synapse *synapse, in quad8_action_read() argument
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()
Dti-ecap-capture.c200 struct counter_synapse *synapse, in ecap_cnt_action_read() argument
203 *action = (synapse->signal->id == ECAP_CLOCK_SIG) ? in ecap_cnt_action_read()
Dinterrupt-cnt.c79 struct counter_synapse *synapse, in interrupt_cnt_action_read() argument
Dftm-quaddec.c201 struct counter_synapse *synapse, in ftm_quaddec_action_read() argument
Dintel-qep.c139 struct counter_synapse *synapse, in intel_qep_action_read() argument
/linux-6.12.1/include/linux/ !
Dcounter.h160 struct counter_synapse *synapse,
194 struct counter_synapse *synapse,
341 struct counter_synapse *synapse,
345 struct counter_synapse *synapse,