Lines Matching refs:pctldev
28 static int mxs_get_groups_count(struct pinctrl_dev *pctldev) in mxs_get_groups_count() argument
30 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_get_groups_count()
35 static const char *mxs_get_group_name(struct pinctrl_dev *pctldev, in mxs_get_group_name() argument
38 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_get_group_name()
43 static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group, in mxs_get_group_pins() argument
46 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_get_group_pins()
54 static void mxs_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, in mxs_pin_dbg_show() argument
57 seq_printf(s, " %s", dev_name(pctldev->dev)); in mxs_pin_dbg_show()
60 static int mxs_dt_node_to_map(struct pinctrl_dev *pctldev, in mxs_dt_node_to_map() argument
138 static void mxs_dt_free_map(struct pinctrl_dev *pctldev, in mxs_dt_free_map() argument
162 static int mxs_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) in mxs_pinctrl_get_funcs_count() argument
164 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinctrl_get_funcs_count()
169 static const char *mxs_pinctrl_get_func_name(struct pinctrl_dev *pctldev, in mxs_pinctrl_get_func_name() argument
172 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinctrl_get_func_name()
177 static int mxs_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, in mxs_pinctrl_get_func_groups() argument
182 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinctrl_get_func_groups()
200 static int mxs_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned selector, in mxs_pinctrl_set_mux() argument
203 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinctrl_set_mux()
230 static int mxs_pinconf_get(struct pinctrl_dev *pctldev, in mxs_pinconf_get() argument
236 static int mxs_pinconf_set(struct pinctrl_dev *pctldev, in mxs_pinconf_set() argument
243 static int mxs_pinconf_group_get(struct pinctrl_dev *pctldev, in mxs_pinconf_group_get() argument
246 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinconf_group_get()
253 static int mxs_pinconf_group_set(struct pinctrl_dev *pctldev, in mxs_pinconf_group_set() argument
257 struct mxs_pinctrl_data *d = pinctrl_dev_get_drvdata(pctldev); in mxs_pinconf_group_set()
316 static void mxs_pinconf_dbg_show(struct pinctrl_dev *pctldev, in mxs_pinconf_dbg_show() argument
322 static void mxs_pinconf_group_dbg_show(struct pinctrl_dev *pctldev, in mxs_pinconf_group_dbg_show() argument
327 if (!mxs_pinconf_group_get(pctldev, group, &config)) in mxs_pinconf_group_dbg_show()