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

Go to the source code of this file.


#define MAX_PARK_TIMEOUT   30000


ide_startstop_t ide_do_park_unpark (ide_drive_t *drive, struct request *rq)
ssize_t ide_park_show (struct device *dev, struct device_attribute *attr, char *buf)
ssize_t ide_park_store (struct device *dev, struct device_attribute *attr, const char *buf, size_t len)

Macro Definition Documentation

#define MAX_PARK_TIMEOUT   30000

Function Documentation

DECLARE_WAIT_QUEUE_HEAD ( ide_park_wq  )
ide_startstop_t ide_do_park_unpark ( ide_drive_t drive,
struct request rq 

Definition at line 61 of file ide-park.c.

ssize_t ide_park_show ( struct device dev,
struct device_attribute attr,
char buf 

Definition at line 88 of file ide-park.c.

ssize_t ide_park_store ( struct device dev,
struct device_attribute attr,
const char buf,
size_t  len 

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