Lines Matching +full:clk +full:- +full:phase +full:-

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
6 #define TRACE_SYSTEM clk
15 DECLARE_EVENT_CLASS(clk,
22 __string( name, core->name )
32 DEFINE_EVENT(clk, clk_enable,
39 DEFINE_EVENT(clk, clk_enable_complete,
46 DEFINE_EVENT(clk, clk_disable,
53 DEFINE_EVENT(clk, clk_disable_complete,
60 DEFINE_EVENT(clk, clk_prepare,
67 DEFINE_EVENT(clk, clk_prepare_complete,
74 DEFINE_EVENT(clk, clk_unprepare,
81 DEFINE_EVENT(clk, clk_unprepare_complete,
95 __string( name, core->name )
101 __entry->rate = rate;
104 TP_printk("%s %lu", __get_str(name), (unsigned long)__entry->rate)
142 __string( name, core->name )
149 __entry->min = min;
150 __entry->max = max;
154 (unsigned long)__entry->min,
155 (unsigned long)__entry->max)
172 __string( name, core->name )
173 __string( pname, parent ? parent->name : "none" )
200 TP_PROTO(struct clk_core *core, int phase),
202 TP_ARGS(core, phase),
205 __string( name, core->name )
206 __field( int, phase )
211 __entry->phase = phase;
214 TP_printk("%s %d", __get_str(name), (int)__entry->phase)
219 TP_PROTO(struct clk_core *core, int phase),
221 TP_ARGS(core, phase)
226 TP_PROTO(struct clk_core *core, int phase),
228 TP_ARGS(core, phase)
238 __string( name, core->name )
245 __entry->num = duty->num;
246 __entry->den = duty->den;
249 TP_printk("%s %u/%u", __get_str(name), (unsigned int)__entry->num,
250 (unsigned int)__entry->den)
274 __string( name, req->core ? req->core->name : "none")
275 __string( pname, req->best_parent_hw ? clk_hw_get_name(req->best_parent_hw) : "none" )
284 __entry->min = req->min_rate;
285 __entry->max = req->max_rate;
286 __entry->prate = req->best_parent_rate;
290 (unsigned long)__entry->min,
291 (unsigned long)__entry->max,
293 (unsigned long)__entry->prate)