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

Go to the source code of this file.

Data Structures

struct  vlynq_mapping
 
struct  vlynq_device_id
 
struct  vlynq_device
 
struct  vlynq_driver
 
struct  plat_vlynq_ops
 

Macros

#define VLYNQ_NUM_IRQS   32
 

Enumerations

enum  vlynq_divisor {
  vlynq_div_auto = 0, vlynq_ldiv1, vlynq_ldiv2, vlynq_ldiv3,
  vlynq_ldiv4, vlynq_ldiv5, vlynq_ldiv6, vlynq_ldiv7,
  vlynq_ldiv8, vlynq_rdiv1, vlynq_rdiv2, vlynq_rdiv3,
  vlynq_rdiv4, vlynq_rdiv5, vlynq_rdiv6, vlynq_rdiv7,
  vlynq_rdiv8, vlynq_div_external
}
 

Functions

int __vlynq_register_driver (struct vlynq_driver *driver, struct module *owner)
 
void vlynq_unregister_driver (struct vlynq_driver *driver)
 
int vlynq_enable_device (struct vlynq_device *dev)
 
void vlynq_disable_device (struct vlynq_device *dev)
 
int vlynq_set_local_mapping (struct vlynq_device *dev, u32 tx_offset, struct vlynq_mapping *mapping)
 
int vlynq_set_remote_mapping (struct vlynq_device *dev, u32 tx_offset, struct vlynq_mapping *mapping)
 
int vlynq_set_local_irq (struct vlynq_device *dev, int virq)
 
int vlynq_set_remote_irq (struct vlynq_device *dev, int virq)
 

Variables

struct bus_type vlynq_bus_type
 

Macro Definition Documentation

#define VLYNQ_NUM_IRQS   32

Definition at line 27 of file vlynq.h.

Enumeration Type Documentation

Enumerator:
vlynq_div_auto 
vlynq_ldiv1 
vlynq_ldiv2 
vlynq_ldiv3 
vlynq_ldiv4 
vlynq_ldiv5 
vlynq_ldiv6 
vlynq_ldiv7 
vlynq_ldiv8 
vlynq_rdiv1 
vlynq_rdiv2 
vlynq_rdiv3 
vlynq_rdiv4 
vlynq_rdiv5 
vlynq_rdiv6 
vlynq_rdiv7 
vlynq_rdiv8 
vlynq_div_external 

Definition at line 34 of file vlynq.h.

Function Documentation

int __vlynq_register_driver ( struct vlynq_driver driver,
struct module owner 
)

Definition at line 368 of file vlynq.c.

void vlynq_disable_device ( struct vlynq_device dev)

Definition at line 588 of file vlynq.c.

int vlynq_enable_device ( struct vlynq_device dev)

Definition at line 569 of file vlynq.c.

int vlynq_set_local_irq ( struct vlynq_device dev,
int  virq 
)

Definition at line 632 of file vlynq.c.

int vlynq_set_local_mapping ( struct vlynq_device dev,
u32  tx_offset,
struct vlynq_mapping mapping 
)

Definition at line 598 of file vlynq.c.

int vlynq_set_remote_irq ( struct vlynq_device dev,
int  virq 
)

Definition at line 650 of file vlynq.c.

int vlynq_set_remote_mapping ( struct vlynq_device dev,
u32  tx_offset,
struct vlynq_mapping mapping 
)

Definition at line 615 of file vlynq.c.

void vlynq_unregister_driver ( struct vlynq_driver driver)

Definition at line 376 of file vlynq.c.

Variable Documentation

struct bus_type vlynq_bus_type

Definition at line 778 of file vlynq.c.