Lines Matching refs:pctrldev
48 struct pinctrl_dev *pctrldev; member
91 static int owl_get_groups_count(struct pinctrl_dev *pctrldev) in owl_get_groups_count() argument
93 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_groups_count()
98 static const char *owl_get_group_name(struct pinctrl_dev *pctrldev, in owl_get_group_name() argument
101 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_group_name()
106 static int owl_get_group_pins(struct pinctrl_dev *pctrldev, in owl_get_group_pins() argument
111 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_group_pins()
119 static void owl_pin_dbg_show(struct pinctrl_dev *pctrldev, in owl_pin_dbg_show() argument
123 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_pin_dbg_show()
137 static int owl_get_funcs_count(struct pinctrl_dev *pctrldev) in owl_get_funcs_count() argument
139 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_funcs_count()
144 static const char *owl_get_func_name(struct pinctrl_dev *pctrldev, in owl_get_func_name() argument
147 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_func_name()
152 static int owl_get_func_groups(struct pinctrl_dev *pctrldev, in owl_get_func_groups() argument
157 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_func_groups()
192 static int owl_set_mux(struct pinctrl_dev *pctrldev, in owl_set_mux() argument
196 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_set_mux()
253 static int owl_pin_config_get(struct pinctrl_dev *pctrldev, in owl_pin_config_get() argument
258 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_pin_config_get()
283 static int owl_pin_config_set(struct pinctrl_dev *pctrldev, in owl_pin_config_set() argument
288 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_pin_config_set()
422 static int owl_group_config_get(struct pinctrl_dev *pctrldev, in owl_group_config_get() argument
427 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_group_config_get()
449 static int owl_group_config_set(struct pinctrl_dev *pctrldev, in owl_group_config_set() argument
455 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_group_config_set()
970 pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, in owl_pinctrl_probe()
972 if (IS_ERR(pctrl->pctrldev)) { in owl_pinctrl_probe()
974 ret = PTR_ERR(pctrl->pctrldev); in owl_pinctrl_probe()