Searched refs:inputdev_state (Results 1 – 1 of 1) sorted by relevance
19 int inputdev_state; member309 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_OPEN; in cmpc_accel_open_v4()324 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_CLOSED; in cmpc_accel_close_v4()346 if (accel->inputdev_state == CMPC_ACCEL_DEV_STATE_OPEN) in cmpc_accel_suspend_v4()360 if (accel->inputdev_state == CMPC_ACCEL_DEV_STATE_OPEN) { in cmpc_accel_resume_v4()384 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_CLOSED; in cmpc_accel_add_v4()