Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/pinctrl/
Dpinconf.h20 struct pinctrl_map;
26 int pinconf_validate_map(const struct pinctrl_map *map, int i);
27 int pinconf_map_to_setting(const struct pinctrl_map *map,
51 static inline int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map()
56 static inline int pinconf_map_to_setting(const struct pinctrl_map *map, in pinconf_map_to_setting()
81 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map);
90 const struct pinctrl_map *map) in pinconf_show_map()
Dpinctrl-utils.h15 struct pinctrl_map;
18 struct pinctrl_map **map, unsigned int *reserved_maps,
21 struct pinctrl_map **map, unsigned int *reserved_maps,
25 struct pinctrl_map **map, unsigned int *reserved_maps,
33 struct pinctrl_map *map, unsigned int num_maps);
Dpinmux.h20 struct pinctrl_map;
27 int pinmux_validate_map(const struct pinctrl_map *map, int i);
40 int pinmux_map_to_setting(const struct pinctrl_map *map,
53 static inline int pinmux_validate_map(const struct pinctrl_map *map, int i) in pinmux_validate_map()
84 static inline int pinmux_map_to_setting(const struct pinctrl_map *map, in pinmux_map_to_setting()
107 void pinmux_show_map(struct seq_file *s, const struct pinctrl_map *map);
116 const struct pinctrl_map *map) in pinmux_show_map()
Dpinctrl-utils.c21 struct pinctrl_map **map, unsigned int *reserved_maps, in pinctrl_utils_reserve_map()
26 struct pinctrl_map *new_map; in pinctrl_utils_reserve_map()
46 struct pinctrl_map **map, unsigned int *reserved_maps, in pinctrl_utils_add_map_mux()
63 struct pinctrl_map **map, unsigned int *reserved_maps, in pinctrl_utils_add_map_configs()
113 struct pinctrl_map *map, unsigned int num_maps) in pinctrl_utils_free_map()
Ddevicetree.c26 struct pinctrl_map *map;
31 struct pinctrl_map *map, unsigned int num_maps) in dt_free_map()
67 struct pinctrl_map *map, unsigned int 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()
Dpinctrl-lantiq.c48 struct pinctrl_map *map, unsigned num_maps) in ltq_pinctrl_dt_free_map()
68 struct pinctrl_map **map) in ltq_pinctrl_dt_subnode_to_map()
150 struct pinctrl_map **map, in ltq_pinctrl_dt_node_to_map()
153 struct pinctrl_map *tmp; in ltq_pinctrl_dt_node_to_map()
159 *map = kzalloc(array3_size(max_maps, sizeof(struct pinctrl_map), 2), in ltq_pinctrl_dt_node_to_map()
Dpinconf.c40 int pinconf_validate_map(const struct pinctrl_map *map, int i) in pinconf_validate_map()
109 int pinconf_map_to_setting(const struct pinctrl_map *map, in pinconf_map_to_setting()
238 void pinconf_show_map(struct seq_file *s, const struct pinctrl_map *map) in pinconf_show_map()
Dpinconf-generic.c299 struct device_node *np, struct pinctrl_map **map, in pinconf_generic_dt_subnode_to_map()
383 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map()
413 struct pinctrl_map *map, in pinconf_generic_dt_free_map()
Dcore.h191 const struct pinctrl_map *maps;
Dpinctrl-single.c312 struct pinctrl_map *map, unsigned num_maps) in pcs_dt_free_map()
322 struct pinctrl_map **map, unsigned *num_maps);
918 struct pinctrl_map **map) in pcs_parse_pinconf()
921 struct pinctrl_map *m = *map; in pcs_parse_pinconf()
1003 struct pinctrl_map **map, in pcs_parse_one_pinctrl_entry()
1117 struct pinctrl_map **map, in pcs_parse_bits_in_pinctrl_entry()
1258 struct pinctrl_map **map, unsigned *num_maps) in pcs_dt_node_to_map()
/linux-6.12.1/include/linux/pinctrl/
Dpinconf-generic.h21 struct pinctrl_map;
198 struct device_node *np, struct pinctrl_map **map,
202 struct device_node *np_config, struct pinctrl_map **map,
205 struct pinctrl_map *map, unsigned int num_maps);
208 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_group()
216 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_pin()
224 struct device_node *np_config, struct pinctrl_map **map, in pinconf_generic_dt_node_to_map_all()
Dmachine.h67 struct pinctrl_map { struct
152 struct pinctrl_map;
156 extern int pinctrl_register_mappings(const struct pinctrl_map *map,
158 extern void pinctrl_unregister_mappings(const struct pinctrl_map *map);
162 static inline int pinctrl_register_mappings(const struct pinctrl_map *map, in pinctrl_register_mappings()
168 static inline void pinctrl_unregister_mappings(const struct pinctrl_map *map) in pinctrl_unregister_mappings()
Dpinctrl.h26 struct pinctrl_map;
120 struct pinctrl_map **map, unsigned int *num_maps);
122 struct pinctrl_map *map, unsigned int num_maps);
/linux-6.12.1/include/linux/mfd/madera/
Dpdata.h23 struct pinctrl_map;
50 const struct pinctrl_map *gpio_configs;
/linux-6.12.1/drivers/pinctrl/vt8500/
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-6.12.1/drivers/pinctrl/freescale/
Dpinctrl-imx-scmi.c57 struct pinctrl_map **map, in pinctrl_scmi_imx_dt_node_to_map()
60 struct pinctrl_map *new_map; in pinctrl_scmi_imx_dt_node_to_map()
95 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in pinctrl_scmi_imx_dt_node_to_map()
145 struct pinctrl_map *map, unsigned int num_maps) in pinctrl_scmi_imx_dt_free_map()
Dpinctrl-imx1-core.c223 struct pinctrl_map **map, unsigned *num_maps) in imx1_dt_node_to_map()
228 struct pinctrl_map *new_map; in imx1_dt_node_to_map()
247 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx1_dt_node_to_map()
284 struct pinctrl_map *map, unsigned num_maps) in imx1_dt_free_map()
Dpinctrl-imx.c60 struct pinctrl_map **map, unsigned *num_maps) in imx_dt_node_to_map()
65 struct pinctrl_map *new_map; in imx_dt_node_to_map()
91 new_map = kmalloc_array(map_num, sizeof(struct pinctrl_map), in imx_dt_node_to_map()
151 struct pinctrl_map *map, unsigned num_maps) in imx_dt_free_map()
Dpinctrl-mxs.c65 struct pinctrl_map **map, unsigned *num_maps) in mxs_dt_node_to_map()
67 struct pinctrl_map *new_map; in mxs_dt_node_to_map()
142 struct pinctrl_map *map, unsigned num_maps) in mxs_dt_free_map()
/linux-6.12.1/drivers/pinctrl/bcm/
Dpinctrl-bcm2835.c761 struct pinctrl_map *maps, unsigned num_maps) in bcm2835_pctl_dt_free_map()
774 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_func()
776 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_func()
793 struct pinctrl_map **maps) in bcm2835_pctl_dt_node_to_map_pull()
795 struct pinctrl_map *map = *maps; in bcm2835_pctl_dt_node_to_map_pull()
819 struct pinctrl_map **map, unsigned int *num_maps) in bcm2835_pctl_dt_node_to_map()
824 struct pinctrl_map *maps, *cur_map; in bcm2835_pctl_dt_node_to_map()
/linux-6.12.1/drivers/pinctrl/renesas/
Dpinctrl.c78 static int sh_pfc_map_add_config(struct pinctrl_map *map, in sh_pfc_map_add_config()
100 struct pinctrl_map **map, in sh_pfc_dt_subnode_to_map()
105 struct pinctrl_map *maps = *map; in sh_pfc_dt_subnode_to_map()
221 struct pinctrl_map *map, unsigned num_maps) in sh_pfc_dt_free_map()
239 struct pinctrl_map **map, unsigned *num_maps) in sh_pfc_dt_node_to_map()
Dpinctrl-rzv2m.c191 static int rzv2m_map_add_config(struct pinctrl_map *map, in rzv2m_map_add_config()
214 struct pinctrl_map **map, in rzv2m_dt_subnode_to_map()
219 struct pinctrl_map *maps = *map; in rzv2m_dt_subnode_to_map()
368 struct pinctrl_map *map, in rzv2m_dt_free_map()
386 struct pinctrl_map **map, in rzv2m_dt_node_to_map()
/linux-6.12.1/drivers/pinctrl/samsung/
Dpinctrl-samsung.c77 static int reserve_map(struct device *dev, struct pinctrl_map **map, in reserve_map()
83 struct pinctrl_map *new_map; in reserve_map()
100 static int add_map_mux(struct pinctrl_map **map, unsigned *reserved_maps, in add_map_mux()
115 static int add_map_configs(struct device *dev, struct pinctrl_map **map, in add_map_configs()
160 struct pinctrl_map *map, in samsung_dt_free_map()
175 struct pinctrl_map **map, in samsung_dt_subnode_to_map()
249 struct pinctrl_map **map, in samsung_dt_node_to_map()
/linux-6.12.1/drivers/pinctrl/spear/
Dpinctrl-spear.c150 struct pinctrl_map **map, in spear_pinctrl_dt_node_to_map()
196 struct pinctrl_map *map, in spear_pinctrl_dt_free_map()
/linux-6.12.1/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c693 static int abx500_dt_add_map_mux(struct pinctrl_map **map, in abx500_dt_add_map_mux()
709 static int abx500_dt_add_map_configs(struct pinctrl_map **map, in abx500_dt_add_map_configs()
748 struct pinctrl_map **map, in abx500_dt_subnode_to_map()
810 struct pinctrl_map **map, unsigned *num_maps) in abx500_dt_node_to_map()

123