drivers/counter/104-quad-8.c
1001
static int quad8_signal_fck_prescaler_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
1026
static int quad8_signal_fck_prescaler_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
1193
struct counter_device *counter = private;
drivers/counter/104-quad-8.c
1285
struct counter_device *counter;
drivers/counter/104-quad-8.c
215
static int quad8_signal_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
235
static int quad8_count_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
283
static int quad8_count_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
345
static int quad8_function_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
362
static int quad8_function_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
410
static int quad8_direction_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
439
static int quad8_action_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
504
static int quad8_events_configure(struct counter_device *counter)
drivers/counter/104-quad-8.c
557
static int quad8_watch_validate(struct counter_device *counter,
drivers/counter/104-quad-8.c
596
static int quad8_index_polarity_get(struct counter_device *counter,
drivers/counter/104-quad-8.c
608
static int quad8_index_polarity_set(struct counter_device *counter,
drivers/counter/104-quad-8.c
627
static int quad8_polarity_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
644
static int quad8_polarity_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
659
static int quad8_synchronous_mode_get(struct counter_device *counter,
drivers/counter/104-quad-8.c
671
static int quad8_synchronous_mode_set(struct counter_device *counter,
drivers/counter/104-quad-8.c
699
static int quad8_count_floor_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
708
static int quad8_count_mode_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
732
static int quad8_count_mode_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
769
static int quad8_count_enable_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
779
static int quad8_count_enable_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
800
static int quad8_error_noise_get(struct counter_device *counter,
drivers/counter/104-quad-8.c
815
static int quad8_count_preset_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
825
static int quad8_count_preset_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
845
static int quad8_count_ceiling_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
869
static int quad8_count_ceiling_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
898
static int quad8_count_preset_enable_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
910
static int quad8_count_preset_enable_write(struct counter_device *counter,
drivers/counter/104-quad-8.c
929
static int quad8_signal_cable_fault_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
962
static int quad8_signal_cable_fault_enable_read(struct counter_device *counter,
drivers/counter/104-quad-8.c
974
static int quad8_signal_cable_fault_enable_write(struct counter_device *counter,
drivers/counter/counter-chrdev.c
106
struct counter_device *const counter = filp->private_data;
drivers/counter/counter-chrdev.c
138
static int counter_set_event_node(struct counter_device *const counter,
drivers/counter/counter-chrdev.c
195
static int counter_enable_events(struct counter_device *const counter)
drivers/counter/counter-chrdev.c
216
static int counter_disable_events(struct counter_device *const counter)
drivers/counter/counter-chrdev.c
264
static int counter_add_watch(struct counter_device *const counter,
drivers/counter/counter-chrdev.c
385
struct counter_device *const counter = filp->private_data;
drivers/counter/counter-chrdev.c
416
struct counter_device *const counter = container_of(inode->i_cdev,
drivers/counter/counter-chrdev.c
428
struct counter_device *const counter = filp->private_data;
drivers/counter/counter-chrdev.c
464
int counter_chrdev_add(struct counter_device *const counter)
drivers/counter/counter-chrdev.c
482
void counter_chrdev_remove(struct counter_device *const counter)
drivers/counter/counter-chrdev.c
487
static int counter_get_array_data(struct counter_device *const counter,
drivers/counter/counter-chrdev.c
523
static int counter_get_data(struct counter_device *const counter,
drivers/counter/counter-chrdev.c
634
void counter_push_event(struct counter_device *const counter, const u8 event,
drivers/counter/counter-chrdev.c
68
struct counter_device *const counter = filp->private_data;
drivers/counter/counter-chrdev.h
11
int counter_chrdev_add(struct counter_device *const counter);
drivers/counter/counter-chrdev.h
12
void counter_chrdev_remove(struct counter_device *const counter);
drivers/counter/counter-core.c
139
void counter_put(struct counter_device *counter)
drivers/counter/counter-core.c
153
int counter_add(struct counter_device *counter)
drivers/counter/counter-core.c
178
void counter_unregister(struct counter_device *const counter)
drivers/counter/counter-core.c
212
struct counter_device *devm_counter_alloc(struct device *dev, size_t sizeof_priv)
drivers/counter/counter-core.c
214
struct counter_device *counter;
drivers/counter/counter-core.c
238
struct counter_device *const counter)
drivers/counter/counter-core.c
31
struct counter_device counter;
drivers/counter/counter-core.c
43
struct counter_device *const counter =
drivers/counter/counter-core.c
44
container_of(dev, struct counter_device, dev);
drivers/counter/counter-core.c
70
void *counter_priv(const struct counter_device *const counter)
drivers/counter/counter-core.c
88
struct counter_device *counter_alloc(size_t sizeof_priv)
drivers/counter/counter-core.c
91
struct counter_device *counter;
drivers/counter/counter-sysfs.c
1006
static int counter_num_signals_read(struct counter_device *counter, u8 *val)
drivers/counter/counter-sysfs.c
1012
static int counter_num_counts_read(struct counter_device *counter, u8 *val)
drivers/counter/counter-sysfs.c
1018
static int counter_events_queue_size_read(struct counter_device *counter,
drivers/counter/counter-sysfs.c
1025
static int counter_events_queue_size_write(struct counter_device *counter,
drivers/counter/counter-sysfs.c
1059
static int counter_sysfs_attr_add(struct counter_device *const counter,
drivers/counter/counter-sysfs.c
109
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
1118
int counter_sysfs_add(struct counter_device *const counter)
drivers/counter/counter-sysfs.c
141
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
177
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
22
static inline struct counter_device *counter_from_dev(struct device *dev)
drivers/counter/counter-sysfs.c
24
return container_of(dev, struct counter_device, dev);
drivers/counter/counter-sysfs.c
242
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
306
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
334
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
366
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
388
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
416
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
448
struct counter_device *const counter = counter_from_dev(dev);
drivers/counter/counter-sysfs.c
840
static int counter_signal_attrs_create(struct counter_device *const counter,
drivers/counter/counter-sysfs.c
866
static int counter_sysfs_signals_add(struct counter_device *const counter,
drivers/counter/counter-sysfs.c
890
static int counter_sysfs_synapses_add(struct counter_device *const counter,
drivers/counter/counter-sysfs.c
940
static int counter_count_attrs_create(struct counter_device *const counter,
drivers/counter/counter-sysfs.c
975
static int counter_sysfs_counts_add(struct counter_device *const counter,
drivers/counter/counter-sysfs.h
11
int counter_sysfs_add(struct counter_device *const counter);
drivers/counter/ftm-quaddec.c
117
static int ftm_quaddec_get_prescaler(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
130
static int ftm_quaddec_set_prescaler(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
160
static int ftm_quaddec_count_read(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
174
static int ftm_quaddec_count_write(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
190
static int ftm_quaddec_count_function_read(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
199
static int ftm_quaddec_action_read(struct counter_device *counter,
drivers/counter/ftm-quaddec.c
261
struct counter_device *counter;
drivers/counter/i8254.c
125
static int i8254_count_ceiling_read(struct counter_device *const counter,
drivers/counter/i8254.c
156
static int i8254_count_mode_read(struct counter_device *const counter,
drivers/counter/i8254.c
187
static int i8254_count_mode_write(struct counter_device *const counter,
drivers/counter/i8254.c
232
static int i8254_count_floor_read(struct counter_device *const counter,
drivers/counter/i8254.c
258
static int i8254_count_preset_read(struct counter_device *const counter,
drivers/counter/i8254.c
268
static int i8254_count_preset_write(struct counter_device *const counter,
drivers/counter/i8254.c
406
struct counter_device *counter;
drivers/counter/i8254.c
57
static int i8254_count_read(struct counter_device *const counter, struct counter_count *const count,
drivers/counter/i8254.c
84
static int i8254_function_read(struct counter_device *const counter,
drivers/counter/i8254.c
96
static int i8254_action_read(struct counter_device *const counter,
drivers/counter/intel-qep.c
108
static int intel_qep_count_read(struct counter_device *counter,
drivers/counter/intel-qep.c
124
static int intel_qep_function_read(struct counter_device *counter,
drivers/counter/intel-qep.c
137
static int intel_qep_action_read(struct counter_device *counter,
drivers/counter/intel-qep.c
175
static int intel_qep_ceiling_read(struct counter_device *counter,
drivers/counter/intel-qep.c
187
static int intel_qep_ceiling_write(struct counter_device *counter,
drivers/counter/intel-qep.c
212
static int intel_qep_enable_read(struct counter_device *counter,
drivers/counter/intel-qep.c
222
static int intel_qep_enable_write(struct counter_device *counter,
drivers/counter/intel-qep.c
254
static int intel_qep_spike_filter_ns_read(struct counter_device *counter,
drivers/counter/intel-qep.c
275
static int intel_qep_spike_filter_ns_write(struct counter_device *counter,
drivers/counter/intel-qep.c
324
static int intel_qep_preset_enable_read(struct counter_device *counter,
drivers/counter/intel-qep.c
340
static int intel_qep_preset_enable_write(struct counter_device *counter,
drivers/counter/intel-qep.c
394
struct counter_device *counter;
drivers/counter/interrupt-cnt.c
104
static int interrupt_cnt_write(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
121
static int interrupt_cnt_function_read(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
130
static int interrupt_cnt_signal_read(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
149
static int interrupt_cnt_watch_validate(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
171
struct counter_device *counter;
drivers/counter/interrupt-cnt.c
32
struct counter_device *counter = dev_id;
drivers/counter/interrupt-cnt.c
42
static int interrupt_cnt_enable_read(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
54
static int interrupt_cnt_enable_write(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
84
static int interrupt_cnt_action_read(struct counter_device *counter,
drivers/counter/interrupt-cnt.c
94
static int interrupt_cnt_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
150
static int mchp_tc_count_signal_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
170
static int mchp_tc_count_action_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
209
static int mchp_tc_count_action_write(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
244
static int mchp_tc_count_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
256
static int mchp_tc_count_cap_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
282
static int mchp_tc_count_cap_write(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
305
static int mchp_tc_count_compare_read(struct counter_device *counter, struct counter_count *count,
drivers/counter/microchip-tcb-capture.c
321
static int mchp_tc_count_compare_write(struct counter_device *counter, struct counter_count *count,
drivers/counter/microchip-tcb-capture.c
340
static int mchp_tc_watch_validate(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
414
struct counter_device *const counter = dev_id;
drivers/counter/microchip-tcb-capture.c
451
static int mchp_tc_irq_enable(struct counter_device *const counter, int irq)
drivers/counter/microchip-tcb-capture.c
481
struct counter_device *counter;
drivers/counter/microchip-tcb-capture.c
74
static int mchp_tc_count_function_read(struct counter_device *counter,
drivers/counter/microchip-tcb-capture.c
88
static int mchp_tc_count_function_write(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
105
static bool rz_mtu3_is_counter_invalid(struct counter_device *counter, int id)
drivers/counter/rz-mtu3-cnt.c
123
static int rz_mtu3_lock_if_counter_is_valid(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
157
static int rz_mtu3_count_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
179
static int rz_mtu3_count_write(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
202
struct counter_device *const counter,
drivers/counter/rz-mtu3-cnt.c
231
static int rz_mtu3_count_function_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
249
static int rz_mtu3_count_function_write(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
290
static int rz_mtu3_count_direction_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
314
static int rz_mtu3_count_ceiling_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
345
static int rz_mtu3_count_ceiling_write(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
393
static void rz_mtu3_32bit_cnt_setting(struct counter_device *counter)
drivers/counter/rz-mtu3-cnt.c
408
static void rz_mtu3_16bit_cnt_setting(struct counter_device *counter, int id)
drivers/counter/rz-mtu3-cnt.c
420
static int rz_mtu3_initialize_counter(struct counter_device *counter, int id)
drivers/counter/rz-mtu3-cnt.c
455
static void rz_mtu3_terminate_counter(struct counter_device *counter, int id)
drivers/counter/rz-mtu3-cnt.c
472
static int rz_mtu3_count_enable_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
495
static int rz_mtu3_count_enable_write(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
535
static int rz_mtu3_cascade_counts_enable_get(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
555
static int rz_mtu3_cascade_counts_enable_set(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
574
static int rz_mtu3_ext_input_phase_clock_select_get(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
594
static int rz_mtu3_ext_input_phase_clock_select_set(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
628
static int rz_mtu3_action_read(struct counter_device *counter,
drivers/counter/rz-mtu3-cnt.c
841
struct counter_device *counter;
drivers/counter/rz-mtu3-cnt.c
97
static inline struct rz_mtu3_channel *rz_mtu3_get_ch(struct counter_device *counter, int id)
drivers/counter/stm32-lptimer-cnt.c
146
static int stm32_lptim_cnt_read(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
162
static int stm32_lptim_cnt_function_read(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
181
static int stm32_lptim_cnt_function_write(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
204
static int stm32_lptim_cnt_enable_read(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
220
static int stm32_lptim_cnt_enable_write(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
245
static int stm32_lptim_cnt_ceiling_read(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
256
static int stm32_lptim_cnt_ceiling_write(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
280
static int stm32_lptim_cnt_action_read(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
324
static int stm32_lptim_cnt_action_write(struct counter_device *counter,
drivers/counter/stm32-lptimer-cnt.c
419
struct counter_device *counter;
drivers/counter/stm32-timer-cnt.c
111
static int stm32_count_function_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
157
static int stm32_count_direction_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
171
static int stm32_count_ceiling_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
184
static int stm32_count_ceiling_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
199
static int stm32_count_enable_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
212
static int stm32_count_enable_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
244
static int stm32_count_prescaler_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
257
static int stm32_count_prescaler_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
271
static int stm32_count_cap_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
305
static int stm32_count_nb_ovf_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
318
static int stm32_count_nb_ovf_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
353
static int stm32_action_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
417
static int stm32_count_capture_configure(struct counter_device *counter, unsigned int ch,
drivers/counter/stm32-timer-cnt.c
455
static int stm32_count_events_configure(struct counter_device *counter)
drivers/counter/stm32-timer-cnt.c
497
static int stm32_count_watch_validate(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
530
static int stm32_count_clk_get_freq(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
59
static int stm32_count_read(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
619
struct counter_device *counter = ptr;
drivers/counter/stm32-timer-cnt.c
71
static int stm32_count_write(struct counter_device *counter,
drivers/counter/stm32-timer-cnt.c
723
struct counter_device *counter;
drivers/counter/stm32-timer-cnt.c
84
static int stm32_count_function_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
100
static u8 ecap_cnt_capture_get_evmode(struct counter_device *counter)
drivers/counter/ti-ecap-capture.c
112
static void ecap_cnt_capture_set_evmode(struct counter_device *counter, u8 ev_mode)
drivers/counter/ti-ecap-capture.c
121
static void ecap_cnt_capture_enable(struct counter_device *counter)
drivers/counter/ti-ecap-capture.c
136
static void ecap_cnt_capture_disable(struct counter_device *counter)
drivers/counter/ti-ecap-capture.c
149
static u32 ecap_cnt_count_get_val(struct counter_device *counter, unsigned int reg)
drivers/counter/ti-ecap-capture.c
161
static void ecap_cnt_count_set_val(struct counter_device *counter, unsigned int reg, u32 val)
drivers/counter/ti-ecap-capture.c
170
static int ecap_cnt_count_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
178
static int ecap_cnt_count_write(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
189
static int ecap_cnt_function_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
198
static int ecap_cnt_action_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
210
static int ecap_cnt_watch_validate(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
225
static int ecap_cnt_clk_get_freq(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
235
static int ecap_cnt_pol_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
251
static int ecap_cnt_pol_write(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
267
static int ecap_cnt_cap_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
276
static int ecap_cnt_cap_write(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
288
static int ecap_cnt_nb_ovf_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
298
static int ecap_cnt_nb_ovf_write(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
311
static int ecap_cnt_ceiling_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
319
static int ecap_cnt_enable_read(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
329
static int ecap_cnt_enable_write(struct counter_device *counter,
drivers/counter/ti-ecap-capture.c
438
struct counter_device *counter_dev = dev_id;
drivers/counter/ti-ecap-capture.c
472
struct counter_device *counter_dev;
drivers/counter/ti-ecap-capture.c
534
struct counter_device *counter_dev = platform_get_drvdata(pdev);
drivers/counter/ti-ecap-capture.c
543
struct counter_device *counter_dev = dev_get_drvdata(dev);
drivers/counter/ti-ecap-capture.c
567
struct counter_device *counter_dev = dev_get_drvdata(dev);
drivers/counter/ti-eqep.c
138
static int ti_eqep_count_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
150
static int ti_eqep_count_write(struct counter_device *counter,
drivers/counter/ti-eqep.c
163
static int ti_eqep_function_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
190
static int ti_eqep_function_write(struct counter_device *counter,
drivers/counter/ti-eqep.c
219
static int ti_eqep_action_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
284
static int ti_eqep_events_configure(struct counter_device *counter)
drivers/counter/ti-eqep.c
307
static int ti_eqep_watch_validate(struct counter_device *counter,
drivers/counter/ti-eqep.c
333
static int ti_eqep_position_ceiling_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
347
static int ti_eqep_position_ceiling_write(struct counter_device *counter,
drivers/counter/ti-eqep.c
361
static int ti_eqep_position_enable_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
374
static int ti_eqep_position_enable_write(struct counter_device *counter,
drivers/counter/ti-eqep.c
384
static int ti_eqep_direction_read(struct counter_device *counter,
drivers/counter/ti-eqep.c
459
struct counter_device *counter = dev_id;
drivers/counter/ti-eqep.c
498
struct counter_device *counter;
drivers/counter/ti-eqep.c
566
struct counter_device *counter = platform_get_drvdata(pdev);
include/linux/counter.h
158
int (*action_read)(struct counter_device *counter,
include/linux/counter.h
162
int (*device_u8_read)(struct counter_device *counter, u8 *val);
include/linux/counter.h
163
int (*count_u8_read)(struct counter_device *counter,
include/linux/counter.h
165
int (*signal_u8_read)(struct counter_device *counter,
include/linux/counter.h
167
int (*device_u32_read)(struct counter_device *counter,
include/linux/counter.h
169
int (*count_u32_read)(struct counter_device *counter,
include/linux/counter.h
171
int (*signal_u32_read)(struct counter_device *counter,
include/linux/counter.h
173
int (*device_u64_read)(struct counter_device *counter,
include/linux/counter.h
175
int (*count_u64_read)(struct counter_device *counter,
include/linux/counter.h
177
int (*signal_u64_read)(struct counter_device *counter,
include/linux/counter.h
179
int (*signal_array_u32_read)(struct counter_device *counter,
include/linux/counter.h
182
int (*device_array_u64_read)(struct counter_device *counter,
include/linux/counter.h
184
int (*count_array_u64_read)(struct counter_device *counter,
include/linux/counter.h
187
int (*signal_array_u64_read)(struct counter_device *counter,
include/linux/counter.h
192
int (*action_write)(struct counter_device *counter,
include/linux/counter.h
196
int (*device_u8_write)(struct counter_device *counter, u8 val);
include/linux/counter.h
197
int (*count_u8_write)(struct counter_device *counter,
include/linux/counter.h
199
int (*signal_u8_write)(struct counter_device *counter,
include/linux/counter.h
20
struct counter_device;
include/linux/counter.h
201
int (*device_u32_write)(struct counter_device *counter,
include/linux/counter.h
203
int (*count_u32_write)(struct counter_device *counter,
include/linux/counter.h
205
int (*signal_u32_write)(struct counter_device *counter,
include/linux/counter.h
207
int (*device_u64_write)(struct counter_device *counter,
include/linux/counter.h
209
int (*count_u64_write)(struct counter_device *counter,
include/linux/counter.h
211
int (*signal_u64_write)(struct counter_device *counter,
include/linux/counter.h
213
int (*signal_array_u32_write)(struct counter_device *counter,
include/linux/counter.h
216
int (*device_array_u64_write)(struct counter_device *counter,
include/linux/counter.h
218
int (*count_array_u64_write)(struct counter_device *counter,
include/linux/counter.h
221
int (*signal_array_u64_write)(struct counter_device *counter,
include/linux/counter.h
326
int (*signal_read)(struct counter_device *counter,
include/linux/counter.h
329
int (*count_read)(struct counter_device *counter,
include/linux/counter.h
331
int (*count_write)(struct counter_device *counter,
include/linux/counter.h
333
int (*function_read)(struct counter_device *counter,
include/linux/counter.h
336
int (*function_write)(struct counter_device *counter,
include/linux/counter.h
339
int (*action_read)(struct counter_device *counter,
include/linux/counter.h
343
int (*action_write)(struct counter_device *counter,
include/linux/counter.h
347
int (*events_configure)(struct counter_device *counter);
include/linux/counter.h
348
int (*watch_validate)(struct counter_device *counter,
include/linux/counter.h
402
void *counter_priv(const struct counter_device *const counter) __attribute_const__;
include/linux/counter.h
404
struct counter_device *counter_alloc(size_t sizeof_priv);
include/linux/counter.h
405
void counter_put(struct counter_device *const counter);
include/linux/counter.h
406
int counter_add(struct counter_device *const counter);
include/linux/counter.h
408
void counter_unregister(struct counter_device *const counter);
include/linux/counter.h
409
struct counter_device *devm_counter_alloc(struct device *dev,
include/linux/counter.h
412
struct counter_device *const counter);
include/linux/counter.h
413
void counter_push_event(struct counter_device *const counter, const u8 event,