Lines Matching refs:pg_event
616 dev->pg_event = MEI_PG_EVENT_WAIT; in mei_me_pg_enter_sync()
624 dev->pg_event == MEI_PG_EVENT_RECEIVED, timeout); in mei_me_pg_enter_sync()
627 if (dev->pg_event == MEI_PG_EVENT_RECEIVED) { in mei_me_pg_enter_sync()
634 dev->pg_event = MEI_PG_EVENT_IDLE; in mei_me_pg_enter_sync()
653 if (dev->pg_event == MEI_PG_EVENT_RECEIVED) in mei_me_pg_exit_sync()
656 dev->pg_event = MEI_PG_EVENT_WAIT; in mei_me_pg_exit_sync()
662 dev->pg_event == MEI_PG_EVENT_RECEIVED, timeout); in mei_me_pg_exit_sync()
666 if (dev->pg_event != MEI_PG_EVENT_RECEIVED) { in mei_me_pg_exit_sync()
671 dev->pg_event = MEI_PG_EVENT_INTR_WAIT; in mei_me_pg_exit_sync()
678 dev->pg_event == MEI_PG_EVENT_INTR_RECEIVED, timeout); in mei_me_pg_exit_sync()
681 if (dev->pg_event == MEI_PG_EVENT_INTR_RECEIVED) in mei_me_pg_exit_sync()
687 dev->pg_event = MEI_PG_EVENT_IDLE; in mei_me_pg_exit_sync()
702 return dev->pg_event >= MEI_PG_EVENT_WAIT && in mei_me_pg_in_transition()
703 dev->pg_event <= MEI_PG_EVENT_INTR_WAIT; in mei_me_pg_in_transition()
745 if (dev->pg_event != MEI_PG_EVENT_INTR_WAIT) in mei_me_pg_intr()
748 dev->pg_event = MEI_PG_EVENT_INTR_RECEIVED; in mei_me_pg_intr()
851 if (dev->pg_event != MEI_PG_EVENT_WAIT && in mei_me_irq_thread_handler()
852 dev->pg_event != MEI_PG_EVENT_RECEIVED) { in mei_me_irq_thread_handler()