Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ep93xx_pwm.c File Reference
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <mach/platform.h>

Go to the source code of this file.

Data Structures

struct  ep93xx_pwm
 

Macros

#define EP93XX_PWMx_TERM_COUNT   0x00
 
#define EP93XX_PWMx_DUTY_CYCLE   0x04
 
#define EP93XX_PWMx_ENABLE   0x08
 
#define EP93XX_PWMx_INVERT   0x0C
 
#define EP93XX_PWM_MAX_COUNT   0xFFFF
 

Functions

 module_init (ep93xx_pwm_init)
 
 module_exit (ep93xx_pwm_exit)
 
 MODULE_AUTHOR ("Matthieu Crapet <[email protected]>, ""H Hartley Sweeten <[email protected]>")
 
 MODULE_DESCRIPTION ("EP93xx PWM driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:ep93xx-pwm")
 

Macro Definition Documentation

#define EP93XX_PWM_MAX_COUNT   0xFFFF

Definition at line 34 of file ep93xx_pwm.c.

#define EP93XX_PWMx_DUTY_CYCLE   0x04

Definition at line 30 of file ep93xx_pwm.c.

#define EP93XX_PWMx_ENABLE   0x08

Definition at line 31 of file ep93xx_pwm.c.

#define EP93XX_PWMx_INVERT   0x0C

Definition at line 32 of file ep93xx_pwm.c.

#define EP93XX_PWMx_TERM_COUNT   0x00

Definition at line 29 of file ep93xx_pwm.c.

Function Documentation

MODULE_ALIAS ( "platform:ep93xx-pwm )
MODULE_AUTHOR ( "Matthieu Crapet <[email protected] ,
""H Hartley Sweeten< hsweeten @visionengravers.com >"   
)
MODULE_DESCRIPTION ( "EP93xx PWM driver )
module_exit ( ep93xx_pwm_exit  )
module_init ( ep93xx_pwm_init  )
MODULE_LICENSE ( "GPL"  )