Lines Matching refs:pctldev

14 int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev)  in aspeed_pinctrl_get_groups_count()  argument
16 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_groups_count()
21 const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in aspeed_pinctrl_get_group_name() argument
24 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_group_name()
29 int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in aspeed_pinctrl_get_group_pins() argument
33 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_group_pins()
41 void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, in aspeed_pinctrl_pin_dbg_show() argument
44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show()
47 int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev) in aspeed_pinmux_get_fn_count() argument
49 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinmux_get_fn_count()
54 const char *aspeed_pinmux_get_fn_name(struct pinctrl_dev *pctldev, in aspeed_pinmux_get_fn_name() argument
57 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinmux_get_fn_name()
62 int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev, in aspeed_pinmux_get_fn_groups() argument
67 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinmux_get_fn_groups()
223 int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function, in aspeed_pinmux_set_mux() argument
228 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinmux_set_mux()
377 int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev, in aspeed_gpio_request_enable() argument
382 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_gpio_request_enable()
530 int aspeed_pin_config_get(struct pinctrl_dev *pctldev, unsigned int offset, in aspeed_pin_config_get() argument
541 pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pin_config_get()
571 int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset, in aspeed_pin_config_set() argument
578 pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pin_config_set()
615 int aspeed_pin_config_group_get(struct pinctrl_dev *pctldev, in aspeed_pin_config_group_get() argument
623 rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); in aspeed_pin_config_group_get()
630 rc = aspeed_pin_config_get(pctldev, pins[0], config); in aspeed_pin_config_group_get()
635 int aspeed_pin_config_group_set(struct pinctrl_dev *pctldev, in aspeed_pin_config_group_set() argument
647 rc = aspeed_pinctrl_get_group_pins(pctldev, selector, &pins, &npins); in aspeed_pin_config_group_set()
652 rc = aspeed_pin_config_set(pctldev, pins[i], configs, in aspeed_pin_config_group_set()