Home
last modified time | relevance | path

Searched refs:pctldev (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/pinctrl/
Dcore.c74 const char *pinctrl_dev_get_name(struct pinctrl_dev *pctldev) in pinctrl_dev_get_name() argument
77 return pctldev->desc->name; in pinctrl_dev_get_name()
81 const char *pinctrl_dev_get_devname(struct pinctrl_dev *pctldev) in pinctrl_dev_get_devname() argument
83 return dev_name(pctldev->dev); in pinctrl_dev_get_devname()
87 void *pinctrl_dev_get_drvdata(struct pinctrl_dev *pctldev) in pinctrl_dev_get_drvdata() argument
89 return pctldev->driver_data; in pinctrl_dev_get_drvdata()
102 struct pinctrl_dev *pctldev; in get_pinctrl_dev_from_devname() local
109 list_for_each_entry(pctldev, &pinctrldev_list, node) { in get_pinctrl_dev_from_devname()
110 if (!strcmp(dev_name(pctldev->dev), devname)) { in get_pinctrl_dev_from_devname()
113 return pctldev; in get_pinctrl_dev_from_devname()
[all …]
Dpinmux.c31 int pinmux_check_ops(struct pinctrl_dev *pctldev) in pinmux_check_ops() argument
33 const struct pinmux_ops *ops = pctldev->desc->pmxops; in pinmux_check_ops()
43 dev_err(pctldev->dev, "pinmux ops lacks necessary functions\n"); in pinmux_check_ops()
47 nfuncs = ops->get_functions_count(pctldev); in pinmux_check_ops()
49 const char *fname = ops->get_function_name(pctldev, in pinmux_check_ops()
52 dev_err(pctldev->dev, "pinmux ops has no name for function%u\n", in pinmux_check_ops()
83 bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned pin) in pinmux_can_be_used_for_gpio() argument
85 struct pin_desc *desc = pin_desc_get(pctldev, pin); in pinmux_can_be_used_for_gpio()
86 const struct pinmux_ops *ops = pctldev->desc->pmxops; in pinmux_can_be_used_for_gpio()
107 static int pin_request(struct pinctrl_dev *pctldev, in pin_request() argument
[all …]
Dpinconf.c25 int pinconf_check_ops(struct pinctrl_dev *pctldev) in pinconf_check_ops() argument
27 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_check_ops()
31 dev_err(pctldev->dev, in pinconf_check_ops()
56 int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin, in pin_config_get_for_pin() argument
59 const struct pinconf_ops *ops = pctldev->desc->confops; in pin_config_get_for_pin()
62 dev_dbg(pctldev->dev, in pin_config_get_for_pin()
67 return ops->pin_config_get(pctldev, pin, config); in pin_config_get_for_pin()
73 struct pinctrl_dev *pctldev; in pin_config_group_get() local
77 pctldev = get_pinctrl_dev_from_devname(dev_name); in pin_config_group_get()
78 if (!pctldev) { in pin_config_group_get()
[all …]
Dpinmux.h14 int pinmux_check_ops(struct pinctrl_dev *pctldev);
18 bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned pin);
20 int pinmux_request_gpio(struct pinctrl_dev *pctldev,
23 void pinmux_free_gpio(struct pinctrl_dev *pctldev, unsigned pin,
25 int pinmux_gpio_direction(struct pinctrl_dev *pctldev,
37 static inline int pinmux_check_ops(struct pinctrl_dev *pctldev) in pinmux_check_ops() argument
47 static inline bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, in pinmux_can_be_used_for_gpio() argument
53 static inline int pinmux_request_gpio(struct pinctrl_dev *pctldev, in pinmux_request_gpio() argument
60 static inline void pinmux_free_gpio(struct pinctrl_dev *pctldev, in pinmux_free_gpio() argument
66 static inline int pinmux_gpio_direction(struct pinctrl_dev *pctldev, in pinmux_gpio_direction() argument
[all …]
Dpinconf-generic.c55 static void pinconf_generic_dump_one(struct pinctrl_dev *pctldev, in pinconf_generic_dump_one() argument
70 ret = pin_config_group_get(dev_name(pctldev->dev), in pinconf_generic_dump_one()
73 ret = pin_config_get_for_pin(pctldev, pin, &config); in pinconf_generic_dump_one()
109 void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, struct seq_file *s, in pinconf_generic_dump_pins() argument
112 const struct pinconf_ops *ops = pctldev->desc->confops; in pinconf_generic_dump_pins()
119 pinconf_generic_dump_one(pctldev, s, gname, pin, conf_items, in pinconf_generic_dump_pins()
122 if (pctldev->desc->num_custom_params && in pinconf_generic_dump_pins()
123 pctldev->desc->custom_conf_items) in pinconf_generic_dump_pins()
124 pinconf_generic_dump_one(pctldev, s, gname, pin, in pinconf_generic_dump_pins()
125 pctldev->desc->custom_conf_items, in pinconf_generic_dump_pins()
[all …]
Dcore.h134 struct pinctrl_dev *pctldev; member
160 struct pinctrl_dev *pctldev; member
201 int pinctrl_generic_get_group_count(struct pinctrl_dev *pctldev);
203 const char *pinctrl_generic_get_group_name(struct pinctrl_dev *pctldev,
206 int pinctrl_generic_get_group_pins(struct pinctrl_dev *pctldev,
211 struct group_desc *pinctrl_generic_get_group(struct pinctrl_dev *pctldev,
214 int pinctrl_generic_add_group(struct pinctrl_dev *pctldev, const char *name,
217 int pinctrl_generic_remove_group(struct pinctrl_dev *pctldev,
224 int pin_get_from_name(struct pinctrl_dev *pctldev, const char *name);
225 const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin);
[all …]
Dpinconf.h15 int pinconf_check_ops(struct pinctrl_dev *pctldev);
22 int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin,
29 int pin_config_get_for_pin(struct pinctrl_dev *pctldev, unsigned pin,
36 static inline int pinconf_check_ops(struct pinctrl_dev *pctldev) in pinconf_check_ops() argument
61 static inline int pinconf_set_config(struct pinctrl_dev *pctldev, unsigned pin, in pinconf_set_config() argument
75 struct pinctrl_dev *pctldev);
90 struct pinctrl_dev *pctldev) in pinconf_init_device_debugfs() argument
103 void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev,
107 void pinconf_generic_dump_config(struct pinctrl_dev *pctldev,
111 static inline void pinconf_generic_dump_pins(struct pinctrl_dev *pctldev, in pinconf_generic_dump_pins() argument
[all …]
Ddevicetree.c25 struct pinctrl_dev *pctldev; member
30 static void dt_free_map(struct pinctrl_dev *pctldev, in dt_free_map() argument
40 if (pctldev) { in dt_free_map()
41 const struct pinctrl_ops *ops = pctldev->desc->pctlops; in dt_free_map()
43 ops->dt_free_map(pctldev, map, num_maps); in dt_free_map()
57 dt_free_map(dt_map->pctldev, dt_map->map, in pinctrl_dt_free_maps()
66 struct pinctrl_dev *pctldev, in dt_remember_or_free_map() argument
82 if (pctldev) in dt_remember_or_free_map()
83 map[i].ctrl_dev_name = dev_name(pctldev->dev); in dt_remember_or_free_map()
91 dt_map->pctldev = pctldev; in dt_remember_or_free_map()
[all …]
Dpinctrl-rk805.c218 static int rk805_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) in rk805_pinctrl_get_groups_count() argument
220 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_groups_count()
225 static const char *rk805_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_group_name() argument
228 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_name()
233 static int rk805_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_group_pins() argument
238 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_group_pins()
254 static int rk805_pinctrl_get_funcs_count(struct pinctrl_dev *pctldev) in rk805_pinctrl_get_funcs_count() argument
256 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_funcs_count()
261 static const char *rk805_pinctrl_get_func_name(struct pinctrl_dev *pctldev, in rk805_pinctrl_get_func_name() argument
264 struct rk805_pctrl_info *pci = pinctrl_dev_get_drvdata(pctldev); in rk805_pinctrl_get_func_name()
[all …]
Dpinctrl-at91-pio4.c435 static unsigned int atmel_pin_config_read(struct pinctrl_dev *pctldev, in atmel_pin_config_read() argument
438 struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); in atmel_pin_config_read()
451 static void atmel_pin_config_write(struct pinctrl_dev *pctldev, in atmel_pin_config_write() argument
454 struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); in atmel_pin_config_write()
466 static int atmel_pctl_get_groups_count(struct pinctrl_dev *pctldev) in atmel_pctl_get_groups_count() argument
468 struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); in atmel_pctl_get_groups_count()
473 static const char *atmel_pctl_get_group_name(struct pinctrl_dev *pctldev, in atmel_pctl_get_group_name() argument
476 struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); in atmel_pctl_get_group_name()
481 static int atmel_pctl_get_group_pins(struct pinctrl_dev *pctldev, in atmel_pctl_get_group_pins() argument
485 struct atmel_pioctrl *atmel_pioctrl = pinctrl_dev_get_drvdata(pctldev); in atmel_pctl_get_group_pins()
[all …]
Dpinctrl-axp209.c188 static int axp20x_pmx_set(struct pinctrl_dev *pctldev, unsigned int offset, in axp20x_pmx_set() argument
191 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set()
202 static int axp20x_pmx_func_cnt(struct pinctrl_dev *pctldev) in axp20x_pmx_func_cnt() argument
204 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_cnt()
209 static const char *axp20x_pmx_func_name(struct pinctrl_dev *pctldev, in axp20x_pmx_func_name() argument
212 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_name()
217 static int axp20x_pmx_func_groups(struct pinctrl_dev *pctldev, in axp20x_pmx_func_groups() argument
222 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_func_groups()
230 static int axp20x_pmx_set_mux(struct pinctrl_dev *pctldev, in axp20x_pmx_set_mux() argument
233 struct axp20x_pctl *pctl = pinctrl_dev_get_drvdata(pctldev); in axp20x_pmx_set_mux()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c37 struct pinctrl_dev *pctldev; member
43 static int uniphier_pctl_get_groups_count(struct pinctrl_dev *pctldev) in uniphier_pctl_get_groups_count() argument
45 struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); in uniphier_pctl_get_groups_count()
50 static const char *uniphier_pctl_get_group_name(struct pinctrl_dev *pctldev, in uniphier_pctl_get_group_name() argument
53 struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); in uniphier_pctl_get_group_name()
58 static int uniphier_pctl_get_group_pins(struct pinctrl_dev *pctldev, in uniphier_pctl_get_group_pins() argument
63 struct uniphier_pinctrl_priv *priv = pinctrl_dev_get_drvdata(pctldev); in uniphier_pctl_get_group_pins()
72 static void uniphier_pctl_pin_dbg_show(struct pinctrl_dev *pctldev, in uniphier_pctl_pin_dbg_show() argument
75 const struct pin_desc *desc = pin_desc_get(pctldev, offset); in uniphier_pctl_pin_dbg_show()
147 static int uniphier_conf_get_drvctrl_data(struct pinctrl_dev *pctldev, in uniphier_conf_get_drvctrl_data() argument
[all …]
/kernel/linux/linux-5.10/include/linux/pinctrl/
Dpinctrl.h89 int (*get_groups_count) (struct pinctrl_dev *pctldev);
90 const char *(*get_group_name) (struct pinctrl_dev *pctldev,
92 int (*get_group_pins) (struct pinctrl_dev *pctldev,
96 void (*pin_dbg_show) (struct pinctrl_dev *pctldev, struct seq_file *s,
98 int (*dt_node_to_map) (struct pinctrl_dev *pctldev,
101 void (*dt_free_map) (struct pinctrl_dev *pctldev,
150 struct pinctrl_dev **pctldev);
151 extern int pinctrl_enable(struct pinctrl_dev *pctldev);
157 extern void pinctrl_unregister(struct pinctrl_dev *pctldev);
162 struct pinctrl_dev **pctldev);
[all …]
Dpinmux.h61 int (*request) (struct pinctrl_dev *pctldev, unsigned offset);
62 int (*free) (struct pinctrl_dev *pctldev, unsigned offset);
63 int (*get_functions_count) (struct pinctrl_dev *pctldev);
64 const char *(*get_function_name) (struct pinctrl_dev *pctldev,
66 int (*get_function_groups) (struct pinctrl_dev *pctldev,
70 int (*set_mux) (struct pinctrl_dev *pctldev, unsigned func_selector,
72 int (*gpio_request_enable) (struct pinctrl_dev *pctldev,
75 void (*gpio_disable_free) (struct pinctrl_dev *pctldev,
78 int (*gpio_set_direction) (struct pinctrl_dev *pctldev,
Dpinconf.h42 int (*pin_config_get) (struct pinctrl_dev *pctldev,
45 int (*pin_config_set) (struct pinctrl_dev *pctldev,
49 int (*pin_config_group_get) (struct pinctrl_dev *pctldev,
52 int (*pin_config_group_set) (struct pinctrl_dev *pctldev,
56 void (*pin_config_dbg_show) (struct pinctrl_dev *pctldev,
59 void (*pin_config_group_dbg_show) (struct pinctrl_dev *pctldev,
62 void (*pin_config_config_dbg_show) (struct pinctrl_dev *pctldev,
Dpinconf-generic.h184 int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
188 int pinconf_generic_dt_node_to_map(struct pinctrl_dev *pctldev,
191 void pinconf_generic_dt_free_map(struct pinctrl_dev *pctldev,
195 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_group() argument
198 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_group()
203 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_pin() argument
206 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_pin()
211 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_all() argument
218 return pinconf_generic_dt_node_to_map(pctldev, np_config, map, num_maps, in pinconf_generic_dt_node_to_map_all()
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.h85 int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev);
86 const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev,
88 int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev,
91 void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev,
93 int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev);
94 const char *aspeed_pinmux_get_fn_name(struct pinctrl_dev *pctldev,
96 int aspeed_pinmux_get_fn_groups(struct pinctrl_dev *pctldev,
99 int aspeed_pinmux_set_mux(struct pinctrl_dev *pctldev, unsigned int function,
101 int aspeed_gpio_request_enable(struct pinctrl_dev *pctldev,
107 int aspeed_pin_config_get(struct pinctrl_dev *pctldev, unsigned int offset,
[all …]
Dpinctrl-aspeed.c13 int aspeed_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) in aspeed_pinctrl_get_groups_count() argument
15 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_groups_count()
20 const char *aspeed_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in aspeed_pinctrl_get_group_name() argument
23 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_group_name()
28 int aspeed_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in aspeed_pinctrl_get_group_pins() argument
32 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinctrl_get_group_pins()
40 void aspeed_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, in aspeed_pinctrl_pin_dbg_show() argument
43 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show()
46 int aspeed_pinmux_get_fn_count(struct pinctrl_dev *pctldev) in aspeed_pinmux_get_fn_count() argument
48 struct aspeed_pinctrl_data *pdata = pinctrl_dev_get_drvdata(pctldev); in aspeed_pinmux_get_fn_count()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/spear/
Dpinctrl-spear.c114 static int spear_pinctrl_get_groups_cnt(struct pinctrl_dev *pctldev) in spear_pinctrl_get_groups_cnt() argument
116 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_groups_cnt()
121 static const char *spear_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in spear_pinctrl_get_group_name() argument
124 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_group_name()
129 static int spear_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in spear_pinctrl_get_group_pins() argument
132 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_get_group_pins()
140 static void spear_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, in spear_pinctrl_pin_dbg_show() argument
146 static int spear_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, in spear_pinctrl_dt_node_to_map() argument
151 struct spear_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in spear_pinctrl_dt_node_to_map()
198 static void spear_pinctrl_dt_free_map(struct pinctrl_dev *pctldev, in spear_pinctrl_dt_free_map() argument
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c81 struct pinctrl_dev *pctldev; member
239 static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, in abx500_set_mode() argument
242 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); in abx500_set_mode()
360 static int abx500_get_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip, in abx500_get_mode() argument
367 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); in abx500_get_mode()
448 struct pinctrl_dev *pctldev, in abx500_gpio_dbg_show_one() argument
452 struct abx500_pinctrl *pct = pinctrl_dev_get_drvdata(pctldev); in abx500_gpio_dbg_show_one()
493 mode = abx500_get_mode(pctldev, chip, offset); in abx500_gpio_dbg_show_one()
507 struct pinctrl_dev *pctldev = pct->pctldev; in abx500_gpio_dbg_show() local
511 abx500_gpio_dbg_show_one(s, pctldev, chip, i + 1, gpio); in abx500_gpio_dbg_show()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/visconti/
Dpinctrl-common.c36 static int visconti_pin_config_set(struct pinctrl_dev *pctldev, in visconti_pin_config_set() argument
41 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_pin_config_set()
122 static int visconti_pin_config_group_set(struct pinctrl_dev *pctldev, in visconti_pin_config_group_set() argument
127 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_pin_config_group_set()
139 ret = visconti_pin_config_set(pctldev, pins[i], in visconti_pin_config_group_set()
155 static int visconti_get_groups_count(struct pinctrl_dev *pctldev) in visconti_get_groups_count() argument
157 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_groups_count()
162 static const char *visconti_get_group_name(struct pinctrl_dev *pctldev, in visconti_get_group_name() argument
165 struct visconti_pinctrl *priv = pinctrl_dev_get_drvdata(pctldev); in visconti_get_group_name()
170 static int visconti_get_group_pins(struct pinctrl_dev *pctldev, in visconti_get_group_pins() argument
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/
Dpinctrl-imx1-core.c171 static int imx1_get_groups_count(struct pinctrl_dev *pctldev) in imx1_get_groups_count() argument
173 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_get_groups_count()
179 static const char *imx1_get_group_name(struct pinctrl_dev *pctldev, in imx1_get_group_name() argument
182 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_get_group_name()
188 static int imx1_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in imx1_get_group_pins() argument
192 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_get_group_pins()
204 static void imx1_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, in imx1_pin_dbg_show() argument
207 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_pin_dbg_show()
218 static int imx1_dt_node_to_map(struct pinctrl_dev *pctldev, in imx1_dt_node_to_map() argument
222 struct imx1_pinctrl *ipctl = pinctrl_dev_get_drvdata(pctldev); in imx1_dt_node_to_map()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/tegra/
Dpinctrl-tegra.c40 static int tegra_pinctrl_get_groups_count(struct pinctrl_dev *pctldev) in tegra_pinctrl_get_groups_count() argument
42 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_groups_count()
47 static const char *tegra_pinctrl_get_group_name(struct pinctrl_dev *pctldev, in tegra_pinctrl_get_group_name() argument
50 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_group_name()
55 static int tegra_pinctrl_get_group_pins(struct pinctrl_dev *pctldev, in tegra_pinctrl_get_group_pins() argument
60 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_group_pins()
69 static void tegra_pinctrl_pin_dbg_show(struct pinctrl_dev *pctldev, in tegra_pinctrl_pin_dbg_show() argument
73 seq_printf(s, " %s", dev_name(pctldev->dev)); in tegra_pinctrl_pin_dbg_show()
99 static int tegra_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctldev, in tegra_pinctrl_dt_subnode_to_map() argument
105 struct device *dev = pctldev->dev; in tegra_pinctrl_dt_subnode_to_map()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dpinctrl.c48 static int sh_pfc_get_groups_count(struct pinctrl_dev *pctldev) in sh_pfc_get_groups_count() argument
50 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_groups_count()
55 static const char *sh_pfc_get_group_name(struct pinctrl_dev *pctldev, in sh_pfc_get_group_name() argument
58 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_name()
63 static int sh_pfc_get_group_pins(struct pinctrl_dev *pctldev, unsigned selector, in sh_pfc_get_group_pins() argument
66 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_pins()
74 static void sh_pfc_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, in sh_pfc_pin_dbg_show() argument
102 static int sh_pfc_dt_subnode_to_map(struct pinctrl_dev *pctldev, in sh_pfc_dt_subnode_to_map() argument
107 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_dt_subnode_to_map()
241 static void sh_pfc_dt_free_map(struct pinctrl_dev *pctldev, in sh_pfc_dt_free_map() argument
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/intel/
Dpinctrl-merrifield.c427 struct pinctrl_dev *pctldev; member
511 static int mrfld_get_groups_count(struct pinctrl_dev *pctldev) in mrfld_get_groups_count() argument
513 struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); in mrfld_get_groups_count()
518 static const char *mrfld_get_group_name(struct pinctrl_dev *pctldev, in mrfld_get_group_name() argument
521 struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); in mrfld_get_group_name()
526 static int mrfld_get_group_pins(struct pinctrl_dev *pctldev, unsigned int group, in mrfld_get_group_pins() argument
529 struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); in mrfld_get_group_pins()
536 static void mrfld_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, in mrfld_pin_dbg_show() argument
539 struct mrfld_pinctrl *mp = pinctrl_dev_get_drvdata(pctldev); in mrfld_pin_dbg_show()
565 static int mrfld_get_functions_count(struct pinctrl_dev *pctldev) in mrfld_get_functions_count() argument
[all …]

12345