pctrldev 43 drivers/pinctrl/actions/pinctrl-owl.c struct pinctrl_dev *pctrldev; pctrldev 87 drivers/pinctrl/actions/pinctrl-owl.c static int owl_get_groups_count(struct pinctrl_dev *pctrldev) pctrldev 89 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 94 drivers/pinctrl/actions/pinctrl-owl.c static const char *owl_get_group_name(struct pinctrl_dev *pctrldev, pctrldev 97 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 102 drivers/pinctrl/actions/pinctrl-owl.c static int owl_get_group_pins(struct pinctrl_dev *pctrldev, pctrldev 107 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 115 drivers/pinctrl/actions/pinctrl-owl.c static void owl_pin_dbg_show(struct pinctrl_dev *pctrldev, pctrldev 119 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 133 drivers/pinctrl/actions/pinctrl-owl.c static int owl_get_funcs_count(struct pinctrl_dev *pctrldev) pctrldev 135 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 140 drivers/pinctrl/actions/pinctrl-owl.c static const char *owl_get_func_name(struct pinctrl_dev *pctrldev, pctrldev 143 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 148 drivers/pinctrl/actions/pinctrl-owl.c static int owl_get_func_groups(struct pinctrl_dev *pctrldev, pctrldev 153 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 188 drivers/pinctrl/actions/pinctrl-owl.c static int owl_set_mux(struct pinctrl_dev *pctrldev, pctrldev 192 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 249 drivers/pinctrl/actions/pinctrl-owl.c static int owl_pin_config_get(struct pinctrl_dev *pctrldev, pctrldev 254 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 279 drivers/pinctrl/actions/pinctrl-owl.c static int owl_pin_config_set(struct pinctrl_dev *pctrldev, pctrldev 284 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 418 drivers/pinctrl/actions/pinctrl-owl.c static int owl_group_config_get(struct pinctrl_dev *pctrldev, pctrldev 423 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 446 drivers/pinctrl/actions/pinctrl-owl.c static int owl_group_config_set(struct pinctrl_dev *pctrldev, pctrldev 452 drivers/pinctrl/actions/pinctrl-owl.c struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 960 drivers/pinctrl/actions/pinctrl-owl.c pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, pctrldev 962 drivers/pinctrl/actions/pinctrl-owl.c if (IS_ERR(pctrl->pctrldev)) { pctrldev 964 drivers/pinctrl/actions/pinctrl-owl.c ret = PTR_ERR(pctrl->pctrldev); pctrldev 659 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_set_enable(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 662 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 663 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 679 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u set enable:%d\n", pin, enable); pctrldev 683 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_get_enable(struct pinctrl_dev *pctrldev, unsigned int pin) pctrldev 685 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 686 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 701 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u get disable:%d\n", pin, enable); pctrldev 705 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_set_slew(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 708 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 709 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 725 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u set slew:%d\n", pin, slew); pctrldev 729 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_get_slew(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 732 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 733 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 742 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u get slew:%d\n", pin, *slew); pctrldev 746 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_set_pull(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 749 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 750 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 767 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u set pullup:%d pulldown: %d\n", pctrldev 772 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static void ns2_pin_get_pull(struct pinctrl_dev *pctrldev, pctrldev 776 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 777 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 795 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_set_strength(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 798 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 799 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 816 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u set drive strength:%d mA\n", pctrldev 821 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_get_strength(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 824 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); pctrldev 825 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 836 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_dbg(pctrldev->dev, "pin:%u get drive strength:%d mA\n", pctrldev 901 drivers/pinctrl/bcm/pinctrl-ns2-mux.c static int ns2_pin_config_set(struct pinctrl_dev *pctrldev, unsigned int pin, pctrldev 904 drivers/pinctrl/bcm/pinctrl-ns2-mux.c struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; pctrldev 919 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_pull(pctrldev, pin, false, false); pctrldev 925 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_pull(pctrldev, pin, true, false); pctrldev 931 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_pull(pctrldev, pin, false, true); pctrldev 937 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_strength(pctrldev, pin, arg); pctrldev 943 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_slew(pctrldev, pin, arg); pctrldev 949 drivers/pinctrl/bcm/pinctrl-ns2-mux.c ret = ns2_pin_set_enable(pctrldev, pin, arg); pctrldev 955 drivers/pinctrl/bcm/pinctrl-ns2-mux.c dev_err(pctrldev->dev, "invalid configuration\n"); pctrldev 34 drivers/pinctrl/pinctrl-bm1880.c struct pinctrl_dev *pctrldev; pctrldev 1329 drivers/pinctrl/pinctrl-bm1880.c pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, &bm1880_desc, pctrldev 1331 drivers/pinctrl/pinctrl-bm1880.c if (IS_ERR(pctrl->pctrldev)) pctrldev 1332 drivers/pinctrl/pinctrl-bm1880.c return PTR_ERR(pctrl->pctrldev); pctrldev 228 drivers/pinctrl/pinctrl-falcon.c static int falcon_pinconf_group_get(struct pinctrl_dev *pctrldev, pctrldev 234 drivers/pinctrl/pinctrl-falcon.c static int falcon_pinconf_group_set(struct pinctrl_dev *pctrldev, pctrldev 241 drivers/pinctrl/pinctrl-falcon.c static int falcon_pinconf_get(struct pinctrl_dev *pctrldev, pctrldev 244 drivers/pinctrl/pinctrl-falcon.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 276 drivers/pinctrl/pinctrl-falcon.c static int falcon_pinconf_set(struct pinctrl_dev *pctrldev, pctrldev 282 drivers/pinctrl/pinctrl-falcon.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 309 drivers/pinctrl/pinctrl-falcon.c pinctrl_dev_get_name(pctrldev), param); pctrldev 321 drivers/pinctrl/pinctrl-falcon.c static void falcon_pinconf_dbg_show(struct pinctrl_dev *pctrldev, pctrldev 327 drivers/pinctrl/pinctrl-falcon.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 334 drivers/pinctrl/pinctrl-falcon.c if (!falcon_pinconf_get(pctrldev, offset, &config)) pctrldev 339 drivers/pinctrl/pinctrl-falcon.c if (!falcon_pinconf_get(pctrldev, offset, &config)) pctrldev 344 drivers/pinctrl/pinctrl-falcon.c if (!falcon_pinconf_get(pctrldev, offset, &config)) pctrldev 348 drivers/pinctrl/pinctrl-falcon.c desc = pin_desc_get(pctrldev, offset); pctrldev 357 drivers/pinctrl/pinctrl-falcon.c static void falcon_pinconf_group_dbg_show(struct pinctrl_dev *pctrldev, pctrldev 377 drivers/pinctrl/pinctrl-falcon.c static inline int falcon_mux_apply(struct pinctrl_dev *pctrldev, pctrldev 380 drivers/pinctrl/pinctrl-falcon.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 18 drivers/pinctrl/pinctrl-lantiq.c static int ltq_get_group_count(struct pinctrl_dev *pctrldev) pctrldev 20 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 24 drivers/pinctrl/pinctrl-lantiq.c static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, pctrldev 27 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 33 drivers/pinctrl/pinctrl-lantiq.c static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, pctrldev 38 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 180 drivers/pinctrl/pinctrl-lantiq.c static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) pctrldev 182 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 187 drivers/pinctrl/pinctrl-lantiq.c static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, pctrldev 190 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 198 drivers/pinctrl/pinctrl-lantiq.c static int ltq_pmx_get_groups(struct pinctrl_dev *pctrldev, pctrldev 203 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 258 drivers/pinctrl/pinctrl-lantiq.c static int ltq_pmx_set(struct pinctrl_dev *pctrldev, pctrldev 262 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 280 drivers/pinctrl/pinctrl-lantiq.c ret = info->apply_mux(pctrldev, pin, pin_func); pctrldev 291 drivers/pinctrl/pinctrl-lantiq.c static int ltq_pmx_gpio_request_enable(struct pinctrl_dev *pctrldev, pctrldev 295 drivers/pinctrl/pinctrl-lantiq.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 310 drivers/pinctrl/pinctrl-lantiq.c return info->apply_mux(pctrldev, mfp, pin_func); pctrldev 102 drivers/pinctrl/pinctrl-lantiq.h int (*apply_mux)(struct pinctrl_dev *pctrldev, int pin, int mux); pctrldev 1496 drivers/pinctrl/pinctrl-xway.c static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, pctrldev 1499 drivers/pinctrl/pinctrl-xway.c struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); pctrldev 46 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_get_group_count(struct pinctrl_dev *pctrldev) pctrldev 48 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 53 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static const char *rt2880_get_group_name(struct pinctrl_dev *pctrldev, pctrldev 56 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 61 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_get_group_pins(struct pinctrl_dev *pctrldev, pctrldev 66 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 85 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_pmx_func_count(struct pinctrl_dev *pctrldev) pctrldev 87 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 92 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static const char *rt2880_pmx_func_name(struct pinctrl_dev *pctrldev, pctrldev 95 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 100 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_pmx_group_get_groups(struct pinctrl_dev *pctrldev, pctrldev 105 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 117 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_pmx_group_enable(struct pinctrl_dev *pctrldev, pctrldev 120 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); pctrldev 161 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c static int rt2880_pmx_group_gpio_request_enable(struct pinctrl_dev *pctrldev, pctrldev 165 drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);