Lines Matching refs:num_maps
101 unsigned int *num_maps, unsigned int *index) in sh_pfc_dt_subnode_to_map() argument
106 unsigned int nmaps = *num_maps; in sh_pfc_dt_subnode_to_map()
177 *num_maps = nmaps; in sh_pfc_dt_subnode_to_map()
221 struct pinctrl_map *map, unsigned num_maps) in sh_pfc_dt_free_map() argument
228 for (i = 0; i < num_maps; ++i) { in sh_pfc_dt_free_map()
239 struct pinctrl_map **map, unsigned *num_maps) in sh_pfc_dt_node_to_map() argument
247 *num_maps = 0; in sh_pfc_dt_node_to_map()
251 ret = sh_pfc_dt_subnode_to_map(pctldev, child, map, num_maps, in sh_pfc_dt_node_to_map()
258 if (*num_maps == 0) { in sh_pfc_dt_node_to_map()
259 ret = sh_pfc_dt_subnode_to_map(pctldev, np, map, num_maps, in sh_pfc_dt_node_to_map()
265 if (*num_maps) in sh_pfc_dt_node_to_map()
273 sh_pfc_dt_free_map(pctldev, *map, *num_maps); in sh_pfc_dt_node_to_map()