Lines Matching full:pctl

470  * @pctl: pointer to the pinctrl_dev structure of this pin controller.
481 struct pinctrl_dev *pctl; member
515 static int tb10x_get_groups_count(struct pinctrl_dev *pctl) in tb10x_get_groups_count() argument
517 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_groups_count()
521 static const char *tb10x_get_group_name(struct pinctrl_dev *pctl, unsigned n) in tb10x_get_group_name() argument
523 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_name()
527 static int tb10x_get_group_pins(struct pinctrl_dev *pctl, unsigned n, in tb10x_get_group_pins() argument
531 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_pins()
539 static int tb10x_dt_node_to_map(struct pinctrl_dev *pctl, in tb10x_dt_node_to_map() argument
556 ret = pinctrl_utils_reserve_map(pctl, map, &reserved_maps, in tb10x_dt_node_to_map()
561 ret = pinctrl_utils_add_map_mux(pctl, map, &reserved_maps, in tb10x_dt_node_to_map()
576 static int tb10x_get_functions_count(struct pinctrl_dev *pctl) in tb10x_get_functions_count() argument
578 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_functions_count()
582 static const char *tb10x_get_function_name(struct pinctrl_dev *pctl, in tb10x_get_function_name() argument
585 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_function_name()
589 static int tb10x_get_function_groups(struct pinctrl_dev *pctl, in tb10x_get_function_groups() argument
593 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_function_groups()
601 static int tb10x_gpio_request_enable(struct pinctrl_dev *pctl, in tb10x_gpio_request_enable() argument
605 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_gpio_request_enable()
675 static void tb10x_gpio_disable_free(struct pinctrl_dev *pctl, in tb10x_gpio_disable_free() argument
679 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_gpio_disable_free()
688 static int tb10x_pctl_set_mux(struct pinctrl_dev *pctl, in tb10x_pctl_set_mux() argument
691 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_pctl_set_mux()
793 state->pctl = devm_pinctrl_register(dev, &tb10x_pindesc, state); in tb10x_pinctrl_probe()
794 if (IS_ERR(state->pctl)) { in tb10x_pinctrl_probe()
796 ret = PTR_ERR(state->pctl); in tb10x_pinctrl_probe()