Lines Matching full:pctl
147 * @pctl: pointer to the pinctrl handle
153 struct pinctrl_dev *pctl; member
212 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_count() local
213 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_count()
221 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_name() local
222 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_name()
232 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_pins() local
233 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_pins()
249 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_dt_node_to_map() local
259 grp = sprd_pinctrl_find_group_by_name(pctl, np->name); in sprd_dt_node_to_map()
261 dev_err(pctl->dev, "unable to find group for node %s\n", in sprd_dt_node_to_map()
278 dev_err(pctl->dev, in sprd_dt_node_to_map()
287 dev_err(pctl->dev, "%s: could not parse node property\n", in sprd_dt_node_to_map()
377 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_get_function_groups() local
378 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pmx_get_function_groups()
390 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pmx_set_mux() local
391 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pmx_set_mux()
419 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pmx_set_mux()
443 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_get() local
444 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_get()
595 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_set() local
596 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_set()
746 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_group_get() local
747 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pinconf_group_get()
765 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_group_set() local
766 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pinconf_group_set()
790 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_get_config() local
791 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_get_config()
823 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pinconf_group_dbg_show() local
824 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pinconf_group_dbg_show()
1096 sprd_pctl->pctl = pinctrl_register(&sprd_pinctrl_desc, in sprd_pinctrl_core_probe()
1098 if (IS_ERR(sprd_pctl->pctl)) { in sprd_pinctrl_core_probe()
1100 return PTR_ERR(sprd_pctl->pctl); in sprd_pinctrl_core_probe()
1111 pinctrl_unregister(sprd_pctl->pctl); in sprd_pinctrl_remove()