Searched refs:pctrl_dev (Results 1 – 5 of 5) sorted by relevance
/drivers/pinctrl/berlin/ |
D | berlin.c | 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 [all …]
|
/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-mux.c | 318 static int nsp_get_groups_count(struct pinctrl_dev *pctrl_dev) in nsp_get_groups_count() argument 320 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_groups_count() 325 static const char *nsp_get_group_name(struct pinctrl_dev *pctrl_dev, in nsp_get_group_name() argument 328 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_group_name() 333 static int nsp_get_group_pins(struct pinctrl_dev *pctrl_dev, in nsp_get_group_pins() argument 337 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_group_pins() 345 static void nsp_pin_dbg_show(struct pinctrl_dev *pctrl_dev, in nsp_pin_dbg_show() argument 348 seq_printf(s, " %s", dev_name(pctrl_dev->dev)); in nsp_pin_dbg_show() 360 static int nsp_get_functions_count(struct pinctrl_dev *pctrl_dev) in nsp_get_functions_count() argument 362 struct nsp_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in nsp_get_functions_count() [all …]
|
D | pinctrl-cygnus-mux.c | 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() [all …]
|
D | pinctrl-ns.c | 149 static int ns_pinctrl_get_groups_count(struct pinctrl_dev *pctrl_dev) in ns_pinctrl_get_groups_count() argument 151 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_groups_count() 156 static const char *ns_pinctrl_get_group_name(struct pinctrl_dev *pctrl_dev, in ns_pinctrl_get_group_name() argument 159 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_group_name() 164 static int ns_pinctrl_get_group_pins(struct pinctrl_dev *pctrl_dev, in ns_pinctrl_get_group_pins() argument 169 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_group_pins() 189 static int ns_pinctrl_get_functions_count(struct pinctrl_dev *pctrl_dev) in ns_pinctrl_get_functions_count() argument 191 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_functions_count() 196 static const char *ns_pinctrl_get_function_name(struct pinctrl_dev *pctrl_dev, in ns_pinctrl_get_function_name() argument 199 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_function_name() [all …]
|
D | pinctrl-ns2-mux.c | 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() [all …]
|