Lines Matching defs:pinctrl
14 #include <linux/pinctrl/consumer.h>
81 struct pinctrl *pinctrl;
727 if (dpi->pinctrl && dpi->pins_gpio)
728 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio);
735 if (dpi->pinctrl && dpi->pins_dpi)
736 pinctrl_select_state(dpi->pinctrl, dpi->pins_dpi);
1005 dpi->pinctrl = devm_pinctrl_get(&pdev->dev);
1006 if (IS_ERR(dpi->pinctrl)) {
1007 dpi->pinctrl = NULL;
1008 dev_dbg(&pdev->dev, "Cannot find pinctrl!\n");
1010 if (dpi->pinctrl) {
1011 dpi->pins_gpio = pinctrl_lookup_state(dpi->pinctrl, "sleep");
1014 dev_dbg(&pdev->dev, "Cannot find pinctrl idle!\n");
1017 pinctrl_select_state(dpi->pinctrl, dpi->pins_gpio);
1019 dpi->pins_dpi = pinctrl_lookup_state(dpi->pinctrl, "default");
1022 dev_dbg(&pdev->dev, "Cannot find pinctrl active!\n");