Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
devices.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  pxa_device_desc
 

Macros

#define MAX_RESOURCE_DMA   2
 
#define PXA168_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...)
 
#define PXA910_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...)
 
#define MMP2_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...)
 

Functions

int pxa_register_device (struct pxa_device_desc *, void *, size_t)
 
int pxa_usb_phy_init (void __iomem *phy_reg)
 
void pxa_usb_phy_deinit (void __iomem *phy_reg)
 

Macro Definition Documentation

#define MAX_RESOURCE_DMA   2

Definition at line 6 of file devices.h.

#define MMP2_DEVICE (   _name,
  _drv,
  _id,
  _irq,
  _start,
  _size,
  _dma... 
)
Value:
struct pxa_device_desc mmp2_device_##_name __initdata = { \
.dev_name = "mmp2-" #_name, \
.drv_name = _drv, \
.id = _id, \
.irq = IRQ_MMP2_##_irq, \
.start = _start, \
.size = _size, \
.dma = { _dma }, \
}

Definition at line 41 of file devices.h.

#define PXA168_DEVICE (   _name,
  _drv,
  _id,
  _irq,
  _start,
  _size,
  _dma... 
)
Value:
struct pxa_device_desc pxa168_device_##_name __initdata = { \
.dev_name = "pxa168-" #_name, \
.drv_name = _drv, \
.id = _id, \
.irq = IRQ_PXA168_##_irq, \
.start = _start, \
.size = _size, \
.dma = { _dma }, \
};

Definition at line 19 of file devices.h.

#define PXA910_DEVICE (   _name,
  _drv,
  _id,
  _irq,
  _start,
  _size,
  _dma... 
)
Value:
struct pxa_device_desc pxa910_device_##_name __initdata = { \
.dev_name = "pxa910-" #_name, \
.drv_name = _drv, \
.id = _id, \
.irq = IRQ_PXA910_##_irq, \
.start = _start, \
.size = _size, \
.dma = { _dma }, \
};

Definition at line 30 of file devices.h.

Function Documentation

int pxa_register_device ( struct pxa_device_desc ,
void ,
size_t   
)

Definition at line 20 of file devices.c.

void pxa_usb_phy_deinit ( void __iomem phy_reg)
int pxa_usb_phy_init ( void __iomem phy_reg)