Lines Matching refs:pinctrl_dev
74 const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev) in pinctrl_dev_get_name()
81 const char *pinctrl_dev_get_devname(struct pinctrl_dev *pctldev) in pinctrl_dev_get_devname()
87 void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev) in pinctrl_dev_get_drvdata()
100 struct pinctrl_dev *get_pinctrl_dev_from_devname(const char *devname) in get_pinctrl_dev_from_devname()
102 struct pinctrl_dev *pctldev; in get_pinctrl_dev_from_devname()
122 struct pinctrl_dev *get_pinctrl_dev_from_of_node(struct device_node *np) in get_pinctrl_dev_from_of_node()
124 struct pinctrl_dev *pctldev; in get_pinctrl_dev_from_of_node()
144 int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name) in pin_get_from_name()
167 const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned int pin) in pin_get_name()
183 static void pinctrl_free_pindescs(struct pinctrl_dev *pctldev, in pinctrl_free_pindescs()
204 static int pinctrl_register_one_pin(struct pinctrl_dev *pctldev, in pinctrl_register_one_pin()
251 static int pinctrl_register_pins(struct pinctrl_dev *pctldev, in pinctrl_register_pins()
301 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, struct gpio_chip *gc, in pinctrl_match_gpio_range()
338 struct pinctrl_dev *pctldev; in pinctrl_ready_for_gpio_range()
385 struct pinctrl_dev **outdev, in pinctrl_get_device_gpio_range()
388 struct pinctrl_dev *pctldev; in pinctrl_get_device_gpio_range()
422 void pinctrl_add_gpio_range(struct pinctrl_dev *pctldev, in pinctrl_add_gpio_range()
431 void pinctrl_add_gpio_ranges(struct pinctrl_dev *pctldev, in pinctrl_add_gpio_ranges()
442 struct pinctrl_dev *pinctrl_find_and_add_gpio_range(const char *devname, in pinctrl_find_and_add_gpio_range()
445 struct pinctrl_dev *pctldev; in pinctrl_find_and_add_gpio_range()
463 int pinctrl_get_group_pins(struct pinctrl_dev *pctldev, const char *pin_group, in pinctrl_get_group_pins()
481 pinctrl_find_gpio_range_from_pin_nolock(struct pinctrl_dev *pctldev, in pinctrl_find_gpio_range_from_pin_nolock()
510 pinctrl_find_gpio_range_from_pin(struct pinctrl_dev *pctldev, in pinctrl_find_gpio_range_from_pin()
528 void pinctrl_remove_gpio_range(struct pinctrl_dev *pctldev, in pinctrl_remove_gpio_range()
543 int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev) in pinctrl_generic_get_group_count()
554 const char *pinctrl_generic_get_group_name(struct pinctrl_dev *pctldev, in pinctrl_generic_get_group_name()
575 int pinctrl_generic_get_group_pins(struct pinctrl_dev *pctldev, in pinctrl_generic_get_group_pins()
602 struct group_desc *pinctrl_generic_get_group(struct pinctrl_dev *pctldev, in pinctrl_generic_get_group()
616 static int pinctrl_generic_group_name_to_selector(struct pinctrl_dev *pctldev, in pinctrl_generic_group_name_to_selector()
646 int pinctrl_generic_add_group(struct pinctrl_dev *pctldev, const char *name, in pinctrl_generic_add_group()
684 int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev, in pinctrl_generic_remove_group()
710 static void pinctrl_generic_free_groups(struct pinctrl_dev *pctldev) in pinctrl_generic_free_groups()
722 static inline void pinctrl_generic_free_groups(struct pinctrl_dev *pctldev) in pinctrl_generic_free_groups()
732 int pinctrl_get_group_selector(struct pinctrl_dev *pctldev, in pinctrl_get_group_selector()
761 struct pinctrl_dev *pctldev; in pinctrl_gpio_can_use_line()
799 struct pinctrl_dev *pctldev; in pinctrl_gpio_request()
834 struct pinctrl_dev *pctldev; in pinctrl_gpio_free()
855 struct pinctrl_dev *pctldev; in pinctrl_gpio_direction()
921 struct pinctrl_dev *pctldev; in pinctrl_gpio_set_config()
966 static int add_setting(struct pinctrl *p, struct pinctrl_dev *pctldev, in add_setting()
1049 struct pinctrl_dev *pctldev) in create_pinctrl()
1247 static void pinctrl_link_add(struct pinctrl_dev *pctldev, in pinctrl_link_add()
1524 int pinctrl_force_sleep(struct pinctrl_dev *pctldev) in pinctrl_force_sleep()
1536 int pinctrl_force_default(struct pinctrl_dev *pctldev) in pinctrl_force_default()
1647 struct pinctrl_dev *pctldev = s->private; in pinctrl_pins_show()
1721 struct pinctrl_dev *pctldev = s->private; in pinctrl_groups_show()
1767 struct pinctrl_dev *pctldev = s->private; in pinctrl_gpioranges_show()
1801 struct pinctrl_dev *pctldev; in pinctrl_devices_show()
1898 struct pinctrl_dev *pctldev = setting->pctldev; in pinctrl_show()
1927 static void pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) in pinctrl_init_device_debugfs()
1966 static void pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) in pinctrl_remove_device_debugfs()
1990 static void pinctrl_init_device_debugfs(struct pinctrl_dev *pctldev) in pinctrl_init_device_debugfs()
1998 static void pinctrl_remove_device_debugfs(struct pinctrl_dev *pctldev) in pinctrl_remove_device_debugfs()
2004 static int pinctrl_check_ops(struct pinctrl_dev *pctldev) in pinctrl_check_ops()
2022 static struct pinctrl_dev *
2026 struct pinctrl_dev *pctldev; in pinctrl_init_controller()
2093 static void pinctrl_uninit_controller(struct pinctrl_dev *pctldev, struct pinctrl_desc *pctldesc) in pinctrl_uninit_controller()
2101 static int pinctrl_claim_hogs(struct pinctrl_dev *pctldev) in pinctrl_claim_hogs()
2139 int pinctrl_enable(struct pinctrl_dev *pctldev) in pinctrl_enable()
2170 struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc, in pinctrl_register()
2173 struct pinctrl_dev *pctldev; in pinctrl_register()
2202 struct pinctrl_dev **pctldev) in pinctrl_register_and_init()
2204 struct pinctrl_dev *p; in pinctrl_register_and_init()
2228 void pinctrl_unregister(struct pinctrl_dev *pctldev) in pinctrl_unregister()
2264 struct pinctrl_dev *pctldev = *(struct pinctrl_dev **)res; in devm_pinctrl_dev_release()
2290 struct pinctrl_dev *devm_pinctrl_register(struct device *dev, in devm_pinctrl_register()
2294 struct pinctrl_dev **ptr, *pctldev; in devm_pinctrl_register()
2327 struct pinctrl_dev **pctldev) in devm_pinctrl_register_and_init()
2329 struct pinctrl_dev **ptr; in devm_pinctrl_register_and_init()
2354 void devm_pinctrl_unregister(struct device *dev, struct pinctrl_dev *pctldev) in devm_pinctrl_unregister()