Lines Matching refs:pctrldev
19 static int ltq_get_group_count(struct pinctrl_dev *pctrldev) in ltq_get_group_count() argument
21 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_count()
25 static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, in ltq_get_group_name() argument
28 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_name()
34 static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, in ltq_get_group_pins() argument
39 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_pins()
181 static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) in ltq_pmx_func_count() argument
183 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_count()
188 static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, in ltq_pmx_func_name() argument
191 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_name()
199 static int ltq_pmx_get_groups(struct pinctrl_dev *pctrldev, in ltq_pmx_get_groups() argument
204 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_get_groups()
259 static int ltq_pmx_set(struct pinctrl_dev *pctrldev, in ltq_pmx_set() argument
263 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_set()
281 ret = info->apply_mux(pctrldev, pin, pin_func); in ltq_pmx_set()
292 static int ltq_pmx_gpio_request_enable(struct pinctrl_dev *pctrldev, in ltq_pmx_gpio_request_enable() argument
296 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_gpio_request_enable()
311 return info->apply_mux(pctrldev, mfp, pin_func); in ltq_pmx_gpio_request_enable()