Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pwm-ab8500.c File Reference
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/pwm.h>
#include <linux/mfd/abx500.h>
#include <linux/mfd/abx500/ab8500.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  ab8500_pwm_chip
 

Macros

#define AB8500_PWM_OUT_CTRL1_REG   0x60
 
#define AB8500_PWM_OUT_CTRL2_REG   0x61
 
#define AB8500_PWM_OUT_CTRL7_REG   0x66
 
#define ENABLE_PWM   1
 
#define DISABLE_PWM   0
 

Functions

 module_platform_driver (ab8500_pwm_driver)
 
 MODULE_AUTHOR ("Arun MURTHY <[email protected]>")
 
 MODULE_DESCRIPTION ("AB8500 Pulse Width Modulation Driver")
 
 MODULE_ALIAS ("platform:ab8500-pwm")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define AB8500_PWM_OUT_CTRL1_REG   0x60

Definition at line 19 of file pwm-ab8500.c.

#define AB8500_PWM_OUT_CTRL2_REG   0x61

Definition at line 20 of file pwm-ab8500.c.

#define AB8500_PWM_OUT_CTRL7_REG   0x66

Definition at line 21 of file pwm-ab8500.c.

#define DISABLE_PWM   0

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

#define ENABLE_PWM   1

Definition at line 24 of file pwm-ab8500.c.

Function Documentation

MODULE_ALIAS ( "platform:ab8500-pwm )
MODULE_AUTHOR ( "Arun MURTHY <[email protected]>"  )
MODULE_DESCRIPTION ( "AB8500 Pulse Width Modulation Driver"  )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( ab8500_pwm_driver  )