3 #define TRACE_SYSTEM fsi_master_gpio
5 #if !defined(_TRACE_FSI_MASTER_GPIO_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_FSI_MASTER_GPIO_H
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(fsi_master_gpio_in
,
11 TP_PROTO(const struct fsi_master_gpio
*master
, int bits
, uint64_t msg
),
12 TP_ARGS(master
, bits
, msg
),
14 __field(int, master_idx
)
16 __field(uint64_t, msg
)
19 __entry
->master_idx
= master
->master
.idx
;
21 __entry
->msg
= msg
& ((1ull<<bits
) - 1);
23 TP_printk("fsi-gpio%d => %0*llx[%d]",
25 (__entry
->bits
+ 3) / 4,
31 TRACE_EVENT(fsi_master_gpio_out
,
32 TP_PROTO(const struct fsi_master_gpio
*master
, int bits
, uint64_t msg
),
33 TP_ARGS(master
, bits
, msg
),
35 __field(int, master_idx
)
37 __field(uint64_t, msg
)
40 __entry
->master_idx
= master
->master
.idx
;
42 __entry
->msg
= msg
& ((1ull<<bits
) - 1);
44 TP_printk("fsi-gpio%d <= %0*llx[%d]",
46 (__entry
->bits
+ 3) / 4,
52 TRACE_EVENT(fsi_master_gpio_break
,
53 TP_PROTO(const struct fsi_master_gpio
*master
),
56 __field(int, master_idx
)
59 __entry
->master_idx
= master
->master
.idx
;
61 TP_printk("fsi-gpio%d ----break---",
66 #endif /* _TRACE_FSI_MASTER_GPIO_H */
68 #include <trace/define_trace.h>