Lines Matching refs:num_maps
580 unsigned int *num_maps, const char *group, in nmk_dt_add_map_mux() argument
583 if (*num_maps == *reserved_maps) in nmk_dt_add_map_mux()
586 (*map)[*num_maps].type = PIN_MAP_TYPE_MUX_GROUP; in nmk_dt_add_map_mux()
587 (*map)[*num_maps].data.mux.group = group; in nmk_dt_add_map_mux()
588 (*map)[*num_maps].data.mux.function = function; in nmk_dt_add_map_mux()
589 (*num_maps)++; in nmk_dt_add_map_mux()
596 unsigned int *num_maps, const char *group, in nmk_dt_add_map_configs() argument
601 if (*num_maps == *reserved_maps) in nmk_dt_add_map_configs()
608 (*map)[*num_maps].type = PIN_MAP_TYPE_CONFIGS_PIN; in nmk_dt_add_map_configs()
610 (*map)[*num_maps].data.configs.group_or_pin = group; in nmk_dt_add_map_configs()
611 (*map)[*num_maps].data.configs.configs = dup_configs; in nmk_dt_add_map_configs()
612 (*map)[*num_maps].data.configs.num_configs = num_configs; in nmk_dt_add_map_configs()
613 (*num_maps)++; in nmk_dt_add_map_configs()
735 unsigned int *num_maps) in nmk_pinctrl_dt_subnode_to_map() argument
754 num_maps, ret); in nmk_pinctrl_dt_subnode_to_map()
759 ret = nmk_dt_add_map_mux(map, reserved_maps, num_maps, in nmk_pinctrl_dt_subnode_to_map()
781 num_maps, ret); in nmk_pinctrl_dt_subnode_to_map()
789 num_maps, in nmk_pinctrl_dt_subnode_to_map()
803 unsigned int *num_maps) in nmk_pinctrl_dt_node_to_map() argument
810 *num_maps = 0; in nmk_pinctrl_dt_node_to_map()
814 &reserved_maps, num_maps); in nmk_pinctrl_dt_node_to_map()
816 pinctrl_utils_free_map(pctldev, *map, *num_maps); in nmk_pinctrl_dt_node_to_map()