Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/mouse/
H A Dcyapa_gen6.c445 PIP_DEV_SET_PWR_STATE(cyapa, PWR_MODE_OFF); in cyapa_gen6_set_power_mode()
449 PIP_DEV_GET_PWR_STATE(cyapa) != PWR_MODE_OFF) in cyapa_gen6_set_power_mode()
453 if (power_mode == PWR_MODE_OFF || in cyapa_gen6_set_power_mode()
462 if (power_mode == PWR_MODE_OFF) { in cyapa_gen6_set_power_mode()
471 PIP_DEV_SET_PWR_STATE(cyapa, PWR_MODE_OFF); in cyapa_gen6_set_power_mode()
480 if (PIP_DEV_GET_PWR_STATE(cyapa) == PWR_MODE_OFF) { in cyapa_gen6_set_power_mode()
H A Dcyapa.c428 PWR_MODE_OFF, 0, CYAPA_PM_DEACTIVE); in cyapa_close()
554 PWR_MODE_OFF, 0, CYAPA_PM_ACTIVE); in cyapa_disable_irq_for_cmd()
622 PWR_MODE_OFF, 0, CYAPA_PM_ACTIVE); in cyapa_initialize()
659 PWR_MODE_OFF, 0, CYAPA_PM_DEACTIVE); in cyapa_reinitialize()
762 case PWR_MODE_OFF: in cyapa_show_suspend_scanrate()
792 cyapa->suspend_power_mode = PWR_MODE_OFF; in cyapa_update_suspend_scanrate()
1384 : PWR_MODE_OFF; in cyapa_suspend()
1396 if (cyapa->dev_pwr_mode != PWR_MODE_OFF) in cyapa_suspend()
H A Dcyapa_gen5.c1633 PIP_DEV_SET_PWR_STATE(cyapa, PWR_MODE_OFF); in cyapa_gen5_set_power_mode()
1637 PIP_DEV_GET_PWR_STATE(cyapa) != PWR_MODE_OFF) in cyapa_gen5_set_power_mode()
1644 if (power_mode == PWR_MODE_OFF || in cyapa_gen5_set_power_mode()
1653 if (power_mode == PWR_MODE_OFF) { in cyapa_gen5_set_power_mode()
1660 PIP_DEV_SET_PWR_STATE(cyapa, PWR_MODE_OFF); in cyapa_gen5_set_power_mode()
1669 if (PIP_DEV_GET_PWR_STATE(cyapa) == PWR_MODE_OFF) { in cyapa_gen5_set_power_mode()
H A Dcyapa.h153 #define PWR_MODE_OFF (0x00 << 2) macro
H A Dcyapa_gen3.c882 case PWR_MODE_OFF: return 20; in cyapa_get_wait_time_for_pwr_cmd()