Searched refs:valid_keys (Results 1 – 1 of 1) sorted by relevance
55 uint8_t *valid_keys; member141 uint8_t *valid_keys = ckdev->valid_keys; in cros_ec_keyb_has_ghosting() local157 buf1 = buf[col1] & valid_keys[col1]; in cros_ec_keyb_has_ghosting()159 buf2 = buf[col2] & valid_keys[col2]; in cros_ec_keyb_has_ghosting()325 ckdev->valid_keys[col] |= 1 << row; in cros_ec_keyb_compute_valid_keys()328 col, ckdev->valid_keys[col]); in cros_ec_keyb_compute_valid_keys()602 ckdev->valid_keys = devm_kzalloc(dev, ckdev->cols, GFP_KERNEL); in cros_ec_keyb_register_matrix()603 if (!ckdev->valid_keys) in cros_ec_keyb_register_matrix()