[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

pm_register_planar_control_handle Kernel Service


Registers and unregisters a planar control subroutine.


#include <sys/pm.h>
int pm_register_planar_control_handle(ppch, command)
struct pm_planar_control_handle *ppch;
int command;


ppch        Points a 
pm_planar_control_handle structure as follows.
            The structure and the control subroutine must be pinned.
struct pm_planar_control_handle {
            int              DevID;
            int              (*control)(dev_t DevNumber, int DevID,
int command);
             struct pm_planar_control_handle          *next;
command      Specifies one of the following:


The pm_register_planar_control_handle kernel service registers and unregisters planar control subroutines.

The planar device ID, DevID, are stored in the ODM. The Power Management aware device driver retrieves the values at device configuration if planar_control operation is required to control the low power or off state of its own device on the planar as follows:

Return Values

PM_SUCCESS Indicates successful completion.
PM_ERROR Indicates an error condition.

Implementation Specifics

The pm_register_planar_control_handle kernel service is part of the Base Operating System (BOS) Runtime.

Related Information

The pm_planar_control kernel service.

[ Previous | Next | Contents | Home | Search ]