Lines Matching refs:pattern
33 * pattern to the target location, write a different pattern elsewhere
71 * After writing a test pattern. a special pattern 0x0123456789ABCDEF is
74 * pattern in that byte lane when the test runs. For example, if the
76 * (for the 'a' test pattern).
92 * test pattern we use is a ulong and thus, if we tried to test lower
93 * order address bits, it wouldn't work because our pattern would
118 * verify RAM. Each test case fills a region of RAM with one pattern and
119 * then reads the region back and compares its contents with the pattern.
122 * 1a) zero pattern (0x00000000)
123 * 1b) negative pattern (0xffffffff)
124 * 1c) checkerboard pattern (0x55555555)
125 * 1d) checkerboard pattern (0xaaaaaaaa)
126 * 2) bit-flip pattern ((1 << (offset % 32))
127 * 3) address pattern (offset)
128 * 4) address pattern (~offset)
183 * than the test pattern. This is for detecting floating bus lines.
186 const static unsigned long long pattern[] = {
206 int num_patterns = ARRAY_SIZE(pattern);
212 move64(&(pattern[i]), pmem++);
214 * Put a different pattern on the data lines: otherwise they
224 if (temp64 != pattern[i]){
225 pathi = (pattern[i]>>32) & 0xffffffff;
226 patlo = pattern[i] & 0xffffffff;