Lines Matching refs:pctrl_dev

32 	struct pinctrl_dev *pctrl_dev;  member
35 static int berlin_pinctrl_get_group_count(struct pinctrl_dev *pctrl_dev) in berlin_pinctrl_get_group_count() argument
37 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinctrl_get_group_count()
42 static const char *berlin_pinctrl_get_group_name(struct pinctrl_dev *pctrl_dev, in berlin_pinctrl_get_group_name() argument
45 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinctrl_get_group_name()
50 static int berlin_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrl_dev, in berlin_pinctrl_dt_node_to_map() argument
55 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinctrl_dt_node_to_map()
78 ret = pinctrl_utils_reserve_map(pctrl_dev, map, &reserved_maps, in berlin_pinctrl_dt_node_to_map()
86 ret = pinctrl_utils_add_map_mux(pctrl_dev, map, &reserved_maps, in berlin_pinctrl_dt_node_to_map()
105 static int berlin_pinmux_get_functions_count(struct pinctrl_dev *pctrl_dev) in berlin_pinmux_get_functions_count() argument
107 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_get_functions_count()
112 static const char *berlin_pinmux_get_function_name(struct pinctrl_dev *pctrl_dev, in berlin_pinmux_get_function_name() argument
115 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_get_function_name()
120 static int berlin_pinmux_get_function_groups(struct pinctrl_dev *pctrl_dev, in berlin_pinmux_get_function_groups() argument
125 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_get_function_groups()
150 static int berlin_pinmux_set(struct pinctrl_dev *pctrl_dev, in berlin_pinmux_set() argument
154 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_set()
320 pctrl->pctrl_dev = devm_pinctrl_register(dev, &berlin_pctrl_desc, in berlin_pinctrl_probe_regmap()
322 if (IS_ERR(pctrl->pctrl_dev)) { in berlin_pinctrl_probe_regmap()
324 return PTR_ERR(pctrl->pctrl_dev); in berlin_pinctrl_probe_regmap()