Lines Matching refs:pctrl_dev

501 static int ns2_get_groups_count(struct pinctrl_dev *pctrl_dev)  in ns2_get_groups_count()  argument
503 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_groups_count()
508 static const char *ns2_get_group_name(struct pinctrl_dev *pctrl_dev, in ns2_get_group_name() argument
511 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_group_name()
516 static int ns2_get_group_pins(struct pinctrl_dev *pctrl_dev, in ns2_get_group_pins() argument
520 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_group_pins()
528 static void ns2_pin_dbg_show(struct pinctrl_dev *pctrl_dev, in ns2_pin_dbg_show() argument
531 seq_printf(s, " %s", dev_name(pctrl_dev->dev)); in ns2_pin_dbg_show()
543 static int ns2_get_functions_count(struct pinctrl_dev *pctrl_dev) in ns2_get_functions_count() argument
545 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_functions_count()
550 static const char *ns2_get_function_name(struct pinctrl_dev *pctrl_dev, in ns2_get_function_name() argument
553 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_function_name()
558 static int ns2_get_function_groups(struct pinctrl_dev *pctrl_dev, in ns2_get_function_groups() argument
563 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_get_function_groups()
636 static int ns2_pinmux_enable(struct pinctrl_dev *pctrl_dev, in ns2_pinmux_enable() argument
639 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns2_pinmux_enable()
650 dev_dbg(pctrl_dev->dev, "func:%u name:%s grp:%u name:%s\n", in ns2_pinmux_enable()
653 dev_dbg(pctrl_dev->dev, "offset:0x%08x shift:%u alt:%u\n", in ns2_pinmux_enable()