xref: /openbmc/qemu/hw/usb/trace-events (revision 87e0331c)
1# See docs/devel/tracing.txt for syntax documentation.
2
3# hw/usb/core.c
4usb_packet_state_change(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s -> %s"
5usb_packet_state_fault(int bus, const char *port, int ep, void *p, const char *o, const char *n) "bus %d, port %s, ep %d, packet %p, state %s, expected %s"
6
7# hw/usb/bus.c
8usb_port_claim(int bus, const char *port) "bus %d, port %s"
9usb_port_attach(int bus, const char *port, const char *devspeed, const char *portspeed) "bus %d, port %s, devspeed %s, portspeed %s"
10usb_port_detach(int bus, const char *port) "bus %d, port %s"
11usb_port_release(int bus, const char *port) "bus %d, port %s"
12
13# hw/usb/hcd-ohci.c
14usb_ohci_iso_td_read_failed(uint32_t addr) "ISO_TD read error at %x"
15usb_ohci_iso_td_head(uint32_t head, uint32_t tail, uint32_t flags, uint32_t bp, uint32_t next, uint32_t be, uint32_t framenum, uint32_t startframe, uint32_t framecount, int rel_frame_num) "ISO_TD ED head 0x%.8x tailp 0x%.8x\n0x%.8x 0x%.8x 0x%.8x 0x%.8x\nframe_number 0x%.8x starting_frame 0x%.8x\nframe_count  0x%.8x relative %d"
16usb_ohci_iso_td_head_offset(uint32_t o0, uint32_t o1, uint32_t o2, uint32_t o3, uint32_t o4, uint32_t o5, uint32_t o6, uint32_t o7) "0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x 0x%.8x"
17usb_ohci_iso_td_relative_frame_number_neg(int rel) "ISO_TD R=%d < 0"
18usb_ohci_iso_td_relative_frame_number_big(int rel, int count) "ISO_TD R=%d > FC=%d"
19usb_ohci_iso_td_bad_direction(int dir) "Bad direction %d"
20usb_ohci_iso_td_bad_bp_be(uint32_t bp, uint32_t be) "ISO_TD bp 0x%.8x be 0x%.8x"
21usb_ohci_iso_td_bad_cc_not_accessed(uint32_t start, uint32_t next) "ISO_TD cc != not accessed 0x%.8x 0x%.8x"
22usb_ohci_iso_td_bad_cc_overrun(uint32_t start, uint32_t next) "ISO_TD start_offset=0x%.8x > next_offset=0x%.8x"
23usb_ohci_iso_td_so(uint32_t so, uint32_t eo, uint32_t s, uint32_t e, const char *str, ssize_t len, int ret) "0x%.8x eo 0x%.8x\nsa 0x%.8x ea 0x%.8x\ndir %s len %zu ret %d"
24usb_ohci_iso_td_data_overrun(int ret, ssize_t len) "DataOverrun %d > %zu"
25usb_ohci_iso_td_data_underrun(int ret) "DataUnderrun %d"
26usb_ohci_iso_td_nak(int ret) "got NAK/STALL %d"
27usb_ohci_iso_td_bad_response(int ret) "Bad device response %d"
28usb_ohci_port_attach(int index) "port #%d"
29usb_ohci_port_detach(int index) "port #%d"
30usb_ohci_port_wakeup(int index) "port #%d"
31usb_ohci_port_suspend(int index) "port #%d"
32usb_ohci_port_reset(int index) "port #%d"
33usb_ohci_remote_wakeup(const char *s) "%s: SUSPEND->RESUME"
34usb_ohci_reset(const char *s) "%s"
35usb_ohci_start(const char *s) "%s: USB Operational"
36usb_ohci_resume(const char *s) "%s: USB Resume"
37usb_ohci_stop(const char *s) "%s: USB Suspended"
38usb_ohci_exit(const char *s) "%s"
39usb_ohci_set_ctl(const char *s, uint32_t new_state) "%s: new state 0x%x"
40usb_ohci_td_underrun(void) ""
41usb_ohci_td_dev_error(void) ""
42usb_ohci_td_nak(void) ""
43usb_ohci_td_stall(void) ""
44usb_ohci_td_babble(void) ""
45usb_ohci_td_bad_device_response(int rc) "%d"
46usb_ohci_td_read_error(uint32_t addr) "TD read error at %x"
47usb_ohci_td_bad_direction(int dir) "Bad direction %d"
48usb_ohci_td_skip_async(void) ""
49usb_ohci_td_pkt_hdr(uint32_t addr, int64_t pktlen, int64_t len, const char *s, int flag_r, uint32_t cbp, uint32_t be) " TD @ 0x%.8x %" PRId64 " of %" PRId64 " bytes %s r=%d cbp=0x%.8x be=0x%.8x"
50usb_ohci_td_pkt_short(const char *dir, const char *buf) "%s data: %s"
51usb_ohci_td_pkt_full(const char *dir, const char *buf) "%s data: %s"
52usb_ohci_td_too_many_pending(void) ""
53usb_ohci_td_packet_status(int status) "status=%d"
54usb_ohci_ed_read_error(uint32_t addr) "ED read error at %x"
55usb_ohci_ed_pkt(uint32_t cur, int h, int c, uint32_t head, uint32_t tail, uint32_t next) "ED @ 0x%.8x h=%u c=%u\n  head=0x%.8x tailp=0x%.8x next=0x%.8x"
56usb_ohci_ed_pkt_flags(uint32_t fa, uint32_t en, uint32_t d, int s, int k, int f, uint32_t mps) "fa=%u en=%u d=%u s=%u k=%u f=%u mps=%u"
57usb_ohci_hcca_read_error(uint32_t addr) "HCCA read error at %x"
58usb_ohci_mem_read_unaligned(uint32_t addr) "at %x"
59usb_ohci_mem_read_bad_offset(uint32_t addr) "%x"
60usb_ohci_mem_write_unaligned(uint32_t addr) "at %x"
61usb_ohci_mem_write_bad_offset(uint32_t addr) "%x"
62usb_ohci_process_lists(uint32_t head, uint32_t cur) "head %x, cur %x"
63usb_ohci_set_frame_interval(const char *name, uint16_t fi_x, uint16_t fi_u) "%s: FrameInterval = 0x%x (%u)"
64usb_ohci_hub_power_up(void) "powered up all ports"
65usb_ohci_hub_power_down(void) "powered down all ports"
66usb_ohci_init_time(int64_t frametime, int64_t bittime) "usb_bit_time=%" PRId64 " usb_frame_time=%" PRId64
67usb_ohci_die(void) ""
68usb_ohci_async_complete(void) ""
69
70# hw/usb/hcd-ehci.c
71usb_ehci_reset(void) "=== RESET ==="
72usb_ehci_unrealize(void) "=== UNREALIZE ==="
73usb_ehci_opreg_read(uint32_t addr, const char *str, uint32_t val) "rd mmio %04x [%s] = %x"
74usb_ehci_opreg_write(uint32_t addr, const char *str, uint32_t val) "wr mmio %04x [%s] = %x"
75usb_ehci_opreg_change(uint32_t addr, const char *str, uint32_t new, uint32_t old) "ch mmio %04x [%s] = %x (old: %x)"
76usb_ehci_portsc_read(uint32_t addr, uint32_t port, uint32_t val) "rd mmio %04x [port %d] = %x"
77usb_ehci_portsc_write(uint32_t addr, uint32_t port, uint32_t val) "wr mmio %04x [port %d] = %x"
78usb_ehci_portsc_change(uint32_t addr, uint32_t port, uint32_t new, uint32_t old) "ch mmio %04x [port %d] = %x (old: %x)"
79usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
80usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
81usb_ehci_qh_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t c_qtd, uint32_t n_qtd, uint32_t a_qtd) "q %p - QH @ %08x: next %08x qtds %08x,%08x,%08x"
82usb_ehci_qh_fields(uint32_t addr, int rl, int mplen, int eps, int ep, int devaddr) "QH @ %08x - rl %d, mplen %d, eps %d, ep %d, dev %d"
83usb_ehci_qh_bits(uint32_t addr, int c, int h, int dtc, int i) "QH @ %08x - c %d, h %d, dtc %d, i %d"
84usb_ehci_qtd_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t altnext) "q %p - QTD @ %08x: next %08x altnext %08x"
85usb_ehci_qtd_fields(uint32_t addr, int tbytes, int cpage, int cerr, int pid) "QTD @ %08x - tbytes %d, cpage %d, cerr %d, pid %d"
86usb_ehci_qtd_bits(uint32_t addr, int ioc, int active, int halt, int babble, int xacterr) "QTD @ %08x - ioc %d, active %d, halt %d, babble %d, xacterr %d"
87usb_ehci_itd(uint32_t addr, uint32_t nxt, uint32_t mplen, uint32_t mult, uint32_t ep, uint32_t devaddr) "ITD @ %08x: next %08x - mplen %d, mult %d, ep %d, dev %d"
88usb_ehci_sitd(uint32_t addr, uint32_t nxt, uint32_t active) "ITD @ %08x: next %08x - active %d"
89usb_ehci_port_attach(uint32_t port, const char *owner, const char *device) "attach port #%d, owner %s, device %s"
90usb_ehci_port_detach(uint32_t port, const char *owner) "detach port #%d, owner %s"
91usb_ehci_port_reset(uint32_t port, int enable) "reset port #%d - %d"
92usb_ehci_port_suspend(uint32_t port) "port #%d"
93usb_ehci_port_wakeup(uint32_t port) "port #%d"
94usb_ehci_port_resume(uint32_t port) "port #%d"
95usb_ehci_queue_action(void *q, const char *action) "q %p: %s"
96usb_ehci_packet_action(void *q, void *p, const char *action) "q %p p %p: %s"
97usb_ehci_irq(uint32_t level, uint32_t frindex, uint32_t sts, uint32_t mask) "level %d, frindex 0x%04x, sts 0x%x, mask 0x%x"
98usb_ehci_guest_bug(const char *reason) "%s"
99usb_ehci_doorbell_ring(void) ""
100usb_ehci_doorbell_ack(void) ""
101usb_ehci_dma_error(void) ""
102
103# hw/usb/hcd-uhci.c
104usb_uhci_reset(void) "=== RESET ==="
105usb_uhci_exit(void) "=== EXIT ==="
106usb_uhci_schedule_start(void) ""
107usb_uhci_schedule_stop(void) ""
108usb_uhci_frame_start(uint32_t num) "nr %d"
109usb_uhci_frame_stop_bandwidth(void) ""
110usb_uhci_frame_loop_stop_idle(void) ""
111usb_uhci_frame_loop_continue(void) ""
112usb_uhci_mmio_readw(uint32_t addr, uint32_t val) "addr 0x%04x, ret 0x%04x"
113usb_uhci_mmio_writew(uint32_t addr, uint32_t val) "addr 0x%04x, val 0x%04x"
114usb_uhci_queue_add(uint32_t token) "token 0x%x"
115usb_uhci_queue_del(uint32_t token, const char *reason) "token 0x%x: %s"
116usb_uhci_packet_add(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
117usb_uhci_packet_link_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
118usb_uhci_packet_unlink_async(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
119usb_uhci_packet_cancel(uint32_t token, uint32_t addr, int done) "token 0x%x, td 0x%x, done %d"
120usb_uhci_packet_complete_success(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
121usb_uhci_packet_complete_shortxfer(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
122usb_uhci_packet_complete_stall(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
123usb_uhci_packet_complete_babble(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
124usb_uhci_packet_complete_error(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
125usb_uhci_packet_del(uint32_t token, uint32_t addr) "token 0x%x, td 0x%x"
126usb_uhci_qh_load(uint32_t qh) "qh 0x%x"
127usb_uhci_td_load(uint32_t qh, uint32_t td, uint32_t ctrl, uint32_t token) "qh 0x%x, td 0x%x, ctrl 0x%x, token 0x%x"
128usb_uhci_td_queue(uint32_t td, uint32_t ctrl, uint32_t token) "td 0x%x, ctrl 0x%x, token 0x%x"
129usb_uhci_td_nextqh(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
130usb_uhci_td_async(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
131usb_uhci_td_complete(uint32_t qh, uint32_t td) "qh 0x%x, td 0x%x"
132
133# hw/usb/hcd-xhci.c
134usb_xhci_reset(void) "=== RESET ==="
135usb_xhci_exit(void) "=== EXIT ==="
136usb_xhci_run(void) ""
137usb_xhci_stop(void) ""
138usb_xhci_cap_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
139usb_xhci_oper_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
140usb_xhci_port_read(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, ret 0x%08x"
141usb_xhci_runtime_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
142usb_xhci_doorbell_read(uint32_t off, uint32_t val) "off 0x%04x, ret 0x%08x"
143usb_xhci_oper_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
144usb_xhci_port_write(uint32_t port, uint32_t off, uint32_t val) "port %d, off 0x%04x, val 0x%08x"
145usb_xhci_runtime_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
146usb_xhci_doorbell_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
147usb_xhci_irq_intx(uint32_t level) "level %d"
148usb_xhci_irq_msi(uint32_t nr) "nr %d"
149usb_xhci_irq_msix(uint32_t nr) "nr %d"
150usb_xhci_irq_msix_use(uint32_t nr) "nr %d"
151usb_xhci_irq_msix_unuse(uint32_t nr) "nr %d"
152usb_xhci_queue_event(uint32_t vector, uint32_t idx, const char *trb, const char *evt, uint64_t param, uint32_t status, uint32_t control) "v %d, idx %d, %s, %s, p %016" PRIx64 ", s %08x, c 0x%08x"
153usb_xhci_fetch_trb(uint64_t addr, const char *name, uint64_t param, uint32_t status, uint32_t control) "addr %016" PRIx64 ", %s, p %016" PRIx64 ", s %08x, c 0x%08x"
154usb_xhci_port_reset(uint32_t port, bool warm) "port %d, warm %d"
155usb_xhci_port_link(uint32_t port, uint32_t pls) "port %d, pls %d"
156usb_xhci_port_notify(uint32_t port, uint32_t pls) "port %d, bits %x"
157usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
158usb_xhci_slot_disable(uint32_t slotid) "slotid %d"
159usb_xhci_slot_address(uint32_t slotid, const char *port) "slotid %d, port %s"
160usb_xhci_slot_configure(uint32_t slotid) "slotid %d"
161usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
162usb_xhci_slot_reset(uint32_t slotid) "slotid %d"
163usb_xhci_ep_enable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
164usb_xhci_ep_disable(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
165usb_xhci_ep_set_dequeue(uint32_t slotid, uint32_t epid, uint32_t streamid, uint64_t param) "slotid %d, epid %d, streamid %d, ptr %016" PRIx64
166usb_xhci_ep_kick(uint32_t slotid, uint32_t epid, uint32_t streamid) "slotid %d, epid %d, streamid %d"
167usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
168usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
169usb_xhci_ep_state(uint32_t slotid, uint32_t epid, const char *os, const char *ns) "slotid %d, epid %d, %s -> %s"
170usb_xhci_xfer_start(void *xfer, uint32_t slotid, uint32_t epid, uint32_t streamid) "%p: slotid %d, epid %d, streamid %d"
171usb_xhci_xfer_async(void *xfer) "%p"
172usb_xhci_xfer_nak(void *xfer) "%p"
173usb_xhci_xfer_retry(void *xfer) "%p"
174usb_xhci_xfer_success(void *xfer, uint32_t bytes) "%p: len %d"
175usb_xhci_xfer_error(void *xfer, uint32_t ret) "%p: ret %d"
176usb_xhci_unimplemented(const char *item, int nr) "%s (0x%x)"
177usb_xhci_enforced_limit(const char *item) "%s"
178
179# hw/usb/desc.c
180usb_desc_device(int addr, int len, int ret) "dev %d query device, len %d, ret %d"
181usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device qualifier, len %d, ret %d"
182usb_desc_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
183usb_desc_other_speed_config(int addr, int index, int len, int ret) "dev %d query config %d, len %d, ret %d"
184usb_desc_string(int addr, int index, int len, int ret) "dev %d query string %d, len %d, ret %d"
185usb_desc_bos(int addr, int len, int ret) "dev %d bos, len %d, ret %d"
186usb_desc_msos(int addr, int index, int len, int ret) "dev %d msos, index 0x%x, len %d, ret %d"
187usb_set_addr(int addr) "dev %d"
188usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
189usb_set_interface(int addr, int iface, int alt, int ret) "dev %d, interface %d, altsetting %d, ret %d"
190usb_clear_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
191usb_set_device_feature(int addr, int feature, int ret) "dev %d, feature %d, ret %d"
192
193# hw/usb/dev-hub.c
194usb_hub_reset(int addr) "dev %d"
195usb_hub_control(int addr, int request, int value, int index, int length) "dev %d, req 0x%x, value %d, index %d, langth %d"
196usb_hub_get_port_status(int addr, int nr, int status, int changed) "dev %d, port %d, status 0x%x, changed 0x%x"
197usb_hub_set_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
198usb_hub_clear_port_feature(int addr, int nr, const char *f) "dev %d, port %d, feature %s"
199usb_hub_attach(int addr, int nr) "dev %d, port %d"
200usb_hub_detach(int addr, int nr) "dev %d, port %d"
201usb_hub_status_report(int addr, int status) "dev %d, status 0x%x"
202
203# hw/usb/dev-uas.c
204usb_uas_reset(int addr) "dev %d"
205usb_uas_command(int addr, uint16_t tag, int lun, uint32_t lun64_1, uint32_t lun64_2) "dev %d, tag 0x%x, lun %d, lun64 %08x-%08x"
206usb_uas_response(int addr, uint16_t tag, uint8_t code) "dev %d, tag 0x%x, code 0x%x"
207usb_uas_sense(int addr, uint16_t tag, uint8_t status) "dev %d, tag 0x%x, status 0x%x"
208usb_uas_read_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
209usb_uas_write_ready(int addr, uint16_t tag) "dev %d, tag 0x%x"
210usb_uas_xfer_data(int addr, uint16_t tag, uint32_t copy, uint32_t uoff, uint32_t usize, uint32_t soff, uint32_t ssize) "dev %d, tag 0x%x, copy %d, usb-pkt %d/%d, scsi-buf %d/%d"
211usb_uas_scsi_data(int addr, uint16_t tag, uint32_t bytes) "dev %d, tag 0x%x, bytes %d"
212usb_uas_scsi_complete(int addr, uint16_t tag, uint32_t status, uint32_t resid) "dev %d, tag 0x%x, status 0x%x, residue %d"
213usb_uas_tmf_abort_task(int addr, uint16_t tag, uint16_t task_tag) "dev %d, tag 0x%x, task-tag 0x%x"
214usb_uas_tmf_logical_unit_reset(int addr, uint16_t tag, int lun) "dev %d, tag 0x%x, lun %d"
215usb_uas_tmf_unsupported(int addr, uint16_t tag, uint32_t function) "dev %d, tag 0x%x, function 0x%x"
216
217# hw/usb/dev-mtp.c
218usb_mtp_reset(int addr) "dev %d"
219usb_mtp_command(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4) "dev %d, code 0x%x, trans 0x%x, args 0x%x, 0x%x, 0x%x, 0x%x, 0x%x"
220usb_mtp_success(int dev, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, trans 0x%x, args 0x%x, 0x%x"
221usb_mtp_error(int dev, uint16_t code, uint32_t trans, uint32_t arg0, uint32_t arg1) "dev %d, code 0x%x, trans 0x%x, args 0x%x, 0x%x"
222usb_mtp_data_in(int dev, uint32_t trans, uint32_t len) "dev %d, trans 0x%x, len %d"
223usb_mtp_xfer(int dev, uint32_t ep, uint32_t dlen, uint32_t plen) "dev %d, ep %d, %d/%d"
224usb_mtp_nak(int dev, uint32_t ep) "dev %d, ep %d"
225usb_mtp_stall(int dev, const char *reason) "dev %d, reason: %s"
226usb_mtp_op_get_device_info(int dev) "dev %d"
227usb_mtp_op_open_session(int dev) "dev %d"
228usb_mtp_op_close_session(int dev) "dev %d"
229usb_mtp_op_get_storage_ids(int dev) "dev %d"
230usb_mtp_op_get_storage_info(int dev) "dev %d"
231usb_mtp_op_get_num_objects(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
232usb_mtp_op_get_object_handles(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
233usb_mtp_op_get_object_info(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
234usb_mtp_op_get_object(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
235usb_mtp_op_get_partial_object(int dev, uint32_t handle, const char *path, uint32_t offset, uint32_t length) "dev %d, handle 0x%x, path %s, off %d, len %d"
236usb_mtp_op_unknown(int dev, uint32_t code) "dev %d, command code 0x%x"
237usb_mtp_object_alloc(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
238usb_mtp_object_free(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
239usb_mtp_add_child(int dev, uint32_t handle, const char *path) "dev %d, handle 0x%x, path %s"
240usb_mtp_inotify_event(int dev, const char *path, uint32_t mask, const char *s) "dev %d, path %s mask 0x%x event %s"
241
242# hw/usb/host-libusb.c
243usb_host_open_started(int bus, int addr) "dev %d:%d"
244usb_host_open_success(int bus, int addr) "dev %d:%d"
245usb_host_open_failure(int bus, int addr) "dev %d:%d"
246usb_host_close(int bus, int addr) "dev %d:%d"
247usb_host_attach_kernel(int bus, int addr, int interface) "dev %d:%d, if %d"
248usb_host_detach_kernel(int bus, int addr, int interface) "dev %d:%d, if %d"
249usb_host_set_address(int bus, int addr, int config) "dev %d:%d, address %d"
250usb_host_set_config(int bus, int addr, int config) "dev %d:%d, config %d"
251usb_host_set_interface(int bus, int addr, int interface, int alt) "dev %d:%d, interface %d, alt %d"
252usb_host_claim_interface(int bus, int addr, int config, int interface) "dev %d:%d, config %d, if %d"
253usb_host_release_interface(int bus, int addr, int interface) "dev %d:%d, if %d"
254usb_host_req_control(int bus, int addr, void *p, int req, int value, int index) "dev %d:%d, packet %p, req 0x%x, value %d, index %d"
255usb_host_req_data(int bus, int addr, void *p, int in, int ep, int size) "dev %d:%d, packet %p, in %d, ep %d, size %d"
256usb_host_req_complete(int bus, int addr, void *p, int status, int length) "dev %d:%d, packet %p, status %d, length %d"
257usb_host_req_emulated(int bus, int addr, void *p, int status) "dev %d:%d, packet %p, status %d"
258usb_host_req_canceled(int bus, int addr, void *p) "dev %d:%d, packet %p"
259usb_host_iso_start(int bus, int addr, int ep) "dev %d:%d, ep %d"
260usb_host_iso_stop(int bus, int addr, int ep) "dev %d:%d, ep %d"
261usb_host_iso_out_of_bufs(int bus, int addr, int ep) "dev %d:%d, ep %d"
262usb_host_reset(int bus, int addr) "dev %d:%d"
263usb_host_auto_scan_enabled(void)
264usb_host_auto_scan_disabled(void)
265usb_host_parse_config(int bus, int addr, int value, int active) "dev %d:%d, value %d, active %d"
266usb_host_parse_interface(int bus, int addr, int num, int alt, int active) "dev %d:%d, num %d, alt %d, active %d"
267usb_host_parse_endpoint(int bus, int addr, int ep, const char *dir, const char *type, int active) "dev %d:%d, ep %d, %s, %s, active %d"
268usb_host_parse_error(int bus, int addr, const char *errmsg) "dev %d:%d, msg %s"
269