xref: /openbmc/qemu/hw/misc/trace-events (revision 7d87775f)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# allwinner-cpucfg.c
4allwinner_cpucfg_cpu_reset(uint8_t cpu_id, uint32_t reset_addr) "id %u, reset_addr 0x%" PRIx32
5allwinner_cpucfg_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
6allwinner_cpucfg_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
7
8# allwinner-h3-dramc.c
9allwinner_h3_dramc_rowmirror_disable(void) "Disable row mirror"
10allwinner_h3_dramc_rowmirror_enable(uint64_t addr) "Enable row mirror: addr 0x%" PRIx64
11allwinner_h3_dramcom_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
12allwinner_h3_dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
13allwinner_h3_dramctl_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
14allwinner_h3_dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
15allwinner_h3_dramphy_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
16allwinner_h3_dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
17
18# allwinner-r40-dramc.c
19allwinner_r40_dramc_detect_cells_disable(void) "Disable detect cells"
20allwinner_r40_dramc_detect_cells_enable(void) "Enable detect cells"
21allwinner_r40_dramc_map_rows(uint8_t row_bits, uint8_t bank_bits, uint8_t col_bits) "DRAM layout: row_bits %d, bank_bits %d, col_bits %d"
22allwinner_r40_dramc_offset_to_cell(uint64_t offset, int row, int bank, int col) "offset 0x%" PRIx64 " row %d bank %d col %d"
23allwinner_r40_dramc_detect_cell_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64 ""
24allwinner_r40_dramc_detect_cell_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64 ""
25allwinner_r40_dramcom_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
26allwinner_r40_dramcom_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
27allwinner_r40_dramctl_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
28allwinner_r40_dramctl_write(uint64_t offset, uint64_t data, unsigned size) "Write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
29allwinner_r40_dramphy_read(uint64_t offset, uint64_t data, unsigned size) "Read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
30allwinner_r40_dramphy_write(uint64_t offset, uint64_t data, unsigned size) "write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
31
32# allwinner-sid.c
33allwinner_sid_read(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
34allwinner_sid_write(uint64_t offset, uint64_t data, unsigned size) "offset 0x%" PRIx64 " data 0x%" PRIx64 " size %" PRIu32
35
36# allwinner-sramc.c
37allwinner_sramc_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
38allwinner_sramc_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
39
40# aspeed_ibt.c
41aspeed_ibt_chr_dump_msg(const char *func, const char *buf, uint32_t len) "%s: %s #%d bytes"
42aspeed_ibt_chr_event(bool connected) "connected:%d"
43aspeed_ibt_read(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
44aspeed_ibt_write(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
45aspeed_ibt_event(const char* event) "%s"
46
47# avr_power.c
48avr_power_read(uint8_t value) "power_reduc read value:%u"
49avr_power_write(uint8_t value) "power_reduc write value:%u"
50
51# axp2xx
52axp2xx_rx(uint8_t reg, uint8_t data) "Read reg 0x%" PRIx8 " : 0x%" PRIx8
53axp2xx_select(uint8_t reg) "Accessing reg 0x%" PRIx8
54axp2xx_tx(uint8_t reg, uint8_t data) "Write reg 0x%" PRIx8 " : 0x%" PRIx8
55
56# eccmemctl.c
57ecc_mem_writel_mer(uint32_t val) "Write memory enable 0x%08x"
58ecc_mem_writel_mdr(uint32_t val) "Write memory delay 0x%08x"
59ecc_mem_writel_mfsr(uint32_t val) "Write memory fault status 0x%08x"
60ecc_mem_writel_vcr(uint32_t val) "Write slot configuration 0x%08x"
61ecc_mem_writel_dr(uint32_t val) "Write diagnostic 0x%08x"
62ecc_mem_writel_ecr0(uint32_t val) "Write event count 1 0x%08x"
63ecc_mem_writel_ecr1(uint32_t val) "Write event count 2 0x%08x"
64ecc_mem_readl_mer(uint32_t ret) "Read memory enable 0x%08x"
65ecc_mem_readl_mdr(uint32_t ret) "Read memory delay 0x%08x"
66ecc_mem_readl_mfsr(uint32_t ret) "Read memory fault status 0x%08x"
67ecc_mem_readl_vcr(uint32_t ret) "Read slot configuration 0x%08x"
68ecc_mem_readl_mfar0(uint32_t ret) "Read memory fault address 0 0x%08x"
69ecc_mem_readl_mfar1(uint32_t ret) "Read memory fault address 1 0x%08x"
70ecc_mem_readl_dr(uint32_t ret) "Read diagnostic 0x%08x"
71ecc_mem_readl_ecr0(uint32_t ret) "Read event count 1 0x%08x"
72ecc_mem_readl_ecr1(uint32_t ret) "Read event count 2 0x%08x"
73ecc_diag_mem_writeb(uint64_t addr, uint32_t val) "Write diagnostic %"PRId64" = 0x%02x"
74ecc_diag_mem_readb(uint64_t addr, uint32_t ret) "Read diagnostic %"PRId64"= 0x%02x"
75
76# empty_slot.c
77empty_slot_write(uint64_t addr, unsigned width, uint64_t value, unsigned size, const char *name) "wr addr:0x%04"PRIx64" data:0x%0*"PRIx64" size %u [%s]"
78
79# slavio_misc.c
80slavio_misc_update_irq_raise(void) "Raise IRQ"
81slavio_misc_update_irq_lower(void) "Lower IRQ"
82slavio_set_power_fail(int power_failing, uint8_t config) "Power fail: %d, config: %d"
83slavio_cfg_mem_writeb(uint32_t val) "Write config 0x%02x"
84slavio_cfg_mem_readb(uint32_t ret) "Read config 0x%02x"
85slavio_diag_mem_writeb(uint32_t val) "Write diag 0x%02x"
86slavio_diag_mem_readb(uint32_t ret) "Read diag 0x%02x"
87slavio_mdm_mem_writeb(uint32_t val) "Write modem control 0x%02x"
88slavio_mdm_mem_readb(uint32_t ret) "Read modem control 0x%02x"
89slavio_aux1_mem_writeb(uint32_t val) "Write aux1 0x%02x"
90slavio_aux1_mem_readb(uint32_t ret) "Read aux1 0x%02x"
91slavio_aux2_mem_writeb(uint32_t val) "Write aux2 0x%02x"
92slavio_aux2_mem_readb(uint32_t ret) "Read aux2 0x%02x"
93apc_mem_writeb(uint32_t val) "Write power management 0x%02x"
94apc_mem_readb(uint32_t ret) "Read power management 0x%02x"
95slavio_sysctrl_mem_writel(uint32_t val) "Write system control 0x%08x"
96slavio_sysctrl_mem_readl(uint32_t ret) "Read system control 0x%08x"
97slavio_led_mem_writew(uint32_t val) "Write diagnostic LED 0x%04x"
98slavio_led_mem_readw(uint32_t ret) "Read diagnostic LED 0x%04x"
99
100# aspeed_scu.c
101aspeed_scu_write(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
102aspeed_scu_read(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
103aspeed_ast2700_scu_write(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
104aspeed_ast2700_scu_read(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
105aspeed_ast2700_scuio_write(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
106aspeed_ast2700_scuio_read(uint64_t offset, unsigned size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
107
108# mps2-scc.c
109mps2_scc_read(uint64_t offset, uint64_t data, unsigned size) "MPS2 SCC read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
110mps2_scc_write(uint64_t offset, uint64_t data, unsigned size) "MPS2 SCC write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
111mps2_scc_reset(void) "MPS2 SCC: reset"
112mps2_scc_cfg_write(unsigned function, unsigned device, uint32_t value) "MPS2 SCC config write: function %d device %d data 0x%" PRIx32
113mps2_scc_cfg_read(unsigned function, unsigned device, uint32_t value) "MPS2 SCC config read: function %d device %d data 0x%" PRIx32
114
115# mps2-fpgaio.c
116mps2_fpgaio_read(uint64_t offset, uint64_t data, unsigned size) "MPS2 FPGAIO read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
117mps2_fpgaio_write(uint64_t offset, uint64_t data, unsigned size) "MPS2 FPGAIO write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
118mps2_fpgaio_reset(void) "MPS2 FPGAIO: reset"
119
120# msf2-sysreg.c
121msf2_sysreg_write(uint64_t offset, uint32_t val, uint32_t prev) "msf2-sysreg write: addr 0x%08" PRIx64 " data 0x%" PRIx32 " prev 0x%" PRIx32
122msf2_sysreg_read(uint64_t offset, uint32_t val) "msf2-sysreg read: addr 0x%08" PRIx64 " data 0x%08" PRIx32
123msf2_sysreg_write_pll_status(void) "Invalid write to read only PLL status register"
124
125# imx7_gpr.c
126imx7_gpr_read(uint64_t offset) "addr 0x%08" PRIx64
127imx7_gpr_write(uint64_t offset, uint64_t value) "addr 0x%08" PRIx64 "value 0x%08" PRIx64
128
129# imx7_snvs.c
130imx7_snvs_read(uint64_t offset, uint64_t value, unsigned size) "i.MX SNVS read: offset 0x%08" PRIx64 " value 0x%08" PRIx64 " size %u"
131imx7_snvs_write(uint64_t offset, uint64_t value, unsigned size) "i.MX SNVS write: offset 0x%08" PRIx64 " value 0x%08" PRIx64 " size %u"
132
133# mos6522.c
134mos6522_set_counter(int index, unsigned int val) "T%d.counter=%d"
135mos6522_get_next_irq_time(uint16_t latch, int64_t d, int64_t delta) "latch=%d counter=0x%"PRIx64 " delta_next=0x%"PRIx64
136mos6522_set_sr_int(void) "set sr_int"
137mos6522_write(uint64_t addr, const char *name, uint64_t val) "reg=0x%"PRIx64 " [%s] val=0x%"PRIx64
138mos6522_read(uint64_t addr, const char *name, unsigned val) "reg=0x%"PRIx64 " [%s] val=0x%x"
139
140# npcm7xx_clk.c
141npcm7xx_clk_read(uint64_t offset, uint32_t value) " offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
142npcm7xx_clk_write(uint64_t offset, uint32_t value) "offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
143
144# npcm7xx_gcr.c
145npcm7xx_gcr_read(uint64_t offset, uint32_t value) " offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
146npcm7xx_gcr_write(uint64_t offset, uint32_t value) "offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
147
148# npcm7xx_mft.c
149npcm7xx_mft_read(const char *name, uint64_t offset, uint16_t value) "%s: offset: 0x%04" PRIx64 " value: 0x%04" PRIx16
150npcm7xx_mft_write(const char *name, uint64_t offset, uint16_t value) "%s: offset: 0x%04" PRIx64 " value: 0x%04" PRIx16
151npcm7xx_mft_rpm(const char *clock, uint32_t clock_hz, int state, int32_t cnt, uint32_t rpm, uint32_t duty) " fan clk: %s clock_hz: %" PRIu32 ", state: %d, cnt: %" PRIi32 ", rpm: %" PRIu32 ", duty: %" PRIu32
152npcm7xx_mft_capture(const char *name, int irq_level) "%s: level: %d"
153npcm7xx_mft_update_clock(const char *name, uint16_t sel, uint64_t clock_period, uint64_t prescaled_clock_period) "%s: sel: 0x%02" PRIx16 ", period: %" PRIu64 ", prescaled: %" PRIu64
154npcm7xx_mft_set_duty(const char *name, int n, int value) "%s[%d]: %d"
155
156# npcm7xx_rng.c
157npcm7xx_rng_read(uint64_t offset, uint64_t value, unsigned size) "offset: 0x%04" PRIx64 " value: 0x%02" PRIx64 " size: %u"
158npcm7xx_rng_write(uint64_t offset, uint64_t value, unsigned size) "offset: 0x%04" PRIx64 " value: 0x%02" PRIx64 " size: %u"
159
160# npcm7xx_pwm.c
161npcm7xx_pwm_read(const char *id, uint64_t offset, uint32_t value) "%s offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
162npcm7xx_pwm_write(const char *id, uint64_t offset, uint32_t value) "%s offset: 0x%04" PRIx64 " value: 0x%08" PRIx32
163npcm7xx_pwm_update_freq(const char *id, uint8_t index, uint32_t old_value, uint32_t new_value) "%s pwm[%u] Update Freq: old_freq: %u, new_freq: %u"
164npcm7xx_pwm_update_duty(const char *id, uint8_t index, uint32_t old_value, uint32_t new_value) "%s pwm[%u] Update Duty: old_duty: %u, new_duty: %u"
165
166# stm32_rcc.c
167stm32_rcc_read(uint64_t addr, uint64_t data) "reg read: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
168stm32_rcc_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
169stm32_rcc_pulse_enable(int line, int level) "Enable: %d to %d"
170stm32_rcc_pulse_reset(int line, int level) "Reset: %d to %d"
171
172# stm32f4xx_syscfg.c
173stm32f4xx_syscfg_set_irq(int gpio, int line, int level) "Interrupt: GPIO: %d, Line: %d; Level: %d"
174stm32f4xx_pulse_exti(int irq) "Pulse EXTI: %d"
175stm32f4xx_syscfg_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " "
176stm32f4xx_syscfg_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
177
178# stm32f4xx_exti.c
179stm32f4xx_exti_set_irq(int irq, int level) "Set EXTI: %d to %d"
180stm32f4xx_exti_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " "
181stm32f4xx_exti_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
182
183# stm32l4x5_syscfg.c
184stm32l4x5_syscfg_set_irq(int gpio, int line, int level) "irq from GPIO: %d, line: %d, level: %d"
185stm32l4x5_syscfg_forward_exti(int irq) "irq %d forwarded to EXTI"
186stm32l4x5_syscfg_read(uint64_t addr) "reg read: addr: 0x%" PRIx64 " "
187stm32l4x5_syscfg_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
188
189# stm32l4x5_exti.c
190stm32l4x5_exti_set_irq(int irq, int level) "Set EXTI: %d to %d"
191stm32l4x5_exti_read(uint64_t addr, uint64_t data) "reg read: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
192stm32l4x5_exti_write(uint64_t addr, uint64_t data) "reg write: addr: 0x%" PRIx64 " val: 0x%" PRIx64 ""
193
194# stm32l4x5_rcc.c
195stm32l4x5_rcc_read(uint64_t addr, uint32_t data) "RCC: Read <0x%" PRIx64 "> -> 0x%" PRIx32
196stm32l4x5_rcc_write(uint64_t addr, uint32_t data) "RCC: Write <0x%" PRIx64 "> <- 0x%" PRIx32
197stm32l4x5_rcc_mux_enable(uint32_t mux_id) "RCC: Mux %d enabled"
198stm32l4x5_rcc_mux_disable(uint32_t mux_id) "RCC: Mux %d disabled"
199stm32l4x5_rcc_mux_set_factor(uint32_t mux_id, uint32_t old_multiplier, uint32_t new_multiplier, uint32_t old_divider, uint32_t new_divider) "RCC: Mux %d factor changed: multiplier (%u -> %u), divider (%u -> %u)"
200stm32l4x5_rcc_mux_set_src(uint32_t mux_id, uint32_t old_src, uint32_t new_src) "RCC: Mux %d source changed: from %u to %u"
201stm32l4x5_rcc_mux_update(uint32_t mux_id, uint32_t src, uint64_t src_freq, uint32_t multiplier, uint32_t divider) "RCC: Mux %d src %d update: src_freq %" PRIu64 " multiplier %" PRIu32 " divider %" PRIu32
202stm32l4x5_rcc_pll_set_vco_multiplier(uint32_t pll_id, uint32_t old_multiplier, uint32_t new_multiplier) "RCC: PLL %u: vco_multiplier changed (%u -> %u)"
203stm32l4x5_rcc_pll_channel_enable(uint32_t pll_id, uint32_t channel_id) "RCC: PLL %u, channel %u enabled"
204stm32l4x5_rcc_pll_channel_disable(uint32_t pll_id, uint32_t channel_id) "RCC: PLL %u, channel %u disabled"
205stm32l4x5_rcc_pll_set_channel_divider(uint32_t pll_id, uint32_t channel_id, uint32_t old_divider, uint32_t new_divider) "RCC: PLL %u, channel %u: divider changed (%u -> %u)"
206stm32l4x5_rcc_pll_update(uint32_t pll_id, uint32_t channel_id, uint64_t vco_freq, uint64_t old_freq, uint64_t new_freq) "RCC: PLL %d channel %d update: vco_freq %" PRIu64 " old_freq %" PRIu64 " new_freq %" PRIu64
207
208# tz-mpc.c
209tz_mpc_reg_read(uint32_t offset, uint64_t data, unsigned size) "TZ MPC regs read: offset 0x%x data 0x%" PRIx64 " size %u"
210tz_mpc_reg_write(uint32_t offset, uint64_t data, unsigned size) "TZ MPC regs write: offset 0x%x data 0x%" PRIx64 " size %u"
211tz_mpc_mem_blocked_read(uint64_t addr, unsigned size, bool secure) "TZ MPC blocked read: offset 0x%" PRIx64 " size %u secure %d"
212tz_mpc_mem_blocked_write(uint64_t addr, uint64_t data, unsigned size, bool secure) "TZ MPC blocked write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u secure %d"
213tz_mpc_translate(uint64_t addr, int flags, const char *idx, const char *res) "TZ MPC translate: addr 0x%" PRIx64 " flags 0x%x iommu_idx %s: %s"
214tz_mpc_iommu_notify(uint64_t addr) "TZ MPC iommu: notifying UNMAP/MAP for 0x%" PRIx64
215
216# tz-msc.c
217tz_msc_reset(void) "TZ MSC: reset"
218tz_msc_cfg_nonsec(int level) "TZ MSC: cfg_nonsec = %d"
219tz_msc_cfg_sec_resp(int level) "TZ MSC: cfg_sec_resp = %d"
220tz_msc_irq_clear(int level) "TZ MSC: int_clear = %d"
221tz_msc_update_irq(int level) "TZ MSC: setting irq line to %d"
222tz_msc_access_blocked(uint64_t offset) "TZ MSC: offset 0x%" PRIx64 " access blocked"
223
224# tz-ppc.c
225tz_ppc_reset(void) "TZ PPC: reset"
226tz_ppc_cfg_nonsec(int n, int level) "TZ PPC: cfg_nonsec[%d] = %d"
227tz_ppc_cfg_ap(int n, int level) "TZ PPC: cfg_ap[%d] = %d"
228tz_ppc_cfg_sec_resp(int level) "TZ PPC: cfg_sec_resp = %d"
229tz_ppc_irq_enable(int level) "TZ PPC: int_enable = %d"
230tz_ppc_irq_clear(int level) "TZ PPC: int_clear = %d"
231tz_ppc_update_irq(int level) "TZ PPC: setting irq line to %d"
232tz_ppc_read_blocked(int n, uint64_t offset, bool secure, bool user) "TZ PPC: port %d offset 0x%" PRIx64 " read (secure %d user %d) blocked"
233tz_ppc_write_blocked(int n, uint64_t offset, bool secure, bool user) "TZ PPC: port %d offset 0x%" PRIx64 " write (secure %d user %d) blocked"
234
235# iotkit-secctl.c
236iotkit_secctl_s_read(uint32_t offset, uint64_t data, unsigned size) "IoTKit SecCtl S regs read: offset 0x%x data 0x%" PRIx64 " size %u"
237iotkit_secctl_s_write(uint32_t offset, uint64_t data, unsigned size) "IoTKit SecCtl S regs write: offset 0x%x data 0x%" PRIx64 " size %u"
238iotkit_secctl_ns_read(uint32_t offset, uint64_t data, unsigned size) "IoTKit SecCtl NS regs read: offset 0x%x data 0x%" PRIx64 " size %u"
239iotkit_secctl_ns_write(uint32_t offset, uint64_t data, unsigned size) "IoTKit SecCtl NS regs write: offset 0x%x data 0x%" PRIx64 " size %u"
240
241# imx6_ccm.c
242imx6_analog_get_periph_clk(uint32_t freq) "freq = %u Hz"
243imx6_analog_get_pll2_clk(uint32_t freq) "freq = %u Hz"
244imx6_analog_get_pll2_pfd0_clk(uint32_t freq) "freq = %u Hz"
245imx6_analog_get_pll2_pfd2_clk(uint32_t freq) "freq = %u Hz"
246imx6_analog_read(const char *reg, uint32_t value) "reg[%s] => 0x%" PRIx32
247imx6_analog_write(const char *reg, uint32_t value) "reg[%s] <= 0x%" PRIx32
248imx6_ccm_get_ahb_clk(uint32_t freq) "freq = %u Hz"
249imx6_ccm_get_ipg_clk(uint32_t freq) "freq = %u Hz"
250imx6_ccm_get_per_clk(uint32_t freq) "freq = %u Hz"
251imx6_ccm_get_clock_frequency(unsigned clock, uint32_t freq) "(Clock = %d) = %u"
252imx6_ccm_read(const char *reg, uint32_t value) "reg[%s] => 0x%" PRIx32
253imx6_ccm_reset(void) ""
254imx6_ccm_write(const char *reg, uint32_t value) "reg[%s] <= 0x%" PRIx32
255
256# imx6ul_ccm.c
257ccm_entry(void) ""
258ccm_freq(uint32_t freq) "freq = %d"
259ccm_clock_freq(uint32_t clock, uint32_t freq) "(Clock = %d) = %d"
260ccm_read_reg(const char *reg_name, uint32_t value) "reg[%s] <= 0x%" PRIx32
261ccm_write_reg(const char *reg_name, uint32_t value) "reg[%s] => 0x%" PRIx32
262
263# imx7_src.c
264imx7_src_read(const char *reg_name, uint32_t value) "reg[%s] => 0x%" PRIx32
265imx7_src_write(const char *reg_name, uint32_t value) "reg[%s] <= 0x%" PRIx32
266
267# iotkit-sysinfo.c
268iotkit_sysinfo_read(uint64_t offset, uint64_t data, unsigned size) "IoTKit SysInfo read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
269iotkit_sysinfo_write(uint64_t offset, uint64_t data, unsigned size) "IoTKit SysInfo write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
270
271# iotkit-sysctl.c
272iotkit_sysctl_read(uint64_t offset, uint64_t data, unsigned size) "IoTKit SysCtl read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
273iotkit_sysctl_write(uint64_t offset, uint64_t data, unsigned size) "IoTKit SysCtl write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
274iotkit_sysctl_reset(void) "IoTKit SysCtl: reset"
275
276# armsse-cpu-pwrctrl.c
277armsse_cpu_pwrctrl_read(uint64_t offset, uint64_t data, unsigned size) "SSE-300 CPU_PWRCTRL read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
278armsse_cpu_pwrctrl_write(uint64_t offset, uint64_t data, unsigned size) "SSE-300 CPU_PWRCTRL write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
279
280# armsse-cpuid.c
281armsse_cpuid_read(uint64_t offset, uint64_t data, unsigned size) "SSE-200 CPU_IDENTITY read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
282armsse_cpuid_write(uint64_t offset, uint64_t data, unsigned size) "SSE-200 CPU_IDENTITY write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
283
284# armsse-mhu.c
285armsse_mhu_read(uint64_t offset, uint64_t data, unsigned size) "SSE-200 MHU read: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
286armsse_mhu_write(uint64_t offset, uint64_t data, unsigned size) "SSE-200 MHU write: offset 0x%" PRIx64 " data 0x%" PRIx64 " size %u"
287
288# aspeed_xdma.c
289aspeed_xdma_write(uint64_t offset, uint64_t data) "XDMA write: offset 0x%" PRIx64 " data 0x%" PRIx64
290
291# aspeed_gfx.c
292aspeed_gfx_read(uint64_t offset, uint64_t data) "read: offset 0x%" PRIx64 " data 0x%" PRIx64
293aspeed_gfx_write(uint64_t offset, uint64_t data) "write: offset 0x%" PRIx64 " data 0x%" PRIx64
294
295# aspeed_pwm.c
296aspeed_pwm_read(uint64_t offset, uint64_t data) "read: offset 0x%" PRIx64 " data 0x%" PRIx64
297aspeed_pwm_write(uint64_t offset, uint64_t data) "write: offset 0x%" PRIx64 " data 0x%" PRIx64
298
299# aspeed_sdmc.c
300aspeed_sdmc_write(uint64_t reg, uint64_t data) "reg @0x%" PRIx64 " data: 0x%" PRIx64
301aspeed_sdmc_read(uint64_t reg, uint64_t data) "reg @0x%" PRIx64 " data: 0x%" PRIx64
302
303# aspeed_peci.c
304aspeed_peci_read(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
305aspeed_peci_write(uint64_t offset, uint64_t data) "offset 0x%" PRIx64 " data 0x%" PRIx64
306aspeed_peci_raise_interrupt(uint32_t ctrl, uint32_t status) "ctrl 0x%" PRIx32 " status 0x%" PRIx32
307
308# bcm2835_property.c
309bcm2835_mbox_property(uint32_t tag, uint32_t bufsize, size_t resplen) "mbox property tag:0x%08x in_sz:%u out_sz:%zu"
310
311# bcm2835_mbox.c
312bcm2835_mbox_write(unsigned int size, uint64_t addr, uint64_t value) "mbox write sz:%u addr:0x%"PRIx64" data:0x%"PRIx64
313bcm2835_mbox_read(unsigned int size, uint64_t addr, uint64_t value) "mbox read sz:%u addr:0x%"PRIx64" data:0x%"PRIx64
314bcm2835_mbox_irq(unsigned level) "mbox irq:ARM level:%u"
315
316# mac_via.c
317via1_rtc_update_data_out(int count, int value) "count=%d value=0x%02x"
318via1_rtc_update_data_in(int count, int value) "count=%d value=0x%02x"
319via1_rtc_internal_status(int cmd, int alt, int value) "cmd=0x%02x alt=0x%02x value=0x%02x"
320via1_rtc_internal_cmd(int cmd) "cmd=0x%02x"
321via1_rtc_cmd_invalid(int value) "value=0x%02x"
322via1_rtc_internal_time(uint32_t time) "time=0x%08x"
323via1_rtc_internal_set_cmd(int cmd) "cmd=0x%02x"
324via1_rtc_internal_ignore_cmd(int cmd) "cmd=0x%02x"
325via1_rtc_internal_set_alt(int alt, int sector, int offset) "alt=0x%02x sector=%u offset=%u"
326via1_rtc_cmd_seconds_read(int reg, int value) "reg=%d value=0x%02x"
327via1_rtc_cmd_seconds_write(int reg, int value) "reg=%d value=0x%02x"
328via1_rtc_cmd_test_write(int value) "value=0x%02x"
329via1_rtc_cmd_wprotect_write(int value) "value=0x%02x"
330via1_rtc_cmd_pram_read(int addr, int value) "addr=%u value=0x%02x"
331via1_rtc_cmd_pram_write(int addr, int value) "addr=%u value=0x%02x"
332via1_rtc_cmd_pram_sect_read(int sector, int offset, int addr, int value) "sector=%u offset=%u addr=0x%x value=0x%02x"
333via1_rtc_cmd_pram_sect_write(int sector, int offset, int addr, int value) "sector=%u offset=%u addr=0x%x value=0x%02x"
334via1_adb_send(const char *state, uint8_t data, const char *vadbint) "state %s data=0x%02x vADBInt=%s"
335via1_adb_receive(const char *state, uint8_t data, const char *vadbint, int status, int index, int size) "state %s data=0x%02x vADBInt=%s status=0x%x index=%d size=%d"
336via1_adb_poll(uint8_t data, const char *vadbint, int status, int index, int size) "data=0x%02x vADBInt=%s status=0x%x index=%d size=%d"
337via1_adb_netbsd_enum_hack(void) "using NetBSD enum hack"
338via1_auxmode(int mode) "setting auxmode to %d"
339via1_timer_hack_state(int state) "setting timer_hack_state to %d"
340
341# grlib_ahb_apb_pnp.c
342grlib_ahb_pnp_read(uint64_t addr, unsigned size, uint32_t value) "AHB PnP read addr:0x%03"PRIx64" size:%u data:0x%08x"
343grlib_apb_pnp_read(uint64_t addr, unsigned size, uint32_t value) "APB PnP read addr:0x%03"PRIx64" size:%u data:0x%08x"
344
345# led.c
346led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' color:%s intensity: %u%%"
347led_change_intensity(const char *color, const char *desc, uint8_t old_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s intensity %u%% -> %u%%"
348
349# bcm2835_cprman.c
350bcm2835_cprman_read(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
351bcm2835_cprman_write(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
352bcm2835_cprman_write_invalid_magic(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
353
354# virt_ctrl.c
355virt_ctrl_read(void *dev, unsigned int addr, unsigned int size, uint64_t value) "ctrl: %p reg: 0x%02x size: %d value: 0x%"PRIx64
356virt_ctrl_write(void *dev, unsigned int addr, unsigned int size, uint64_t value) "ctrl: %p reg: 0x%02x size: %d value: 0x%"PRIx64
357virt_ctrl_reset(void *dev) "ctrl: %p"
358virt_ctrl_realize(void *dev) "ctrl: %p"
359virt_ctrl_instance_init(void *dev) "ctrl: %p"
360
361# lasi.c
362lasi_chip_mem_valid(uint64_t addr, uint32_t val) "access to addr 0x%"PRIx64" is %d"
363lasi_chip_read(uint64_t addr, uint32_t val) "addr 0x%"PRIx64" val 0x%08x"
364lasi_chip_write(uint64_t addr, uint32_t val) "addr 0x%"PRIx64" val 0x%08x"
365
366# djmemc.c
367djmemc_read(int reg, uint64_t value, unsigned int size) "reg=0x%x value=0x%"PRIx64" size=%u"
368djmemc_write(int reg, uint64_t value, unsigned int size) "reg=0x%x value=0x%"PRIx64" size=%u"
369
370# iosb.c
371iosb_read(int reg, uint64_t value, unsigned int size) "reg=0x%x value=0x%"PRIx64" size=%u"
372iosb_write(int reg, uint64_t value, unsigned int size) "reg=0x%x value=0x%"PRIx64" size=%u"
373
374# aspeed_sli.c
375aspeed_sli_write(uint64_t offset, unsigned int size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
376aspeed_sli_read(uint64_t offset, unsigned int size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
377aspeed_sliio_write(uint64_t offset, unsigned int size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
378aspeed_sliio_read(uint64_t offset, unsigned int size, uint32_t data) "To 0x%" PRIx64 " of size %u: 0x%" PRIx32
379
380