Writing Device Drivers

Power Management Functions

Table B–27 Power Management Functions

Function Name 

Description 

ddi_removing_power

check if device loses power with DDI_SUSPEND 

pci_report_pmcap 

report power management capability of a PCI device 

pm_busy_component 

mark component as busy 

pm_idle_component 

mark component as idle 

pm_raise_power 

raise the power level of a component 

pm_lower_power 

lower the power level of a component 

pm_power_has_changed 

notify power management framework of autonomous power level change 

pm_trans_check 

device power cycle advisory check 

Table B–28 Deprecated Power Management Functions

Function Name 

Description 

ddi_dev_is_needed

inform the system that a device's component is required  

pm_create_components 

see pm-components(9P)

pm_destroy_components 

see pm-components(9P)

pm_get_normal_power 

see pm-components(9P)

pm_set_normal_power 

see pm-components(9P)