Searched refs:inputdev_state (Results 1 – 1 of 1) sorted by relevance
21 int inputdev_state; member311 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_OPEN; in cmpc_accel_open_v4()326 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_CLOSED; in cmpc_accel_close_v4()348 if (accel->inputdev_state == CMPC_ACCEL_DEV_STATE_OPEN) in cmpc_accel_suspend_v4()362 if (accel->inputdev_state == CMPC_ACCEL_DEV_STATE_OPEN) { in cmpc_accel_resume_v4()386 accel->inputdev_state = CMPC_ACCEL_DEV_STATE_CLOSED; in cmpc_accel_add_v4()