Searched refs:MAGIC_PATTERN (Results 1 – 2 of 2) sorted by relevance
297 #define MAGIC_PATTERN 0x42 macro317 out_byte_rtc(0xc0,MAGIC_PATTERN); in ds1302_probe()320 if((res = in_byte_rtc(0xc1)) == MAGIC_PATTERN) { in ds1302_probe()
396 #define MAGIC_PATTERN 0x42 macro412 out_byte(MAGIC_PATTERN); /* write something magic */ in ds1302_probe()416 if((res = in_byte()) == MAGIC_PATTERN) { in ds1302_probe()