pm_register(9)

NAME

pm_register - register a device with power management

SYNOPSIS

struct pm_dev * pm_register(pm_dev_t type,  unsigned  long
id, pm_callback callback);

ARGUMENTS

type
device type
id
device ID
callback
callback function

DESCRIPTION

Add a device to the list of devices that wish to be noti
fied about power management events. A &pm_dev structure is re
turned on success, on failure the return is NULL.
The callback function will be called in process context
and it may sleep.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout