Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/pinctrl/machine.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/pinctrl/pinconf.h>
#include "core.h"
#include "pinconf.h"
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) "pinconfig core: " fmt |
Functions | |
int | pinconf_check_ops (struct pinctrl_dev *pctldev) |
int | pinconf_validate_map (struct pinctrl_map const *map, int i) |
int | pin_config_get_for_pin (struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) |
: name of the pin to get the config for | |
pin_config_get() - get the configuration of a single pin parameter : name of the pin controller device for this pin : the config pointed to by this argument will be filled in with the current pin state, it can be used directly by drivers as a numeral, or it can be dereferenced to any struct. | |
int | pin_config_get (const char *dev_name, const char *name, unsigned long *config) |
EXPORT_SYMBOL (pin_config_get) | |
: name of the pin to set the config for | |
pin_config_set() - set the configuration of a single pin parameter : name of pin controller device for this pin : the config in this argument will contain the desired pin state, it can be used directly by drivers as a numeral, or it can be dereferenced to any struct. | |
int | pin_config_set (const char *dev_name, const char *name, unsigned long config) |
EXPORT_SYMBOL (pin_config_set) | |
int | pin_config_group_get (const char *dev_name, const char *pin_group, unsigned long *config) |
EXPORT_SYMBOL (pin_config_group_get) | |
int | pin_config_group_set (const char *dev_name, const char *pin_group, unsigned long config) |
EXPORT_SYMBOL (pin_config_group_set) | |
int | pinconf_map_to_setting (struct pinctrl_map const *map, struct pinctrl_setting *setting) |
void | pinconf_free_setting (struct pinctrl_setting const *setting) |
int | pinconf_apply_setting (struct pinctrl_setting const *setting) |
EXPORT_SYMBOL | ( | pin_config_get | ) |
EXPORT_SYMBOL | ( | pin_config_set | ) |
EXPORT_SYMBOL | ( | pin_config_group_get | ) |
EXPORT_SYMBOL | ( | pin_config_group_set | ) |
int pin_config_get_for_pin | ( | struct pinctrl_dev * | pctldev, |
unsigned | pin, | ||
unsigned long * | config | ||
) |
int pinconf_apply_setting | ( | struct pinctrl_setting const * | setting | ) |
int pinconf_check_ops | ( | struct pinctrl_dev * | pctldev | ) |
void pinconf_free_setting | ( | struct pinctrl_setting const * | setting | ) |
int pinconf_map_to_setting | ( | struct pinctrl_map const * | map, |
struct pinctrl_setting * | setting | ||
) |