Lines Matching refs:pctldev
188 static int axp20x_pmx_set(struct pinctrl_dev *pctldev, unsigned int offset, in axp20x_pmx_set() argument
191 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set()
202 static int axp20x_pmx_func_cnt(struct pinctrl_dev *pctldev) in axp20x_pmx_func_cnt() argument
204 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_cnt()
209 static const char *axp20x_pmx_func_name(struct pinctrl_dev *pctldev, in axp20x_pmx_func_name() argument
212 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_name()
217 static int axp20x_pmx_func_groups(struct pinctrl_dev *pctldev, in axp20x_pmx_func_groups() argument
222 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_groups()
230 static int axp20x_pmx_set_mux(struct pinctrl_dev *pctldev, in axp20x_pmx_set_mux() argument
233 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set_mux()
238 return axp20x_pmx_set(pctldev, group, in axp20x_pmx_set_mux()
258 return axp20x_pmx_set(pctldev, group, pctl->funcs[function].muxval); in axp20x_pmx_set_mux()
261 static int axp20x_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, in axp20x_pmx_gpio_set_direction() argument
265 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_gpio_set_direction()
268 return axp20x_pmx_set(pctldev, offset, in axp20x_pmx_gpio_set_direction()
271 return axp20x_pmx_set(pctldev, offset, in axp20x_pmx_gpio_set_direction()
284 static int axp20x_groups_cnt(struct pinctrl_dev *pctldev) in axp20x_groups_cnt() argument
286 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_groups_cnt()
291 static int axp20x_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, in axp20x_group_pins() argument
294 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_group_pins()
302 static const char *axp20x_group_name(struct pinctrl_dev *pctldev, in axp20x_group_name() argument
305 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_group_name()