Lines Matching refs:p_action
94 enum pm_device_action p_action; in main() local
97 p_action = PM_DEVICE_ACTION_SUSPEND; in main()
98 ret = pm_device_action_run(dev, p_action); in main()
99 pm_info(p_action, ret); in main()
101 p_action = PM_DEVICE_ACTION_TURN_OFF; in main()
102 ret = pm_device_action_run(dev, p_action); in main()
103 pm_info(p_action, ret); in main()
105 p_action = PM_DEVICE_ACTION_RESUME; in main()
106 ret = pm_device_action_run(dev, p_action); in main()
107 pm_info(p_action, ret); in main()
135 p_action = PM_DEVICE_ACTION_TURN_OFF; in main()
136 ret = pm_device_action_run(dev, p_action); in main()
137 pm_info(p_action, ret); in main()
139 p_action = PM_DEVICE_ACTION_RESUME; in main()
140 ret = pm_device_action_run(dev, p_action); in main()
141 pm_info(p_action, ret); in main()