2017-07-29 01:46:05 +03:00
|
|
|
# See docs/devel/tracing.txt for syntax documentation.
|
2016-06-16 11:40:08 +03:00
|
|
|
|
2020-03-12 01:18:44 +03:00
|
|
|
# allwinner-sdhost.c
|
|
|
|
allwinner_sdhost_set_inserted(bool inserted) "inserted %u"
|
|
|
|
allwinner_sdhost_process_desc(uint64_t desc_addr, uint32_t desc_size, bool is_write, uint32_t max_bytes) "desc_addr 0x%" PRIx64 " desc_size %" PRIu32 " is_write %u max_bytes %" PRIu32
|
|
|
|
allwinner_sdhost_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
|
|
|
|
allwinner_sdhost_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
|
|
|
|
allwinner_sdhost_update_irq(uint32_t irq) "IRQ bits 0x%" PRIx32
|
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# bcm2835_sdhost.c
|
2018-04-10 15:02:25 +03:00
|
|
|
bcm2835_sdhost_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
|
|
|
|
bcm2835_sdhost_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
|
|
|
|
bcm2835_sdhost_edm_change(const char *why, uint32_t edm) "(%s) EDM now 0x%x"
|
2019-09-16 12:51:20 +03:00
|
|
|
bcm2835_sdhost_update_irq(uint32_t irq) "IRQ bits 0x%x"
|
2018-04-10 15:02:25 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# core.c
|
2018-06-29 17:11:19 +03:00
|
|
|
sdbus_command(const char *bus_name, uint8_t cmd, uint32_t arg) "@%s CMD%02d arg 0x%08x"
|
2018-02-08 19:48:08 +03:00
|
|
|
sdbus_read(const char *bus_name, uint8_t value) "@%s value 0x%02x"
|
|
|
|
sdbus_write(const char *bus_name, uint8_t value) "@%s value 0x%02x"
|
2018-02-08 19:48:09 +03:00
|
|
|
sdbus_set_voltage(const char *bus_name, uint16_t millivolts) "@%s %u (mV)"
|
2018-02-08 19:48:10 +03:00
|
|
|
sdbus_get_dat_lines(const char *bus_name, uint8_t dat_lines) "@%s dat_lines: %u"
|
|
|
|
sdbus_get_cmd_line(const char *bus_name, bool cmd_line) "@%s cmd_line: %u"
|
2018-02-08 19:48:08 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# sdhci.c
|
2018-01-16 16:28:18 +03:00
|
|
|
sdhci_set_inserted(const char *level) "card state changed: %s"
|
|
|
|
sdhci_send_command(uint8_t cmd, uint32_t arg) "CMD%02u ARG[0x%08x]"
|
|
|
|
sdhci_error(const char *msg) "%s"
|
|
|
|
sdhci_response4(uint32_t r0) "RSPREG[31..0]=0x%08x"
|
|
|
|
sdhci_response16(uint32_t r3, uint32_t r2, uint32_t r1, uint32_t r0) "RSPREG[127..96]=0x%08x, RSPREG[95..64]=0x%08x, RSPREG[63..32]=0x%08x, RSPREG[31..0]=0x%08x"
|
|
|
|
sdhci_end_transfer(uint8_t cmd, uint32_t arg) "Automatically issue CMD%02u 0x%08x"
|
|
|
|
sdhci_adma(const char *desc, uint32_t sysad) "%s: admasysaddr=0x%" PRIx32
|
|
|
|
sdhci_adma_loop(uint64_t addr, uint16_t length, uint8_t attr) "addr=0x%08" PRIx64 ", len=%d, attr=0x%x"
|
|
|
|
sdhci_adma_transfer_completed(void) ""
|
|
|
|
sdhci_access(const char *access, unsigned int size, uint64_t offset, const char *dir, uint64_t val, uint64_t val2) "%s%u: addr[0x%04" PRIx64 "] %s 0x%08" PRIx64 " (%" PRIu64 ")"
|
|
|
|
sdhci_read_dataport(uint16_t data_count) "all %u bytes of data have been read from input buffer"
|
|
|
|
sdhci_write_dataport(uint16_t data_count) "write buffer filled with %u bytes of data"
|
2018-02-08 19:47:58 +03:00
|
|
|
sdhci_capareg(const char *desc, uint16_t val) "%s: %u"
|
2018-01-16 16:28:18 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# sd.c
|
2018-03-09 20:09:44 +03:00
|
|
|
sdcard_normal_command(const char *proto, const char *cmd_desc, uint8_t cmd, uint32_t arg, const char *state) "%s %20s/ CMD%02d arg 0x%08x (state %s)"
|
|
|
|
sdcard_app_command(const char *proto, const char *acmd_desc, uint8_t acmd, uint32_t arg, const char *state) "%s %23s/ACMD%02d arg 0x%08x (state %s)"
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_response(const char *rspdesc, int rsplen) "%s (sz:%d)"
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_powerup(void) ""
|
|
|
|
sdcard_inquiry_cmd41(void) ""
|
|
|
|
sdcard_reset(void) ""
|
2018-06-21 20:12:48 +03:00
|
|
|
sdcard_set_blocklen(uint16_t length) "0x%03x"
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_inserted(bool readonly) "read_only: %u"
|
|
|
|
sdcard_ejected(void) ""
|
2020-09-13 14:18:19 +03:00
|
|
|
sdcard_erase(uint32_t first, uint32_t last) "addr first 0x%" PRIx32" last 0x%" PRIx32
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_lock(void) ""
|
|
|
|
sdcard_unlock(void) ""
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_read_block(uint64_t addr, uint32_t len) "addr 0x%" PRIx64 " size 0x%x"
|
|
|
|
sdcard_write_block(uint64_t addr, uint32_t len) "addr 0x%" PRIx64 " size 0x%x"
|
2018-03-09 20:09:44 +03:00
|
|
|
sdcard_write_data(const char *proto, const char *cmd_desc, uint8_t cmd, uint8_t value) "%s %20s/ CMD%02d value 0x%02x"
|
|
|
|
sdcard_read_data(const char *proto, const char *cmd_desc, uint8_t cmd, int length) "%s %20s/ CMD%02d len %d"
|
2018-02-22 18:12:52 +03:00
|
|
|
sdcard_set_voltage(uint16_t millivolts) "%u mV"
|
2018-02-22 18:12:52 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# milkymist-memcard.c
|
trace-events: fix code style: print 0x before hex numbers
The only exception are groups of numers separated by symbols
'.', ' ', ':', '/', like 'ab.09.7d'.
This patch is made by the following:
> find . -name trace-events | xargs python script.py
where script.py is the following python script:
=========================
#!/usr/bin/env python
import sys
import re
import fileinput
rhex = '%[-+ *.0-9]*(?:[hljztL]|ll|hh)?(?:x|X|"\s*PRI[xX][^"]*"?)'
rgroup = re.compile('((?:' + rhex + '[.:/ ])+' + rhex + ')')
rbad = re.compile('(?<!0x)' + rhex)
files = sys.argv[1:]
for fname in files:
for line in fileinput.input(fname, inplace=True):
arr = re.split(rgroup, line)
for i in range(0, len(arr), 2):
arr[i] = re.sub(rbad, '0x\g<0>', arr[i])
sys.stdout.write(''.join(arr))
=========================
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Message-id: 20170731160135.12101-5-vsementsov@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-07-31 19:01:35 +03:00
|
|
|
milkymist_memcard_memory_read(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
|
|
|
|
milkymist_memcard_memory_write(uint32_t addr, uint32_t value) "addr 0x%08x value 0x%08x"
|
2018-01-11 16:25:39 +03:00
|
|
|
|
2019-03-14 21:09:26 +03:00
|
|
|
# pxa2xx_mmci.c
|
2018-01-11 16:25:39 +03:00
|
|
|
pxa2xx_mmci_read(uint8_t size, uint32_t addr, uint32_t value) "size %d addr 0x%02x value 0x%08x"
|
|
|
|
pxa2xx_mmci_write(uint8_t size, uint32_t addr, uint32_t value) "size %d addr 0x%02x value 0x%08x"
|
2020-07-05 20:57:50 +03:00
|
|
|
|
|
|
|
# pl181.c
|
|
|
|
pl181_command_send(uint8_t cmd, uint32_t arg) "sending CMD%02d arg 0x%08" PRIx32
|
|
|
|
pl181_command_sent(void) "command sent"
|
|
|
|
pl181_command_response_pending(void) "response received"
|
|
|
|
pl181_command_timeout(void) "command timeouted"
|
|
|
|
pl181_fifo_push(uint32_t data) "FIFO push 0x%08" PRIx32
|
|
|
|
pl181_fifo_pop(uint32_t data) "FIFO pop 0x%08" PRIx32
|
|
|
|
pl181_fifo_transfer_complete(void) "FIFO transfer complete"
|
|
|
|
pl181_data_engine_idle(void) "data engine idle"
|