clk.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) clk.h (03813d9b7d4368d4a8c9bb8f5a2a1e23dac8f1b5)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
4 */
5#undef TRACE_SYSTEM
6#define TRACE_SYSTEM clk
7
8#if !defined(_TRACE_CLK_H) || defined(TRACE_HEADER_MULTI_READ)

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

113
114DEFINE_EVENT(clk_rate, clk_set_rate_complete,
115
116 TP_PROTO(struct clk_core *core, unsigned long rate),
117
118 TP_ARGS(core, rate)
119);
120
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
4 */
5#undef TRACE_SYSTEM
6#define TRACE_SYSTEM clk
7
8#if !defined(_TRACE_CLK_H) || defined(TRACE_HEADER_MULTI_READ)

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

113
114DEFINE_EVENT(clk_rate, clk_set_rate_complete,
115
116 TP_PROTO(struct clk_core *core, unsigned long rate),
117
118 TP_ARGS(core, rate)
119);
120
121DEFINE_EVENT(clk_rate, clk_set_min_rate,
122
123 TP_PROTO(struct clk_core *core, unsigned long rate),
124
125 TP_ARGS(core, rate)
126);
127
128DEFINE_EVENT(clk_rate, clk_set_max_rate,
129
130 TP_PROTO(struct clk_core *core, unsigned long rate),
131
132 TP_ARGS(core, rate)
133);
134
135DECLARE_EVENT_CLASS(clk_rate_range,
136
137 TP_PROTO(struct clk_core *core, unsigned long min, unsigned long max),
138
139 TP_ARGS(core, min, max),
140
141 TP_STRUCT__entry(
142 __string( name, core->name )
143 __field(unsigned long, min )
144 __field(unsigned long, max )
145 ),
146
147 TP_fast_assign(
148 __assign_str(name, core->name);
149 __entry->min = min;
150 __entry->max = max;
151 ),
152
153 TP_printk("%s min %lu max %lu", __get_str(name),
154 (unsigned long)__entry->min,
155 (unsigned long)__entry->max)
156);
157
158DEFINE_EVENT(clk_rate_range, clk_set_rate_range,
159
160 TP_PROTO(struct clk_core *core, unsigned long min, unsigned long max),
161
162 TP_ARGS(core, min, max)
163);
164
121DECLARE_EVENT_CLASS(clk_parent,
122
123 TP_PROTO(struct clk_core *core, struct clk_core *parent),
124
125 TP_ARGS(core, parent),
126
127 TP_STRUCT__entry(
128 __string( name, core->name )

--- 98 unchanged lines hidden ---
165DECLARE_EVENT_CLASS(clk_parent,
166
167 TP_PROTO(struct clk_core *core, struct clk_core *parent),
168
169 TP_ARGS(core, parent),
170
171 TP_STRUCT__entry(
172 __string( name, core->name )

--- 98 unchanged lines hidden ---