Home | History | Annotate | Download | only in input

Lines Matching refs:scan

39  * @param samep		Set to true if this scan repeats the last, else false
49 struct mbkp_keyscan scan;
53 if (cros_ec_scan_keyboard(dev->parent, &scan)) {
54 debug("%s: keyboard scan failed\n", __func__);
57 *samep = last_scan_valid && !memcmp(&last_scan, &scan, sizeof(scan));
61 * out of key scans. It just returns the same scan over and over
63 * that this scan is the same as the last.
66 memcpy(&last_scan, &scan, sizeof(last_scan));
73 data = scan.data[bit / 8];
143 * see that the scan is the same as last time.
165 * 8 columns by the protocol (one byte per row scan)