Go to the source code of this file.
|
struct pin_desc - pin descriptor for each physical pin in the arch : corresponding pin control device
datasheet or such : if the name of this pin was dynamically allocated : If zero, the pin is not claimed, and should be NULL. If non-zero, this pin is claimed by . This field is an integer rather than a boolean, since pinctrl_get() might process multiple mapping table entries that refer to, and hence claim, the same group or pin, and each of these will increment the . : The name of device that called pinctrl_get(). : The most recent selected mux setting for this pin, if any. : If pinctrl_request_gpio() was called for this pin, this is the name of the GPIO that "owns" this pin.
|
struct mutex | pinctrl_mutex |
|
struct list_head | pinctrldev_list |
|
struct pinctrl_dev * | get_pinctrl_dev_from_devname (const char *dev_name) |
|
int | pin_get_from_name (struct pinctrl_dev *pctldev, const char *name) |
|
const char * | pin_get_name (struct pinctrl_dev *pctldev, const unsigned pin) |
|
int | pinctrl_get_group_selector (struct pinctrl_dev *pctldev, const char *pin_group) |
|
int | pinctrl_register_map (struct pinctrl_map const *maps, unsigned num_maps, bool dup, bool locked) |
|
void | pinctrl_unregister_map (struct pinctrl_map const *map) |
|
get_pinctrl_dev_from_devname() - look up pin controller device : the name of a device instance, as returned by dev_name()
Looks up a pin control device matching a certain device name or pure device pointer, the pure device pointer will take precedence.
Definition at line 99 of file core.c.