Searched refs:testval (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/char/ |
D | dtlk.c | 411 unsigned int testval = 0; in dtlk_dev_probe() local 421 dtlk_portlist[i], (testval = inw_p(dtlk_portlist[i]))); in dtlk_dev_probe() 426 testval = inw_p(dtlk_portlist[i]); in dtlk_dev_probe() 427 if ((testval &= 0xfbff) == 0x107f) { in dtlk_dev_probe()
|
D | synclinkmp.c | 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() [all …]
|