xref: /openbmc/qemu/hw/misc/macio/trace-events (revision 8c345b3e6a736d4985b2bca6f7f24b985900de63)
1*d0fb9657SStefano Garzarella# See docs/devel/tracing.rst for syntax documentation.
24b402e09SMark Cave-Ayland
3500016e5SMarkus Armbruster# cuda.c
44b402e09SMark Cave-Aylandcuda_delay_set_sr_int(void) ""
54b402e09SMark Cave-Aylandcuda_data_send(uint8_t data) "send: 0x%02x"
64b402e09SMark Cave-Aylandcuda_data_recv(uint8_t data) "recv: 0x%02x"
74b402e09SMark Cave-Aylandcuda_receive_packet_cmd(const char *cmd) "handling command %s"
84b402e09SMark Cave-Aylandcuda_packet_receive(int len) "length %d"
94b402e09SMark Cave-Aylandcuda_packet_receive_data(int i, const uint8_t data) "[%d] 0x%02x"
104b402e09SMark Cave-Aylandcuda_packet_send(int len) "length %d"
114b402e09SMark Cave-Aylandcuda_packet_send_data(int i, const uint8_t data) "[%d] 0x%02x"
1256e7404bSMark Cave-Ayland
13500016e5SMarkus Armbruster# macio.c
1456e7404bSMark Cave-Aylandmacio_timer_write(uint64_t addr, unsigned len, uint64_t val) "write addr 0x%"PRIx64 " len %d val 0x%"PRIx64
1556e7404bSMark Cave-Aylandmacio_timer_read(uint64_t addr, unsigned len, uint32_t val) "read addr 0x%"PRIx64 " len %d val 0x%"PRIx32
167c4166a9SMark Cave-Ayland
17500016e5SMarkus Armbruster# gpio.c
187c4166a9SMark Cave-Aylandmacio_set_gpio(int gpio, bool state) "setting GPIO %d to %d"
197c4166a9SMark Cave-Aylandmacio_gpio_irq_assert(int gpio) "asserting GPIO %d"
207c4166a9SMark Cave-Aylandmacio_gpio_irq_deassert(int gpio) "deasserting GPIO %d"
217c4166a9SMark Cave-Aylandmacio_gpio_write(uint64_t addr, uint64_t val) "addr: 0x%"PRIx64" value: 0x%"PRIx64
22d811d61fSMark Cave-Ayland
23500016e5SMarkus Armbruster# pmu.c
24d811d61fSMark Cave-Aylandpmu_adb_poll(int olen) "ADB autopoll, olen=%d"
25d811d61fSMark Cave-Aylandpmu_one_sec_timer(void) "PMU one sec..."
26d811d61fSMark Cave-Aylandpmu_cmd_set_int_mask(int intmask) "Setting PMU int mask to 0x%02x"
27d811d61fSMark Cave-Aylandpmu_cmd_set_adb_autopoll(int mask) "ADB set autopoll, mask=0x%04x"
28d811d61fSMark Cave-Aylandpmu_cmd_adb_nobus(void) "ADB PACKET with no ADB bus!"
29d811d61fSMark Cave-Aylandpmu_cmd_adb_request(int inlen, int indata0, int indata1, int indata2, int indata3, int indata4) "ADB request: len=%d, cmd=0x%02x, pflags=0x%02x, adblen=%d: 0x%02x 0x%02x..."
30d811d61fSMark Cave-Aylandpmu_cmd_adb_reply(int len) "ADB reply is %d bytes"
31d811d61fSMark Cave-Aylandpmu_dispatch_cmd(const char *name) "handling command %s"
32d811d61fSMark Cave-Aylandpmu_dispatch_unknown_cmd(int cmd) "Unknown PMU command 0x%02x"
33d811d61fSMark Cave-Aylandpmu_debug_protocol_string(const char *str) "%s"
34d811d61fSMark Cave-Aylandpmu_debug_protocol_resp_size(int size) "sending %d resp bytes"
35d811d61fSMark Cave-Aylandpmu_debug_protocol_error(int portB) "protocol error! portB=0x%02x"
36d811d61fSMark Cave-Aylandpmu_debug_protocol_clear_treq(int state) "TREQ cleared, clearing TACK, state: %d"
37d811d61fSMark Cave-Aylandpmu_debug_protocol_cmd(int cmd, int cmdlen, int rsplen) "Got command byte 0x%02x, clen=%d, rlen=%d"
38d811d61fSMark Cave-Aylandpmu_debug_protocol_cmdlen(int len) "got cmd length byte: %d"
39d811d61fSMark Cave-Aylandpmu_debug_protocol_cmd_toobig(int len) "command too big (%d bytes)"
40d811d61fSMark Cave-Aylandpmu_debug_protocol_cmd_send_resp_size(int len) "sending length byte: %d"
41d811d61fSMark Cave-Aylandpmu_debug_protocol_cmd_send_resp(int pos, int len) "sending byte: %d/%d"
42d811d61fSMark Cave-Aylandpmu_debug_protocol_cmd_resp_complete(int ier) "Response send complete. IER=0x%02x"
43