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()
183 static int meson_pmx_set_mux(struct pinctrl_dev *pcdev, unsigned func_num, in meson_pmx_set_mux() argument
186 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_set_mux()
209 static int meson_pmx_request_gpio(struct pinctrl_dev *pcdev, in meson_pmx_request_gpio() argument
213 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_request_gpio()
220 static int meson_pmx_get_funcs_count(struct pinctrl_dev *pcdev) in meson_pmx_get_funcs_count() argument
222 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_funcs_count()
227 static const char *meson_pmx_get_func_name(struct pinctrl_dev *pcdev, in meson_pmx_get_func_name() argument
230 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_func_name()
235 static int meson_pmx_get_groups(struct pinctrl_dev *pcdev, unsigned selector, in meson_pmx_get_groups() argument
239 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pmx_get_groups()
255 static int meson_pinconf_set(struct pinctrl_dev *pcdev, unsigned int pin, in meson_pinconf_set() argument
258 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_set()
357 static int meson_pinconf_get(struct pinctrl_dev *pcdev, unsigned int pin, in meson_pinconf_get() argument
360 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_get()
383 static int meson_pinconf_group_set(struct pinctrl_dev *pcdev, in meson_pinconf_group_set() argument
387 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson_pinconf_group_set()
394 meson_pinconf_set(pcdev, group->pins[i], configs, in meson_pinconf_group_set()
401 static int meson_pinconf_group_get(struct pinctrl_dev *pcdev, in meson_pinconf_group_get() argument
676 pc->pcdev = devm_pinctrl_register(pc->dev, &pc->desc, pc); in meson_pinctrl_probe()
677 if (IS_ERR(pc->pcdev)) { in meson_pinctrl_probe()
679 return PTR_ERR(pc->pcdev); in meson_pinctrl_probe()