Controls power of a specified device on the planar.
#include <sys/pm.h> int pm_planar_control(DevNumber,DevID,command) dev_t DevNumber; int DevID; int command;
The pm_planar_control kernel service turns a device on the planar either on or off.
If command is PM_PLANAR_QUERY, OR of the following is returned:
If command is other than PM_PLANAR_QUERY the following is returned:
PM_SUCCESS | Indicates successful completion. |
PM_ERROR | Indicates an error condition. |
The pm_planar_control kernel service can be called from either the process or interrupt environment.
The pm_planar_control kernel service is part of the Base Operating System (BOS) Runtime.
The pm_control_parameter subroutine, pm_control_state subroutine, pm_event_query subroutine, pm_battery_control subroutine.
The pm_register_handle kernel service, pm_reqister_planar_contr ol_handle kernel service.