Lines Matching refs:s

19     QTestState *s;  in test_lsi_dma_reentrancy()  local
21 s = qtest_init("-M q35 -m 512M -nodefaults " in test_lsi_dma_reentrancy()
25 qtest_outl(s, 0xcf8, 0x80000804); /* PCI Command Register */ in test_lsi_dma_reentrancy()
26 qtest_outw(s, 0xcfc, 0x7); /* Enables accesses */ in test_lsi_dma_reentrancy()
27 qtest_outl(s, 0xcf8, 0x80000814); /* Memory Bar 1 */ in test_lsi_dma_reentrancy()
28 qtest_outl(s, 0xcfc, 0xff100000); /* Set MMIO Address*/ in test_lsi_dma_reentrancy()
29 qtest_outl(s, 0xcf8, 0x80000818); /* Memory Bar 2 */ in test_lsi_dma_reentrancy()
30 qtest_outl(s, 0xcfc, 0xff000000); /* Set RAM Address*/ in test_lsi_dma_reentrancy()
31 qtest_writel(s, 0xff000000, 0xc0000024); in test_lsi_dma_reentrancy()
32 qtest_writel(s, 0xff000114, 0x00000080); in test_lsi_dma_reentrancy()
33 qtest_writel(s, 0xff00012c, 0xff000000); in test_lsi_dma_reentrancy()
34 qtest_writel(s, 0xff000004, 0xff000114); in test_lsi_dma_reentrancy()
35 qtest_writel(s, 0xff000008, 0xff100014); in test_lsi_dma_reentrancy()
36 qtest_writel(s, 0xff10002f, 0x000000ff); in test_lsi_dma_reentrancy()
38 qtest_quit(s); in test_lsi_dma_reentrancy()
47 QTestState *s; in test_lsi_do_msgout_cancel_req() local
54 s = qtest_init("-M q35 -m 2G -nodefaults " in test_lsi_do_msgout_cancel_req()
59 qtest_outl(s, 0xcf8, 0x80000810); in test_lsi_do_msgout_cancel_req()
60 qtest_outl(s, 0xcf8, 0xc000); in test_lsi_do_msgout_cancel_req()
61 qtest_outl(s, 0xcf8, 0x80000810); in test_lsi_do_msgout_cancel_req()
62 qtest_outw(s, 0xcfc, 0x7); in test_lsi_do_msgout_cancel_req()
63 qtest_outl(s, 0xcf8, 0x80000810); in test_lsi_do_msgout_cancel_req()
64 qtest_outl(s, 0xcfc, 0xc000); in test_lsi_do_msgout_cancel_req()
65 qtest_outl(s, 0xcf8, 0x80000804); in test_lsi_do_msgout_cancel_req()
66 qtest_outw(s, 0xcfc, 0x05); in test_lsi_do_msgout_cancel_req()
67 qtest_writeb(s, 0x69736c10, 0x08); in test_lsi_do_msgout_cancel_req()
68 qtest_writeb(s, 0x69736c13, 0x58); in test_lsi_do_msgout_cancel_req()
69 qtest_writeb(s, 0x69736c1a, 0x01); in test_lsi_do_msgout_cancel_req()
70 qtest_writeb(s, 0x69736c1b, 0x06); in test_lsi_do_msgout_cancel_req()
71 qtest_writeb(s, 0x69736c22, 0x01); in test_lsi_do_msgout_cancel_req()
72 qtest_writeb(s, 0x69736c23, 0x07); in test_lsi_do_msgout_cancel_req()
73 qtest_writeb(s, 0x69736c2b, 0x02); in test_lsi_do_msgout_cancel_req()
74 qtest_writeb(s, 0x69736c48, 0x08); in test_lsi_do_msgout_cancel_req()
75 qtest_writeb(s, 0x69736c4b, 0x58); in test_lsi_do_msgout_cancel_req()
76 qtest_writeb(s, 0x69736c52, 0x04); in test_lsi_do_msgout_cancel_req()
77 qtest_writeb(s, 0x69736c53, 0x06); in test_lsi_do_msgout_cancel_req()
78 qtest_writeb(s, 0x69736c5b, 0x02); in test_lsi_do_msgout_cancel_req()
79 qtest_outl(s, 0xc02d, 0x697300); in test_lsi_do_msgout_cancel_req()
80 qtest_writeb(s, 0x5a554662, 0x01); in test_lsi_do_msgout_cancel_req()
81 qtest_writeb(s, 0x5a554663, 0x07); in test_lsi_do_msgout_cancel_req()
82 qtest_writeb(s, 0x5a55466a, 0x10); in test_lsi_do_msgout_cancel_req()
83 qtest_writeb(s, 0x5a55466b, 0x22); in test_lsi_do_msgout_cancel_req()
84 qtest_writeb(s, 0x5a55466c, 0x5a); in test_lsi_do_msgout_cancel_req()
85 qtest_writeb(s, 0x5a55466d, 0x5a); in test_lsi_do_msgout_cancel_req()
86 qtest_writeb(s, 0x5a55466e, 0x34); in test_lsi_do_msgout_cancel_req()
87 qtest_writeb(s, 0x5a55466f, 0x5a); in test_lsi_do_msgout_cancel_req()
88 qtest_writeb(s, 0x5a345a5a, 0x77); in test_lsi_do_msgout_cancel_req()
89 qtest_writeb(s, 0x5a345a5b, 0x55); in test_lsi_do_msgout_cancel_req()
90 qtest_writeb(s, 0x5a345a5c, 0x51); in test_lsi_do_msgout_cancel_req()
91 qtest_writeb(s, 0x5a345a5d, 0x27); in test_lsi_do_msgout_cancel_req()
92 qtest_writeb(s, 0x27515577, 0x41); in test_lsi_do_msgout_cancel_req()
93 qtest_outl(s, 0xc02d, 0x5a5500); in test_lsi_do_msgout_cancel_req()
94 qtest_writeb(s, 0x364001d0, 0x08); in test_lsi_do_msgout_cancel_req()
95 qtest_writeb(s, 0x364001d3, 0x58); in test_lsi_do_msgout_cancel_req()
96 qtest_writeb(s, 0x364001da, 0x01); in test_lsi_do_msgout_cancel_req()
97 qtest_writeb(s, 0x364001db, 0x26); in test_lsi_do_msgout_cancel_req()
98 qtest_writeb(s, 0x364001dc, 0x0d); in test_lsi_do_msgout_cancel_req()
99 qtest_writeb(s, 0x364001dd, 0xae); in test_lsi_do_msgout_cancel_req()
100 qtest_writeb(s, 0x364001de, 0x41); in test_lsi_do_msgout_cancel_req()
101 qtest_writeb(s, 0x364001df, 0x5a); in test_lsi_do_msgout_cancel_req()
102 qtest_writeb(s, 0x5a41ae0d, 0xf8); in test_lsi_do_msgout_cancel_req()
103 qtest_writeb(s, 0x5a41ae0e, 0x36); in test_lsi_do_msgout_cancel_req()
104 qtest_writeb(s, 0x5a41ae0f, 0xd7); in test_lsi_do_msgout_cancel_req()
105 qtest_writeb(s, 0x5a41ae10, 0x36); in test_lsi_do_msgout_cancel_req()
106 qtest_writeb(s, 0x36d736f8, 0x0c); in test_lsi_do_msgout_cancel_req()
107 qtest_writeb(s, 0x36d736f9, 0x80); in test_lsi_do_msgout_cancel_req()
108 qtest_writeb(s, 0x36d736fa, 0x0d); in test_lsi_do_msgout_cancel_req()
109 qtest_outl(s, 0xc02d, 0x364000); in test_lsi_do_msgout_cancel_req()
111 qtest_quit(s); in test_lsi_do_msgout_cancel_req()
122 QTestState *s; in test_lsi_do_dma_empty_queue() local
124 s = qtest_init("-M q35 -nographic -monitor none -serial none " in test_lsi_do_dma_empty_queue()
130 qtest_outl(s, 0xcf8, 0x80001814); in test_lsi_do_dma_empty_queue()
131 qtest_outl(s, 0xcfc, 0xe1068000); in test_lsi_do_dma_empty_queue()
132 qtest_outl(s, 0xcf8, 0x80001818); in test_lsi_do_dma_empty_queue()
133 qtest_outl(s, 0xcf8, 0x80001804); in test_lsi_do_dma_empty_queue()
134 qtest_outw(s, 0xcfc, 0x7); in test_lsi_do_dma_empty_queue()
135 qtest_outl(s, 0xcf8, 0x80002010); in test_lsi_do_dma_empty_queue()
137 qtest_writeb(s, 0xe106802e, 0xff); /* Fill DSP bits 16-23 */ in test_lsi_do_dma_empty_queue()
138 qtest_writeb(s, 0xe106802f, 0xff); /* Fill DSP bits 24-31: trigger SCRIPT */ in test_lsi_do_dma_empty_queue()
140 qtest_quit(s); in test_lsi_do_dma_empty_queue()