Lines Matching refs:cols
46 unsigned int cols; member
135 for (col1 = 0; col1 < ckdev->cols; col1++) { in cros_ec_keyb_has_ghosting()
137 for (col2 = col1 + 1; col2 < ckdev->cols; col2++) { in cros_ec_keyb_has_ghosting()
174 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_process()
246 if (ckdev->ec->event_size != ckdev->cols) { in cros_ec_keyb_work()
301 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_compute_valid_keys()
535 err = matrix_keypad_parse_properties(dev, &ckdev->rows, &ckdev->cols); in cros_ec_keyb_register_matrix()
539 ckdev->valid_keys = devm_kzalloc(dev, ckdev->cols, GFP_KERNEL); in cros_ec_keyb_register_matrix()
543 ckdev->old_kb_state = devm_kzalloc(dev, ckdev->cols, GFP_KERNEL); in cros_ec_keyb_register_matrix()
571 err = matrix_keypad_build_keymap(NULL, NULL, ckdev->rows, ckdev->cols, in cros_ec_keyb_register_matrix()
578 ckdev->row_shift = get_count_order(ckdev->cols); in cros_ec_keyb_register_matrix()