Lines Matching refs:pctl_dev
402 struct pinctrl_dev *pctl_dev; member
1738 static int tegra_io_pad_pinctrl_get_groups_count(struct pinctrl_dev *pctl_dev) in tegra_io_pad_pinctrl_get_groups_count() argument
1740 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinctrl_get_groups_count()
1753 static int tegra_io_pad_pinctrl_get_group_pins(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinctrl_get_group_pins() argument
1758 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinctrl_get_group_pins()
1774 static int tegra_io_pad_pinconf_get(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinconf_get() argument
1778 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinconf_get()
1813 static int tegra_io_pad_pinconf_set(struct pinctrl_dev *pctl_dev, in tegra_io_pad_pinconf_set() argument
1817 struct tegra_pmc *pmc = pinctrl_dev_get_drvdata(pctl_dev); in tegra_io_pad_pinconf_set()
1879 pmc->pctl_dev = devm_pinctrl_register(pmc->dev, &tegra_pmc_pctl_desc, in tegra_pmc_pinctrl_init()
1881 if (IS_ERR(pmc->pctl_dev)) { in tegra_pmc_pinctrl_init()
1882 err = PTR_ERR(pmc->pctl_dev); in tegra_pmc_pinctrl_init()