xref: /openbmc/qemu/hw/ssi/trace-events (revision 657ea58b)
1# aspeed_smc.c
2
3aspeed_smc_flash_set_segment(int cs, uint64_t reg, uint64_t start, uint64_t end) "CS%d segreg=0x%"PRIx64" [ 0x%"PRIx64" - 0x%"PRIx64" ]"
4aspeed_smc_flash_read(int cs, uint64_t addr,  uint32_t size, uint64_t data, int mode) "CS%d @0x%" PRIx64 " size %u: 0x%" PRIx64" mode:%d"
5aspeed_smc_do_snoop(int cs, int index, int dummies, int data) "CS%d index:0x%x dummies:%d data:0x%x"
6aspeed_smc_flash_write(int cs, uint64_t addr,  uint32_t size, uint64_t data, int mode) "CS%d @0x%" PRIx64 " size %u: 0x%" PRIx64" mode:%d"
7aspeed_smc_read(uint64_t addr,  uint32_t size, uint64_t data) "@0x%" PRIx64 " size %u: 0x%" PRIx64
8aspeed_smc_dma_checksum(uint32_t addr, uint32_t data) "0x%08x: 0x%08x"
9aspeed_smc_dma_rw(const char *dir, uint32_t flash_addr, uint64_t dram_addr, uint32_t size) "%s flash:@0x%08x dram:@0x%" PRIx64 " size:0x%08x"
10aspeed_smc_write(uint64_t addr,  uint32_t size, uint64_t data) "@0x%" PRIx64 " size %u: 0x%" PRIx64
11aspeed_smc_flash_select(int cs, const char *prefix) "CS%d %sselect"
12
13# npcm7xx_fiu.c
14
15npcm7xx_fiu_enter_reset(const char *id, int reset_type) "%s reset type: %d"
16npcm7xx_fiu_hold_reset(const char *id) "%s"
17npcm7xx_fiu_select(const char *id, int cs) "%s select CS%d"
18npcm7xx_fiu_deselect(const char *id, int cs) "%s deselect CS%d"
19npcm7xx_fiu_ctrl_read(const char *id, uint64_t addr, uint32_t data) "%s offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
20npcm7xx_fiu_ctrl_write(const char *id, uint64_t addr, uint32_t data) "%s offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
21npcm7xx_fiu_flash_read(const char *id, int cs, uint64_t addr, unsigned int size, uint64_t value) "%s[%d] offset: 0x%08" PRIx64 " size: %u value: 0x%" PRIx64
22npcm7xx_fiu_flash_write(const char *id, unsigned cs, uint64_t addr, unsigned int size, uint64_t value) "%s[%d] offset: 0x%08" PRIx64 " size: %u value: 0x%" PRIx64
23
24# npcm_pspi.c
25npcm_pspi_enter_reset(const char *id, int reset_type) "%s reset type: %d"
26npcm_pspi_ctrl_read(const char *id, uint64_t addr, uint16_t data) "%s offset: 0x%03" PRIx64 " value: 0x%04" PRIx16
27npcm_pspi_ctrl_write(const char *id, uint64_t addr, uint16_t data) "%s offset: 0x%03" PRIx64 " value: 0x%04" PRIx16
28
29# ibex_spi_host.c
30
31ibex_spi_host_reset(const char *msg) "%s"
32ibex_spi_host_transfer(uint32_t tx_data, uint32_t rx_data) "tx_data: 0x%" PRIx32 " rx_data: @0x%" PRIx32
33ibex_spi_host_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size %u: 0x%" PRIx64
34ibex_spi_host_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size %u:"
35
36#pnv_spi.c
37pnv_spi_read(uint64_t addr, uint64_t val) "addr 0x%" PRIx64 " val 0x%" PRIx64
38pnv_spi_write(uint64_t addr, uint64_t val) "addr 0x%" PRIx64 " val 0x%" PRIx64
39pnv_spi_read_RDR(uint64_t val) "data extracted = 0x%" PRIx64
40pnv_spi_write_TDR(uint64_t val) "being written, data written = 0x%" PRIx64
41pnv_spi_start_sequencer(void) ""
42pnv_spi_reset(void) "spic engine sequencer configuration and spi communication"
43pnv_spi_sequencer_op(const char* op, uint8_t index) "%s at index = 0x%x"
44pnv_spi_shifter_stating(void) "pull CS line low"
45pnv_spi_shifter_done(void) "pull the CS line high"
46pnv_spi_log_Ncounts(uint8_t N1_bits, uint8_t N1_bytes, uint8_t N1_tx, uint8_t N1_rx, uint8_t N2_bits, uint8_t N2_bytes, uint8_t N2_tx, uint8_t N2_rx) "N1_bits = %d, N1_bytes = %d, N1_tx = %d, N1_rx = %d, N2_bits = %d, N2_bytes = %d, N2_tx = %d, N2_rx = %d"
47pnv_spi_tx_append(const char* frame, uint8_t byte, uint8_t tdr_index) "%s = 0x%2.2x to payload from TDR at index %d"
48pnv_spi_tx_append_FF(const char* frame) "%s to Payload"
49pnv_spi_tx_request(const char* frame, uint32_t payload_len) "%s, payload len = %d"
50pnv_spi_rx_received(uint32_t payload_len) "payload len = %d"
51pnv_spi_rx_read_N1frame(void) ""
52pnv_spi_rx_read_N2frame(void) ""
53pnv_spi_shift_rx(uint8_t byte, uint32_t index) "byte = 0x%2.2x into RDR from payload index %d"
54pnv_spi_sequencer_stop_requested(const char* reason) "due to %s"
55pnv_spi_RDR_match(const char* result) "%s"
56