Lines Matching +full:write +full:- +full:to +full:- +full:read
1 /* SPDX-License-Identifier: GPL-2.0 */
39 * struct counter_comp - Counter component node
41 * @name: device-specific component name
42 * @priv: component-relevant data
43 * @action_read: Synapse action mode read callback. The read value of the
46 * @device_u8_read: Device u8 component read callback. The read value of the
49 * @count_u8_read: Count u8 component read callback. The read value of the
52 * @signal_u8_read: Signal u8 component read callback. The read value of the
55 * @device_u32_read: Device u32 component read callback. The read value of
58 * @count_u32_read: Count u32 component read callback. The read value of the
61 * @signal_u32_read: Signal u32 component read callback. The read value of
64 * @device_u64_read: Device u64 component read callback. The read value of
67 * @count_u64_read: Count u64 component read callback. The read value of the
70 * @signal_u64_read: Signal u64 component read callback. The read value of
73 * @signal_array_u32_read: Signal u32 array component read callback. The
76 * parameter. The read value of the respective
79 * @device_array_u64_read: Device u64 array component read callback. The
82 * parameter. The read value of the respective
85 * @count_array_u64_read: Count u64 array component read callback. The
88 * parameter. The read value of the respective
91 * @signal_array_u64_read: Signal u64 array component read callback. The
94 * parameter. The read value of the respective
97 * @action_write: Synapse action mode write callback. The write value of
100 * @device_u8_write: Device u8 component write callback. The write value of
103 * @count_u8_write: Count u8 component write callback. The write value of
106 * @signal_u8_write: Signal u8 component write callback. The write value of
109 * @device_u32_write: Device u32 component write callback. The write value of
112 * @count_u32_write: Count u32 component write callback. The write value of
115 * @signal_u32_write: Signal u32 component write callback. The write value of
118 * @device_u64_write: Device u64 component write callback. The write value of
121 * @count_u64_write: Count u64 component write callback. The write value of
124 * @signal_u64_write: Signal u64 component write callback. The write value of
127 * @signal_array_u32_write: Signal u32 array component write callback. The
130 * parameter. The write value of the respective
133 * @device_array_u64_write: Device u64 array component write callback. The
136 * parameter. The write value of the respective
139 * @count_array_u64_write: Count u64 array component write callback. The
142 * parameter. The write value of the respective
145 * @signal_array_u64_write: Signal u64 array component write callback. The
148 * parameter. The write value of the respective
227 * struct counter_signal - Counter Signal node
228 * @id: unique ID used to identify the Signal
229 * @name: device-specific Signal name
242 * struct counter_synapse - Counter Synapse node
245 * @signal: pointer to the associated Signal
255 * struct counter_count - Counter Count node
256 * @id: unique ID used to identify the Count
257 * @name: device-specific Count name
280 * struct counter_event_node - Counter Event node
284 * @comp_list: list of components to watch when event triggers
294 * struct counter_ops - Callbacks from driver
295 * @signal_read: optional read callback for Signals. The read level of
298 * @count_read: read callback for Counts. The read value of the
301 * @count_write: optional write callback for Counts. The write value for
304 * @function_read: read callback the Count function modes. The read
307 * @function_write: optional write callback for Count function modes. The
308 * function mode to write for the respective Count is
310 * @action_read: optional read callback the Synapse action modes. The
311 * read action mode of the respective Synapse should be
313 * @action_write: optional write callback for Synapse action modes. The
314 * action mode to write for the respective Synapse is
316 * @events_configure: optional write callback to configure events. The list of
319 * @watch_validate: optional callback to validate a watch. The Counter
352 * struct counter_device - Counter data structure
366 * @events_list_lock: lock to protect Counter events list operations
368 * @n_events_list_lock: lock to protect Counter next events list operations
370 * @events_wait: wait queue to allow blocking reads of Counter events
371 * @events_in_lock: lock to protect Counter events queue in operations
372 * @events_out_lock: lock to protect Counter events queue out operations
373 * @ops_exist_lock: lock to prevent use during removal