Lines Matching refs:counter_device
22 static inline struct counter_device *counter_from_dev(struct device *dev) in counter_from_dev()
24 return container_of(dev, struct counter_device, dev); in counter_from_dev()
109 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u8_show()
141 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u8_store()
177 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u32_show()
242 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u32_store()
306 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u64_show()
334 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_u64_store()
366 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u32_show()
388 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u32_store()
416 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u64_show()
448 struct counter_device *const counter = counter_from_dev(dev); in counter_comp_array_u64_store()
840 static int counter_signal_attrs_create(struct counter_device *const counter, in counter_signal_attrs_create()
866 static int counter_sysfs_signals_add(struct counter_device *const counter, in counter_sysfs_signals_add()
890 static int counter_sysfs_synapses_add(struct counter_device *const counter, in counter_sysfs_synapses_add()
940 static int counter_count_attrs_create(struct counter_device *const counter, in counter_count_attrs_create()
975 static int counter_sysfs_counts_add(struct counter_device *const counter, in counter_sysfs_counts_add()
1006 static int counter_num_signals_read(struct counter_device *counter, u8 *val) in counter_num_signals_read()
1012 static int counter_num_counts_read(struct counter_device *counter, u8 *val) in counter_num_counts_read()
1018 static int counter_events_queue_size_read(struct counter_device *counter, in counter_events_queue_size_read()
1025 static int counter_events_queue_size_write(struct counter_device *counter, in counter_events_queue_size_write()
1059 static int counter_sysfs_attr_add(struct counter_device *const counter, in counter_sysfs_attr_add()
1118 int counter_sysfs_add(struct counter_device *const counter) in counter_sysfs_add()