| .. | |||||
| consumer.h | |||||
| devinfo.h | |||||
| machine.h | |||||
| pinconf-generic.h | |||||
| pinconf.h | |||||
| pinctrl-state.h | |||||
| pinctrl.h | |||||
| pinmux.h |
| Server IP : 103.169.32.36 / Your IP : 216.73.216.202 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/linux/pinctrl/ |
Upload File : |
/*
* Per-device information from the pin control system.
* This is the stuff that get included into the device
* core.
*
* Copyright (C) 2012 ST-Ericsson SA
* Written on behalf of Linaro for ST-Ericsson
* This interface is used in the core to keep track of pins.
*
* Author: Linus Walleij <linus.walleij@linaro.org>
*
* License terms: GNU General Public License (GPL) version 2
*/
#ifndef PINCTRL_DEVINFO_H
#define PINCTRL_DEVINFO_H
#ifdef CONFIG_PINCTRL
/* The device core acts as a consumer toward pinctrl */
#include <linux/pinctrl/consumer.h>
/**
* struct dev_pin_info - pin state container for devices
* @p: pinctrl handle for the containing device
* @default_state: the default state for the handle, if found
*/
struct dev_pin_info {
struct pinctrl *p;
struct pinctrl_state *default_state;
#ifdef CONFIG_PM
struct pinctrl_state *sleep_state;
struct pinctrl_state *idle_state;
#endif
};
extern int pinctrl_bind_pins(struct device *dev);
#else
/* Stubs if we're not using pinctrl */
static inline int pinctrl_bind_pins(struct device *dev)
{
return 0;
}
#endif /* CONFIG_PINCTRL */
#endif /* PINCTRL_DEVINFO_H */
| .. | |||||
| consumer.h | |||||
| devinfo.h | |||||
| machine.h | |||||
| pinconf-generic.h | |||||
| pinconf.h | |||||
| pinctrl-state.h | |||||
| pinctrl.h | |||||
| pinmux.h |