Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | lpc32xx_pwm_chip |
Macros | |
#define | PWM_ENABLE (1 << 31) |
#define | PWM_RELOADV(x) (((x) & 0xFF) << 8) |
#define | PWM_DUTY(x) ((x) & 0xFF) |
#define | to_lpc32xx_pwm_chip(_chip) container_of(_chip, struct lpc32xx_pwm_chip, chip) |
Functions | |
MODULE_DEVICE_TABLE (of, lpc32xx_pwm_dt_ids) | |
module_platform_driver (lpc32xx_pwm_driver) | |
MODULE_ALIAS ("platform:lpc32xx-pwm") | |
MODULE_AUTHOR ("Alexandre Pereira da Silva <[email protected]>") | |
MODULE_DESCRIPTION ("LPC32XX PWM Driver") | |
MODULE_LICENSE ("GPL v2") | |
Definition at line 29 of file pwm-lpc32xx.c.
#define PWM_ENABLE (1 << 31) |
Definition at line 27 of file pwm-lpc32xx.c.
Definition at line 28 of file pwm-lpc32xx.c.
#define to_lpc32xx_pwm_chip | ( | _chip | ) | container_of(_chip, struct lpc32xx_pwm_chip, chip) |
Definition at line 31 of file pwm-lpc32xx.c.
MODULE_ALIAS | ( | "platform:lpc32xx-pwm" | ) |
MODULE_AUTHOR | ( | "Alexandre Pereira da Silva <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "LPC32XX PWM Driver" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
lpc32xx_pwm_dt_ids | |||
) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | lpc32xx_pwm_driver | ) |