Lines Matching defs:testval
5032 static unsigned char testval[] = {0x00, 0xff, 0xaa, 0x55, 0x69, 0x96};
5033 static unsigned int count = ARRAY_SIZE(testval);
5048 write_reg(info, TMC, testval[i]);
5049 write_reg(info, IDL, testval[(i+1)%count]);
5050 write_reg(info, SA0, testval[(i+2)%count]);
5051 write_reg(info, SA1, testval[(i+3)%count]);
5053 if ( (read_reg(info, TMC) != testval[i]) ||
5054 (read_reg(info, IDL) != testval[(i+1)%count]) ||
5055 (read_reg(info, SA0) != testval[(i+2)%count]) ||
5056 (read_reg(info, SA1) != testval[(i+3)%count]) )
5349 static unsigned long testval[] = { 0x0, 0x55555555, 0xaaaaaaaa,
5351 unsigned long count = ARRAY_SIZE(testval);
5359 *addr = testval[i];
5360 if ( *addr != testval[i] )