Lines Matching refs:pctldev

218 static int rk805_pinctrl_get_groups_count(struct pinctrl_dev *pctldev)  in rk805_pinctrl_get_groups_count()  argument
220 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_groups_count()
225 static const char *rk805_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_group_name() argument
228 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_name()
233 static int rk805_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_group_pins() argument
238 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_pins()
254 static int rk805_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) in rk805_pinctrl_get_funcs_count() argument
256 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_funcs_count()
261 static const char *rk805_pinctrl_get_func_name(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_func_name() argument
264 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_func_name()
269 static int rk805_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_func_groups() argument
274 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_func_groups()
282 static int _rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, in _rk805_pinctrl_set_mux() argument
286 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in _rk805_pinctrl_set_mux()
309 static int rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, in rk805_pinctrl_set_mux() argument
313 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_set_mux()
317 return _rk805_pinctrl_set_mux(pctldev, offset, mux); in rk805_pinctrl_set_mux()
320 static int rk805_pmx_gpio_set_direction(struct pinctrl_dev *pctldev, in rk805_pmx_gpio_set_direction() argument
324 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pmx_gpio_set_direction()
328 ret = _rk805_pinctrl_set_mux(pctldev, offset, RK805_PINMUX_GPIO); in rk805_pmx_gpio_set_direction()
358 static int rk805_pinconf_get(struct pinctrl_dev *pctldev, in rk805_pinconf_get() argument
361 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinconf_get()
379 static int rk805_pinconf_set(struct pinctrl_dev *pctldev, in rk805_pinconf_set() argument
383 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinconf_set()
394 rk805_pmx_gpio_set_direction(pctldev, NULL, pin, false); in rk805_pinconf_set()