Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
A 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
198 static int ltq_pmx_get_groups(struct pinctrl_dev *pctrldev, in ltq_pmx_get_groups() argument
258 static int ltq_pmx_set(struct pinctrl_dev *pctrldev, in ltq_pmx_set() argument
280 ret = info->apply_mux(pctrldev, pin, pin_func); in ltq_pmx_set()
[all …]
A 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
276 static int falcon_pinconf_set(struct pinctrl_dev *pctrldev, in falcon_pinconf_set() argument
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
334 if (!falcon_pinconf_get(pctrldev, offset, &config)) in falcon_pinconf_dbg_show()
339 if (!falcon_pinconf_get(pctrldev, offset, &config)) in falcon_pinconf_dbg_show()
344 if (!falcon_pinconf_get(pctrldev, offset, &config)) in falcon_pinconf_dbg_show()
348 desc = pin_desc_get(pctrldev, offset); in falcon_pinconf_dbg_show()
[all …]
A Dpinctrl-lantiq.h102 int (*apply_mux)(struct pinctrl_dev *pctrldev, int pin, int mux);
A Dpinctrl-bm1880.c34 struct pinctrl_dev *pctrldev; member
1328 pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, &bm1880_desc, in bm1880_pinctrl_probe()
1330 if (IS_ERR(pctrl->pctrldev)) in bm1880_pinctrl_probe()
1331 return PTR_ERR(pctrl->pctrldev); in bm1880_pinctrl_probe()
A 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()
/linux/drivers/pinctrl/bcm/
A Dpinctrl-ns2-mux.c725 dev_dbg(pctrldev->dev, "pin:%u set slew:%d\n", pin, slew); in ns2_pin_set_slew()
742 dev_dbg(pctrldev->dev, "pin:%u get slew:%d\n", pin, *slew); in ns2_pin_get_slew()
772 static void ns2_pin_get_pull(struct pinctrl_dev *pctrldev, in ns2_pin_get_pull() argument
816 dev_dbg(pctrldev->dev, "pin:%u set drive strength:%d mA\n", in ns2_pin_set_strength()
919 ret = ns2_pin_set_pull(pctrldev, pin, false, false); in ns2_pin_config_set()
925 ret = ns2_pin_set_pull(pctrldev, pin, true, false); in ns2_pin_config_set()
931 ret = ns2_pin_set_pull(pctrldev, pin, false, true); in ns2_pin_config_set()
937 ret = ns2_pin_set_strength(pctrldev, pin, arg); in ns2_pin_config_set()
943 ret = ns2_pin_set_slew(pctrldev, pin, arg); in ns2_pin_config_set()
949 ret = ns2_pin_set_enable(pctrldev, pin, arg); in ns2_pin_config_set()
[all …]
/linux/drivers/pinctrl/ralink/
A 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()
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()
95 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_func_name()
105 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_group_get_groups()
120 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pmx_group_enable()
[all …]
/linux/drivers/pinctrl/actions/
A Dpinctrl-owl.c47 struct pinctrl_dev *pctrldev; member
91 static int owl_get_groups_count(struct pinctrl_dev *pctrldev) in owl_get_groups_count() argument
106 static int owl_get_group_pins(struct pinctrl_dev *pctrldev, in owl_get_group_pins() argument
119 static void owl_pin_dbg_show(struct pinctrl_dev *pctrldev, in owl_pin_dbg_show() argument
137 static int owl_get_funcs_count(struct pinctrl_dev *pctrldev) in owl_get_funcs_count() argument
152 static int owl_get_func_groups(struct pinctrl_dev *pctrldev, in owl_get_func_groups() argument
192 static int owl_set_mux(struct pinctrl_dev *pctrldev, in owl_set_mux() argument
253 static int owl_pin_config_get(struct pinctrl_dev *pctrldev, in owl_pin_config_get() argument
960 pctrl->pctrldev = devm_pinctrl_register(&pdev->dev, in owl_pinctrl_probe()
962 if (IS_ERR(pctrl->pctrldev)) { in owl_pinctrl_probe()
[all …]

Completed in 29 milliseconds