Searched refs:counter_device (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | counter.h | 27 struct counter_device; 39 ssize_t (*read)(struct counter_device *counter, 41 ssize_t (*write)(struct counter_device *counter, 87 int (*get)(struct counter_device *counter, 89 int (*set)(struct counter_device *counter, 157 ssize_t (*read)(struct counter_device *counter, 159 ssize_t (*write)(struct counter_device *counter, 228 int (*get)(struct counter_device *counter, struct counter_count *count, 230 int (*set)(struct counter_device *counter, struct counter_count *count, 356 int (*signal_read)(struct counter_device *counter, [all …]
|
| D | counter_enum.h | 11 struct counter_device; 15 ssize_t counter_signal_enum_read(struct counter_device *counter, 18 ssize_t counter_signal_enum_write(struct counter_device *counter, 22 ssize_t counter_signal_enum_available_read(struct counter_device *counter, 26 ssize_t counter_count_enum_read(struct counter_device *counter, 29 ssize_t counter_count_enum_write(struct counter_device *counter, 33 ssize_t counter_count_enum_available_read(struct counter_device *counter, 37 ssize_t counter_device_enum_read(struct counter_device *counter, void *priv, 39 ssize_t counter_device_enum_write(struct counter_device *counter, void *priv, 42 ssize_t counter_device_enum_available_read(struct counter_device *counter,
|
| /Linux-v5.4/drivers/counter/ |
| D | stm32-timer-cnt.c | 24 struct counter_device counter; 50 static int stm32_count_read(struct counter_device *counter, in stm32_count_read() 63 static int stm32_count_write(struct counter_device *counter, in stm32_count_write() 81 static int stm32_count_function_get(struct counter_device *counter, in stm32_count_function_get() 105 static int stm32_count_function_set(struct counter_device *counter, in stm32_count_function_set() 147 static ssize_t stm32_count_direction_read(struct counter_device *counter, in stm32_count_direction_read() 161 static ssize_t stm32_count_ceiling_read(struct counter_device *counter, in stm32_count_ceiling_read() 173 static ssize_t stm32_count_ceiling_write(struct counter_device *counter, in stm32_count_ceiling_write() 194 static ssize_t stm32_count_enable_read(struct counter_device *counter, in stm32_count_enable_read() 206 static ssize_t stm32_count_enable_write(struct counter_device *counter, in stm32_count_enable_write() [all …]
|
| D | counter.c | 37 ssize_t counter_signal_enum_read(struct counter_device *counter, in counter_signal_enum_read() 59 ssize_t counter_signal_enum_write(struct counter_device *counter, in counter_signal_enum_write() 82 ssize_t counter_signal_enum_available_read(struct counter_device *counter, in counter_signal_enum_available_read() 100 ssize_t counter_count_enum_read(struct counter_device *counter, in counter_count_enum_read() 122 ssize_t counter_count_enum_write(struct counter_device *counter, in counter_count_enum_write() 145 ssize_t counter_count_enum_available_read(struct counter_device *counter, in counter_count_enum_available_read() 163 ssize_t counter_device_enum_read(struct counter_device *counter, void *priv, in counter_device_enum_read() 184 ssize_t counter_device_enum_write(struct counter_device *counter, void *priv, in counter_device_enum_write() 206 ssize_t counter_device_enum_available_read(struct counter_device *counter, in counter_device_enum_available_read() 375 struct counter_device *const counter = dev_get_drvdata(dev); in counter_signal_show() [all …]
|
| D | 104-quad-8.c | 45 struct counter_device counter; 564 static int quad8_signal_read(struct counter_device *counter, in quad8_signal_read() 585 static int quad8_count_read(struct counter_device *counter, in quad8_count_read() 615 static int quad8_count_write(struct counter_device *counter, in quad8_count_write() 673 static int quad8_function_get(struct counter_device *counter, in quad8_function_get() 699 static int quad8_function_set(struct counter_device *counter, in quad8_function_set() 748 static void quad8_direction_get(struct counter_device *counter, in quad8_direction_get() 781 static int quad8_action_get(struct counter_device *counter, in quad8_action_get() 845 static int quad8_index_polarity_get(struct counter_device *counter, in quad8_index_polarity_get() 856 static int quad8_index_polarity_set(struct counter_device *counter, in quad8_index_polarity_set() [all …]
|
| D | ftm-quaddec.c | 28 struct counter_device counter; 117 static int ftm_quaddec_get_prescaler(struct counter_device *counter, in ftm_quaddec_get_prescaler() 131 static int ftm_quaddec_set_prescaler(struct counter_device *counter, in ftm_quaddec_set_prescaler() 179 static int ftm_quaddec_count_read(struct counter_device *counter, in ftm_quaddec_count_read() 193 static int ftm_quaddec_count_write(struct counter_device *counter, in ftm_quaddec_count_write() 215 static int ftm_quaddec_count_function_get(struct counter_device *counter, in ftm_quaddec_count_function_get() 224 static int ftm_quaddec_action_get(struct counter_device *counter, in ftm_quaddec_action_get()
|
| D | stm32-lptimer-cnt.c | 22 struct counter_device counter; 379 static int stm32_lptim_cnt_read(struct counter_device *counter, in stm32_lptim_cnt_read() 396 static int stm32_lptim_cnt_function_get(struct counter_device *counter, in stm32_lptim_cnt_function_get() 415 static int stm32_lptim_cnt_function_set(struct counter_device *counter, in stm32_lptim_cnt_function_set() 437 static ssize_t stm32_lptim_cnt_enable_read(struct counter_device *counter, in stm32_lptim_cnt_enable_read() 451 static ssize_t stm32_lptim_cnt_enable_write(struct counter_device *counter, in stm32_lptim_cnt_enable_write() 482 static ssize_t stm32_lptim_cnt_ceiling_read(struct counter_device *counter, in stm32_lptim_cnt_ceiling_read() 491 static ssize_t stm32_lptim_cnt_ceiling_write(struct counter_device *counter, in stm32_lptim_cnt_ceiling_write() 514 static int stm32_lptim_cnt_action_get(struct counter_device *counter, in stm32_lptim_cnt_action_get() 543 static int stm32_lptim_cnt_action_set(struct counter_device *counter, in stm32_lptim_cnt_action_set()
|
| /Linux-v5.4/Documentation/driver-api/ |
| D | generic-counter.rst | 263 allocated counter_device structure before the Counter is registered to 271 set to the counts array member of an allocated counter_device structure 274 Driver callbacks should be provided to the counter_device structure via 280 A defined counter_device structure may be registered to the system by
|