Lines Matching refs:s

17     QTestState *s = qtest_init(  in test_cmdfifo_underflow_ok()  local
21 qtest_outl(s, 0xcf8, 0x80001004); in test_cmdfifo_underflow_ok()
22 qtest_outw(s, 0xcfc, 0x01); in test_cmdfifo_underflow_ok()
23 qtest_outl(s, 0xcf8, 0x8000100e); in test_cmdfifo_underflow_ok()
24 qtest_outl(s, 0xcfc, 0x8a000000); in test_cmdfifo_underflow_ok()
25 qtest_outl(s, 0x8a09, 0x42000000); in test_cmdfifo_underflow_ok()
26 qtest_outl(s, 0x8a0d, 0x00); in test_cmdfifo_underflow_ok()
27 qtest_outl(s, 0x8a0b, 0x1000); in test_cmdfifo_underflow_ok()
28 qtest_quit(s); in test_cmdfifo_underflow_ok()
34 QTestState *s = qtest_init( in test_cmdfifo_underflow2_ok() local
37 qtest_outl(s, 0xcf8, 0x80001010); in test_cmdfifo_underflow2_ok()
38 qtest_outl(s, 0xcfc, 0xc000); in test_cmdfifo_underflow2_ok()
39 qtest_outl(s, 0xcf8, 0x80001004); in test_cmdfifo_underflow2_ok()
40 qtest_outw(s, 0xcfc, 0x01); in test_cmdfifo_underflow2_ok()
41 qtest_outw(s, 0xc00c, 0x41); in test_cmdfifo_underflow2_ok()
42 qtest_outw(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
43 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
44 qtest_outw(s, 0xc00c, 0x43); in test_cmdfifo_underflow2_ok()
45 qtest_outw(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
46 qtest_outw(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
47 qtest_outw(s, 0xc00c, 0x00); in test_cmdfifo_underflow2_ok()
48 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
49 qtest_outw(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
50 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
51 qtest_outw(s, 0xc00c, 0x00); in test_cmdfifo_underflow2_ok()
52 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
53 qtest_outw(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
54 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
55 qtest_outw(s, 0xc00c, 0x00); in test_cmdfifo_underflow2_ok()
56 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
57 qtest_outw(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
58 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
59 qtest_outw(s, 0xc00c, 0x00); in test_cmdfifo_underflow2_ok()
60 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
61 qtest_outl(s, 0xc006, 0x00); in test_cmdfifo_underflow2_ok()
62 qtest_outl(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
63 qtest_outw(s, 0xc00b, 0x0800); in test_cmdfifo_underflow2_ok()
64 qtest_outw(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
65 qtest_outw(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
66 qtest_outl(s, 0xc006, 0x00); in test_cmdfifo_underflow2_ok()
67 qtest_outl(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
68 qtest_outw(s, 0xc00b, 0x0800); in test_cmdfifo_underflow2_ok()
69 qtest_outw(s, 0xc00b, 0x00); in test_cmdfifo_underflow2_ok()
70 qtest_outw(s, 0xc00b, 0x4100); in test_cmdfifo_underflow2_ok()
71 qtest_outw(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
72 qtest_outl(s, 0xc00a, 0x100000); in test_cmdfifo_underflow2_ok()
73 qtest_outl(s, 0xc00a, 0x00); in test_cmdfifo_underflow2_ok()
74 qtest_outw(s, 0xc00c, 0x43); in test_cmdfifo_underflow2_ok()
75 qtest_outl(s, 0xc00a, 0x100000); in test_cmdfifo_underflow2_ok()
76 qtest_outl(s, 0xc00a, 0x100000); in test_cmdfifo_underflow2_ok()
77 qtest_quit(s); in test_cmdfifo_underflow2_ok()
82 QTestState *s = qtest_init( in test_cmdfifo_overflow_ok() local
86 qtest_outl(s, 0xcf8, 0x80001004); in test_cmdfifo_overflow_ok()
87 qtest_outw(s, 0xcfc, 0x01); in test_cmdfifo_overflow_ok()
88 qtest_outl(s, 0xcf8, 0x8000100e); in test_cmdfifo_overflow_ok()
89 qtest_outl(s, 0xcfc, 0x0e000000); in test_cmdfifo_overflow_ok()
90 qtest_outl(s, 0xe40, 0x03); in test_cmdfifo_overflow_ok()
91 qtest_outl(s, 0xe0b, 0x4100); in test_cmdfifo_overflow_ok()
92 qtest_outl(s, 0xe0b, 0x9000); in test_cmdfifo_overflow_ok()
93 qtest_quit(s); in test_cmdfifo_overflow_ok()
99 QTestState *s = qtest_init( in test_cmdfifo_overflow2_ok() local
102 qtest_outl(s, 0xcf8, 0x80001010); in test_cmdfifo_overflow2_ok()
103 qtest_outl(s, 0xcfc, 0xc000); in test_cmdfifo_overflow2_ok()
104 qtest_outl(s, 0xcf8, 0x80001004); in test_cmdfifo_overflow2_ok()
105 qtest_outw(s, 0xcfc, 0x01); in test_cmdfifo_overflow2_ok()
106 qtest_outl(s, 0xc00b, 0x4100); in test_cmdfifo_overflow2_ok()
107 qtest_outw(s, 0xc00b, 0xc200); in test_cmdfifo_overflow2_ok()
108 qtest_outl(s, 0xc03f, 0x0300); in test_cmdfifo_overflow2_ok()
109 qtest_quit(s); in test_cmdfifo_overflow2_ok()
115 QTestState *s = qtest_init( in test_fifo_pop_buf() local
118 qtest_outl(s, 0xcf8, 0x80001010); in test_fifo_pop_buf()
119 qtest_outl(s, 0xcfc, 0xc000); in test_fifo_pop_buf()
120 qtest_outl(s, 0xcf8, 0x80001004); in test_fifo_pop_buf()
121 qtest_outw(s, 0xcfc, 0x01); in test_fifo_pop_buf()
122 qtest_outb(s, 0xc000, 0x4); in test_fifo_pop_buf()
123 qtest_outb(s, 0xc008, 0xa0); in test_fifo_pop_buf()
124 qtest_outl(s, 0xc03f, 0x0300); in test_fifo_pop_buf()
125 qtest_outl(s, 0xc00b, 0xc300); in test_fifo_pop_buf()
126 qtest_outw(s, 0xc00b, 0x9000); in test_fifo_pop_buf()
127 qtest_outl(s, 0xc00b, 0xc300); in test_fifo_pop_buf()
128 qtest_outl(s, 0xc00b, 0xc300); in test_fifo_pop_buf()
129 qtest_outl(s, 0xc00b, 0xc300); in test_fifo_pop_buf()
130 qtest_outw(s, 0xc00b, 0x9000); in test_fifo_pop_buf()
131 qtest_outw(s, 0xc00b, 0x1000); in test_fifo_pop_buf()
132 qtest_quit(s); in test_fifo_pop_buf()
137 QTestState *s = qtest_init( in test_target_selected_ok() local
141 qtest_outl(s, 0xcf8, 0x80001001); in test_target_selected_ok()
142 qtest_outl(s, 0xcfc, 0x01000000); in test_target_selected_ok()
143 qtest_outl(s, 0xcf8, 0x8000100e); in test_target_selected_ok()
144 qtest_outl(s, 0xcfc, 0xef800000); in test_target_selected_ok()
145 qtest_outl(s, 0xef8b, 0x4100); in test_target_selected_ok()
146 qtest_outw(s, 0xef80, 0x01); in test_target_selected_ok()
147 qtest_outl(s, 0xefc0, 0x03); in test_target_selected_ok()
148 qtest_outl(s, 0xef8b, 0xc100); in test_target_selected_ok()
149 qtest_outl(s, 0xef8b, 0x9000); in test_target_selected_ok()
150 qtest_quit(s); in test_target_selected_ok()
155 QTestState *s = qtest_init( in test_fifo_underflow_on_write_ok() local
159 qtest_outl(s, 0xcf8, 0x80001010); in test_fifo_underflow_on_write_ok()
160 qtest_outl(s, 0xcfc, 0xc000); in test_fifo_underflow_on_write_ok()
161 qtest_outl(s, 0xcf8, 0x80001004); in test_fifo_underflow_on_write_ok()
162 qtest_outw(s, 0xcfc, 0x01); in test_fifo_underflow_on_write_ok()
163 qtest_outl(s, 0xc008, 0x0a); in test_fifo_underflow_on_write_ok()
164 qtest_outl(s, 0xc009, 0x41000000); in test_fifo_underflow_on_write_ok()
165 qtest_outl(s, 0xc009, 0x41000000); in test_fifo_underflow_on_write_ok()
166 qtest_outl(s, 0xc00b, 0x1000); in test_fifo_underflow_on_write_ok()
167 qtest_quit(s); in test_fifo_underflow_on_write_ok()
172 QTestState *s = qtest_init( in test_cancelled_request_ok() local
176 qtest_outl(s, 0xcf8, 0x80001010); in test_cancelled_request_ok()
177 qtest_outl(s, 0xcfc, 0xc000); in test_cancelled_request_ok()
178 qtest_outl(s, 0xcf8, 0x80001004); in test_cancelled_request_ok()
179 qtest_outw(s, 0xcfc, 0x05); in test_cancelled_request_ok()
180 qtest_outb(s, 0xc046, 0x02); in test_cancelled_request_ok()
181 qtest_outl(s, 0xc00b, 0xc100); in test_cancelled_request_ok()
182 qtest_outl(s, 0xc040, 0x03); in test_cancelled_request_ok()
183 qtest_outl(s, 0xc040, 0x03); in test_cancelled_request_ok()
184 qtest_bufwrite(s, 0x0, "\x41", 0x1); in test_cancelled_request_ok()
185 qtest_outl(s, 0xc00b, 0xc100); in test_cancelled_request_ok()
186 qtest_outw(s, 0xc040, 0x02); in test_cancelled_request_ok()
187 qtest_outw(s, 0xc040, 0x81); in test_cancelled_request_ok()
188 qtest_outl(s, 0xc00b, 0x9000); in test_cancelled_request_ok()
189 qtest_quit(s); in test_cancelled_request_ok()
194 QTestState *s = qtest_init( in test_inflight_cancel_ok() local
198 qtest_outl(s, 0xcf8, 0x80001000); in test_inflight_cancel_ok()
199 qtest_inw(s, 0xcfc); in test_inflight_cancel_ok()
200 qtest_outl(s, 0xcf8, 0x80001010); in test_inflight_cancel_ok()
201 qtest_outl(s, 0xcfc, 0xffffffff); in test_inflight_cancel_ok()
202 qtest_outl(s, 0xcf8, 0x80001010); in test_inflight_cancel_ok()
203 qtest_inl(s, 0xcfc); in test_inflight_cancel_ok()
204 qtest_outl(s, 0xcf8, 0x80001010); in test_inflight_cancel_ok()
205 qtest_outl(s, 0xcfc, 0xc001); in test_inflight_cancel_ok()
206 qtest_outl(s, 0xcf8, 0x80001004); in test_inflight_cancel_ok()
207 qtest_inw(s, 0xcfc); in test_inflight_cancel_ok()
208 qtest_outl(s, 0xcf8, 0x80001004); in test_inflight_cancel_ok()
209 qtest_outw(s, 0xcfc, 0x7); in test_inflight_cancel_ok()
210 qtest_outl(s, 0xcf8, 0x80001004); in test_inflight_cancel_ok()
211 qtest_inw(s, 0xcfc); in test_inflight_cancel_ok()
212 qtest_inb(s, 0xc000); in test_inflight_cancel_ok()
213 qtest_outb(s, 0xc008, 0x8); in test_inflight_cancel_ok()
214 qtest_outw(s, 0xc00b, 0x4100); in test_inflight_cancel_ok()
215 qtest_outb(s, 0xc009, 0x0); in test_inflight_cancel_ok()
216 qtest_outb(s, 0xc009, 0x0); in test_inflight_cancel_ok()
217 qtest_outw(s, 0xc00b, 0xc212); in test_inflight_cancel_ok()
218 qtest_outl(s, 0xc042, 0x2c2c5a88); in test_inflight_cancel_ok()
219 qtest_outw(s, 0xc00b, 0xc212); in test_inflight_cancel_ok()
220 qtest_outw(s, 0xc00b, 0x415a); in test_inflight_cancel_ok()
221 qtest_outl(s, 0xc03f, 0x3060303); in test_inflight_cancel_ok()
222 qtest_outl(s, 0xc00b, 0x5afa9054); in test_inflight_cancel_ok()
223 qtest_quit(s); in test_inflight_cancel_ok()
228 QTestState *s = qtest_init( in test_reset_before_transfer_ok() local
233 qtest_outl(s, 0xcf8, 0x80001010); in test_reset_before_transfer_ok()
234 qtest_outl(s, 0xcfc, 0xc000); in test_reset_before_transfer_ok()
235 qtest_outl(s, 0xcf8, 0x80001004); in test_reset_before_transfer_ok()
236 qtest_outw(s, 0xcfc, 0x01); in test_reset_before_transfer_ok()
237 qtest_outl(s, 0xc007, 0x2500); in test_reset_before_transfer_ok()
238 qtest_outl(s, 0xc00a, 0x410000); in test_reset_before_transfer_ok()
239 qtest_outl(s, 0xc00a, 0x410000); in test_reset_before_transfer_ok()
240 qtest_outw(s, 0xc00b, 0x0200); in test_reset_before_transfer_ok()
241 qtest_outw(s, 0xc040, 0x03); in test_reset_before_transfer_ok()
242 qtest_outw(s, 0xc009, 0x00); in test_reset_before_transfer_ok()
243 qtest_outw(s, 0xc00b, 0x00); in test_reset_before_transfer_ok()
244 qtest_outw(s, 0xc009, 0x00); in test_reset_before_transfer_ok()
245 qtest_outw(s, 0xc00b, 0x00); in test_reset_before_transfer_ok()
246 qtest_outw(s, 0xc009, 0x00); in test_reset_before_transfer_ok()
247 qtest_outw(s, 0xc003, 0x1000); in test_reset_before_transfer_ok()
248 qtest_outw(s, 0xc00b, 0x1000); in test_reset_before_transfer_ok()
249 qtest_outl(s, 0xc00b, 0x9000); in test_reset_before_transfer_ok()
250 qtest_outw(s, 0xc00b, 0x1000); in test_reset_before_transfer_ok()
251 qtest_quit(s); in test_reset_before_transfer_ok()