PM_FIND

Section: (9)
Updated: 07 August 2003
Index Return to Main Contents

 

NAME

pm_find - find a device  

SYNOPSIS

struct pm_dev * pm_find (pm_dev_t type, struct pm_dev * from);  

ARGUMENTS

type
type of device
from
where to start looking
 

DESCRIPTION

Scan the power management list for devices of a specific type. The return value for a matching device may be passed to further calls to this function to find further matches. A NULL indicates the end of the list.

To search from the beginning pass NULL as the from value.

The caller MUST hold the pm_devs_lock lock when calling this function. The instant that the lock is dropped all pointers returned may become invalid.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:53:42 GMT, April 09, 2004