Home
last modified time | relevance | path

Searched refs:pctrldev (Results 1 – 8 of 8) sorted by relevance

/drivers/pinctrl/
Dpinctrl-lantiq.c18 static int ltq_get_group_count(struct pinctrl_dev *pctrldev) in ltq_get_group_count() argument
20 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_count()
24 static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, in ltq_get_group_name() argument
27 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_name()
33 static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, in ltq_get_group_pins() argument
38 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_pins()
180 static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) in ltq_pmx_func_count() argument
182 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_count()
187 static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, in ltq_pmx_func_name() argument
190 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_name()
[all …]
Dpinctrl-falcon.c228 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 …]
Dpinctrl-lantiq.h102 int (*apply_mux)(struct pinctrl_dev *pctrldev, int pin, int mux);
Dpinctrl-bm1880.c34 struct pinctrl_dev *pctrldev; member
1329 pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, &bm1880_desc, in bm1880_pinctrl_probe()
1331 if (IS_ERR(pctrl->pctrldev)) in bm1880_pinctrl_probe()
1332 return PTR_ERR(pctrl->pctrldev); in bm1880_pinctrl_probe()
Dpinctrl-xway.c1496 static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, in xway_mux_apply() argument
1499 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in xway_mux_apply()
/drivers/pinctrl/bcm/
Dpinctrl-ns2-mux.c659 static int ns2_pin_set_enable(struct pinctrl_dev *pctrldev, unsigned int pin, in ns2_pin_set_enable() argument
662 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_set_enable()
663 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_enable()
679 dev_dbg(pctrldev->dev, "pin:%u set enable:%d\n", pin, enable); in ns2_pin_set_enable()
683 static int ns2_pin_get_enable(struct pinctrl_dev *pctrldev, unsigned int pin) in ns2_pin_get_enable() argument
685 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_get_enable()
686 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_get_enable()
701 dev_dbg(pctrldev->dev, "pin:%u get disable:%d\n", pin, enable); in ns2_pin_get_enable()
705 static int ns2_pin_set_slew(struct pinctrl_dev *pctrldev, unsigned int pin, in ns2_pin_set_slew() argument
708 struct ns2_pinctrl *pinctrl = pinctrl_dev_get_drvdata(pctrldev); in ns2_pin_set_slew()
[all …]
/drivers/staging/mt7621-pinctrl/
Dpinctrl-rt2880.c46 static int rt2880_get_group_count(struct pinctrl_dev *pctrldev) in rt2880_get_group_count() argument
48 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_count()
53 static const char *rt2880_get_group_name(struct pinctrl_dev *pctrldev, in rt2880_get_group_name() argument
56 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_name()
61 static int rt2880_get_group_pins(struct pinctrl_dev *pctrldev, in rt2880_get_group_pins() argument
66 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_pins()
85 static int rt2880_pmx_func_count(struct pinctrl_dev *pctrldev) in rt2880_pmx_func_count() argument
87 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_func_count()
92 static const char *rt2880_pmx_func_name(struct pinctrl_dev *pctrldev, in rt2880_pmx_func_name() argument
95 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_func_name()
[all …]
/drivers/pinctrl/actions/
Dpinctrl-owl.c43 struct pinctrl_dev *pctrldev; member
87 static int owl_get_groups_count(struct pinctrl_dev *pctrldev) in owl_get_groups_count() argument
89 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_groups_count()
94 static const char *owl_get_group_name(struct pinctrl_dev *pctrldev, in owl_get_group_name() argument
97 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_group_name()
102 static int owl_get_group_pins(struct pinctrl_dev *pctrldev, in owl_get_group_pins() argument
107 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_get_group_pins()
115 static void owl_pin_dbg_show(struct pinctrl_dev *pctrldev, in owl_pin_dbg_show() argument
119 struct owl_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctrldev); in owl_pin_dbg_show()
133 static int owl_get_funcs_count(struct pinctrl_dev *pctrldev) in owl_get_funcs_count() argument
[all …]