Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
pinctrl-tegra.c File Reference
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/machine.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/pinctrl/pinconf.h>
#include <linux/slab.h>
#include "core.h"
#include "pinctrl-tegra.h"

Go to the source code of this file.

Data Structures

struct  tegra_pmx
 
struct  cfg_param
 

Functions

void tegra_pinctrl_dt_free_map (struct pinctrl_dev *pctldev, struct pinctrl_map *map, unsigned num_maps)
 
int tegra_pinctrl_dt_subnode_to_map (struct device *dev, struct device_node *np, struct pinctrl_map **map, unsigned *reserved_maps, unsigned *num_maps)
 
int tegra_pinctrl_dt_node_to_map (struct pinctrl_dev *pctldev, struct device_node *np_config, struct pinctrl_map **map, unsigned *num_maps)
 
int __devinit tegra_pinctrl_probe (struct platform_device *pdev, const struct tegra_pinctrl_soc_data *soc_data)
 
 EXPORT_SYMBOL_GPL (tegra_pinctrl_probe)
 
int __devexit tegra_pinctrl_remove (struct platform_device *pdev)
 
 EXPORT_SYMBOL_GPL (tegra_pinctrl_remove)
 

Variables

struct pinconf_ops tegra_pinconf_ops
 

Function Documentation

EXPORT_SYMBOL_GPL ( tegra_pinctrl_probe  )
EXPORT_SYMBOL_GPL ( tegra_pinctrl_remove  )
void tegra_pinctrl_dt_free_map ( struct pinctrl_dev pctldev,
struct pinctrl_map map,
unsigned  num_maps 
)

Definition at line 181 of file pinctrl-tegra.c.

int tegra_pinctrl_dt_node_to_map ( struct pinctrl_dev pctldev,
struct device_node np_config,
struct pinctrl_map **  map,
unsigned *  num_maps 
)

Definition at line 291 of file pinctrl-tegra.c.

int tegra_pinctrl_dt_subnode_to_map ( struct device dev,
struct device_node np,
struct pinctrl_map **  map,
unsigned *  reserved_maps,
unsigned *  num_maps 
)

Definition at line 212 of file pinctrl-tegra.c.

int __devinit tegra_pinctrl_probe ( struct platform_device pdev,
const struct tegra_pinctrl_soc_data soc_data 
)

Definition at line 688 of file pinctrl-tegra.c.

int __devexit tegra_pinctrl_remove ( struct platform_device pdev)

Definition at line 761 of file pinctrl-tegra.c.

Variable Documentation

struct pinconf_ops tegra_pinconf_ops
Initial value:
= {
.pin_config_get = tegra_pinconf_get,
.pin_config_set = tegra_pinconf_set,
.pin_config_group_get = tegra_pinconf_group_get,
.pin_config_group_set = tegra_pinconf_group_set,
}

Definition at line 663 of file pinctrl-tegra.c.