Lines Matching refs:pctrl_dev
705 static int cygnus_get_groups_count(struct pinctrl_dev *pctrl_dev) in cygnus_get_groups_count() argument
707 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_groups_count()
712 static const char *cygnus_get_group_name(struct pinctrl_dev *pctrl_dev, in cygnus_get_group_name() argument
715 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_group_name()
720 static int cygnus_get_group_pins(struct pinctrl_dev *pctrl_dev, in cygnus_get_group_pins() argument
724 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_group_pins()
732 static void cygnus_pin_dbg_show(struct pinctrl_dev *pctrl_dev, in cygnus_pin_dbg_show() argument
735 seq_printf(s, " %s", dev_name(pctrl_dev->dev)); in cygnus_pin_dbg_show()
747 static int cygnus_get_functions_count(struct pinctrl_dev *pctrl_dev) in cygnus_get_functions_count() argument
749 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_functions_count()
754 static const char *cygnus_get_function_name(struct pinctrl_dev *pctrl_dev, in cygnus_get_function_name() argument
757 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_function_name()
762 static int cygnus_get_function_groups(struct pinctrl_dev *pctrl_dev, in cygnus_get_function_groups() argument
767 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_get_function_groups()
830 static int cygnus_pinmux_set_mux(struct pinctrl_dev *pctrl_dev, in cygnus_pinmux_set_mux() argument
833 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_pinmux_set_mux()
838 dev_dbg(pctrl_dev->dev, "func:%u name:%s grp:%u name:%s\n", in cygnus_pinmux_set_mux()
841 dev_dbg(pctrl_dev->dev, "offset:0x%08x shift:%u alt:%u\n", in cygnus_pinmux_set_mux()
847 static int cygnus_gpio_request_enable(struct pinctrl_dev *pctrl_dev, in cygnus_gpio_request_enable() argument
851 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_gpio_request_enable()
852 const struct cygnus_gpio_mux *mux = pctrl_dev->desc->pins[pin].drv_data; in cygnus_gpio_request_enable()
868 dev_dbg(pctrl_dev->dev, in cygnus_gpio_request_enable()
875 static void cygnus_gpio_disable_free(struct pinctrl_dev *pctrl_dev, in cygnus_gpio_disable_free() argument
879 struct cygnus_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in cygnus_gpio_disable_free()
880 struct cygnus_gpio_mux *mux = pctrl_dev->desc->pins[pin].drv_data; in cygnus_gpio_disable_free()
895 dev_err(pctrl_dev->dev, in cygnus_gpio_disable_free()