Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pwm-pxa.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/pwm.h>
#include <asm/div64.h>

Go to the source code of this file.

Data Structures

struct  pxa_pwm_chip
 

Macros

#define HAS_SECONDARY_PWM   0x10
 
#define PWM_ID_BASE(d)   ((d) & 0xf)
 
#define PWMCR   (0x00)
 
#define PWMDCR   (0x04)
 
#define PWMPCR   (0x08)
 
#define PWMCR_SD   (1 << 6)
 
#define PWMDCR_FD   (1 << 10)
 

Functions

 MODULE_DEVICE_TABLE (platform, pwm_id_table)
 
 arch_initcall (pwm_init)
 
 module_exit (pwm_exit)
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define HAS_SECONDARY_PWM   0x10

Definition at line 25 of file pwm-pxa.c.

#define PWM_ID_BASE (   d)    ((d) & 0xf)

Definition at line 26 of file pwm-pxa.c.

#define PWMCR   (0x00)

Definition at line 39 of file pwm-pxa.c.

#define PWMCR_SD   (1 << 6)

Definition at line 43 of file pwm-pxa.c.

#define PWMDCR   (0x04)

Definition at line 40 of file pwm-pxa.c.

#define PWMDCR_FD   (1 << 10)

Definition at line 44 of file pwm-pxa.c.

#define PWMPCR   (0x08)

Definition at line 41 of file pwm-pxa.c.

Function Documentation

arch_initcall ( pwm_init  )
MODULE_DEVICE_TABLE ( platform  ,
pwm_id_table   
)
module_exit ( pwm_exit  )
MODULE_LICENSE ( "GPL v2 )