driver.c (20c9234d623cc54caed843739c1f89b305eb3bfa) driver.c (1b18d4295f9d1125bc7a799fc12924cd45fc04b1)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * System Control and Management Interface (SCMI) Message Protocol driver
4 *
5 * SCMI Message Protocol is used between the System Control Processor(SCP)
6 * and the Application Processors(AP). The Message Handling Unit(MHU)
7 * provides a mechanism for inter-processor communication between SCP's
8 * Cortex M3 and AP.

--- 103 unchanged lines hidden (view full) ---

112#define ph_to_pi(h) container_of(h, struct scmi_protocol_instance, ph)
113
114/**
115 * struct scmi_debug_info - Debug common info
116 * @top_dentry: A reference to the top debugfs dentry
117 * @name: Name of this SCMI instance
118 * @type: Type of this SCMI instance
119 * @is_atomic: Flag to state if the transport of this instance is atomic
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * System Control and Management Interface (SCMI) Message Protocol driver
4 *
5 * SCMI Message Protocol is used between the System Control Processor(SCP)
6 * and the Application Processors(AP). The Message Handling Unit(MHU)
7 * provides a mechanism for inter-processor communication between SCP's
8 * Cortex M3 and AP.

--- 103 unchanged lines hidden (view full) ---

112#define ph_to_pi(h) container_of(h, struct scmi_protocol_instance, ph)
113
114/**
115 * struct scmi_debug_info - Debug common info
116 * @top_dentry: A reference to the top debugfs dentry
117 * @name: Name of this SCMI instance
118 * @type: Type of this SCMI instance
119 * @is_atomic: Flag to state if the transport of this instance is atomic
120 * @counters: An array of atomic_c's used for tracking statistics (if enabled)
120 */
121struct scmi_debug_info {
122 struct dentry *top_dentry;
123 const char *name;
124 const char *type;
125 bool is_atomic;
121 */
122struct scmi_debug_info {
123 struct dentry *top_dentry;
124 const char *name;
125 const char *type;
126 bool is_atomic;
127 atomic_t counters[SCMI_DEBUG_COUNTERS_LAST];
126};
127
128/**
129 * struct scmi_info - Structure representing a SCMI instance
130 *
131 * @id: A sequence number starting from zero identifying this instance
132 * @dev: Device pointer
133 * @desc: SoC description for this instance

--- 3232 unchanged lines hidden ---
128};
129
130/**
131 * struct scmi_info - Structure representing a SCMI instance
132 *
133 * @id: A sequence number starting from zero identifying this instance
134 * @dev: Device pointer
135 * @desc: SoC description for this instance

--- 3232 unchanged lines hidden ---