Home
last modified time | relevance | path

Searched refs:counter_count (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/include/linux/
Dcounter.h146 struct counter_count;
158 struct counter_count *count, void *priv, char *buf);
160 struct counter_count *count, void *priv,
190 struct counter_count { struct
228 int (*get)(struct counter_device *counter, struct counter_count *count,
230 int (*set)(struct counter_device *counter, struct counter_count *count,
329 struct counter_count *count, unsigned long *val);
331 struct counter_count *count, unsigned long val);
333 struct counter_count *count, size_t *function);
335 struct counter_count *count, size_t function);
[all …]
Dcounter_enum.h13 struct counter_count;
27 struct counter_count *count, void *priv,
30 struct counter_count *count, void *priv,
34 struct counter_count *count,
/Linux-v5.15/drivers/counter/
Dti-eqep.c96 struct counter_count *count, unsigned long *val) in ti_eqep_count_read()
108 struct counter_count *count, unsigned long val) in ti_eqep_count_write()
121 struct counter_count *count, size_t *function) in ti_eqep_function_get()
133 struct counter_count *count, size_t function) in ti_eqep_function_set()
142 struct counter_count *count, in ti_eqep_action_get()
214 struct counter_count *count, in ti_eqep_position_ceiling_read()
226 struct counter_count *count, in ti_eqep_position_ceiling_write()
244 struct counter_count *count, in ti_eqep_position_enable_read()
256 struct counter_count *count, in ti_eqep_position_enable_write()
323 static struct counter_count ti_eqep_counts[] = {
Dstm32-lptimer-cnt.c158 struct counter_count *count, unsigned long *val) in stm32_lptim_cnt_read()
174 struct counter_count *count, in stm32_lptim_cnt_function_get()
193 struct counter_count *count, in stm32_lptim_cnt_function_set()
216 struct counter_count *count, in stm32_lptim_cnt_enable_read()
230 struct counter_count *count, in stm32_lptim_cnt_enable_write()
261 struct counter_count *count, in stm32_lptim_cnt_ceiling_read()
270 struct counter_count *count, in stm32_lptim_cnt_ceiling_write()
307 struct counter_count *count, in stm32_lptim_cnt_action_get()
337 struct counter_count *count, in stm32_lptim_cnt_action_set()
400 static struct counter_count stm32_lptim_enc_counts = {
[all …]
Dstm32-timer-cnt.c61 struct counter_count *count, unsigned long *val) in stm32_count_read()
73 struct counter_count *count, in stm32_count_write()
87 struct counter_count *count, in stm32_count_function_get()
114 struct counter_count *count, in stm32_count_function_set()
154 struct counter_count *count, in stm32_count_direction_read()
168 struct counter_count *count, in stm32_count_ceiling_read()
180 struct counter_count *count, in stm32_count_ceiling_write()
203 struct counter_count *count, in stm32_count_enable_read()
215 struct counter_count *count, in stm32_count_enable_write()
276 struct counter_count *count, in stm32_action_get()
[all …]
Dintel-qep.c117 struct counter_count *count, in intel_qep_count_read()
134 struct counter_count *count, in intel_qep_function_get()
147 struct counter_count *count, in intel_qep_action_get()
185 struct counter_count *count, in ceiling_read()
199 struct counter_count *count, in ceiling_write()
227 struct counter_count *count, in enable_read()
236 struct counter_count *count, in enable_write()
274 struct counter_count *count, in spike_filter_ns_read()
293 struct counter_count *count, in spike_filter_ns_write()
347 struct counter_count *count, in preset_enable_read()
[all …]
Dinterrupt-cnt.c24 struct counter_count cnts;
37 struct counter_count *count, in interrupt_cnt_enable_read()
46 struct counter_count *count, in interrupt_cnt_enable_write()
85 struct counter_count *count, in interrupt_cnt_action_get()
95 struct counter_count *count, unsigned long *val) in interrupt_cnt_read()
105 struct counter_count *count, in interrupt_cnt_write()
123 struct counter_count *count, in interrupt_cnt_function_get()
D104-quad-8.c120 struct counter_count *count, unsigned long *val) in quad8_count_read()
151 struct counter_count *count, unsigned long val) in quad8_count_write()
206 struct counter_count *count, size_t *function) in quad8_function_get()
234 struct counter_count *count, size_t function) in quad8_function_set()
294 struct counter_count *count, enum counter_count_direction *direction) in quad8_direction_get()
327 struct counter_count *count, struct counter_synapse *synapse, in quad8_action_get()
488 struct counter_count *count, void *private, char *buf) in quad8_count_floor_read()
495 struct counter_count *count, size_t *cnt_mode) in quad8_count_mode_get()
519 struct counter_count *count, size_t cnt_mode) in quad8_count_mode_set()
571 struct counter_count *count, void *priv, char *buf) in quad8_count_direction_read()
[all …]
Dftm-quaddec.c118 struct counter_count *count, in ftm_quaddec_get_prescaler()
132 struct counter_count *count, in ftm_quaddec_set_prescaler()
179 struct counter_count *count, in ftm_quaddec_count_read()
193 struct counter_count *count, in ftm_quaddec_count_write()
209 struct counter_count *count, in ftm_quaddec_count_function_get()
218 struct counter_count *count, in ftm_quaddec_action_get()
263 static struct counter_count ftm_quaddec_counts = {
Dmicrochip-tcb-capture.c84 struct counter_count *count, in mchp_tc_count_function_get()
98 struct counter_count *count, in mchp_tc_count_function_set()
180 struct counter_count *count, in mchp_tc_count_action_get()
208 struct counter_count *count, in mchp_tc_count_action_set()
243 struct counter_count *count, in mchp_tc_count_read()
255 static struct counter_count mchp_tc_counts[] = {
Dcounter.c101 struct counter_count *count, void *priv, in counter_count_enum_read()
123 struct counter_count *count, void *priv, in counter_count_enum_write()
146 struct counter_count *count, in counter_count_enum_available_read()
541 struct counter_count *count;
551 struct counter_count *const count = component->count; in counter_action_show()
578 struct counter_count *const count = component->count; in counter_action_store()
625 struct counter_count *const count, const char *const count_attr_name) in counter_synapses_register()
704 struct counter_count *count;
714 struct counter_count *const count = component->count; in counter_count_show()
732 struct counter_count *const count = component->count; in counter_count_store()
[all …]
/Linux-v5.15/Documentation/driver-api/
Dgeneric-counter.rst262 Counter Counts may be allocated via counter_count structures, and
266 respective counter_count structure. These counter_count structures are