/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-lantiq.c | 21 static int ltq_get_group_count(struct pinctrl_dev *pctrldev) in ltq_get_group_count() argument 23 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_count() 27 static const char *ltq_get_group_name(struct pinctrl_dev *pctrldev, in ltq_get_group_name() argument 30 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_name() 36 static int ltq_get_group_pins(struct pinctrl_dev *pctrldev, in ltq_get_group_pins() argument 41 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_get_group_pins() 183 static int ltq_pmx_func_count(struct pinctrl_dev *pctrldev) in ltq_pmx_func_count() argument 185 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_count() 190 static const char *ltq_pmx_func_name(struct pinctrl_dev *pctrldev, in ltq_pmx_func_name() argument 193 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in ltq_pmx_func_name() [all …]
|
D | pinctrl-falcon.c | 235 static int falcon_pinconf_group_get(struct pinctrl_dev *pctrldev, in falcon_pinconf_group_get() argument 241 static int falcon_pinconf_group_set(struct pinctrl_dev *pctrldev, in falcon_pinconf_group_set() argument 248 static int falcon_pinconf_get(struct pinctrl_dev *pctrldev, in falcon_pinconf_get() argument 251 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_get() 283 static int falcon_pinconf_set(struct pinctrl_dev *pctrldev, in falcon_pinconf_set() argument 289 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_set() 316 pinctrl_dev_get_name(pctrldev), param); in falcon_pinconf_set() 328 static void falcon_pinconf_dbg_show(struct pinctrl_dev *pctrldev, in falcon_pinconf_dbg_show() argument 334 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in falcon_pinconf_dbg_show() 341 if (!falcon_pinconf_get(pctrldev, offset, &config)) in falcon_pinconf_dbg_show() [all …]
|
D | pinctrl-lantiq.h | 105 int (*apply_mux)(struct pinctrl_dev *pctrldev, int pin, int mux);
|
D | pinctrl-xway.c | 1499 static inline int xway_mux_apply(struct pinctrl_dev *pctrldev, in xway_mux_apply() argument 1502 struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev); in xway_mux_apply()
|
/Linux-v4.19/drivers/staging/mt7621-pinctrl/ |
D | pinctrl-rt2880.c | 45 static int rt2880_get_group_count(struct pinctrl_dev *pctrldev) in rt2880_get_group_count() argument 47 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_count() 52 static const char *rt2880_get_group_name(struct pinctrl_dev *pctrldev, in rt2880_get_group_name() argument 55 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_name() 60 static int rt2880_get_group_pins(struct pinctrl_dev *pctrldev, in rt2880_get_group_pins() argument 65 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_get_group_pins() 76 static int rt2880_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrldev, in rt2880_pinctrl_dt_node_to_map() argument 81 struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev); in rt2880_pinctrl_dt_node_to_map() 92 ret = pinctrl_utils_reserve_map(pctrldev, map, &reserved_maps, in rt2880_pinctrl_dt_node_to_map() 100 ret = pinctrl_utils_add_map_mux(pctrldev, map, &reserved_maps, in rt2880_pinctrl_dt_node_to_map() [all …]
|
/Linux-v4.19/drivers/pinctrl/bcm/ |
D | pinctrl-ns2-mux.c | 659 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 …]
|
/Linux-v4.19/drivers/pinctrl/actions/ |
D | pinctrl-owl.c | 43 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 …]
|