Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/keyboard/
Dcros_ec_keyb.c67 static bool cros_ec_keyb_has_ghosting(struct cros_ec_keyb *ckdev, uint8_t *buf) in cros_ec_keyb_has_ghosting() argument
70 struct device *dev = ckdev->dev; in cros_ec_keyb_has_ghosting()
71 uint8_t *valid_keys = ckdev->valid_keys; in cros_ec_keyb_has_ghosting()
86 for (col1 = 0; col1 < ckdev->cols; col1++) { in cros_ec_keyb_has_ghosting()
88 for (col2 = col1 + 1; col2 < ckdev->cols; col2++) { in cros_ec_keyb_has_ghosting()
107 static void cros_ec_keyb_process(struct cros_ec_keyb *ckdev, in cros_ec_keyb_process() argument
110 struct input_dev *idev = ckdev->idev; in cros_ec_keyb_process()
118 if (ckdev->ghost_filter && cros_ec_keyb_has_ghosting(ckdev, kb_state)) { in cros_ec_keyb_process()
124 dev_dbg(ckdev->dev, "ghosting found\n"); in cros_ec_keyb_process()
128 for (col = 0; col < ckdev->cols; col++) { in cros_ec_keyb_process()
[all …]