Lines Matching refs:pcdev
109 static int meson_get_groups_count(struct pinctrl_dev *pcdev) in meson_get_groups_count() argument
111 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_groups_count()
116 static const char *meson_get_group_name(struct pinctrl_dev *pcdev, in meson_get_group_name() argument
119 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_name()
124 static int meson_get_group_pins(struct pinctrl_dev *pcdev, unsigned selector, in meson_get_group_pins() argument
127 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_get_group_pins()
135 static void meson_pin_dbg_show(struct pinctrl_dev *pcdev, struct seq_file *s, in meson_pin_dbg_show() argument
138 seq_printf(s, " %s", dev_name(pcdev->dev)); in meson_pin_dbg_show()
150 int meson_pmx_get_funcs_count(struct pinctrl_dev *pcdev) in meson_pmx_get_funcs_count() argument
152 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count()
158 const char *meson_pmx_get_func_name(struct pinctrl_dev *pcdev, in meson_pmx_get_func_name() argument
161 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name()
167 int meson_pmx_get_groups(struct pinctrl_dev *pcdev, unsigned selector, in meson_pmx_get_groups() argument
171 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups()
349 static int meson_pinconf_set(struct pinctrl_dev *pcdev, unsigned int pin, in meson_pinconf_set() argument
352 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_set()
477 static int meson_pinconf_get(struct pinctrl_dev *pcdev, unsigned int pin, in meson_pinconf_get() argument
480 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_get()
527 static int meson_pinconf_group_set(struct pinctrl_dev *pcdev, in meson_pinconf_group_set() argument
531 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_group_set()
538 meson_pinconf_set(pcdev, group->pins[i], configs, in meson_pinconf_group_set()
545 static int meson_pinconf_group_get(struct pinctrl_dev *pcdev, in meson_pinconf_group_get() argument
761 pc->pcdev = devm_pinctrl_register(pc->dev, &pc->desc, pc); in meson_pinctrl_probe()
762 if (IS_ERR(pc->pcdev)) { in meson_pinctrl_probe()
764 return PTR_ERR(pc->pcdev); in meson_pinctrl_probe()