i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
[linux/fpc-iii.git] / include / trace / events / intel-sst.h
blob0416e91f81817afbdf1e011a8dbc37db1158d217
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM intel-sst
5 /*
6 * The TRACE_SYSTEM_VAR defaults to TRACE_SYSTEM, but must be a
7 * legitimate C variable. It is not exported to user space.
8 */
9 #undef TRACE_SYSTEM_VAR
10 #define TRACE_SYSTEM_VAR intel_sst
12 #if !defined(_TRACE_INTEL_SST_H) || defined(TRACE_HEADER_MULTI_READ)
13 #define _TRACE_INTEL_SST_H
15 #include <linux/types.h>
16 #include <linux/ktime.h>
17 #include <linux/tracepoint.h>
19 DECLARE_EVENT_CLASS(sst_ipc_msg,
21 TP_PROTO(unsigned int val),
23 TP_ARGS(val),
25 TP_STRUCT__entry(
26 __field( unsigned int, val )
29 TP_fast_assign(
30 __entry->val = val;
33 TP_printk("0x%8.8x", (unsigned int)__entry->val)
36 DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_tx,
38 TP_PROTO(unsigned int val),
40 TP_ARGS(val)
44 DEFINE_EVENT(sst_ipc_msg, sst_ipc_msg_rx,
46 TP_PROTO(unsigned int val),
48 TP_ARGS(val)
52 DECLARE_EVENT_CLASS(sst_ipc_mailbox,
54 TP_PROTO(unsigned int offset, unsigned int val),
56 TP_ARGS(offset, val),
58 TP_STRUCT__entry(
59 __field( unsigned int, offset )
60 __field( unsigned int, val )
63 TP_fast_assign(
64 __entry->offset = offset;
65 __entry->val = val;
68 TP_printk(" 0x%4.4x = 0x%8.8x",
69 (unsigned int)__entry->offset, (unsigned int)__entry->val)
72 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_rdata,
74 TP_PROTO(unsigned int offset, unsigned int val),
76 TP_ARGS(offset, val)
80 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_wdata,
82 TP_PROTO(unsigned int offset, unsigned int val),
84 TP_ARGS(offset, val)
88 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_rdata,
90 TP_PROTO(unsigned int offset, unsigned int val),
92 TP_ARGS(offset, val)
96 DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_outbox_wdata,
98 TP_PROTO(unsigned int offset, unsigned int val),
100 TP_ARGS(offset, val)
104 DECLARE_EVENT_CLASS(sst_ipc_mailbox_info,
106 TP_PROTO(unsigned int size),
108 TP_ARGS(size),
110 TP_STRUCT__entry(
111 __field( unsigned int, size )
114 TP_fast_assign(
115 __entry->size = size;
118 TP_printk("Mailbox bytes 0x%8.8x", (unsigned int)__entry->size)
121 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_read,
123 TP_PROTO(unsigned int size),
125 TP_ARGS(size)
129 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_inbox_write,
131 TP_PROTO(unsigned int size),
133 TP_ARGS(size)
137 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_read,
139 TP_PROTO(unsigned int size),
141 TP_ARGS(size)
145 DEFINE_EVENT(sst_ipc_mailbox_info, sst_ipc_outbox_write,
147 TP_PROTO(unsigned int size),
149 TP_ARGS(size)
153 #endif /* _TRACE_SST_H */
155 /* This part must be outside protection */
156 #include <trace/define_trace.h>