Searched refs:key_cols (Results 1 – 1 of 1) sorted by relevance
27 int key_cols; /* Number of keyboard columns */ member168 config->key_cols = dev_read_u32_default(dev, "keypad,num-columns", 0); in cros_ec_keyb_decode_fdt()169 if (!config->key_rows || !config->key_cols || in cros_ec_keyb_decode_fdt()170 config->key_rows * config->key_cols / 8 in cros_ec_keyb_decode_fdt()173 config->key_rows, config->key_cols); in cros_ec_keyb_decode_fdt()195 ret = key_matrix_init(&priv->matrix, priv->key_rows, priv->key_cols, in cros_ec_kbd_probe()207 priv->key_cols); in cros_ec_kbd_probe()