static int ati_remote_event_lookup(int rem, unsigned char d1, unsigned char d2){	int i;	for (i = 0; ati_remote_tbl[i].kind != KIND_END; i++) {		/* 		 * Decide if the table entry matches the remote input. 		 */		if ((((ati_remote_tbl[i].data1 & 0x0f) == (d1 & 0x0f))) &&		    ((((ati_remote_tbl[i].data1 >> 4) - 		       (d1 >> 4) + rem) & 0x0f) == 0x0f) && 		    (ati_remote_tbl[i].data2 == d2))			return i;			}	return -1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/05f091ab4c8c1f12f8dd38ee789489904fea327d/ati_remote.c/clean/drivers/usb/input/ati_remote.c