Lines Matching +full:timeout +full:- +full:touch +full:- +full:ms
6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */
63 * bit 6 - 4: Reserved
64 * bit 3 - 2: Power status
65 * bit 1 - 0: Device status
76 * bit 7 - 4: Number of touched finger
91 * Write-only command file register used to issue commands and
102 * bit 6 - 5: Reserved
104 * bit 3 - 2: Reserved
127 * bit 1 - 0: Reserved
150 #define PWR_MODE_IDLE (0x03 << 2) /* Default rt suspend scanrate: 30ms */
151 #define PWR_MODE_SLEEP (0x05 << 2) /* Default suspend scanrate: 50ms */
161 #define AUTOSUSPEND_DELAY 2000 /* unit : ms */
239 #define PIP_DEV_SET_PWR_STATE(cyapa, s) ((cyapa)->dev_pwr_mode = (s))
240 #define PIP_DEV_GET_PWR_STATE(cyapa) ((cyapa)->dev_pwr_mode)
241 #define PIP_DEV_SET_SLEEP_TIME(cyapa, t) ((cyapa)->dev_sleep_time = (t))
242 #define PIP_DEV_GET_SLEEP_TIME(cyapa) ((cyapa)->dev_sleep_time)
244 (((cyapa)->dev_sleep_time) == UNINIT_SLEEP_TIME)
246 /* The touch.id is used as the MT slot id, thus max MT slot is 15 */
394 int cyapa_poll_state(struct cyapa *cyapa, unsigned int timeout);
406 unsigned long timeout,