Lines Matching refs:cols
32 * @cols: Number of columns in the keypad
46 unsigned int cols;
135 for (col1 = 0; col1 < ckdev->cols; col1++) {
137 for (col2 = col1 + 1; col2 < ckdev->cols; col2++) {
174 for (col = 0; col < ckdev->cols; col++) {
245 if (ckdev->ec->event_size != ckdev->cols) {
300 for (col = 0; col < ckdev->cols; col++) {
530 err = matrix_keypad_parse_properties(dev, &ckdev->rows, &ckdev->cols);
534 ckdev->valid_keys = devm_kzalloc(dev, ckdev->cols, GFP_KERNEL);
538 ckdev->old_kb_state = devm_kzalloc(dev, ckdev->cols, GFP_KERNEL);
566 err = matrix_keypad_build_keymap(NULL, NULL, ckdev->rows, ckdev->cols,
573 ckdev->row_shift = get_count_order(ckdev->cols);