Lines Matching full:col
166 int col, row; in cros_ec_keyb_process() local
180 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_process()
182 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process()
185 new_state = kb_state[col] & (1 << row); in cros_ec_keyb_process()
186 old_state = ckdev->old_kb_state[col] & (1 << row); in cros_ec_keyb_process()
190 row, col, new_state); in cros_ec_keyb_process()
197 ckdev->old_kb_state[col] = kb_state[col]; in cros_ec_keyb_process()
299 int row, col; in cros_ec_keyb_compute_valid_keys() local
306 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_compute_valid_keys()
308 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys()
310 ckdev->valid_keys[col] |= 1 << row; in cros_ec_keyb_compute_valid_keys()
313 col, ckdev->valid_keys[col]); in cros_ec_keyb_compute_valid_keys()
525 unsigned int row, col, scancode; in cros_ec_keyb_parse_vivaldi_physmap() local
558 col = KEY_COL(physmap[i]); in cros_ec_keyb_parse_vivaldi_physmap()
559 scancode = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_parse_vivaldi_physmap()