for (row = 0; row < KB_ROWS; row++ ) { 
for (row = 0; row < KB_ROWS; row++) { 
static void locomokbd_scankeyboard(struct locomokbd *locomokbd, struct pt_regs *regs) {	unsigned int row, col, rowd, scancode;	unsigned long flags;	unsigned int num_pressed;	unsigned long membase = locomokbd->base;	spin_lock_irqsave(&locomokbd->lock, flags);	if (regs)		input_regs(&locomokbd->input, regs);		locomokbd_charge_all(membase);	num_pressed = 0;	for (col = 0; col < KB_COLS; col++) {		locomokbd_activate_col(membase, col);		udelay(KB_DELAY);		 		rowd = ~locomo_readl(membase + LOCOMO_KIB);		for (row = 0; row < KB_ROWS; row++ ) {			scancode = SCANCODE(col, row);			if (rowd & KB_ROWMASK(row)) {				num_pressed += 1;				input_report_key(&locomokbd->input, locomokbd->keycode[scancode], 1);			} else {				input_report_key(&locomokbd->input, locomokbd->keycode[scancode], 0);			}		}		locomokbd_reset_col(membase, col);	}	locomokbd_activate_all(membase);	input_sync(&locomokbd->input);	/* if any keys are pressed, enable the timer */	if (num_pressed)		mod_timer(&locomokbd->timer, jiffies + SCAN_INTERVAL);	spin_unlock_irqrestore(&locomokbd->lock, flags);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d083e90660657bf6bde508ba6c3eaa75eb4cf1f6/locomokbd.c/buggy/drivers/input/keyboard/locomokbd.c