Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ide-pm.c File Reference
#include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/ide.h>

Go to the source code of this file.

Functions

int generic_ide_suspend (struct device *dev, pm_message_t mesg)
 
int generic_ide_resume (struct device *dev)
 
void ide_complete_power_step (ide_drive_t *drive, struct request *rq)
 
ide_startstop_t ide_start_power_step (ide_drive_t *drive, struct request *rq)
 
void ide_complete_pm_rq (ide_drive_t *drive, struct request *rq)
 
void ide_check_pm_state (ide_drive_t *drive, struct request *rq)
 

Function Documentation

int generic_ide_resume ( struct device dev)

Definition at line 41 of file ide-pm.c.

int generic_ide_suspend ( struct device dev,
pm_message_t  mesg 
)

Definition at line 5 of file ide-pm.c.

void ide_check_pm_state ( ide_drive_t drive,
struct request rq 
)

Definition at line 209 of file ide-pm.c.

void ide_complete_pm_rq ( ide_drive_t drive,
struct request rq 
)

ide_complete_pm_rq - end the current Power Management request : target drive : request

This function cleans up the current PM request and stops the queue if necessary.

Definition at line 182 of file ide-pm.c.

void ide_complete_power_step ( ide_drive_t drive,
struct request rq 
)

Definition at line 81 of file ide-pm.c.

ide_startstop_t ide_start_power_step ( ide_drive_t drive,
struct request rq 
)

Definition at line 111 of file ide-pm.c.