for(i=0; i<8; i++) input_report_key(dev, dc_kbd_keycode[i+224], (kbd->new[0]>>i)&1); 
for (i = 0; i < 8; i++) input_report_key(dev, dc_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1); 
static void dc_scan_kbd(struct dc_kbd *kbd){	int i;	struct input_dev *dev = &kbd->dev;	for(i=0; i<8; i++)		input_report_key(dev,				 dc_kbd_keycode[i+224],				 (kbd->new[0]>>i)&1);	for(i=2; i<8; i++) {		if(kbd->old[i]>3&&memscan(kbd->new+2, kbd->old[i], 6)==NULL) {			if(dc_kbd_keycode[kbd->old[i]])				input_report_key(dev,						 dc_kbd_keycode[kbd->old[i]],						 0);			else				printk("Unknown key (scancode %#x) released.",				       kbd->old[i]);		}		if(kbd->new[i]>3&&memscan(kbd->old+2, kbd->new[i], 6)!=NULL) {			if(dc_kbd_keycode[kbd->new[i]])				input_report_key(dev,						 dc_kbd_keycode[kbd->new[i]],						 1);			else				printk("Unknown key (scancode %#x) pressed.",				       kbd->new[i]);		}	}	input_sync(dev);	memcpy(kbd->old, kbd->new, 8);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3c42f0c3dde8feb59fc87df45cadb847d5511c0a/maple_keyb.c/buggy/drivers/input/keyboard/maple_keyb.c