Lines Matching defs:pctldev
58 static int tegra_pinctrl_get_groups_count(struct pinctrl_dev *pctldev)
60 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
65 static const char *tegra_pinctrl_get_group_name(struct pinctrl_dev *pctldev,
68 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
73 static int tegra_pinctrl_get_group_pins(struct pinctrl_dev *pctldev,
78 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
87 static void tegra_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev,
91 seq_printf(s, " %s", dev_name(pctldev->dev));
116 static int tegra_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev,
122 struct device *dev = pctldev->dev;
146 ret = pinctrl_utils_add_config(pctldev, &configs,
169 ret = pinctrl_utils_reserve_map(pctldev, map, reserved_maps,
176 ret = pinctrl_utils_add_map_mux(pctldev, map,
184 ret = pinctrl_utils_add_map_configs(pctldev, map,
200 static int tegra_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
214 ret = tegra_pinctrl_dt_subnode_to_map(pctldev, np, map,
217 pinctrl_utils_dt_free_map(pctldev, *map,
237 static int tegra_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev)
239 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
244 static const char *tegra_pinctrl_get_func_name(struct pinctrl_dev *pctldev,
247 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
252 static int tegra_pinctrl_get_func_groups(struct pinctrl_dev *pctldev,
257 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
265 static int tegra_pinctrl_set_mux(struct pinctrl_dev *pctldev,
269 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
425 static int tegra_pinconf_get(struct pinctrl_dev *pctldev,
428 dev_err(pctldev->dev, "pin_config_get op not supported\n");
432 static int tegra_pinconf_set(struct pinctrl_dev *pctldev,
436 dev_err(pctldev->dev, "pin_config_set op not supported\n");
440 static int tegra_pinconf_group_get(struct pinctrl_dev *pctldev,
443 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
468 static int tegra_pinconf_group_set(struct pinctrl_dev *pctldev,
472 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
497 dev_err(pctldev->dev, "LOCK bit cannot be cleared\n");
509 dev_err(pctldev->dev,
525 static void tegra_pinconf_dbg_show(struct pinctrl_dev *pctldev,
539 static void tegra_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
542 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev);
566 static void tegra_pinconf_config_dbg_show(struct pinctrl_dev *pctldev,