Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ide-xfer-mode.c File Reference
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/ide.h>
#include <linux/bitops.h>

Go to the source code of this file.

Functions

const charide_xfer_verbose (u8 mode)
 
 EXPORT_SYMBOL (ide_xfer_verbose)
 
int ide_pio_need_iordy (ide_drive_t *drive, const u8 pio)
 
 EXPORT_SYMBOL_GPL (ide_pio_need_iordy)
 
int ide_set_pio_mode (ide_drive_t *drive, const u8 mode)
 
int ide_set_dma_mode (ide_drive_t *drive, const u8 mode)
 
 EXPORT_SYMBOL_GPL (ide_set_dma_mode)
 
void ide_set_pio (ide_drive_t *drive, u8 req_pio)
 
 EXPORT_SYMBOL_GPL (ide_set_pio)
 
int ide_set_xfer_rate (ide_drive_t *drive, u8 rate)
 

Function Documentation

EXPORT_SYMBOL ( ide_xfer_verbose  )
EXPORT_SYMBOL_GPL ( ide_pio_need_iordy  )
EXPORT_SYMBOL_GPL ( ide_set_dma_mode  )
EXPORT_SYMBOL_GPL ( ide_set_pio  )
int ide_pio_need_iordy ( ide_drive_t drive,
const u8  pio 
)

Definition at line 110 of file ide-xfer-mode.c.

int ide_set_dma_mode ( ide_drive_t drive,
const u8  mode 
)

Definition at line 156 of file ide-xfer-mode.c.

void ide_set_pio ( ide_drive_t drive,
u8  req_pio 
)

Definition at line 182 of file ide-xfer-mode.c.

int ide_set_pio_mode ( ide_drive_t drive,
const u8  mode 
)

Definition at line 122 of file ide-xfer-mode.c.

int ide_set_xfer_rate ( ide_drive_t drive,
u8  rate 
)

ide_set_xfer_rate - set transfer rate : drive to set : speed to attempt to set

General helper for setting the speed of an IDE device. This function knows about user enforced limits from the configuration which ->set_pio_mode/->set_dma_mode does not.

Definition at line 249 of file ide-xfer-mode.c.

const char* ide_xfer_verbose ( u8  mode)

ide_xfer_verbose - return IDE mode names : transfer mode

Returns a constant string giving the name of the mode requested.

Definition at line 27 of file ide-xfer-mode.c.