Lines Matching +full:0 +full:xe94
36 #define STMDMASTARTR 0xc04
37 #define STMDMASTOPR 0xc08
38 #define STMDMASTATR 0xc0c
39 #define STMDMACTLR 0xc10
40 #define STMDMAIDR 0xcfc
41 #define STMHEER 0xd00
42 #define STMHETER 0xd20
43 #define STMHEBSR 0xd60
44 #define STMHEMCR 0xd64
45 #define STMHEMASTR 0xdf4
46 #define STMHEFEAT1R 0xdf8
47 #define STMHEIDR 0xdfc
48 #define STMSPER 0xe00
49 #define STMSPTER 0xe20
50 #define STMPRIVMASKR 0xe40
51 #define STMSPSCR 0xe60
52 #define STMSPMSCR 0xe64
53 #define STMSPOVERRIDER 0xe68
54 #define STMSPMOVERRIDER 0xe6c
55 #define STMSPTRIGCSR 0xe70
56 #define STMTCSR 0xe80
57 #define STMTSSTIMR 0xe84
58 #define STMTSFREQR 0xe8c
59 #define STMSYNCR 0xe90
60 #define STMAUXCR 0xe94
61 #define STMSPFEAT1R 0xea0
62 #define STMSPFEAT2R 0xea4
63 #define STMSPFEAT3R 0xea8
64 #define STMITTRIGGER 0xee8
65 #define STMITATBDATA0 0xeec
66 #define STMITATBCTR2 0xef0
67 #define STMITATBID 0xef4
68 #define STMITATBCTR0 0xef8
78 #define STM_CHANNEL_OFFSET 0
81 STM_PKT_TYPE_DATA = 0x98,
82 STM_PKT_TYPE_FLAG = 0xE8,
83 STM_PKT_TYPE_TRIG = 0xF8,
157 writel_relaxed(0x01 | /* Enable HW event tracing */ in stm_hwevent_enable_hw()
158 0x04, /* Error detection on event tracing */ in stm_hwevent_enable_hw()
168 writel_relaxed(0x10, in stm_port_enable_hw()
186 writel_relaxed(0xFFF, drvdata->base + STMSYNCR); in stm_enable_hw()
188 0x02 | /* timestamp enable */ in stm_enable_hw()
189 0x01), /* global STM enable */ in stm_enable_hw()
217 return 0; in stm_enable()
224 writel_relaxed(0x0, drvdata->base + STMHEMCR); in stm_hwevent_disable_hw()
225 writel_relaxed(0x0, drvdata->base + STMHEER); in stm_hwevent_disable_hw()
226 writel_relaxed(0x0, drvdata->base + STMHETER); in stm_hwevent_disable_hw()
235 writel_relaxed(0x0, drvdata->base + STMSPER); in stm_port_disable_hw()
236 writel_relaxed(0x0, drvdata->base + STMSPTRIGCSR); in stm_port_disable_hw()
248 val &= ~0x1; /* clear global STM enable [0] */ in stm_disable_hw()
275 coresight_timeout(csa, STMTCSR, STMTCSR_BUSY_BIT, 0); in stm_disable()
363 return 0; in stm_mmio_addr()
395 return 0; in stm_generic_set_options()
420 STM_FLAG_TIMESTAMPED : 0; in stm_generic_packet()
422 STM_FLAG_GUARANTEED : 0; in stm_generic_packet()
434 * The generic STM core sets a size of '0' on flag packets. in stm_generic_packet()
443 stm_flags |= (flags & STP_PACKET_MARKED) ? STM_FLAG_MARKED : 0; in stm_generic_packet()
471 int ret = 0; in hwevent_enable_store()
500 int ret = 0; in hwevent_select_store()
535 int ret = 0; in port_select_store()
548 writel_relaxed(0x0, drvdata->base + STMSPER); in port_select_store()
582 int ret = 0; in port_enable_store()
657 int index = 0, found = 0; in of_stm_get_stimulus_area()
695 if (rc < 0) in acpi_stm_get_stimulus_area()
710 rc = 0; in acpi_stm_get_stimulus_area()
750 * 0 - 32-bit data in stm_fundamental_data_size()
762 * NUMPS in STMDEVID is 17 bit long and if equal to 0x0, in stm_num_stimulus_port()
765 numsp &= 0x1ffff; in stm_num_stimulus_port()
774 drvdata->stmspscr = 0x0; in stm_init_default_data()
780 drvdata->stmsper = ~0x0; in stm_init_default_data()
783 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data()
816 struct coresight_desc desc = { 0 }; in stm_probe()
894 if (trace_id < 0) { in stm_probe()
904 return 0; in stm_probe()
932 return 0; in stm_runtime_suspend()
942 return 0; in stm_runtime_resume()
951 CS_AMBA_ID_DATA(0x000bb962, "STM32"),
952 CS_AMBA_ID_DATA(0x000bb963, "STM500"),
953 { 0, 0},