Lines Matching refs:testval
5074 static unsigned char testval[] = {0x00, 0xff, 0xaa, 0x55, 0x69, 0x96}; in register_test() local
5075 static unsigned int count = sizeof(testval)/sizeof(unsigned char); in register_test()
5090 write_reg(info, TMC, testval[i]); in register_test()
5091 write_reg(info, IDL, testval[(i+1)%count]); in register_test()
5092 write_reg(info, SA0, testval[(i+2)%count]); in register_test()
5093 write_reg(info, SA1, testval[(i+3)%count]); in register_test()
5095 if ( (read_reg(info, TMC) != testval[i]) || in register_test()
5096 (read_reg(info, IDL) != testval[(i+1)%count]) || in register_test()
5097 (read_reg(info, SA0) != testval[(i+2)%count]) || in register_test()
5098 (read_reg(info, SA1) != testval[(i+3)%count]) ) in register_test()
5393 static unsigned long testval[] = { 0x0, 0x55555555, 0xaaaaaaaa, in memory_test() local
5395 unsigned long count = sizeof(testval)/sizeof(unsigned long); in memory_test()
5403 *addr = testval[i]; in memory_test()
5404 if ( *addr != testval[i] ) in memory_test()