Lines Matching refs:APM_SUCCESS
760 return APM_SUCCESS; in apm_driver_version()
794 return APM_SUCCESS; in apm_get_event()
818 return APM_SUCCESS; in set_power_state()
1021 return APM_SUCCESS; in apm_enable_power_management()
1061 return APM_SUCCESS; in apm_get_power_status()
1089 return APM_SUCCESS;
1119 return APM_SUCCESS; in apm_engage_power_management()
1146 if ((error == APM_SUCCESS) || (error == APM_NO_ERROR)) in apm_console_blank()
1265 err = APM_SUCCESS; in suspend()
1266 if (err != APM_SUCCESS) in suspend()
1268 err = (err == APM_SUCCESS) ? 0 : -EIO; in suspend()
1298 if ((err != APM_SUCCESS) && (err != APM_NO_ERROR)) in standby()
1318 if (error == APM_SUCCESS) in get_event()
1750 if (error != APM_SUCCESS) { in apm()