fsi.h (4f2c0a4acffbec01079c28f839422e64ddeff004) fsi.h (02c8fec05bc74d3f50b23c20a54cb6cba3326eef)
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#undef TRACE_SYSTEM
4#define TRACE_SYSTEM fsi
5
6#if !defined(_TRACE_FSI_H) || defined(TRACE_HEADER_MULTI_READ)
7#define _TRACE_FSI_H
8

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

117 __entry->link = link;
118 ),
119 TP_printk("fsi%d:%d",
120 __entry->master_idx,
121 __entry->link
122 )
123);
124
1/* SPDX-License-Identifier: GPL-2.0 */
2
3#undef TRACE_SYSTEM
4#define TRACE_SYSTEM fsi
5
6#if !defined(_TRACE_FSI_H) || defined(TRACE_HEADER_MULTI_READ)
7#define _TRACE_FSI_H
8

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

117 __entry->link = link;
118 ),
119 TP_printk("fsi%d:%d",
120 __entry->master_idx,
121 __entry->link
122 )
123);
124
125TRACE_EVENT(fsi_master_scan,
126 TP_PROTO(const struct fsi_master *master, bool scan),
127 TP_ARGS(master, scan),
128 TP_STRUCT__entry(
129 __field(int, master_idx)
130 __field(int, n_links)
131 __field(bool, scan)
132 ),
133 TP_fast_assign(
134 __entry->master_idx = master->idx;
135 __entry->n_links = master->n_links;
136 __entry->scan = scan;
137 ),
138 TP_printk("fsi%d (%d links) %s", __entry->master_idx, __entry->n_links,
139 __entry->scan ? "scan" : "unscan")
140);
141
142TRACE_EVENT(fsi_master_unregister,
143 TP_PROTO(const struct fsi_master *master),
144 TP_ARGS(master),
145 TP_STRUCT__entry(
146 __field(int, master_idx)
147 __field(int, n_links)
148 ),
149 TP_fast_assign(
150 __entry->master_idx = master->idx;
151 __entry->n_links = master->n_links;
152 ),
153 TP_printk("fsi%d (%d links)", __entry->master_idx, __entry->n_links)
154);
155
125TRACE_EVENT(fsi_slave_init,
126 TP_PROTO(const struct fsi_slave *slave),
127 TP_ARGS(slave),
128 TP_STRUCT__entry(
129 __field(int, master_idx)
130 __field(int, master_n_links)
131 __field(int, idx)
132 __field(int, link)

--- 82 unchanged lines hidden ---
156TRACE_EVENT(fsi_slave_init,
157 TP_PROTO(const struct fsi_slave *slave),
158 TP_ARGS(slave),
159 TP_STRUCT__entry(
160 __field(int, master_idx)
161 __field(int, master_n_links)
162 __field(int, idx)
163 __field(int, link)

--- 82 unchanged lines hidden ---