Lines Matching refs:pattern
102 unsigned char pattern[4]; in tc_probe() local
111 err |= get_dbe(pattern[0], module + OLDCARD + TC_PATTERN0); in tc_probe()
112 err |= get_dbe(pattern[1], module + OLDCARD + TC_PATTERN1); in tc_probe()
113 err |= get_dbe(pattern[2], module + OLDCARD + TC_PATTERN2); in tc_probe()
114 err |= get_dbe(pattern[3], module + OLDCARD + TC_PATTERN3); in tc_probe()
118 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_probe()
119 pattern[2] != 0xaa || pattern[3] != 0xff) { in tc_probe()
123 err |= get_dbe(pattern[0], module + TC_PATTERN0); in tc_probe()
124 err |= get_dbe(pattern[1], module + TC_PATTERN1); in tc_probe()
125 err |= get_dbe(pattern[2], module + TC_PATTERN2); in tc_probe()
126 err |= get_dbe(pattern[3], module + TC_PATTERN3); in tc_probe()
131 if (pattern[0] != 0x55 || pattern[1] != 0x00 || in tc_probe()
132 pattern[2] != 0xaa || pattern[3] != 0xff) in tc_probe()