Lines Matching refs:num_maps
1234 unsigned *num_maps, const char *group, in nmk_dt_add_map_mux() argument
1237 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux()
1240 (*map)[*num_maps].type = PIN_MAP_TYPE_MUX_GROUP; in nmk_dt_add_map_mux()
1241 (*map)[*num_maps].data.mux.group = group; in nmk_dt_add_map_mux()
1242 (*map)[*num_maps].data.mux.function = function; in nmk_dt_add_map_mux()
1243 (*num_maps)++; in nmk_dt_add_map_mux()
1250 unsigned *num_maps, const char *group, in nmk_dt_add_map_configs() argument
1255 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs()
1263 (*map)[*num_maps].type = PIN_MAP_TYPE_CONFIGS_PIN; in nmk_dt_add_map_configs()
1265 (*map)[*num_maps].data.configs.group_or_pin = group; in nmk_dt_add_map_configs()
1266 (*map)[*num_maps].data.configs.configs = dup_configs; in nmk_dt_add_map_configs()
1267 (*map)[*num_maps].data.configs.num_configs = num_configs; in nmk_dt_add_map_configs()
1268 (*num_maps)++; in nmk_dt_add_map_configs()
1391 unsigned *num_maps) in nmk_pinctrl_dt_subnode_to_map() argument
1410 num_maps, ret); in nmk_pinctrl_dt_subnode_to_map()
1415 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map()
1437 num_maps, ret); in nmk_pinctrl_dt_subnode_to_map()
1445 num_maps, in nmk_pinctrl_dt_subnode_to_map()
1458 struct pinctrl_map **map, unsigned *num_maps) in nmk_pinctrl_dt_node_to_map() argument
1466 *num_maps = 0; in nmk_pinctrl_dt_node_to_map()
1470 &reserved_maps, num_maps); in nmk_pinctrl_dt_node_to_map()
1472 pinctrl_utils_free_map(pctldev, *map, *num_maps); in nmk_pinctrl_dt_node_to_map()