Lines Matching +full:data +full:- +full:addr
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * musb_trace.h - MUSB Controller Trace Support
5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
7 * Author: Bin Liu <b-liu@ti.com>
30 __string(name, dev_name(musb->controller))
34 __assign_str(name, dev_name(musb->controller));
35 vsnprintf(__get_str(msg), MUSB_MSG_MAX, vaf->fmt, *vaf->va);
41 TP_PROTO(void *caller, const void __iomem *addr,
42 unsigned int offset, u8 data),
43 TP_ARGS(caller, addr, offset, data),
46 __field(const void __iomem *, addr)
48 __field(u8, data)
51 __entry->caller = caller;
52 __entry->addr = addr;
53 __entry->offset = offset;
54 __entry->data = data;
57 __entry->caller, __entry->addr, __entry->offset, __entry->data)
61 TP_PROTO(void *caller, const void __iomem *addr,
62 unsigned int offset, u8 data),
63 TP_ARGS(caller, addr, offset, data)
67 TP_PROTO(void *caller, const void __iomem *addr,
68 unsigned int offset, u8 data),
69 TP_ARGS(caller, addr, offset, data)
73 TP_PROTO(void *caller, const void __iomem *addr,
74 unsigned int offset, u16 data),
75 TP_ARGS(caller, addr, offset, data),
78 __field(const void __iomem *, addr)
80 __field(u16, data)
83 __entry->caller = caller;
84 __entry->addr = addr;
85 __entry->offset = offset;
86 __entry->data = data;
89 __entry->caller, __entry->addr, __entry->offset, __entry->data)
93 TP_PROTO(void *caller, const void __iomem *addr,
94 unsigned int offset, u16 data),
95 TP_ARGS(caller, addr, offset, data)
99 TP_PROTO(void *caller, const void __iomem *addr,
100 unsigned int offset, u16 data),
101 TP_ARGS(caller, addr, offset, data)
105 TP_PROTO(void *caller, const void __iomem *addr,
106 unsigned int offset, u32 data),
107 TP_ARGS(caller, addr, offset, data),
110 __field(const void __iomem *, addr)
112 __field(u32, data)
115 __entry->caller = caller;
116 __entry->addr = addr;
117 __entry->offset = offset;
118 __entry->data = data;
121 __entry->caller, __entry->addr, __entry->offset, __entry->data)
125 TP_PROTO(void *caller, const void __iomem *addr,
126 unsigned int offset, u32 data),
127 TP_ARGS(caller, addr, offset, data)
131 TP_PROTO(void *caller, const void __iomem *addr,
132 unsigned int offset, u32 data),
133 TP_ARGS(caller, addr, offset, data)
140 __string(name, dev_name(musb->controller))
146 __assign_str(name, dev_name(musb->controller));
147 __entry->int_usb = musb->int_usb;
148 __entry->int_tx = musb->int_tx;
149 __entry->int_rx = musb->int_rx;
152 __get_str(name), __entry->int_usb,
153 __entry->int_tx, __entry->int_rx
161 __string(name, dev_name(musb->controller))
170 __assign_str(name, dev_name(musb->controller));
171 __entry->urb = urb;
172 __entry->pipe = urb->pipe;
173 __entry->status = urb->status;
174 __entry->flag = urb->transfer_flags;
175 __entry->buf_len = urb->transfer_buffer_length;
176 __entry->actual_len = urb->actual_length;
179 __get_str(name), __entry->urb,
180 usb_pipedevice(__entry->pipe),
181 usb_pipeendpoint(__entry->pipe),
182 usb_pipein(__entry->pipe) ? "in" : "out",
183 __entry->flag,
184 __entry->actual_len, __entry->buf_len,
185 __entry->status
234 __entry->req = &req->request;
235 __entry->is_tx = req->tx;
236 __entry->epnum = req->epnum;
237 __entry->status = req->request.status;
238 __entry->buf_len = req->request.length;
239 __entry->actual_len = req->request.actual;
240 __entry->zero = req->request.zero;
241 __entry->short_not_ok = req->request.short_not_ok;
242 __entry->no_interrupt = req->request.no_interrupt;
245 __entry->req, __entry->epnum,
246 __entry->is_tx ? "tx/IN" : "rx/OUT",
247 __entry->zero ? "Z" : "z",
248 __entry->short_not_ok ? "S" : "s",
249 __entry->no_interrupt ? "I" : "i",
250 __entry->actual_len, __entry->buf_len,
251 __entry->status
301 __string(name, dev_name(ch->hw_ep->musb->controller))
310 __entry->ch = ch;
311 __assign_str(name, dev_name(ch->hw_ep->musb->controller));
312 __entry->hwep = ch->hw_ep->epnum;
313 __entry->port = ch->port_num;
314 __entry->is_tx = ch->is_tx;
315 __entry->len = ch->total_len;
316 __entry->prog_len = ch->prog_len;
317 __entry->xferred = ch->transferred;
320 __get_str(name), __entry->ch, __entry->hwep,
321 __entry->port, __entry->is_tx ? "tx" : "rx",
322 __entry->prog_len, __entry->xferred, __entry->len