Home
last modified time | relevance | path

Searched refs:pinctrl_map (Results 1 – 25 of 50) sorted by relevance

12

/linux/include/linux/pinctrl/
A Dpinconf-generic.h18 struct pinctrl_map;
187 struct device_node *np, struct pinctrl_map **map,
191 struct device_node *np_config, struct pinctrl_map **map,
194 struct pinctrl_map *map, unsigned num_maps);
198 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_group()
206 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_pin()
214 struct pinctrl_map **map, unsigned *num_maps) in pinconf_generic_dt_node_to_map_all()
A Dmachine.h67 struct pinctrl_map { struct
154 extern int pinctrl_register_mappings(const struct pinctrl_map *map,
156 extern void pinctrl_unregister_mappings(const struct pinctrl_map *map);
160 static inline int pinctrl_register_mappings(const struct pinctrl_map *map, in pinctrl_register_mappings()
166 static inline void pinctrl_unregister_mappings(const struct pinctrl_map *map) in pinctrl_unregister_mappings()
A Dpinctrl.h22 struct pinctrl_map;
100 struct pinctrl_map **map, unsigned *num_maps);
102 struct pinctrl_map *map, unsigned num_maps);
/linux/drivers/pinctrl/
A Dpinconf.h16 int pinconf_validate_map(const struct pinctrl_map *map, int i);
17 int pinconf_map_to_setting(const struct pinctrl_map *map,
41 static inline int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map()
46 static inline int pinconf_map_to_setting(const struct pinctrl_map *map, in pinconf_map_to_setting()
71 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map);
80 const struct pinctrl_map *map) in pinconf_show_map()
A Dpinmux.h16 int pinmux_validate_map(const struct pinctrl_map *map, int i);
29 int pinmux_map_to_setting(const struct pinctrl_map *map,
42 static inline int pinmux_validate_map(const struct pinctrl_map *map, int i) in pinmux_validate_map()
73 static inline int pinmux_map_to_setting(const struct pinctrl_map *map, in pinmux_map_to_setting()
96 void pinmux_show_map(struct seq_file *s, const struct pinctrl_map *map);
105 const struct pinctrl_map *map) in pinmux_show_map()
A Dpinctrl-utils.h26 struct pinctrl_map **map, unsigned *reserved_maps,
29 struct pinctrl_map **map, unsigned *reserved_maps,
33 struct pinctrl_map **map, unsigned *reserved_maps,
41 struct pinctrl_map *map, unsigned num_maps);
A Dpinctrl-utils.c32 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_reserve_map()
37 struct pinctrl_map *new_map; in pinctrl_utils_reserve_map()
57 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_mux()
74 struct pinctrl_map **map, unsigned *reserved_maps, in pinctrl_utils_add_map_configs()
124 struct pinctrl_map *map, unsigned num_maps) in pinctrl_utils_free_map()
A Ddevicetree.c26 struct pinctrl_map *map;
31 struct pinctrl_map *map, unsigned num_maps) in dt_free_map()
67 struct pinctrl_map *map, unsigned num_maps) in dt_remember_or_free_map()
118 struct pinctrl_map *map; in dt_to_map_one_config()
184 struct pinctrl_map *map; in dt_remember_dummy_state()
A Dpinctrl-lantiq.c47 struct pinctrl_map *map, unsigned num_maps) in ltq_pinctrl_dt_free_map()
67 struct pinctrl_map **map) in ltq_pinctrl_dt_subnode_to_map()
149 struct pinctrl_map **map, in ltq_pinctrl_dt_node_to_map()
152 struct pinctrl_map *tmp; in ltq_pinctrl_dt_node_to_map()
158 *map = kzalloc(array3_size(max_maps, sizeof(struct pinctrl_map), 2), in ltq_pinctrl_dt_node_to_map()
A Dpinconf-generic.c293 struct device_node *np, struct pinctrl_map **map, in pinconf_generic_dt_subnode_to_map()
377 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map()
408 struct pinctrl_map *map, in pinconf_generic_dt_free_map()
A Dpinconf.c38 int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map()
107 int pinconf_map_to_setting(const struct pinctrl_map *map, in pinconf_map_to_setting()
236 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map) in pinconf_show_map()
A Dpinctrl-single.c317 struct pinctrl_map *map, unsigned num_maps) in pcs_dt_free_map()
327 struct pinctrl_map **map, unsigned *num_maps);
913 struct pinctrl_map **map) in pcs_parse_pinconf()
916 struct pinctrl_map *m = *map; in pcs_parse_pinconf()
998 struct pinctrl_map **map, in pcs_parse_one_pinctrl_entry()
1112 struct pinctrl_map **map, in pcs_parse_bits_in_pinctrl_entry()
1253 struct pinctrl_map **map, unsigned *num_maps) in pcs_dt_node_to_map()
A Dcore.h181 const struct pinctrl_map *maps;
A Dpinmux.c63 int pinmux_validate_map(const struct pinctrl_map *map, int i) in pinmux_validate_map()
340 int pinmux_map_to_setting(const struct pinctrl_map *map, in pinmux_map_to_setting()
653 void pinmux_show_map(struct seq_file *s, const struct pinctrl_map *map) in pinmux_show_map()
/linux/include/linux/mfd/madera/
A Dpdata.h23 struct pinctrl_map;
50 const struct pinctrl_map *gpio_configs;
/linux/drivers/pinctrl/vt8500/
A Dpinctrl-wmt.c210 struct pinctrl_map **maps) in wmt_pctl_dt_node_to_map_func()
213 struct pinctrl_map *map = *maps; in wmt_pctl_dt_node_to_map_func()
237 struct pinctrl_map **maps) in wmt_pctl_dt_node_to_map_pull()
241 struct pinctrl_map *map = *maps; in wmt_pctl_dt_node_to_map_pull()
283 struct pinctrl_map *maps, in wmt_pctl_dt_free_map()
297 struct pinctrl_map **map, in wmt_pctl_dt_node_to_map()
300 struct pinctrl_map *maps, *cur_map; in wmt_pctl_dt_node_to_map()
/linux/drivers/pinctrl/bcm/
A Dpinctrl-bcm2835.c723 struct pinctrl_map *maps, unsigned num_maps) in bcm2835_pctl_dt_free_map()
736 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_func()
738 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_func()
755 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_pull()
757 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_pull()
781 struct pinctrl_map **map, unsigned int *num_maps) in bcm2835_pctl_dt_node_to_map()
786 struct pinctrl_map *maps, *cur_map; in bcm2835_pctl_dt_node_to_map()
/linux/drivers/pinctrl/freescale/
A Dpinctrl-imx1-core.c220 struct pinctrl_map **map, unsigned *num_maps) in imx1_dt_node_to_map()
225 struct pinctrl_map *new_map; in imx1_dt_node_to_map()
244 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx1_dt_node_to_map()
281 struct pinctrl_map *map, unsigned num_maps) in imx1_dt_free_map()
A Dpinctrl-mxs.c62 struct pinctrl_map **map, unsigned *num_maps) in mxs_dt_node_to_map()
64 struct pinctrl_map *new_map; in mxs_dt_node_to_map()
139 struct pinctrl_map *map, unsigned num_maps) in mxs_dt_free_map()
A Dpinctrl-imx.c58 struct pinctrl_map **map, unsigned *num_maps) in imx_dt_node_to_map()
63 struct pinctrl_map *new_map; in imx_dt_node_to_map()
89 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map()
149 struct pinctrl_map *map, unsigned num_maps) in imx_dt_free_map()
/linux/drivers/pinctrl/samsung/
A Dpinctrl-samsung.c78 static int reserve_map(struct device *dev, struct pinctrl_map **map, in reserve_map()
84 struct pinctrl_map *new_map; in reserve_map()
101 static int add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in add_map_mux()
116 static int add_map_configs(struct device *dev, struct pinctrl_map **map, in add_map_configs()
161 struct pinctrl_map *map, in samsung_dt_free_map()
176 struct pinctrl_map **map, in samsung_dt_subnode_to_map()
250 struct pinctrl_map **map, in samsung_dt_node_to_map()
/linux/drivers/pinctrl/renesas/
A Dpinctrl.c81 static int sh_pfc_map_add_config(struct pinctrl_map *map, in sh_pfc_map_add_config()
104 struct pinctrl_map **map, in sh_pfc_dt_subnode_to_map()
109 struct pinctrl_map *maps = *map; in sh_pfc_dt_subnode_to_map()
242 struct pinctrl_map *map, unsigned num_maps) in sh_pfc_dt_free_map()
260 struct pinctrl_map **map, unsigned *num_maps) in sh_pfc_dt_node_to_map()
A Dpinctrl-rzg2l.c208 static int rzg2l_map_add_config(struct pinctrl_map *map, in rzg2l_map_add_config()
231 struct pinctrl_map **map, in rzg2l_dt_subnode_to_map()
236 struct pinctrl_map *maps = *map; in rzg2l_dt_subnode_to_map()
368 struct pinctrl_map *map, in rzg2l_dt_free_map()
386 struct pinctrl_map **map, in rzg2l_dt_node_to_map()
/linux/drivers/pinctrl/spear/
A Dpinctrl-spear.c148 struct pinctrl_map **map, in spear_pinctrl_dt_node_to_map()
199 struct pinctrl_map *map, in spear_pinctrl_dt_free_map()
/linux/drivers/pinctrl/nomadik/
A Dpinctrl-abx500.c685 static int abx500_dt_add_map_mux(struct pinctrl_map **map, in abx500_dt_add_map_mux()
701 static int abx500_dt_add_map_configs(struct pinctrl_map **map, in abx500_dt_add_map_configs()
741 struct pinctrl_map **map, in abx500_dt_subnode_to_map()
803 struct pinctrl_map **map, unsigned *num_maps) in abx500_dt_node_to_map()

Completed in 49 milliseconds

12