| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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, 325 int (*signal_read)(struct counter_device *counter, [all …]
|
| H A 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,
|
| /OK3568_Linux_fs/kernel/drivers/counter/ |
| H A 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() 300 struct counter_device *const counter = dev_get_drvdata(dev); in counter_signal_show() [all …]
|
| H A D | ti-eqep.c | 90 struct counter_device counter; 95 static int ti_eqep_count_read(struct counter_device *counter, in ti_eqep_count_read() 107 static int ti_eqep_count_write(struct counter_device *counter, in ti_eqep_count_write() 120 static int ti_eqep_function_get(struct counter_device *counter, in ti_eqep_function_get() 132 static int ti_eqep_function_set(struct counter_device *counter, in ti_eqep_function_set() 141 static int ti_eqep_action_get(struct counter_device *counter, in ti_eqep_action_get() 208 static ssize_t ti_eqep_position_ceiling_read(struct counter_device *counter, in ti_eqep_position_ceiling_read() 220 static ssize_t ti_eqep_position_ceiling_write(struct counter_device *counter, in ti_eqep_position_ceiling_write() 238 static ssize_t ti_eqep_position_enable_read(struct counter_device *counter, in ti_eqep_position_enable_read() 250 static ssize_t ti_eqep_position_enable_write(struct counter_device *counter, in ti_eqep_position_enable_write()
|
| H A D | 104-quad-8.c | 48 struct counter_device counter; 623 static int quad8_signal_read(struct counter_device *counter, in quad8_signal_read() 641 static int quad8_count_read(struct counter_device *counter, in quad8_count_read() 672 static int quad8_count_write(struct counter_device *counter, in quad8_count_write() 727 static int quad8_function_get(struct counter_device *counter, in quad8_function_get() 755 static int quad8_function_set(struct counter_device *counter, in quad8_function_set() 811 static void quad8_direction_get(struct counter_device *counter, in quad8_direction_get() 844 static int quad8_action_get(struct counter_device *counter, in quad8_action_get() 908 static int quad8_index_polarity_get(struct counter_device *counter, in quad8_index_polarity_get() 919 static int quad8_index_polarity_set(struct counter_device *counter, in quad8_index_polarity_set() [all …]
|
| H A D | stm32-timer-cnt.c | 31 struct counter_device counter; 60 static int stm32_count_read(struct counter_device *counter, in stm32_count_read() 72 static int stm32_count_write(struct counter_device *counter, in stm32_count_write() 86 static int stm32_count_function_get(struct counter_device *counter, in stm32_count_function_get() 113 static int stm32_count_function_set(struct counter_device *counter, in stm32_count_function_set() 153 static ssize_t stm32_count_direction_read(struct counter_device *counter, in stm32_count_direction_read() 167 static ssize_t stm32_count_ceiling_read(struct counter_device *counter, in stm32_count_ceiling_read() 179 static ssize_t stm32_count_ceiling_write(struct counter_device *counter, in stm32_count_ceiling_write() 202 static ssize_t stm32_count_enable_read(struct counter_device *counter, in stm32_count_enable_read() 214 static ssize_t stm32_count_enable_write(struct counter_device *counter, in stm32_count_enable_write() [all …]
|
| H A D | stm32-lptimer-cnt.c | 22 struct counter_device counter; 157 static int stm32_lptim_cnt_read(struct counter_device *counter, in stm32_lptim_cnt_read() 173 static int stm32_lptim_cnt_function_get(struct counter_device *counter, in stm32_lptim_cnt_function_get() 192 static int stm32_lptim_cnt_function_set(struct counter_device *counter, in stm32_lptim_cnt_function_set() 214 static ssize_t stm32_lptim_cnt_enable_read(struct counter_device *counter, in stm32_lptim_cnt_enable_read() 228 static ssize_t stm32_lptim_cnt_enable_write(struct counter_device *counter, in stm32_lptim_cnt_enable_write() 259 static ssize_t stm32_lptim_cnt_ceiling_read(struct counter_device *counter, in stm32_lptim_cnt_ceiling_read() 268 static ssize_t stm32_lptim_cnt_ceiling_write(struct counter_device *counter, in stm32_lptim_cnt_ceiling_write() 305 static int stm32_lptim_cnt_action_get(struct counter_device *counter, in stm32_lptim_cnt_action_get() 334 static int stm32_lptim_cnt_action_set(struct counter_device *counter, in stm32_lptim_cnt_action_set()
|
| H A 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() 209 static int ftm_quaddec_count_function_get(struct counter_device *counter, in ftm_quaddec_count_function_get() 218 static int ftm_quaddec_action_get(struct counter_device *counter, in ftm_quaddec_action_get()
|
| H A D | microchip-tcb-capture.c | 27 struct counter_device counter; 82 static int mchp_tc_count_function_get(struct counter_device *counter, in mchp_tc_count_function_get() 96 static int mchp_tc_count_function_set(struct counter_device *counter, in mchp_tc_count_function_set() 155 static int mchp_tc_count_signal_read(struct counter_device *counter, in mchp_tc_count_signal_read() 175 static int mchp_tc_count_action_get(struct counter_device *counter, in mchp_tc_count_action_get() 214 static int mchp_tc_count_action_set(struct counter_device *counter, in mchp_tc_count_action_set() 246 static int mchp_tc_count_read(struct counter_device *counter, in mchp_tc_count_read()
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/ |
| H A D | generic-counter.rst | 259 allocated counter_device structure before the Counter is registered to 267 set to the counts array member of an allocated counter_device structure 270 Driver callbacks should be provided to the counter_device structure via 276 A defined counter_device structure may be registered to the system by
|