Lines Matching refs:pctrldev

21 static int ltq_get_group_count(struct pinctrl_dev *pctrldev)  in ltq_get_group_count()  argument
23 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_count()
27 static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, in ltq_get_group_name() argument
30 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_name()
36 static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, in ltq_get_group_pins() argument
41 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_pins()
183 static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) in ltq_pmx_func_count() argument
185 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_count()
190 static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, in ltq_pmx_func_name() argument
193 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_name()
201 static int ltq_pmx_get_groups(struct pinctrl_dev *pctrldev, in ltq_pmx_get_groups() argument
206 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_get_groups()
261 static int ltq_pmx_set(struct pinctrl_dev *pctrldev, in ltq_pmx_set() argument
265 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_set()
283 ret = info->apply_mux(pctrldev, pin, pin_func); in ltq_pmx_set()
294 static int ltq_pmx_gpio_request_enable(struct pinctrl_dev *pctrldev, in ltq_pmx_gpio_request_enable() argument
298 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_gpio_request_enable()
313 return info->apply_mux(pctrldev, mfp, pin_func); in ltq_pmx_gpio_request_enable()