/linux/drivers/pinctrl/ |
H A D | pinctrl-lantiq.c | 19 static int ltq_get_group_count(struct pinctrl_dev *pctrldev) in ltq_get_group_count() argument 21 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_count() 25 static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, in ltq_get_group_name() argument 28 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_name() 34 static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, in ltq_get_group_pins() argument 39 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_pins() 181 static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) in ltq_pmx_func_count() argument 183 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_count() 188 static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, in ltq_pmx_func_name() argument 191 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_name() [all …]
|
H A D | pinctrl-falcon.c | 228 static int falcon_pinconf_group_get(struct pinctrl_dev *pctrldev, in falcon_pinconf_group_get() argument 234 static int falcon_pinconf_group_set(struct pinctrl_dev *pctrldev, in falcon_pinconf_group_set() argument 241 static int falcon_pinconf_get(struct pinctrl_dev *pctrldev, in falcon_pinconf_get() argument 244 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_get() 276 static int falcon_pinconf_set(struct pinctrl_dev *pctrldev, in falcon_pinconf_set() argument 282 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_set() 309 pinctrl_dev_get_name(pctrldev), param); in falcon_pinconf_set() 321 static void falcon_pinconf_dbg_show(struct pinctrl_dev *pctrldev, in falcon_pinconf_dbg_show() argument 327 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_dbg_show() 334 if (!falcon_pinconf_get(pctrldev, offset, &config)) in falcon_pinconf_dbg_show() [all …]
|
H A D | pinctrl-lantiq.h | 103 int (*apply_mux)(struct pinctrl_dev *pctrldev, int pin, int mux);
|
H A D | pinctrl-amd.c | 974 static const char *amd_get_fname(struct pinctrl_dev *pctrldev, unsigned int selector) in amd_get_fname() argument 979 static int amd_get_groups(struct pinctrl_dev *pctrldev, unsigned int selector, in amd_get_groups() argument 983 struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctrldev); in amd_get_groups() 995 static int amd_set_mux(struct pinctrl_dev *pctrldev, unsigned int function, unsigned int group) in amd_set_mux() argument 997 struct amd_gpio *gpio_dev = pinctrl_dev_get_drvdata(pctrldev); in amd_set_mux()
|
H A D | pinctrl-bm1880.c | 36 struct pinctrl_dev *pctrldev; member 1330 pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, &bm1880_desc, in bm1880_pinctrl_probe() 1332 if (IS_ERR(pctrl->pctrldev)) in bm1880_pinctrl_probe() 1333 return PTR_ERR(pctrl->pctrldev); in bm1880_pinctrl_probe()
|
H A D | pinctrl-xway.c | 1259 static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, in xway_mux_apply() argument 1262 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in xway_mux_apply()
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-ns2-mux.c | 653 static int ns2_pin_set_enable(struct pinctrl_dev *pctrldev, unsigned int pin, in ns2_pin_set_enable() argument 656 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_set_enable() 657 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_enable() 673 dev_dbg(pctrldev->dev, "pin:%u set enable:%d\n", pin, enable); in ns2_pin_set_enable() 677 static int ns2_pin_get_enable(struct pinctrl_dev *pctrldev, unsigned int pin) in ns2_pin_get_enable() argument 679 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_get_enable() 680 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_get_enable() 695 dev_dbg(pctrldev->dev, "pin:%u get disable:%d\n", pin, enable); in ns2_pin_get_enable() 699 static int ns2_pin_set_slew(struct pinctrl_dev *pctrldev, unsigned int pin, in ns2_pin_set_slew() argument 702 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_set_slew() [all …]
|
/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 46 static int mtmips_get_group_count(struct pinctrl_dev *pctrldev) in mtmips_get_group_count() argument 48 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_get_group_count() 53 static const char *mtmips_get_group_name(struct pinctrl_dev *pctrldev, in mtmips_get_group_name() argument 56 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_get_group_name() 61 static int mtmips_get_group_pins(struct pinctrl_dev *pctrldev, in mtmips_get_group_pins() argument 66 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_get_group_pins() 85 static int mtmips_pmx_func_count(struct pinctrl_dev *pctrldev) in mtmips_pmx_func_count() argument 87 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_pmx_func_count() 92 static const char *mtmips_pmx_func_name(struct pinctrl_dev *pctrldev, in mtmips_pmx_func_name() argument 95 struct mtmips_priv *p = pinctrl_dev_get_drvdata(pctrldev); in mtmips_pmx_func_name() [all …]
|
/linux/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 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 [all …]
|