Lines Matching full:matrix
2 * Chromium OS Matrix Keyboard
28 struct key_matrix matrix; /* The key matrix layer */ member
36 * Check the keyboard controller and return a list of key matrix positions
71 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys()
73 for (row = 0; row < priv->matrix.num_rows; row++) { in check_for_keys()
140 num_keycodes = key_matrix_decode(&priv->matrix, keys, in cros_ec_kbc_check()
175 debug("%s: Invalid key matrix size %d x %d\n", __func__, in cros_ec_keyb_decode_fdt()
198 ret = key_matrix_init(&priv->matrix, priv->key_rows, priv->key_cols, in cros_ec_kbd_probe()
201 debug("%s: cannot init key matrix\n", __func__); in cros_ec_kbd_probe()
204 ret = key_matrix_decode_fdt(dev, &priv->matrix); in cros_ec_kbd_probe()
206 debug("%s: Could not decode key matrix from fdt\n", __func__); in cros_ec_kbd_probe()
209 debug("%s: Matrix keyboard %dx%d ready\n", __func__, priv->key_rows, in cros_ec_kbd_probe()