Lines Matching defs:col
412 int row, col, num_keys_pressed = 0;
424 col = KPAS_CP(kpas);
427 /* if invalid row/col, treat as no key pressed */
428 if (col >= pdata->matrix_key_cols ||
432 new_state[col] = (1 << row);
452 for (col = 0; col < pdata->matrix_key_cols; col++) {
456 bits_changed = keypad->matrix_key_state[col] ^ new_state[col];
464 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift);
468 new_state[col] & (1 << row));