Pin Control Subsystem's PINCTRL_DEV

Source: Internet
Author: User
Tags mutex ranges

/**  * struct Pinctrl_dev-pin control class device  * @node: node to include this PIN controller in the global Pin Controller list  * @desc: The PIN controller descriptor supplied when initializing this pin  * control Ler  * @pin_desc_tree: Each pin descriptor to this PIN controller are stored in  * this radix tree  * @gpio_ranges: A list of gpio ranges it handled by this PIN controller,  * ranges are added to this list at Runtime  * @dev: The device entry for this PIN controller  * @owner: module providing the PIN controller, used F or refcounting  * @driver_data: Driver data for drivers registering to the PIN controller  * subsystem &NBS p;* @p:result of Pinctrl_get () for this device  * @hog_default: Default state for Pins hogged by this device  * @hog_sleep: Pins hogged by this device  * @mutex: mutexes taken on each PIN controller specific action  * @device_root: DEbugfs root for this device  */struct Pinctrl_dev { struct list_head node;  struct Pinctrl_desc *desc Bsp;struct Radix_tree_root Pin_desc_tree;  struct List_head gpio_ranges;  struct device *dev;  struct module *owner;  void *driver_data;  struct Pinctrl *p;  struct pinctrl_state *hog_default;  struct pinctrl_state *hog_sleep;  struct mutex mutex; #ifdef CONFIG_DEBUG_FS  struct dentry *device_root; #endif};

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.