Searched refs:pctrl_dev (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/pinctrl/berlin/ |
A D | berlin.c | 32 struct pinctrl_dev *pctrl_dev; member 37 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinctrl_get_group_count() 45 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinctrl_get_group_name() 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() 107 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_get_functions_count() 115 struct berlin_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrl_dev); in berlin_pinmux_get_function_name() 150 static int berlin_pinmux_set(struct pinctrl_dev *pctrl_dev, in berlin_pinmux_set() argument 320 if (IS_ERR(pctrl->pctrl_dev)) { in berlin_pinctrl_probe_regmap() [all …]
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-nsp-mux.c | 318 static int nsp_get_groups_count(struct pinctrl_dev *pctrl_dev) in nsp_get_groups_count() argument 333 static int nsp_get_group_pins(struct pinctrl_dev *pctrl_dev, in nsp_get_group_pins() argument 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 456 static int nsp_pinmux_enable(struct pinctrl_dev *pctrl_dev, in nsp_pinmux_enable() argument 470 dev_dbg(pctrl_dev->dev, "func:%u name:%s grp:%u name:%s\n", in nsp_pinmux_enable() 473 dev_dbg(pctrl_dev->dev, "shift:%u alt:%u\n", grp->mux.shift, in nsp_pinmux_enable() 485 u32 *gpio_select = pctrl_dev->desc->pins[pin].drv_data; in nsp_gpio_request_enable() 501 static void nsp_gpio_disable_free(struct pinctrl_dev *pctrl_dev, in nsp_gpio_disable_free() argument [all …]
|
A D | pinctrl-cygnus-mux.c | 705 static int cygnus_get_groups_count(struct pinctrl_dev *pctrl_dev) in cygnus_get_groups_count() argument 720 static int cygnus_get_group_pins(struct pinctrl_dev *pctrl_dev, in cygnus_get_group_pins() argument 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() 830 static int cygnus_pinmux_set_mux(struct pinctrl_dev *pctrl_dev, in cygnus_pinmux_set_mux() argument 838 dev_dbg(pctrl_dev->dev, "func:%u name:%s grp:%u name:%s\n", in cygnus_pinmux_set_mux() 841 dev_dbg(pctrl_dev->dev, "offset:0x%08x shift:%u alt:%u\n", in cygnus_pinmux_set_mux() 868 dev_dbg(pctrl_dev->dev, in cygnus_gpio_request_enable() 875 static void cygnus_gpio_disable_free(struct pinctrl_dev *pctrl_dev, in cygnus_gpio_disable_free() argument 880 struct cygnus_gpio_mux *mux = pctrl_dev->desc->pins[pin].drv_data; in cygnus_gpio_disable_free() [all …]
|
A 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() 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() 199 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_function_name() 209 struct ns_pinctrl *ns_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in ns_pinctrl_get_function_groups() 217 static int ns_pinctrl_set_mux(struct pinctrl_dev *pctrl_dev, in ns_pinctrl_set_mux() argument [all …]
|
A 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() 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 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 558 static int ns2_get_function_groups(struct pinctrl_dev *pctrl_dev, in ns2_get_function_groups() argument 636 static int ns2_pinmux_enable(struct pinctrl_dev *pctrl_dev, in ns2_pinmux_enable() argument 650 dev_dbg(pctrl_dev->dev, "func:%u name:%s grp:%u name:%s\n", in ns2_pinmux_enable() [all …]
|
Completed in 14 milliseconds