Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / include / trace / events / fsi_master_gpio.h
blob11b36c119048766c153b2aed3177b08081fb2d09
2 #undef TRACE_SYSTEM
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),
13 TP_STRUCT__entry(
14 __field(int, master_idx)
15 __field(int, bits)
16 __field(uint64_t, msg)
18 TP_fast_assign(
19 __entry->master_idx = master->master.idx;
20 __entry->bits = bits;
21 __entry->msg = msg & ((1ull<<bits) - 1);
23 TP_printk("fsi-gpio%d => %0*llx[%d]",
24 __entry->master_idx,
25 (__entry->bits + 3) / 4,
26 __entry->msg,
27 __entry->bits
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),
34 TP_STRUCT__entry(
35 __field(int, master_idx)
36 __field(int, bits)
37 __field(uint64_t, msg)
39 TP_fast_assign(
40 __entry->master_idx = master->master.idx;
41 __entry->bits = bits;
42 __entry->msg = msg & ((1ull<<bits) - 1);
44 TP_printk("fsi-gpio%d <= %0*llx[%d]",
45 __entry->master_idx,
46 (__entry->bits + 3) / 4,
47 __entry->msg,
48 __entry->bits
52 TRACE_EVENT(fsi_master_gpio_break,
53 TP_PROTO(const struct fsi_master_gpio *master),
54 TP_ARGS(master),
55 TP_STRUCT__entry(
56 __field(int, master_idx)
58 TP_fast_assign(
59 __entry->master_idx = master->master.idx;
61 TP_printk("fsi-gpio%d ----break---",
62 __entry->master_idx
66 #endif /* _TRACE_FSI_MASTER_GPIO_H */
68 #include <trace/define_trace.h>