Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/pinctrl/machine.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include "pinctrl-spear.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "spear-pinmux" |
Functions | |
void __devinit | pmx_init_addr (struct spear_pinctrl_machdata *machdata, u16 reg) |
int | spear_pinctrl_dt_node_to_map (struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps) |
void | spear_pinctrl_dt_free_map (struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps) |
int __devinit | spear_pinctrl_probe (struct platform_device *pdev, struct spear_pinctrl_machdata *machdata) |
int __devexit | spear_pinctrl_remove (struct platform_device *pdev) |
#define DRIVER_NAME "spear-pinmux" |
Definition at line 29 of file pinctrl-spear.c.
void __devinit pmx_init_addr | ( | struct spear_pinctrl_machdata * | machdata, |
u16 | reg | ||
) |
Definition at line 73 of file pinctrl-spear.c.
void spear_pinctrl_dt_free_map | ( | struct pinctrl_dev * | pctldev, |
struct pinctrl_map * | map, | ||
unsigned | num_maps | ||
) |
Definition at line 171 of file pinctrl-spear.c.
int spear_pinctrl_dt_node_to_map | ( | struct pinctrl_dev * | pctldev, |
struct device_node * | np_config, | ||
struct pinctrl_map ** | map, | ||
unsigned * | num_maps | ||
) |
Definition at line 124 of file pinctrl-spear.c.
int __devinit spear_pinctrl_probe | ( | struct platform_device * | pdev, |
struct spear_pinctrl_machdata * | machdata | ||
) |
Definition at line 288 of file pinctrl-spear.c.
int __devexit spear_pinctrl_remove | ( | struct platform_device * | pdev | ) |
Definition at line 347 of file pinctrl-spear.c.