Searched refs:synapse (Results 1 – 12 of 12) sorted by relevance
/drivers/counter/ |
D | counter-sysfs.c | 244 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 …]
|
D | microchip-tcb-capture.c | 166 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()
|
D | stm32-lptimer-cnt.c | 276 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()
|
D | rz-mtu3-cnt.c | 627 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()
|
D | ti-eqep.c | 179 struct counter_synapse *synapse, in ti_eqep_action_read() argument 202 switch (synapse->signal->id) { in ti_eqep_action_read() 218 switch (synapse->signal->id) { in ti_eqep_action_read()
|
D | stm32-timer-cnt.c | 233 struct counter_synapse *synapse, in stm32_action_read() argument 250 if (synapse->signal->id == count->synapses[0].signal->id) in stm32_action_read() 257 if (synapse->signal->id == count->synapses[1].signal->id) in stm32_action_read()
|
D | 104-quad-8.c | 441 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()
|
D | i8254.c | 98 struct counter_synapse *const synapse, in i8254_action_read() argument 103 switch (synapse->signal->id % I8254_SYNAPSES_PER_COUNT) { in i8254_action_read()
|
D | ti-ecap-capture.c | 200 struct counter_synapse *synapse, in ecap_cnt_action_read() argument 203 *action = (synapse->signal->id == ECAP_CLOCK_SIG) ? in ecap_cnt_action_read()
|
D | interrupt-cnt.c | 79 struct counter_synapse *synapse, in interrupt_cnt_action_read() argument
|
D | ftm-quaddec.c | 201 struct counter_synapse *synapse, in ftm_quaddec_action_read() argument
|
D | intel-qep.c | 139 struct counter_synapse *synapse, in intel_qep_action_read() argument
|