Lines Matching refs:col
179 int col, row; in cros_ec_keyb_process() local
193 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_process()
195 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process()
198 new_state = kb_state[col] & (1 << row); in cros_ec_keyb_process()
199 old_state = ckdev->old_kb_state[col] & (1 << row); in cros_ec_keyb_process()
203 row, col, new_state); in cros_ec_keyb_process()
210 ckdev->old_kb_state[col] = kb_state[col]; in cros_ec_keyb_process()
312 int row, col; in cros_ec_keyb_compute_valid_keys() local
319 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_compute_valid_keys()
321 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys()
323 ckdev->valid_keys[col] |= 1 << row; in cros_ec_keyb_compute_valid_keys()
326 col, ckdev->valid_keys[col]); in cros_ec_keyb_compute_valid_keys()
538 unsigned int row, col, scancode; in cros_ec_keyb_parse_vivaldi_physmap() local
571 col = KEY_COL(physmap[i]); in cros_ec_keyb_parse_vivaldi_physmap()
572 scancode = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_parse_vivaldi_physmap()