Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pwm-vt8500.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/io.h>
#include <linux/pwm.h>
#include <linux/delay.h>
#include <asm/div64.h>

Go to the source code of this file.

Data Structures

struct  vt8500_chip
 

Macros

#define VT8500_NR_PWMS   4
 
#define to_vt8500_chip(chip)   container_of(chip, struct vt8500_chip, chip)
 
#define msecs_to_loops(t)   (loops_per_jiffy / 1000 * HZ * t)
 

Functions

 arch_initcall (pwm_init)
 
 module_exit (pwm_exit)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define msecs_to_loops (   t)    (loops_per_jiffy / 1000 * HZ * t)

Definition at line 36 of file pwm-vt8500.c.

#define to_vt8500_chip (   chip)    container_of(chip, struct vt8500_chip, chip)

Definition at line 34 of file pwm-vt8500.c.

#define VT8500_NR_PWMS   4

Definition at line 27 of file pwm-vt8500.c.

Function Documentation

arch_initcall ( pwm_init  )
module_exit ( pwm_exit  )
MODULE_LICENSE ( "GPL"  )