Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
floppy.h File Reference

Go to the source code of this file.

Macros

#define fd_inb(port)   inb_p(port)
 
#define fd_outb(value, port)   outb_p(value,port)
 
#define fd_enable_dma()   enable_dma(FLOPPY_DMA)
 
#define fd_disable_dma()   disable_dma(FLOPPY_DMA)
 
#define fd_request_dma()   request_dma(FLOPPY_DMA,"floppy")
 
#define fd_free_dma()   free_dma(FLOPPY_DMA)
 
#define fd_clear_dma_ff()   clear_dma_ff(FLOPPY_DMA)
 
#define fd_set_dma_mode(mode)   set_dma_mode(FLOPPY_DMA,mode)
 
#define fd_set_dma_addr(addr)   set_dma_addr(FLOPPY_DMA,virt_to_bus(addr))
 
#define fd_set_dma_count(count)   set_dma_count(FLOPPY_DMA,count)
 
#define fd_enable_irq()   enable_irq(FLOPPY_IRQ)
 
#define fd_disable_irq()   disable_irq(FLOPPY_IRQ)
 
#define fd_cacheflush(addr, size)   /* nothing */
 
#define fd_request_irq()
 
#define fd_free_irq()   free_irq(FLOPPY_IRQ, NULL)
 
#define FLOPPY0_TYPE   6
 
#define FLOPPY1_TYPE   0
 
#define N_FDC   2
 
#define N_DRIVE   8
 
#define EXTRA_FLOPPY_PARAMS
 

Functions

__inline__ void virtual_dma_init (void)
 

Macro Definition Documentation

#define EXTRA_FLOPPY_PARAMS

Definition at line 113 of file floppy.h.

#define fd_cacheflush (   addr,
  size 
)    /* nothing */

Definition at line 27 of file floppy.h.

#define fd_clear_dma_ff (   void)    clear_dma_ff(FLOPPY_DMA)

Definition at line 21 of file floppy.h.

#define fd_disable_dma (   void)    disable_dma(FLOPPY_DMA)

Definition at line 18 of file floppy.h.

#define fd_disable_irq (   void)    disable_irq(FLOPPY_IRQ)

Definition at line 26 of file floppy.h.

#define fd_enable_dma (   void)    enable_dma(FLOPPY_DMA)

Definition at line 17 of file floppy.h.

#define fd_enable_irq (   void)    enable_irq(FLOPPY_IRQ)

Definition at line 25 of file floppy.h.

#define fd_free_dma (   void)    free_dma(FLOPPY_DMA)

Definition at line 20 of file floppy.h.

static void fd_free_irq (   void)    free_irq(FLOPPY_IRQ, NULL)
inline

Definition at line 30 of file floppy.h.

#define fd_inb (   port)    inb_p(port)

Definition at line 14 of file floppy.h.

#define fd_outb (   value,
  port 
)    outb_p(value,port)

Definition at line 15 of file floppy.h.

#define fd_request_dma (   void)    request_dma(FLOPPY_DMA,"floppy")

Definition at line 19 of file floppy.h.

#define fd_request_irq (   void)
Value:
IRQF_DISABLED, "floppy", NULL)

Definition at line 28 of file floppy.h.

#define fd_set_dma_addr (   addr)    set_dma_addr(FLOPPY_DMA,virt_to_bus(addr))

Definition at line 23 of file floppy.h.

#define fd_set_dma_count (   count)    set_dma_count(FLOPPY_DMA,count)

Definition at line 24 of file floppy.h.

#define fd_set_dma_mode (   mode)    set_dma_mode(FLOPPY_DMA,mode)

Definition at line 22 of file floppy.h.

#define FLOPPY0_TYPE   6

Definition at line 88 of file floppy.h.

#define FLOPPY1_TYPE   0

Definition at line 89 of file floppy.h.

#define N_DRIVE   8

Definition at line 92 of file floppy.h.

#define N_FDC   2

Definition at line 91 of file floppy.h.

Function Documentation

__inline__ void virtual_dma_init ( void  )

Definition at line 77 of file floppy.h.