Home
last modified time | relevance | path

Searched refs:key_rows (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/input/
H A Dcros_ec_keyb.c26 int key_rows; /* Number of keyboard rows */ member
167 config->key_rows = dev_read_u32_default(dev, "keypad,num-rows", 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()
206 debug("%s: Matrix keyboard %dx%d ready\n", __func__, priv->key_rows, in cros_ec_kbd_probe()