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 )
26 __assign_str(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 )
100 __assign_str(name, core->name);
101 __entry->rate = rate;
104 TP_printk("%s %lu", __get_str(name), (unsigned long)__entry->rate)
128 __string( name, core->name )
129 __string( pname, parent ? parent->name : "none" )
133 __assign_str(name, core->name);
134 __assign_str(pname, parent ? parent->name : "none");
156 TP_PROTO(struct clk_core *core, int phase),
158 TP_ARGS(core, phase),
161 __string( name, core->name )
162 __field( int, phase )
166 __assign_str(name, core->name);
167 __entry->phase = phase;
170 TP_printk("%s %d", __get_str(name), (int)__entry->phase)
175 TP_PROTO(struct clk_core *core, int phase),
177 TP_ARGS(core, phase)
182 TP_PROTO(struct clk_core *core, int phase),
184 TP_ARGS(core, phase)
194 __string( name, core->name )
200 __assign_str(name, core->name);
201 __entry->num = duty->num;
202 __entry->den = duty->den;
205 TP_printk("%s %u/%u", __get_str(name), (unsigned int)__entry->num,
206 (unsigned int)__entry->den)