/kernel/linux/linux-5.10/include/linux/ |
D | counter.h | 146 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 …]
|
D | counter_enum.h | 13 struct counter_count; 27 struct counter_count *count, void *priv, 30 struct counter_count *count, void *priv, 34 struct counter_count *count,
|
/kernel/linux/linux-5.10/drivers/counter/ |
D | ti-eqep.c | 96 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() 209 struct counter_count *count, in ti_eqep_position_ceiling_read() 221 struct counter_count *count, in ti_eqep_position_ceiling_write() 239 struct counter_count *count, in ti_eqep_position_enable_read() 251 struct counter_count *count, in ti_eqep_position_enable_write() 318 static struct counter_count ti_eqep_counts[] = {
|
D | stm32-lptimer-cnt.c | 158 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() 215 struct counter_count *count, in stm32_lptim_cnt_enable_read() 229 struct counter_count *count, in stm32_lptim_cnt_enable_write() 260 struct counter_count *count, in stm32_lptim_cnt_ceiling_read() 269 struct counter_count *count, in stm32_lptim_cnt_ceiling_write() 306 struct counter_count *count, in stm32_lptim_cnt_action_get() 335 struct counter_count *count, in stm32_lptim_cnt_action_set() 398 static struct counter_count stm32_lptim_enc_counts = { [all …]
|
D | stm32-timer-cnt.c | 61 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 …]
|
D | ftm-quaddec.c | 118 struct counter_count *count, in ftm_quaddec_get_prescaler() 132 struct counter_count *count, in ftm_quaddec_set_prescaler() 180 struct counter_count *count, in ftm_quaddec_count_read() 194 struct counter_count *count, in ftm_quaddec_count_write() 210 struct counter_count *count, in ftm_quaddec_count_function_get() 219 struct counter_count *count, in ftm_quaddec_action_get() 264 static struct counter_count ftm_quaddec_counts = {
|
D | microchip-tcb-capture.c | 83 struct counter_count *count, in mchp_tc_count_function_get() 97 struct counter_count *count, in mchp_tc_count_function_set() 176 struct counter_count *count, in mchp_tc_count_action_get() 215 struct counter_count *count, in mchp_tc_count_action_set() 247 struct counter_count *count, in mchp_tc_count_read() 259 static struct counter_count mchp_tc_counts[] = {
|
D | 104-quad-8.c | 642 struct counter_count *count, unsigned long *val) in quad8_count_read() 673 struct counter_count *count, unsigned long val) in quad8_count_write() 728 struct counter_count *count, size_t *function) in quad8_function_get() 756 struct counter_count *count, size_t function) in quad8_function_set() 812 struct counter_count *count, enum counter_count_direction *direction) in quad8_direction_get() 845 struct counter_count *count, struct counter_synapse *synapse, in quad8_action_get() 995 struct counter_count *count, void *private, char *buf) in quad8_count_floor_read() 1002 struct counter_count *count, size_t *cnt_mode) in quad8_count_mode_get() 1026 struct counter_count *count, size_t cnt_mode) in quad8_count_mode_set() 1075 struct counter_count *count, void *priv, char *buf) in quad8_count_direction_read() [all …]
|
D | counter.c | 101 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 …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | generic-counter.rst | 262 Counter Counts may be allocated via counter_count structures, and 266 respective counter_count structure. These counter_count structures are
|